Home
last modified time | relevance | path

Searched refs:p_vaddr (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v5.4/fs/
Dbinfmt_elf_fdpic.c291 exec_params.load_addr = phdr->p_vaddr; in load_elf_fdpic_binary()
787 if (params->hdr.e_entry >= seg->p_vaddr && in elf_fdpic_map_file()
788 params->hdr.e_entry < seg->p_vaddr + seg->p_memsz) { in elf_fdpic_map_file()
790 (params->hdr.e_entry - seg->p_vaddr) + in elf_fdpic_map_file()
812 if (phdr->p_vaddr >= seg->p_vaddr && in elf_fdpic_map_file()
813 phdr->p_vaddr + phdr->p_filesz <= in elf_fdpic_map_file()
814 seg->p_vaddr + seg->p_memsz) { in elf_fdpic_map_file()
816 (phdr->p_vaddr - seg->p_vaddr) + in elf_fdpic_map_file()
833 if (phdr->p_vaddr >= seg->p_vaddr && in elf_fdpic_map_file()
834 phdr->p_vaddr + phdr->p_memsz <= in elf_fdpic_map_file()
[all …]
Dbinfmt_elf.c353 unsigned long size = eppnt->p_filesz + ELF_PAGEOFFSET(eppnt->p_vaddr); in elf_map()
354 unsigned long off = eppnt->p_offset - ELF_PAGEOFFSET(eppnt->p_vaddr); in elf_map()
403 return cmds[last_idx].p_vaddr + cmds[last_idx].p_memsz - in total_mapping_size()
404 ELF_PAGESTART(cmds[first_idx].p_vaddr); in total_mapping_size()
584 vaddr = eppnt->p_vaddr; in load_elf_interp()
610 k = load_addr + eppnt->p_vaddr; in load_elf_interp()
623 k = load_addr + eppnt->p_vaddr + eppnt->p_filesz; in load_elf_interp()
631 k = load_addr + eppnt->p_vaddr + eppnt->p_memsz; in load_elf_interp()
920 vaddr = elf_ppnt->p_vaddr; in load_elf_binary()
993 load_addr = (elf_ppnt->p_vaddr - elf_ppnt->p_offset); in load_elf_binary()
[all …]
/Linux-v5.4/arch/mips/boot/
Delf2ecoff.c125 if (h1->p_vaddr > h2->p_vaddr) in phcmp()
127 else if (h1->p_vaddr < h2->p_vaddr) in phcmp()
193 p->p_vaddr = swab32(p->p_vaddr); in convert_elf_phdrs()
364 ndata.vaddr = ph[i].p_vaddr; in main()
366 nbss.vaddr = ph[i].p_vaddr + ph[i].p_filesz; in main()
374 ntxt.vaddr = ph[i].p_vaddr; in main()
380 if (ph[i].p_vaddr < cur_vma) in main()
381 cur_vma = ph[i].p_vaddr; in main()
568 if (cur_vma != ph[i].p_vaddr) { in main()
569 uint32_t gap = ph[i].p_vaddr - cur_vma; in main()
[all …]
/Linux-v5.4/arch/alpha/boot/tools/
Dobjstrip.c182 if (elf_phdr->p_vaddr < e_entry) { in main()
183 unsigned long delta = e_entry - elf_phdr->p_vaddr; in main()
187 elf_phdr->p_vaddr += delta; in main()
192 prog_name, (long) elf_phdr->p_vaddr, in main()
193 elf_phdr->p_vaddr + fil_size, offset); in main()
/Linux-v5.4/tools/testing/selftests/kvm/lib/
Delf.c161 vm_vaddr_t seg_vstart = phdr.p_vaddr; in kvm_vm_elf_load()
163 vm_vaddr_t seg_vend = phdr.p_vaddr + phdr.p_memsz - 1; in kvm_vm_elf_load()
192 test_read(fd, addr_gva2hva(vm, phdr.p_vaddr), in kvm_vm_elf_load()
/Linux-v5.4/arch/powerpc/boot/
Delf.h98 Elf32_Addr p_vaddr; member
110 Elf64_Addr p_vaddr; /* Segment virtual address */ member
/Linux-v5.4/kernel/
Dkexec_elf.c222 phdr->p_vaddr = elf64_to_cpu(ehdr, buf_phdr->p_vaddr); in elf_read_phdr()
231 phdr->p_vaddr = elf32_to_cpu(ehdr, buf_phdr->p_vaddr); in elf_read_phdr()
Dkexec_file.c1307 phdr->p_vaddr = (Elf64_Addr)_text; in crash_prepare_elf64_headers()
1324 phdr->p_vaddr = (unsigned long long) __va(mstart); in crash_prepare_elf64_headers()
1330 phdr, phdr->p_vaddr, phdr->p_paddr, phdr->p_filesz, in crash_prepare_elf64_headers()
/Linux-v5.4/include/uapi/linux/
Delf-fdpic.h23 Elf32_Addr p_vaddr; /* VMA recorded in file */ member
Delf.h247 Elf32_Addr p_vaddr; member
259 Elf64_Addr p_vaddr; /* Segment virtual address */ member
/Linux-v5.4/arch/x86/um/
Delfcore.c53 void *addr = (void *) phdrp[i].p_vaddr; in elf_core_write_extra_data()
/Linux-v5.4/arch/ia64/kernel/
Delfcore.c52 void *addr = (void *)gate_phdrs[i].p_vaddr; in elf_core_write_extra_data()
/Linux-v5.4/tools/testing/selftests/proc/
Dproc-pid-vm.c99 uint64_t p_vaddr; member
188 ph.p_vaddr = VADDR; in make_exe()
/Linux-v5.4/arch/sparc/vdso/
Dvdso2c.h34 GET_BE(&pt[i].p_vaddr) != 0) in BITSFUNC()
/Linux-v5.4/sound/pci/mixart/
Dmixart_hwdep.c81 __be32 p_vaddr; member
110 memcpy_toio( MIXART_MEM( mgr, be32_to_cpu(elf_programheader.p_vaddr)), in mixart_load_elf()
/Linux-v5.4/tools/testing/selftests/vDSO/
Dparse_vdso.c122 - (uintptr_t)pt[i].p_vaddr; in vdso_init_from_sysinfo_ehdr()
/Linux-v5.4/arch/powerpc/oprofile/cell/
Dvma_map.c162 map = vma_map_add(map, phdr.p_vaddr, phdr.p_memsz, in create_vma_map()
/Linux-v5.4/arch/x86/entry/vdso/
Dvdso2c.h36 GET_LE(&pt[i].p_vaddr) != 0) in BITSFUNC()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dopal-core.c382 phdr->p_paddr = phdr->p_vaddr = 0; in create_opalcore()
406 phdr->p_vaddr = cpu_to_be64(opal_base_addr + paddr); in create_opalcore()
/Linux-v5.4/fs/proc/
Dkcore.c386 phdr->p_vaddr = (size_t)m->vaddr; in read_kcore()
388 phdr->p_vaddr = (size_t)m->addr; in read_kcore()
Dvmcore.c858 phdr.p_vaddr = phdr.p_paddr = 0; in merge_note_headers_elf64()
1049 phdr.p_vaddr = phdr.p_paddr = 0; in merge_note_headers_elf32()
/Linux-v5.4/arch/powerpc/kernel/
Dfadump.c974 phdr->p_vaddr = 0; in fadump_create_elfcore_headers()
989 phdr->p_vaddr = 0; in fadump_create_elfcore_headers()
1031 phdr->p_vaddr = (unsigned long)__va(mbase); in fadump_create_elfcore_headers()
/Linux-v5.4/arch/s390/kernel/
Dcrash_dump.c571 phdr->p_vaddr = start; in loads_init()
/Linux-v5.4/tools/perf/util/
Dsymbol-elf.c1198 err = mapfn(phdr.p_vaddr, sz, phdr.p_offset, data); in elf_read_maps()
1414 .p_vaddr = addr, in kcore__add_phdr()
/Linux-v5.4/drivers/remoteproc/
Dremoteproc_core.c1613 phdr->p_vaddr = segment->da; in rproc_coredump()

12