Home
last modified time | relevance | path

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

12

/linux/drivers/soc/qcom/
A Dmdt_loader.c58 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 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()
A Dkexec_file.c1313 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 Delf.h99 Elf32_Addr p_paddr; member
111 Elf64_Addr p_paddr; /* Segment physical address */ member
/linux/arch/s390/kernel/
A 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()
A Dcrash_dump.c570 phdr->p_paddr = start; in loads_init()
/linux/arch/x86/boot/compressed/
A Dmisc.c314 dest += (phdr->p_paddr - LOAD_PHYSICAL_ADDR); in parse_elf()
316 dest = (void *)(phdr->p_paddr); in parse_elf()
/linux/arch/powerpc/kernel/
A Dfadump.c765 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 Delf.h249 Elf32_Addr p_paddr; member
261 Elf64_Addr p_paddr; /* Segment physical address */ member
/linux/arch/x86/um/
A Delfcore.c34 phdr.p_paddr = 0; /* match other core phdrs */ in elf_core_write_extra_phdrs()
/linux/arch/ia64/kernel/
A Delfcore.c37 phdr.p_paddr = 0; /* match other core phdrs */ in elf_core_write_extra_phdrs()
/linux/fs/proc/
A Dkcore.c391 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 Dvmcore.c901 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 Dproc-pid-vm.c100 uint64_t p_paddr; member
189 ph.p_paddr = 0; in make_exe()
/linux/drivers/media/platform/sti/c8sectpfe/
A Dc8sectpfe-core.c1037 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 Dremoteproc_elf_helpers.h70 ELF_GEN_FIELD_GET_SET(phdr, p_paddr, u64) in ELF_GEN_FIELD_GET_SET()
A Dqcom_q6v5_mss.c1308 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 Dqcom_common.c284 ret = rproc_coredump_add_segment(rproc, phdr->p_paddr, in qcom_register_dump_segments()
A Dpru_rproc.c593 u32 da = phdr->p_paddr; in pru_rproc_load_elf_segments()
/linux/arch/powerpc/platforms/powernv/
A Dopal-core.c383 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 Dmisc.c269 dest = (void *)((unsigned long) phdr->p_paddr & in parse_elf()
/linux/arch/mips/kernel/
A Dvpe.c703 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 Delf2ecoff.c194 p->p_paddr = swab32(p->p_paddr); in convert_elf_phdrs()
/linux/sound/pci/mixart/
A Dmixart_hwdep.c83 __be32 p_paddr; member
/linux/fs/
A Dbinfmt_elf_fdpic.c1267 phdr->p_paddr = 0; in fill_elf_note_phdr()
1591 phdr.p_paddr = 0; in elf_fdpic_core_dump()

Completed in 67 milliseconds

12