| /linux-6.15/drivers/soc/qcom/ |
| H A D | mdt_loader.c | 78 const struct elf32_phdr *phdrs; in qcom_mdt_get_size() local 89 phdr = &phdrs[i]; in qcom_mdt_get_size() 127 const struct elf32_phdr *phdrs; in qcom_mdt_read_metadata() local 143 if (phdrs[0].p_type == PT_LOAD) in qcom_mdt_read_metadata() 158 ehdr_size = phdrs[0].p_filesz; in qcom_mdt_read_metadata() 206 const struct elf32_phdr *phdrs; in qcom_mdt_pas_init() local 221 phdr = &phdrs[i]; in qcom_mdt_pas_init() 281 if (!phdrs[i].p_filesz) in qcom_mdt_bins_are_split() 285 seg_end = phdrs[i].p_offset + phdrs[i].p_filesz; in qcom_mdt_bins_are_split() 318 phdr = &phdrs[i]; in __qcom_mdt_load() [all …]
|
| /linux-6.15/arch/parisc/boot/compressed/ |
| H 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-6.15/arch/x86/boot/compressed/ |
| H A D | misc.c | 286 Elf64_Phdr *phdrs, *phdr; in parse_elf() local 289 Elf32_Phdr *phdrs, *phdr; in parse_elf() 303 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 304 if (!phdrs) in parse_elf() 307 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf() 310 phdr = &phdrs[i]; in parse_elf() 330 free(phdrs); in parse_elf()
|
| /linux-6.15/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-6.15/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() 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() 807 phdr = params->phdrs; in elf_fdpic_map_file() 833 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 …]
|
| H A D | binfmt_elf.c | 1864 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() argument 1903 fill_elf_header(elf, phdrs, in fill_note_info() 1908 fill_elf_header(elf, phdrs, ELF_ARCH, ELF_CORE_EFLAGS); in fill_note_info()
|
| /linux-6.15/include/linux/ |
| H A D | elf-fdpic.h | 30 struct elf_phdr *phdrs; /* ref copy of PT_PHDR table */ member
|
| /linux-6.15/drivers/remoteproc/ |
| H A D | qcom_common.c | 279 const struct elf32_phdr *phdrs; in qcom_register_dump_segments() local 286 phdrs = (struct elf32_phdr *)(ehdr + 1); in qcom_register_dump_segments() 289 phdr = &phdrs[i]; in qcom_register_dump_segments()
|
| H A D | qcom_q6v5_mss.c | 1376 const struct elf32_phdr *phdrs; in q6v5_mpss_load() local 1417 phdrs = (struct elf32_phdr *)(ehdr + 1); in q6v5_mpss_load() 1420 phdr = &phdrs[i]; in q6v5_mpss_load() 1465 phdr = &phdrs[i]; in q6v5_mpss_load() 1684 const struct elf32_phdr *phdrs; in qcom_q6v5_register_dump_segments() local 1701 phdrs = (struct elf32_phdr *)(ehdr + 1); in qcom_q6v5_register_dump_segments() 1705 phdr = &phdrs[i]; in qcom_q6v5_register_dump_segments()
|
| /linux-6.15/tools/perf/util/ |
| H A D | symbol-elf.c | 2220 struct list_head phdrs; member 2225 list_for_each_entry((p), &(k)->phdrs, node) 2247 list_add_tail(&p->node, &kci->phdrs); in kcore_copy_info__addnew() 2256 list_for_each_entry_safe(p, tmp, &kci->phdrs, node) { in kcore_copy__free_phdrs() 2646 INIT_LIST_HEAD(&kci.phdrs); in kcore_copy()
|