Searched refs:phdrs (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/x86/boot/compressed/ |
| H A D | misc.c | 285 Elf64_Phdr *phdrs, *phdr; in parse_elf() local 288 Elf32_Phdr *phdrs, *phdr; in parse_elf() 302 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 303 if (!phdrs) in parse_elf() 306 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 309 phdr = &phdrs[i]; in parse_elf() 329 free(phdrs); in parse_elf()
|
| /linux/fs/proc/ |
| H A D | kcore.c | 383 struct elf_phdr *phdrs, *phdr; in read_kcore_iter() local 385 phdrs = kzalloc(kcore_phdrs_len, GFP_KERNEL); in read_kcore_iter() 386 if (!phdrs) { in read_kcore_iter() 391 phdrs[0].p_type = PT_NOTE; in read_kcore_iter() 392 phdrs[0].p_offset = notes_offset; in read_kcore_iter() 393 phdrs[0].p_filesz = kcore_notes_len; in read_kcore_iter() 395 phdr = &phdrs[1]; in read_kcore_iter() 415 if (copy_to_iter((char *)phdrs + *fpos - phdrs_offset, tsz, in read_kcore_iter() 417 kfree(phdrs); in read_kcore_iter() 421 kfree(phdrs); in read_kcore_iter()
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 152 params->phdrs = kmalloc(size, GFP_KERNEL); in elf_fdpic_fetch_phdrs() 153 if (!params->phdrs) in elf_fdpic_fetch_phdrs() 156 retval = kernel_read(file, params->phdrs, size, &pos); in elf_fdpic_fetch_phdrs() 161 phdr = params->phdrs; in elf_fdpic_fetch_phdrs() 229 phdr = exec_params.phdrs; in load_elf_fdpic_binary() 482 kfree(exec_params.phdrs); in load_elf_fdpic_binary() 484 kfree(interp_params.phdrs); in load_elf_fdpic_binary() 769 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file() 818 phdr = params->phdrs; in elf_fdpic_map_file() 844 phdr = params->phdrs; in elf_fdpic_map_file() [all …]
|
| /linux/include/linux/ |
| H A D | elf-fdpic.h | 30 struct elf_phdr *phdrs; /* ref copy of PT_PHDR table */ member
|
| /linux/tools/perf/util/ |
| H A D | symbol-elf.c | 2151 struct list_head phdrs; in kcore_copy__free_syms() 2156 list_for_each_entry((p), &(k)->phdrs, node) 2178 list_add_tail(&p->node, &kci->phdrs); in kcore_copy__process_kallsyms() 2187 list_for_each_entry_safe(p, tmp, &kci->phdrs, node) { in kcore_copy__process_kallsyms() 2372 /* Find phdrs that remap the kernel */ in kcore_copy__calc_maps() 2581 INIT_LIST_HEAD(&kci.phdrs); in kcore_copy() 2092 struct list_head phdrs; global() member
|