Lines Matching refs:e_shnum
144 if (shndx < ehdr.e_shnum) {
220 ehdr.e_shnum = elf16_to_cpu(ehdr.e_shnum);
241 if (ehdr.e_shstrndx >= ehdr.e_shnum) {
249 if (ehdr.e_shnum > MAX_SHDRS) {
251 ehdr.e_shnum, MAX_SHDRS);
257 if (fread(&shdr, sizeof(shdr[0]), ehdr.e_shnum, fp) != ehdr.e_shnum) {
261 for(i = 0; i < ehdr.e_shnum; i++) {
279 for(i = 0; i < ehdr.e_shnum; i++) {
302 for(i = 0; i < ehdr.e_shnum; i++) {
332 for(i = 0; i < ehdr.e_shnum; i++) {
362 for(i = 0; i < ehdr.e_shnum; i++) {
394 for(i = 0; i < ehdr.e_shnum; i++) {
461 for(i = 0; i < ehdr.e_shnum; i++) {