/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 914 shsize = mp->hdr.e_shentsize * mp->hdr.e_shnum; 918 for (i = 1; i < (int)mp->hdr.e_shnum; i++) { 1243 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; 1573 mp->hdr.e_shnum = 2; 1617 for (shn = 1; shn < omp->hdr.e_shnum; shn++) { 1629 kobj_free(omp->shdrs, omp->hdr.e_shentsize * omp->hdr.e_shnum); 1759 for (dshp = NULL, shn = 1; shn < mp->hdr.e_shnum; shn++) { 1780 if (dshp->sh_link > mp->hdr.e_shnum) { 1957 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; 2221 for (shn = 1; shn < mp->hdr.e_shnum; sh [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | output.c | 493 secxlate = xmalloc(sizeof (int) * sehdr.e_shnum); 494 for (srcidx = dstidx = 0; srcidx < sehdr.e_shnum; srcidx++) { 523 for (srcidx = 1; srcidx < sehdr.e_shnum; srcidx++) {
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 253 dprintf("e_shnum\t\t%d\n", (is64 ? 254 elfhdr64.e_shnum : elfhdr.e_shnum)); 1139 size = ehdr->e_shentsize * ehdr->e_shnum; 1157 for (i = 1; i < ehdr->e_shnum; i++) { 1295 size = ehdr->e_shentsize * ehdr->e_shnum; 1320 for (i = 1; i < ehdr->e_shnum; i++) {
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | clscook.c | 364 if ((eh->e_shnum == 0) && (eh->e_shoff == 0)) 378 if ((scncnt = eh->e_shnum) == 0) {
|
H A D | gelf.c | 114 dst->e_shnum = e->e_shnum; 176 d->e_shnum = src->e_shnum;
|
H A D | xlate.m4 | 1006 tofh(dst, src->e_shnum, E1_shnum_$2); 1541 dst->e_shnum = tomh(src, E1_shnum_$2);
|
H A D | xlate64.m4 | 997 tofh(dst, src->e_shnum, E1_shnum_$2); 1579 dst->e_shnum = tomh(src, E1_shnum_$2);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | elf.h | 82 Elf32_Half e_shnum; /* number shdrs */ member in struct:__anon252 100 Elf64_Half e_shnum; /* number shdrs */ member in struct:__anon253
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 154 hdr.elf_hdr.e_shnum = KSHDR_NUM;
|
H A D | brand.c | 457 dst->e_shnum = src->e_shnum;
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 871 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; 888 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { 952 if ((mp->symhdr != NULL) && (mp->symhdr->sh_link < mp->hdr.e_shnum)) { 995 kmem_free(mp->shdrs, mp->hdr.e_shentsize * mp->hdr.e_shnum);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.h | 188 Elf64_Word e_shnum; /* shdr count extended to 32 bits */ member in struct:elf_file_header
|
H A D | Psymtab_machelf32.c | 467 ep->e_shnum = 5 + (pltsz != 0) + (d[DI_SUNW_SYMTAB] != NULL); 472 off = ep->e_shoff + ep->e_shentsize * ep->e_shnum;
|
H A D | Pgcore.c | 1135 ehdr.e_shnum = 0; 1137 ehdr.e_shnum = (unsigned short)nshdrs; 1193 ehdr.e_shnum = 0; 1195 ehdr.e_shnum = (unsigned short)nshdrs;
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | load_elf.c | 507 chunk = ehdr->e_shnum * ehdr->e_shentsize; 527 for (i = 0; i < ehdr->e_shnum; i++) { 547 for (i = 0; i < ehdr->e_shnum; i++) { 802 size = ef.ehdr->e_shnum * ef.ehdr->e_shentsize; 821 for (i = 0, j = 0; i < ef.ehdr->e_shnum; i++) {
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | boot.c | 661 mbi.syms.e.num = pu.elf->e_shnum; 669 tab_size = pu.elf->e_shentsize * pu.elf->e_shnum;
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 643 ehdr.e_shnum = 0; 652 ehdr.e_shnum++;
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_elf_access.c | 168 obj->section_count = obj->ehdr64->e_shnum; 182 obj->section_count = obj->ehdr32->e_shnum;
|
/illumos-gate/usr/src/cmd/file/ |
H A D | elf_read.c | 209 EI_Ehdr_shnum = EI_Ehdr.e_shnum;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 192 dst->e_shnum = src->e_shnum; 600 gf->gf_ehdr.e_shnum = ehdr->e_shnum; 603 gf->gf_shnum = gf->gf_ehdr.e_shnum; 662 gf->gf_shnum = gf->gf_ehdr.e_shnum;
|
/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 1392 EC_WORD(elf_head_p->e_shnum), 1399 EC_WORD(elf_head_p->e_shnum)); 1401 if ((elf_head_p->e_shnum == 0) && (elf_head_p->e_shoff > 0)) {
|
/illumos-gate/usr/src/boot/sys/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 475 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) {
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1103 *nshdrs = ehdr->e_shnum; 1108 * If e_shnum, e_shstrndx, or e_phnum is its sentinel value, we need 1979 ehdr->e_shnum = 0; 1981 ehdr->e_shnum = (unsigned short)nshdrs;
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 499 elf_file.ehdr.e_shnum = nshdr; 636 elf_file.ehdr.e_shnum = nshdr;
|
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/ |
H A D | static_prof.c | 624 if ((c->obj->ehdr->e_shoff == 0) || (c->obj->ehdr->e_shnum == 0)) {
|