Lines Matching refs:e_shnum
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; shn++) {
2235 mp->hdr.e_shentsize * mp->hdr.e_shnum);
2392 for (shn = 1; shn < mp->hdr.e_shnum; shn++) {
2443 kobj_free(mp->shdrs, mp->hdr.e_shentsize * mp->hdr.e_shnum);
2485 for (shn = 1; shn < mp->hdr.e_shnum; shn++) {
2536 if ((mp->symhdr == 0) || (mp->symhdr->sh_link >= mp->hdr.e_shnum))
2570 if (sp->st_shndx >= mp->hdr.e_shnum) {
2636 if (mp->hdr.e_shstrndx >= mp->hdr.e_shnum) {
2657 for (i = 0; i < mp->hdr.e_shnum; i++) {
2700 for (shn = 1; shn < mp->hdr.e_shnum; shn++) {
2740 if (mp->hdr.e_shstrndx >= mp->hdr.e_shnum) {
2761 for (i = 0; i < mp->hdr.e_shnum; i++) {