Lines Matching refs:e_shnum
914 shsize = mp->hdr.e_shentsize * mp->hdr.e_shnum; in load_linker()
918 for (i = 1; i < (int)mp->hdr.e_shnum; i++) { in load_linker()
1243 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; in bind_primary()
1573 mp->hdr.e_shnum = 2; in kobj_export_ksyms()
1617 for (shn = 1; shn < omp->hdr.e_shnum; shn++) { in kobj_export_ksyms()
1629 kobj_free(omp->shdrs, omp->hdr.e_shentsize * omp->hdr.e_shnum); in kobj_export_ksyms()
1759 for (dshp = NULL, shn = 1; shn < mp->hdr.e_shnum; shn++) { in do_dynamic()
1780 if (dshp->sh_link > mp->hdr.e_shnum) { in do_dynamic()
1957 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; in kobj_load_module()
2221 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in free_module_data()
2235 mp->hdr.e_shentsize * mp->hdr.e_shnum); in free_module_data()
2392 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in get_progbits()
2443 kobj_free(mp->shdrs, mp->hdr.e_shentsize * mp->hdr.e_shnum); in get_progbits()
2485 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in get_syms()
2536 if ((mp->symhdr == 0) || (mp->symhdr->sh_link >= mp->hdr.e_shnum)) in get_syms()
2570 if (sp->st_shndx >= mp->hdr.e_shnum) { in get_syms()
2636 if (mp->hdr.e_shstrndx >= mp->hdr.e_shnum) { in get_ctf()
2657 for (i = 0; i < mp->hdr.e_shnum; i++) { in get_ctf()
2700 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in crypto_es_hash()
2740 if (mp->hdr.e_shstrndx >= mp->hdr.e_shnum) { in get_signature()
2761 for (i = 0; i < mp->hdr.e_shnum; i++) { in get_signature()