Home
last modified time | relevance | path

Searched refs:phoff (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_phdr.c41 uint64_t phoff; in _libelf_getphdr() local
70 phoff = (uint64_t) eh32->e_phoff; in _libelf_getphdr()
73 phoff = (uint64_t) eh64->e_phoff; in _libelf_getphdr()
80 if (phoff + fsz < phoff) { /* Numeric overflow. */ in _libelf_getphdr()
85 if ((uint64_t) e->e_rawsize < (phoff + fsz)) { in _libelf_getphdr()
106 (*xlator)(phdr, phnum * msz, e->e_rawfile + phoff, phnum, in _libelf_getphdr()
H A Delf_update.c516 off_t rc, phoff, shoff; in _libelf_resync_elf() local
539 phoff = (off_t) eh32->e_phoff; in _libelf_resync_elf()
545 phoff = (off_t) eh64->e_phoff; in _libelf_resync_elf()
550 if (phoff < 0 || shoff < 0) { in _libelf_resync_elf()
621 if (rc > phoff) { in _libelf_resync_elf()
626 if (phoff % (off_t) align) { in _libelf_resync_elf()
632 phoff = roundup(rc, (off_t) align); in _libelf_resync_elf()
634 rc = phoff + (off_t) fsz; in _libelf_resync_elf()
639 (uint64_t) phoff, fsz, phdr)) in _libelf_resync_elf()
642 phoff = 0; in _libelf_resync_elf()
[all …]
/freebsd/usr.bin/elfdump/
H A Delfdump.c506 u_int64_t phoff; in main() local
609 phoff = elf_get_off(e, e, E_PHOFF); in main()
614 p = (char *)e + phoff; in main()
720 u_int64_t phoff; in elf_print_ehdr() local
737 phoff = elf_get_off(e, e, E_PHOFF); in elf_print_ehdr()
752 fprintf(out, "\te_phoff: %jd\n", (intmax_t)phoff); in elf_print_ehdr()
/freebsd/sys/dev/ocs_fc/
H A Dsli4.h2098 phoff:1, member