Searched refs:phdrs_len (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/fs/proc/ ! |
D | kcore.c | 90 static size_t get_kcore_size(int *nphdr, size_t *phdrs_len, size_t *notes_len, in get_kcore_size() argument 106 *phdrs_len = *nphdr * sizeof(struct elf_phdr); in get_kcore_size() 114 *data_offset = PAGE_ALIGN(sizeof(struct elfhdr) + *phdrs_len + in get_kcore_size() 260 size_t phdrs_len, notes_len, data_offset; in kcore_update_ram() local 282 proc_root_kcore->size = get_kcore_size(&nphdr, &phdrs_len, ¬es_len, in kcore_update_ram() 317 size_t phdrs_len, notes_len; in read_kcore_iter() local 333 get_kcore_size(&nphdr, &phdrs_len, ¬es_len, &data_offset); in read_kcore_iter() 335 notes_offset = phdrs_offset + phdrs_len; in read_kcore_iter() 371 if (buflen && *fpos < phdrs_offset + phdrs_len) { in read_kcore_iter() 374 phdrs = kzalloc(phdrs_len, GFP_KERNEL); in read_kcore_iter() [all …]
|