Lines Matching refs:size_t
81 void __init kclist_add(struct kcore_list *new, void *addr, size_t size, in kclist_add()
91 static size_t get_kcore_size(int *nphdr, size_t *phdrs_len, size_t *notes_len, in get_kcore_size()
92 size_t *data_offset) in get_kcore_size()
94 size_t try, size; in get_kcore_size()
101 try = kc_vaddr_to_offset((size_t)m->addr + m->size); in get_kcore_size()
263 size_t phdrs_len, notes_len, data_offset; in kcore_update_ram()
297 static void append_kcore_note(char *notes, size_t *i, const char *name, in append_kcore_note()
299 size_t descsz) in append_kcore_note()
314 read_kcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos) in read_kcore()
317 size_t phdrs_offset, notes_offset, data_offset; in read_kcore()
318 size_t phdrs_len, notes_len; in read_kcore()
320 size_t tsz; in read_kcore()
323 size_t orig_buflen = buflen; in read_kcore()
355 tsz = min_t(size_t, buflen, sizeof(struct elfhdr) - *fpos); in read_kcore()
386 phdr->p_vaddr = (size_t)m->vaddr; in read_kcore()
388 phdr->p_vaddr = (size_t)m->addr; in read_kcore()
400 tsz = min_t(size_t, buflen, phdrs_offset + phdrs_len - *fpos); in read_kcore()
422 size_t i = 0; in read_kcore()
450 tsz = min_t(size_t, buflen, notes_offset + notes_len - *fpos); in read_kcore()