Lines Matching refs:e_shnum
1432 b->ehdr.e_shnum = 3;
1498 b->ehdr.e_shnum = 3;
1660 efp->e_hdr.e_shnum = (Elf64_Word)e64.e_shnum;
1680 efp->e_hdr.e_shnum = (Elf64_Word)e32.e_shnum;
1691 if ((efp->e_hdr.e_shnum == 0 && efp->e_hdr.e_shoff != 0) ||
1724 if (efp->e_hdr.e_shnum == 0) {
1725 efp->e_hdr.e_shnum = shdr.sh_size;
1774 (uint64_t)efp->e_hdr.e_shnum * efp->e_hdr.e_shentsize;
2126 if (efp->e_hdr.e_shstrndx >= efp->e_hdr.e_shnum) {
2128 efp->e_hdr.e_shstrndx, efp->e_hdr.e_shnum);
2136 if ((shdrs = malloc(efp->e_hdr.e_shnum * sizeof (GElf_Shdr))) == NULL) {
2138 (uint_t)efp->e_hdr.e_shnum, strerror(errno));
2142 nbytes = efp->e_hdr.e_shnum * efp->e_hdr.e_shentsize;
2157 for (i = 0; i < efp->e_hdr.e_shnum; i++) {
2195 for (i = 0; i < efp->e_hdr.e_shnum; i++) {
2204 if (shp->sh_link >= efp->e_hdr.e_shnum) {