Lines Matching refs:e_shnum
243 if (shndx < ehdr.e_shnum) { in sec_name()
271 for (i = 0; i < ehdr.e_shnum; i++) { in sym_lookup()
363 ehdr.e_shnum = elf_half_to_cpu(ehdr.e_shnum); in read_ehdr()
384 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in read_ehdr()
394 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs()
397 ehdr.e_shnum); in read_shdrs()
403 for (i = 0; i < ehdr.e_shnum; i++) { in read_shdrs()
407 i, ehdr.e_shnum, strerror(errno)); in read_shdrs()
418 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs()
427 for (i = 0; i < ehdr.e_shnum; i++) { in read_strtabs()
452 for (i = 0; i < ehdr.e_shnum; i++) { in read_symtabs()
485 for (i = 0; i < ehdr.e_shnum; i++) { in read_relocs()
528 for (i = 0; i < ehdr.e_shnum; i++) { in print_absolute_symbols()
566 for (i = 0; i < ehdr.e_shnum; i++) { in print_absolute_relocs()
650 for (i = 0; i < ehdr.e_shnum; i++) { in walk_relocs()
706 for (i = 0; i < ehdr.e_shnum; i++) { in percpu_init()