/linux-6.6.21/drivers/soc/qcom/ |
D | mdt_loader.c | 96 if (phdr->p_paddr < min_addr) in qcom_mdt_get_size() 97 min_addr = phdr->p_paddr; in qcom_mdt_get_size() 99 if (phdr->p_paddr + phdr->p_memsz > max_addr) in qcom_mdt_get_size() 100 max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); in qcom_mdt_get_size() 231 if (phdr->p_paddr < min_addr) in qcom_mdt_pas_init() 232 min_addr = phdr->p_paddr; in qcom_mdt_pas_init() 234 if (phdr->p_paddr + phdr->p_memsz > max_addr) in qcom_mdt_pas_init() 235 max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); in qcom_mdt_pas_init() 328 if (phdr->p_paddr < min_addr) in __qcom_mdt_load() 329 min_addr = phdr->p_paddr; in __qcom_mdt_load() [all …]
|
/linux-6.6.21/kernel/ |
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()
|
D | crash_core.c | 374 phdr->p_offset = phdr->p_paddr = notes_addr; in crash_prepare_elf64_headers() 382 phdr->p_offset = phdr->p_paddr = paddr_vmcoreinfo_note(); in crash_prepare_elf64_headers() 393 phdr->p_offset = phdr->p_paddr = __pa_symbol(_text); in crash_prepare_elf64_headers() 407 phdr->p_paddr = mstart; in crash_prepare_elf64_headers() 413 phdr, phdr->p_vaddr, phdr->p_paddr, phdr->p_filesz, in crash_prepare_elf64_headers()
|
/linux-6.6.21/arch/powerpc/boot/ |
D | elf.h | 99 Elf32_Addr p_paddr; member 111 Elf64_Addr p_paddr; /* Segment physical address */ member
|
/linux-6.6.21/arch/s390/kernel/ |
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()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | elf_kexec.c | 60 kbuf.mem = phdr->p_paddr - old_pbase + new_pbase; in riscv_kexec_elf_load() 91 if (lowest_paddr > phdr->p_paddr) in elf_find_pbase() 92 lowest_paddr = phdr->p_paddr; in elf_find_pbase()
|
/linux-6.6.21/arch/x86/um/ |
D | elfcore.c | 34 phdr.p_paddr = 0; /* match other core phdrs */ in elf_core_write_extra_phdrs()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | elfcore.c | 37 phdr.p_paddr = 0; /* match other core phdrs */ in elf_core_write_extra_phdrs()
|
/linux-6.6.21/arch/x86/boot/compressed/ |
D | misc.c | 318 dest += (phdr->p_paddr - LOAD_PHYSICAL_ADDR); in parse_elf() 320 dest = (void *)(phdr->p_paddr); in parse_elf()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | fadump.c | 778 phdr->p_paddr = __pa(fw_dump.cpu_notes_buf_vaddr); in fadump_update_elfcore_header() 779 phdr->p_offset = phdr->p_paddr; in fadump_update_elfcore_header() 1102 phdr->p_paddr = 0; in fadump_create_elfcore_headers() 1116 phdr->p_paddr = fadump_relocate(paddr_vmcoreinfo_note()); in fadump_create_elfcore_headers() 1117 phdr->p_offset = phdr->p_paddr; in fadump_create_elfcore_headers() 1154 phdr->p_paddr = mbase; in fadump_create_elfcore_headers()
|
/linux-6.6.21/include/uapi/linux/ |
D | elf.h | 253 Elf32_Addr p_paddr; member 265 Elf64_Addr p_paddr; /* Segment physical address */ member
|
/linux-6.6.21/arch/arm64/kernel/ |
D | elfcore.c | 101 phdr.p_paddr = 0; in elf_core_write_extra_phdrs()
|
/linux-6.6.21/fs/proc/ |
D | kcore.c | 391 phdr->p_paddr = __pa(m->addr); in read_kcore_iter() 393 phdr->p_paddr = __pa_symbol(m->addr); in read_kcore_iter() 395 phdr->p_paddr = (elf_addr_t)-1; in read_kcore_iter()
|
D | vmcore.c | 878 phdr.p_vaddr = phdr.p_paddr = 0; in merge_note_headers_elf64() 1069 phdr.p_vaddr = phdr.p_paddr = 0; in merge_note_headers_elf32()
|
/linux-6.6.21/tools/testing/selftests/proc/ |
D | proc-pid-vm.c | 102 uint64_t p_paddr; member 191 ph.p_paddr = 0; in make_exe()
|
/linux-6.6.21/drivers/remoteproc/ |
D | remoteproc_elf_helpers.h | 70 ELF_GEN_FIELD_GET_SET(phdr, p_paddr, u64) in ELF_GEN_FIELD_GET_SET()
|
D | qcom_q6v5_mss.c | 1382 if (phdr->p_paddr < min_addr) in q6v5_mpss_load() 1383 min_addr = phdr->p_paddr; in q6v5_mpss_load() 1385 if (phdr->p_paddr + phdr->p_memsz > max_addr) in q6v5_mpss_load() 1386 max_addr = ALIGN(phdr->p_paddr + phdr->p_memsz, SZ_4K); in q6v5_mpss_load() 1424 offset = phdr->p_paddr - mpss_reloc; in q6v5_mpss_load() 1664 ret = rproc_coredump_add_custom_segment(rproc, phdr->p_paddr, in qcom_q6v5_register_dump_segments()
|
D | qcom_common.c | 298 ret = rproc_coredump_add_segment(rproc, phdr->p_paddr, in qcom_register_dump_segments()
|
/linux-6.6.21/drivers/media/platform/st/sti/c8sectpfe/ |
D | c8sectpfe-core.c | 1018 seg_num, phdr->p_paddr, phdr->p_filesz, dest, in load_imem_segment() 1047 seg_num, phdr->p_paddr, phdr->p_filesz, in load_dmem_segment() 1099 dst += (phdr->p_paddr & 0xFFFFF) * sizeof(unsigned int); in load_slim_core_fw() 1107 dst += (phdr->p_paddr & 0xFFFFF) * sizeof(unsigned int); in load_slim_core_fw()
|
/linux-6.6.21/arch/parisc/boot/compressed/ |
D | misc.c | 269 dest = (void *)((unsigned long) phdr->p_paddr & in parse_elf()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 385 phdr->p_paddr = phdr->p_vaddr = 0; in create_opalcore() 408 phdr->p_paddr = cpu_to_be64(paddr); in create_opalcore()
|
/linux-6.6.21/arch/mips/kernel/ |
D | vpe.c | 702 memcpy((void *)phdr->p_paddr, in vpe_elfload() 705 memset((void *)phdr->p_paddr + phdr->p_filesz, in vpe_elfload()
|
/linux-6.6.21/arch/mips/boot/ |
D | elf2ecoff.c | 194 p->p_paddr = swab32(p->p_paddr); in convert_elf_phdrs()
|
/linux-6.6.21/tools/perf/util/ |
D | genelf.c | 298 phdr[0].p_paddr = GEN_ELF_TEXT_OFFSET; in jit_write_elf()
|
/linux-6.6.21/sound/pci/mixart/ |
D | mixart_hwdep.c | 83 __be32 p_paddr; member
|