Searched refs:phdrs (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/soc/qcom/ |
A D | mdt_loader.c | 42 const struct elf32_phdr *phdrs; in qcom_mdt_get_size() local 53 phdr = &phdrs[i]; in qcom_mdt_get_size() 88 const struct elf32_phdr *phdrs; in qcom_mdt_read_metadata() local 101 if (phdrs[0].p_type == PT_LOAD) in qcom_mdt_read_metadata() 107 ehdr_size = phdrs[0].p_filesz; in qcom_mdt_read_metadata() 108 hash_size = phdrs[1].p_filesz; in qcom_mdt_read_metadata() 116 hash_offset = phdrs[0].p_filesz; in qcom_mdt_read_metadata() 118 hash_offset = phdrs[1].p_offset; in qcom_mdt_read_metadata() 134 const struct elf32_phdr *phdrs; in __qcom_mdt_load() local 186 phdr = &phdrs[i]; in __qcom_mdt_load() [all …]
|
/linux/arch/parisc/boot/compressed/ |
A D | misc.c | 237 Elf64_Phdr *phdrs, *phdr; in parse_elf() local 240 Elf32_Phdr *phdrs, *phdr; in parse_elf() 258 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 259 if (!phdrs) in parse_elf() 262 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 265 phdr = &phdrs[i]; in parse_elf() 278 free(phdrs); in parse_elf()
|
/linux/arch/x86/boot/compressed/ |
A D | misc.c | 278 Elf64_Phdr *phdrs, *phdr; in parse_elf() local 281 Elf32_Phdr *phdrs, *phdr; in parse_elf() 297 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 298 if (!phdrs) in parse_elf() 301 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 304 phdr = &phdrs[i]; in parse_elf() 324 free(phdrs); in parse_elf()
|
/linux/fs/proc/ |
A D | kcore.c | 372 struct elf_phdr *phdrs, *phdr; in read_kcore() local 374 phdrs = kzalloc(phdrs_len, GFP_KERNEL); in read_kcore() 375 if (!phdrs) { in read_kcore() 380 phdrs[0].p_type = PT_NOTE; in read_kcore() 381 phdrs[0].p_offset = notes_offset; in read_kcore() 382 phdrs[0].p_filesz = notes_len; in read_kcore() 384 phdr = &phdrs[1]; in read_kcore() 402 if (copy_to_user(buffer, (char *)phdrs + *fpos - phdrs_offset, in read_kcore() 404 kfree(phdrs); in read_kcore() 408 kfree(phdrs); in read_kcore()
|
/linux/fs/ |
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() 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() 809 phdr = params->phdrs; in elf_fdpic_map_file() 835 phdr = params->phdrs; in elf_fdpic_map_file() 939 phdr = params->phdrs; in elf_fdpic_map_file_constdisp_on_uclinux() 960 phdr = params->phdrs; in elf_fdpic_map_file_constdisp_on_uclinux() [all …]
|
A D | binfmt_elf.c | 1801 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument 1844 fill_elf_header(elf, phdrs, in fill_note_info() 2030 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument 2062 fill_elf_header(elf, phdrs, ELF_ARCH, ELF_CORE_EFLAGS); in fill_note_info()
|
/linux/drivers/remoteproc/ |
A D | qcom_common.c | 263 const struct elf32_phdr *phdrs; in qcom_register_dump_segments() local 270 phdrs = (struct elf32_phdr *)(ehdr + 1); in qcom_register_dump_segments() 273 phdr = &phdrs[i]; in qcom_register_dump_segments()
|
A D | qcom_q6v5_mss.c | 1256 const struct elf32_phdr *phdrs; in q6v5_mpss_load() local 1297 phdrs = (struct elf32_phdr *)(ehdr + 1); in q6v5_mpss_load() 1300 phdr = &phdrs[i]; in q6v5_mpss_load() 1336 phdr = &phdrs[i]; in q6v5_mpss_load() 1555 const struct elf32_phdr *phdrs; in qcom_q6v5_register_dump_segments() local 1572 phdrs = (struct elf32_phdr *)(ehdr + 1); in qcom_q6v5_register_dump_segments() 1576 phdr = &phdrs[i]; in qcom_q6v5_register_dump_segments()
|
/linux/include/linux/ |
A D | elf-fdpic.h | 18 struct elf_phdr *phdrs; /* ref copy of PT_PHDR table */ member
|
/linux/tools/perf/util/ |
A D | symbol-elf.c | 1634 struct list_head phdrs; member 1639 list_for_each_entry((p), &(k)->phdrs, node) 1661 list_add_tail(&p->node, &kci->phdrs); in kcore_copy_info__addnew() 1670 list_for_each_entry_safe(p, tmp, &kci->phdrs, node) { in kcore_copy__free_phdrs() 2060 INIT_LIST_HEAD(&kci.phdrs); in kcore_copy()
|
Completed in 28 milliseconds