Lines Matching refs:e_shnum

352 	for (i = 1; i < info->hdr->e_shnum; i++) {  in find_sec()
387 for (i = 1; i < info->hdr->e_shnum; i++) { in find_any_sec()
1541 for (i = 0; i < info->hdr->e_shnum; i++) in add_sect_attrs()
1558 for (i = 0; i < info->hdr->e_shnum; i++) { in add_sect_attrs()
1644 for (i = 0; i < info->hdr->e_shnum; i++) in add_notes_attrs()
1659 for (loaded = i = 0; i < info->hdr->e_shnum; ++i) { in add_notes_attrs()
2041 for (i = 0; i < hdr->e_shnum; i++) { in module_enforce_rwx_sections()
2083 size = sizeof(*info->sechdrs) * info->hdr->e_shnum; in copy_module_elf()
2361 for (i = 1; i < info->hdr->e_shnum; i++) { in apply_relocations()
2365 if (infosec >= info->hdr->e_shnum) in apply_relocations()
2441 for (i = 0; i < info->hdr->e_shnum; i++) in layout_sections()
2446 for (i = 0; i < info->hdr->e_shnum; ++i) { in layout_sections()
2479 for (i = 0; i < info->hdr->e_shnum; ++i) { in layout_sections()
2717 is_core_symbol(src+i, info->sechdrs, info->hdr->e_shnum, in layout_symtab()
2781 is_core_symbol(src+i, info->sechdrs, info->hdr->e_shnum, in add_kallsyms()
2809 for (i = 0; i < info->hdr->e_shnum; i++) { in init_build_id()
2862 for (i = 1; i < info->hdr->e_shnum; i++) { in kmemleak_load_module()
2985 || (info->hdr->e_shnum * sizeof(Elf_Shdr) > in elf_validity_check()
2995 || info->hdr->e_shstrndx >= info->hdr->e_shnum) in elf_validity_check()
3021 for (i = 1; i < info->hdr->e_shnum; i++) { in elf_validity_check()
3029 || shdr->sh_link >= info->hdr->e_shnum) in elf_validity_check()
3150 for (i = 1; i < info->hdr->e_shnum; i++) { in rewrite_section_headers()
3186 for (i = 1; i < info->hdr->e_shnum; i++) { in setup_load_info()
3419 for (i = 0; i < info->hdr->e_shnum; i++) { in move_module()