Lines Matching refs:shdr4extnum
2168 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum,
2172 elf->e_shentsize = sizeof(*shdr4extnum);
2176 memset(shdr4extnum, 0, sizeof(*shdr4extnum));
2178 shdr4extnum->sh_type = SHT_NULL;
2179 shdr4extnum->sh_size = elf->e_shnum;
2180 shdr4extnum->sh_link = elf->e_shstrndx;
2181 shdr4extnum->sh_info = segs;
2199 struct elf_shdr *shdr4extnum = NULL;
2250 shdr4extnum = kmalloc(sizeof(*shdr4extnum), GFP_KERNEL);
2251 if (!shdr4extnum)
2253 fill_extnum_info(&elf, shdr4extnum, e_shoff, segs);
2315 if (!dump_emit(cprm, shdr4extnum, sizeof(*shdr4extnum)))
2321 kfree(shdr4extnum);