Lines Matching refs:e_shnum
188 for (i = 1; i < info->hdr->e_shnum; i++) {
214 for (i = 1; i < info->hdr->e_shnum; i++) {
255 for (i = 1; i < info->hdr->e_shnum; i++) {
1521 for (i = 1; i < info->hdr->e_shnum; i++) {
1525 if (infosec >= info->hdr->e_shnum)
1615 for (i = 0; i < info->hdr->e_shnum; ++i) {
1658 for (i = 0; i < info->hdr->e_shnum; i++)
1810 * e_shnum is 16 bits, and sizeof(Elf_Shdr) is
1811 * known and small. So e_shnum * sizeof(Elf_Shdr)
1815 || (info->hdr->e_shnum * sizeof(Elf_Shdr) >
1836 for (i = 1; i < info->hdr->e_shnum; i++) {
1883 || info->hdr->e_shstrndx >= info->hdr->e_shnum) {
1884 pr_err("Invalid ELF section name index: %d || e_shstrndx (%d) >= e_shnum (%d)\n",
1886 info->hdr->e_shnum);
1907 for (i = 0; i < info->hdr->e_shnum; i++) {
2033 for (i = 1; i < info->hdr->e_shnum; i++) {
2066 if (str_idx == SHN_UNDEF || str_idx >= info->hdr->e_shnum) {
2067 pr_err("Invalid ELF sh_link!=SHN_UNDEF(%d) or (sh_link(%d) >= hdr->e_shnum(%d)\n",
2068 str_idx, str_idx, info->hdr->e_shnum);
2389 for (i = 1; i < info->hdr->e_shnum; i++) {
2658 for (i = 0; i < info->hdr->e_shnum; i++) {