Lines Matching refs:shdr4extnum
1438 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum,
1442 elf->e_shentsize = sizeof(*shdr4extnum);
1446 memset(shdr4extnum, 0, sizeof(*shdr4extnum));
1448 shdr4extnum->sh_type = SHT_NULL;
1449 shdr4extnum->sh_size = elf->e_shnum;
1450 shdr4extnum->sh_link = elf->e_shstrndx;
1451 shdr4extnum->sh_info = segs;
1492 struct elf_shdr *shdr4extnum = NULL;
1575 shdr4extnum = kmalloc(sizeof(*shdr4extnum), GFP_KERNEL);
1576 if (!shdr4extnum)
1578 fill_extnum_info(elf, shdr4extnum, e_shoff, segs);
1648 if (!dump_emit(cprm, shdr4extnum, sizeof(*shdr4extnum)))
1668 kfree(shdr4extnum);