Home
last modified time | relevance | path

Searched refs:e_shoff (Results 1 – 9 of 9) sorted by relevance

/f-stack/dpdk/buildtools/pmdinfogen/
H A Dpmdinfogen.c157 hdr->e_shoff = TO_NATIVE(endian, ADDR_SIZE, hdr->e_shoff); in parse_elf()
166 sechdrs = RTE_PTR_ADD(hdr, hdr->e_shoff); in parse_elf()
170 if (hdr->e_shoff > info->size) { in parse_elf()
173 (unsigned long)hdr->e_shoff, in parse_elf()
/f-stack/freebsd/mips/mips/
H A Delf_trampoline.c133 memcpy(shdr, (void *)(kstart + eh->e_shoff), in load_kernel()
136 if (eh->e_shnum * eh->e_shentsize != 0 && eh->e_shoff != 0) { in load_kernel()
/f-stack/freebsd/kern/
H A Dkern_ctf.c126 if (nbytes == 0 || hdr->e_shoff == 0 ||
137 hdr->e_shoff, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED,
H A Dimgact_elf.c1991 ehdr->e_shoff = ehdr->e_phoff + in __elfN()
1993 KASSERT(ehdr->e_shoff == hdrsize - sizeof(Elf_Shdr), in __elfN()
1995 (size_t)ehdr->e_shoff, hdrsize - sizeof(Elf_Shdr))); in __elfN()
1997 shdr = (Elf_Shdr *)((char *)hdr + ehdr->e_shoff); in __elfN()
H A Dlink_elf.c1244 if (nbytes == 0 || hdr->e_shoff == 0) in link_elf_load_file()
1248 (caddr_t)shdr, nbytes, hdr->e_shoff, in link_elf_load_file()
H A Dlink_elf_obj.c746 if (nbytes == 0 || hdr->e_shoff == 0 || in link_elf_load_file()
754 hdr->e_shoff, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, in link_elf_load_file()
/f-stack/freebsd/sys/
H A Delf32.h64 Elf32_Off e_shoff; /* Section header file offset. */ member
H A Delf64.h73 Elf64_Off e_shoff; /* Section header file offset. */ member
/f-stack/freebsd/x86/xen/
H A Dpv.c491 shdr = (Elf_Shdr *)((uint8_t *)ehdr + ehdr->e_shoff); in xen_pvh_parse_symtab()