/linux/drivers/soc/qcom/ |
A D | mdt_loader.c | 58 if (phdr->p_paddr < min_addr) in qcom_mdt_get_size() 59 min_addr = phdr->p_paddr; in qcom_mdt_get_size() 61 if (phdr->p_paddr + phdr->p_memsz > max_addr) in qcom_mdt_get_size() 62 max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); in qcom_mdt_get_size() 194 if (phdr->p_paddr < min_addr) in __qcom_mdt_load() 195 min_addr = phdr->p_paddr; in __qcom_mdt_load() 197 if (phdr->p_paddr + phdr->p_memsz > max_addr) in __qcom_mdt_load() 198 max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); in __qcom_mdt_load() 232 offset = phdr->p_paddr - mem_reloc; in __qcom_mdt_load()
|
/linux/kernel/ |
A D | kexec_elf.c | 194 } else if (phdr->p_paddr + phdr->p_memsz < phdr->p_paddr) { in elf_is_phdr_sane() 221 phdr->p_paddr = elf64_to_cpu(ehdr, buf_phdr->p_paddr); in elf_read_phdr() 230 phdr->p_paddr = elf32_to_cpu(ehdr, buf_phdr->p_paddr); in elf_read_phdr() 415 kbuf->buf_min = phdr->p_paddr; in kexec_elf_load()
|
A D | kexec_file.c | 1313 phdr->p_offset = phdr->p_paddr = notes_addr; in crash_prepare_elf64_headers() 1321 phdr->p_offset = phdr->p_paddr = paddr_vmcoreinfo_note(); in crash_prepare_elf64_headers() 1332 phdr->p_offset = phdr->p_paddr = __pa_symbol(_text); in crash_prepare_elf64_headers() 1346 phdr->p_paddr = mstart; in crash_prepare_elf64_headers() 1352 phdr, phdr->p_vaddr, phdr->p_paddr, phdr->p_filesz, in crash_prepare_elf64_headers()
|
/linux/arch/powerpc/boot/ |
A D | elf.h | 99 Elf32_Addr p_paddr; member 111 Elf64_Addr p_paddr; /* Segment physical address */ member
|
/linux/arch/s390/kernel/ |
A D | kexec_elf.c | 42 buf.mem = ALIGN(phdr->p_paddr, phdr->p_align); in kexec_file_add_kernel_elf() 48 if (entry - phdr->p_paddr < phdr->p_memsz) { in kexec_file_add_kernel_elf()
|
A D | crash_dump.c | 570 phdr->p_paddr = start; in loads_init()
|
/linux/arch/x86/boot/compressed/ |
A D | misc.c | 314 dest += (phdr->p_paddr - LOAD_PHYSICAL_ADDR); in parse_elf() 316 dest = (void *)(phdr->p_paddr); in parse_elf()
|
/linux/arch/powerpc/kernel/ |
A D | fadump.c | 765 phdr->p_paddr = __pa(fw_dump.cpu_notes_buf_vaddr); in fadump_update_elfcore_header() 766 phdr->p_offset = phdr->p_paddr; in fadump_update_elfcore_header() 1082 phdr->p_paddr = 0; in fadump_create_elfcore_headers() 1096 phdr->p_paddr = fadump_relocate(paddr_vmcoreinfo_note()); in fadump_create_elfcore_headers() 1097 phdr->p_offset = phdr->p_paddr; in fadump_create_elfcore_headers() 1134 phdr->p_paddr = mbase; in fadump_create_elfcore_headers()
|
/linux/include/uapi/linux/ |
A D | elf.h | 249 Elf32_Addr p_paddr; member 261 Elf64_Addr p_paddr; /* Segment physical address */ member
|
/linux/arch/x86/um/ |
A D | elfcore.c | 34 phdr.p_paddr = 0; /* match other core phdrs */ in elf_core_write_extra_phdrs()
|
/linux/arch/ia64/kernel/ |
A D | elfcore.c | 37 phdr.p_paddr = 0; /* match other core phdrs */ in elf_core_write_extra_phdrs()
|
/linux/fs/proc/ |
A D | kcore.c | 391 phdr->p_paddr = __pa(m->addr); in read_kcore() 393 phdr->p_paddr = __pa_symbol(m->addr); in read_kcore() 395 phdr->p_paddr = (elf_addr_t)-1; in read_kcore()
|
A D | vmcore.c | 901 phdr.p_vaddr = phdr.p_paddr = 0; in merge_note_headers_elf64() 1092 phdr.p_vaddr = phdr.p_paddr = 0; in merge_note_headers_elf32()
|
/linux/tools/testing/selftests/proc/ |
A D | proc-pid-vm.c | 100 uint64_t p_paddr; member 189 ph.p_paddr = 0; in make_exe()
|
/linux/drivers/media/platform/sti/c8sectpfe/ |
A D | c8sectpfe-core.c | 1037 seg_num, phdr->p_paddr, phdr->p_filesz, dest, in load_imem_segment() 1066 seg_num, phdr->p_paddr, phdr->p_filesz, in load_dmem_segment() 1118 dst += (phdr->p_paddr & 0xFFFFF) * sizeof(unsigned int); in load_slim_core_fw() 1126 dst += (phdr->p_paddr & 0xFFFFF) * sizeof(unsigned int); in load_slim_core_fw()
|
/linux/drivers/remoteproc/ |
A D | remoteproc_elf_helpers.h | 70 ELF_GEN_FIELD_GET_SET(phdr, p_paddr, u64) in ELF_GEN_FIELD_GET_SET()
|
A D | qcom_q6v5_mss.c | 1308 if (phdr->p_paddr < min_addr) in q6v5_mpss_load() 1309 min_addr = phdr->p_paddr; in q6v5_mpss_load() 1311 if (phdr->p_paddr + phdr->p_memsz > max_addr) in q6v5_mpss_load() 1312 max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); in q6v5_mpss_load() 1341 offset = phdr->p_paddr - mpss_reloc; in q6v5_mpss_load() 1581 ret = rproc_coredump_add_custom_segment(rproc, phdr->p_paddr, in qcom_q6v5_register_dump_segments()
|
A D | qcom_common.c | 284 ret = rproc_coredump_add_segment(rproc, phdr->p_paddr, in qcom_register_dump_segments()
|
A D | pru_rproc.c | 593 u32 da = phdr->p_paddr; in pru_rproc_load_elf_segments()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | opal-core.c | 383 phdr->p_paddr = phdr->p_vaddr = 0; in create_opalcore() 406 phdr->p_paddr = cpu_to_be64(paddr); in create_opalcore()
|
/linux/arch/parisc/boot/compressed/ |
A D | misc.c | 269 dest = (void *)((unsigned long) phdr->p_paddr & in parse_elf()
|
/linux/arch/mips/kernel/ |
A D | vpe.c | 703 memcpy((void *)phdr->p_paddr, in vpe_elfload() 706 memset((void *)phdr->p_paddr + phdr->p_filesz, in vpe_elfload()
|
/linux/arch/mips/boot/ |
A D | elf2ecoff.c | 194 p->p_paddr = swab32(p->p_paddr); in convert_elf_phdrs()
|
/linux/sound/pci/mixart/ |
A D | mixart_hwdep.c | 83 __be32 p_paddr; member
|
/linux/fs/ |
A D | binfmt_elf_fdpic.c | 1267 phdr->p_paddr = 0; in fill_elf_note_phdr() 1591 phdr.p_paddr = 0; in elf_fdpic_core_dump()
|