Home
last modified time | relevance | path

Searched refs:p_paddr (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/drivers/soc/qcom/
Dmdt_loader.c96 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/
Dkexec_elf.c194 } 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()
Dcrash_core.c374 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/
Delf.h99 Elf32_Addr p_paddr; member
111 Elf64_Addr p_paddr; /* Segment physical address */ member
/linux-6.6.21/arch/s390/kernel/
Dkexec_elf.c42 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/
Delf_kexec.c60 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/
Delfcore.c34 phdr.p_paddr = 0; /* match other core phdrs */ in elf_core_write_extra_phdrs()
/linux-6.6.21/arch/ia64/kernel/
Delfcore.c37 phdr.p_paddr = 0; /* match other core phdrs */ in elf_core_write_extra_phdrs()
/linux-6.6.21/arch/x86/boot/compressed/
Dmisc.c318 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/
Dfadump.c778 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/
Delf.h253 Elf32_Addr p_paddr; member
265 Elf64_Addr p_paddr; /* Segment physical address */ member
/linux-6.6.21/arch/arm64/kernel/
Delfcore.c101 phdr.p_paddr = 0; in elf_core_write_extra_phdrs()
/linux-6.6.21/fs/proc/
Dkcore.c391 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()
Dvmcore.c878 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/
Dproc-pid-vm.c102 uint64_t p_paddr; member
191 ph.p_paddr = 0; in make_exe()
/linux-6.6.21/drivers/remoteproc/
Dremoteproc_elf_helpers.h70 ELF_GEN_FIELD_GET_SET(phdr, p_paddr, u64) in ELF_GEN_FIELD_GET_SET()
Dqcom_q6v5_mss.c1382 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()
Dqcom_common.c298 ret = rproc_coredump_add_segment(rproc, phdr->p_paddr, in qcom_register_dump_segments()
/linux-6.6.21/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-core.c1018 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/
Dmisc.c269 dest = (void *)((unsigned long) phdr->p_paddr & in parse_elf()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dopal-core.c385 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/
Dvpe.c702 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/
Delf2ecoff.c194 p->p_paddr = swab32(p->p_paddr); in convert_elf_phdrs()
/linux-6.6.21/tools/perf/util/
Dgenelf.c298 phdr[0].p_paddr = GEN_ELF_TEXT_OFFSET; in jit_write_elf()
/linux-6.6.21/sound/pci/mixart/
Dmixart_hwdep.c83 __be32 p_paddr; member

12