Searched refs:e_phentsize (Results 1 - 18 of 18) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Delf.h175 Elf32_Half e_phentsize; /* Size of program header entry. */ member in struct:__anon209
192 Elf64_Half e_phentsize; /* Size of program header entry. */ member in struct:__anon210
/osnet-11/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c345 size += phnum * ehdr->e_phentsize;
451 ep->e_phentsize = ehdr->e_phentsize;
453 ep->e_shoff = ep->e_phoff + phnum * ep->e_phentsize;
472 if (Pread(P, &elfdata[ep->e_phoff], phnum * ep->e_phentsize,
473 addr + ehdr->e_phoff) != phnum * ep->e_phentsize) {
H A DPcore.c1096 efp->e_hdr.e_phentsize = e64.e_phentsize;
1116 efp->e_hdr.e_phentsize = e32.e_phentsize;
1214 phnum /= efp->e_hdr.e_phentsize;
1233 efp->e_hdr.e_phentsize *
1237 efp->e_hdr.e_phentsize * phnum;
1813 * read the Phdrs. We use e_phnum and e_phentsize to simplify things.
1815 nbytes = core.e_hdr.e_phnum * core.e_hdr.e_phentsize;
1858 php = (char *)php + core.e_hdr.e_phentsize;
[all...]
H A DPcontrol.h174 Elf64_Half e_phentsize; member in struct:elf_file_header
H A DPgcore.c1084 ehdr.e_phentsize = sizeof (Elf32_Phdr);
1099 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phentsize * nphdrs;
1108 ehdr.e_phentsize * nphdrs +
1142 ehdr.e_phentsize = sizeof (Elf64_Phdr);
1157 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phentsize * nphdrs;
1166 ehdr.e_phentsize * nphdrs +
H A DPsymtab.c112 for (i = 0; i < phnum; i++, a += ehdr.e_phentsize) {
140 for (i = 0; i < phnum; i++, a += ehdr.e_phentsize) {
1103 uintptr_t a = addr + ehdr->e_phoff + i * ehdr->e_phentsize;
1157 uintptr_t a = addr + ehdr->e_phoff + i * ehdr->e_phentsize;
/osnet-11/usr/src/grub/grub2/grub-core/loader/
H A Dmultiboot_elfxx.c74 if (ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize > MULTIBOOT_SEARCH)
88 #define phdr(i) ((Elf_Phdr *) (phdr_base + (i) * ehdr->e_phentsize))
/osnet-11/usr/src/lib/libc/i386/crt/
H A D_rtld.c169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize))
222 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) {
/osnet-11/usr/src/lib/libc/sparc/crt/
H A D_rtld.c169 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize))
222 pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) {
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/
H A DbsdXX.c200 chunk_size += e.e_phnum * e.e_phentsize;
257 e.e_phnum * e.e_phentsize);
259 curload += e.e_phnum * e.e_phentsize;
453 e2->e_phentsize = 0;
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h78 Elf32_Half e_phentsize; /* program header entry size */ member in struct:__anon307
H A Dboot.c117 || ((pu.elf->e_phoff + (pu.elf->e_phentsize * pu.elf->e_phnum))
603 + (pu.elf->e_phentsize * i));
/osnet-11/usr/src/grub/grub2/grub-core/loader/ia64/efi/
H A Dlinux.c407 if (ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize > GRUB_ELF_SEARCH)
419 + i * ehdr->e_phentsize);
464 + i * ehdr->e_phentsize);
/osnet-11/usr/src/lib/libctf/common/
H A Dctf_lib.c131 dst->e_phentsize = src->e_phentsize;
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Delf.c126 phdrs_size = elf->ehdr.ehdr32.e_phnum * elf->ehdr.ehdr32.e_phentsize;
316 phdrs_size = elf->ehdr.ehdr64.e_phnum * elf->ehdr.ehdr64.e_phentsize;
/osnet-11/usr/src/grub/grub2/include/grub/
H A Delf.h75 Elf32_Half e_phentsize; /* Program header table entry size */ member in struct:__anon721
93 Elf64_Half e_phentsize; /* Program header table entry size */ member in struct:__anon722
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_link.c495 elf_file.ehdr.e_phentsize = sizeof (Elf32_Phdr);
632 elf_file.ehdr.e_phentsize = sizeof (Elf64_Phdr);
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-mkimage.c1513 ehdr->e_phentsize = grub_host_to_target16 (sizeof (*phdr));

Completed in 64 milliseconds