Lines Matching refs:shdr4extnum
1420 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum,
1424 elf->e_shentsize = sizeof(*shdr4extnum);
1428 memset(shdr4extnum, 0, sizeof(*shdr4extnum));
1430 shdr4extnum->sh_type = SHT_NULL;
1431 shdr4extnum->sh_size = elf->e_shnum;
1432 shdr4extnum->sh_link = elf->e_shstrndx;
1433 shdr4extnum->sh_info = segs;
1474 struct elf_shdr *shdr4extnum = NULL;
1557 shdr4extnum = kmalloc(sizeof(*shdr4extnum), GFP_KERNEL);
1558 if (!shdr4extnum)
1560 fill_extnum_info(elf, shdr4extnum, e_shoff, segs);
1629 if (!dump_emit(cprm, shdr4extnum, sizeof(*shdr4extnum)))
1649 kfree(shdr4extnum);