Searched refs:phdrs (Results 1 – 6 of 6) 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() 474 kfree(exec_params.phdrs); in load_elf_fdpic_binary() 476 kfree(interp_params.phdrs); in load_elf_fdpic_binary() 764 if (params->phdrs[loop].p_type == PT_LOAD) in elf_fdpic_map_file() 813 phdr = params->phdrs; in elf_fdpic_map_file() 839 phdr = params->phdrs; in elf_fdpic_map_file() [all …]
|
| H A D | binfmt_elf.c | 1815 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument 1871 fill_elf_header(elf, phdrs, machine, flags); in fill_note_info()
|
| /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 | 2094 struct list_head phdrs; 2099 list_for_each_entry((p), &(k)->phdrs, node) in phdr_data__new() 2121 list_add_tail(&p->node, &kci->phdrs); in kcore_copy_info__addnew() 2130 list_for_each_entry_safe(p, tmp, &kci->phdrs, node) { in kcore_copy__free_phdrs() 2311 /* Find phdrs that remap the kernel */ in kcore_copy__find_remaps() 2520 INIT_LIST_HEAD(&kci.phdrs); in kcore_copy() 2092 struct list_head phdrs; global() member
|