Home
last modified time | relevance | path

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

12

/linux/fs/
A Dbinfmt_elf_fdpic.c821 if (phdr->p_vaddr >= seg->p_vaddr && in elf_fdpic_map_file()
825 (phdr->p_vaddr - seg->p_vaddr) + in elf_fdpic_map_file()
842 if (phdr->p_vaddr >= seg->p_vaddr && in elf_fdpic_map_file()
849 (phdr->p_vaddr - seg->p_vaddr) + in elf_fdpic_map_file()
880 if (seg->p_vaddr - mseg->p_vaddr == seg->addr - mseg->addr) { in elf_fdpic_map_file()
944 if (base > phdr->p_vaddr) in elf_fdpic_map_file_constdisp_on_uclinux()
945 base = phdr->p_vaddr; in elf_fdpic_map_file_constdisp_on_uclinux()
966 seg->p_vaddr = phdr->p_vaddr; in elf_fdpic_map_file_constdisp_on_uclinux()
1054 maddr = phdr->p_vaddr; in elf_fdpic_map_file_by_direct_mmap()
1100 seg->p_vaddr = phdr->p_vaddr; in elf_fdpic_map_file_by_direct_mmap()
[all …]
A Dbinfmt_elf.c417 ELF_PAGESTART(cmds[first_idx].p_vaddr); in total_mapping_size()
631 vaddr = eppnt->p_vaddr; in load_elf_interp()
655 k = load_addr + eppnt->p_vaddr; in load_elf_interp()
1075 vaddr = elf_ppnt->p_vaddr; in load_elf_binary()
1172 k = elf_ppnt->p_vaddr; in load_elf_binary()
1199 k = elf_ppnt->p_vaddr + elf_ppnt->p_memsz; in load_elf_binary()
1396 ELF_PAGESTART(eppnt->p_vaddr), in load_elf_library()
1398 ELF_PAGEOFFSET(eppnt->p_vaddr)), in load_elf_library()
1402 ELF_PAGEOFFSET(eppnt->p_vaddr))); in load_elf_library()
1493 phdr->p_vaddr = 0; in fill_elf_note_phdr()
[all …]
/linux/arch/mips/boot/
A 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/arch/alpha/boot/tools/
A 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/tools/testing/selftests/kvm/lib/
A Delf.c160 vm_vaddr_t seg_vstart = align_down(phdr.p_vaddr, vm->page_size); in kvm_vm_elf_load()
161 vm_vaddr_t seg_vend = phdr.p_vaddr + phdr.p_memsz - 1; in kvm_vm_elf_load()
189 test_read(fd, addr_gva2hva(vm, phdr.p_vaddr), in kvm_vm_elf_load()
/linux/arch/powerpc/boot/
A Delf.h98 Elf32_Addr p_vaddr; member
110 Elf64_Addr p_vaddr; /* Segment virtual address */ member
/linux/kernel/
A 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()
A Dkexec_file.c1330 phdr->p_vaddr = (unsigned long) _text; in crash_prepare_elf64_headers()
1347 phdr->p_vaddr = (unsigned long) __va(mstart); in crash_prepare_elf64_headers()
1352 phdr, phdr->p_vaddr, phdr->p_paddr, phdr->p_filesz, in crash_prepare_elf64_headers()
/linux/include/uapi/linux/
A Delf-fdpic.h23 Elf32_Addr p_vaddr; /* VMA recorded in file */ member
A Delf.h248 Elf32_Addr p_vaddr; member
260 Elf64_Addr p_vaddr; /* Segment virtual address */ member
/linux/arch/x86/um/
A Delfcore.c53 void *addr = (void *) phdrp[i].p_vaddr; in elf_core_write_extra_data()
/linux/arch/ia64/kernel/
A Delfcore.c52 void *addr = (void *)gate_phdrs[i].p_vaddr; in elf_core_write_extra_data()
A Dunwind.c2207 start = (const struct unw_table_entry *) punw->p_vaddr; in create_gate_table()
/linux/tools/testing/selftests/proc/
A Dproc-pid-vm.c99 uint64_t p_vaddr; member
188 ph.p_vaddr = VADDR; in make_exe()
/linux/drivers/remoteproc/
A Dremoteproc_elf_helpers.h71 ELF_GEN_FIELD_GET_SET(phdr, p_vaddr, u64) in ELF_GEN_FIELD_GET_SET()
/linux/sound/pci/mixart/
A Dmixart_hwdep.c82 __be32 p_vaddr; member
111 memcpy_toio( MIXART_MEM( mgr, be32_to_cpu(elf_programheader.p_vaddr)), in mixart_load_elf()
/linux/arch/sparc/vdso/
A Dvdso2c.h34 GET_BE(&pt[i].p_vaddr) != 0) in BITSFUNC()
/linux/tools/testing/selftests/vDSO/
A Dparse_vdso.c100 - (uintptr_t)pt[i].p_vaddr; in vdso_init_from_sysinfo_ehdr()
/linux/arch/powerpc/platforms/powernv/
A Dopal-core.c383 phdr->p_paddr = phdr->p_vaddr = 0; in create_opalcore()
407 phdr->p_vaddr = cpu_to_be64(opal_base_addr + paddr); in create_opalcore()
/linux/arch/x86/entry/vdso/
A Dvdso2c.h70 GET_LE(&pt[i].p_vaddr) != 0) in BITSFUNC()
/linux/arch/powerpc/kernel/
A Dfadump.c1078 phdr->p_vaddr = 0; in fadump_create_elfcore_headers()
1093 phdr->p_vaddr = 0; in fadump_create_elfcore_headers()
1135 phdr->p_vaddr = (unsigned long)__va(mbase); in fadump_create_elfcore_headers()
/linux/fs/proc/
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()
A Dkcore.c389 phdr->p_vaddr = (size_t)m->addr; in read_kcore()
/linux/arch/s390/kernel/
A Dcrash_dump.c569 phdr->p_vaddr = start; in loads_init()
/linux/tools/perf/util/
A Dsymbol-elf.c1377 err = mapfn(phdr.p_vaddr, sz, phdr.p_offset, data); in elf_read_maps()
1593 .p_vaddr = addr, in kcore__add_phdr()

Completed in 55 milliseconds

12