Lines Matching refs:shdr4extnum
1478 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info() argument
1482 elf->e_shentsize = sizeof(*shdr4extnum); in fill_extnum_info()
1486 memset(shdr4extnum, 0, sizeof(*shdr4extnum)); in fill_extnum_info()
1488 shdr4extnum->sh_type = SHT_NULL; in fill_extnum_info()
1489 shdr4extnum->sh_size = elf->e_shnum; in fill_extnum_info()
1490 shdr4extnum->sh_link = elf->e_shstrndx; in fill_extnum_info()
1491 shdr4extnum->sh_info = segs; in fill_extnum_info()
1575 struct elf_shdr *shdr4extnum = NULL; in elf_fdpic_core_dump() local
1716 shdr4extnum = kmalloc(sizeof(*shdr4extnum), GFP_KERNEL); in elf_fdpic_core_dump()
1717 if (!shdr4extnum) in elf_fdpic_core_dump()
1719 fill_extnum_info(elf, shdr4extnum, e_shoff, segs); in elf_fdpic_core_dump()
1783 if (!dump_emit(cprm, shdr4extnum, sizeof(*shdr4extnum))) in elf_fdpic_core_dump()
1809 kfree(shdr4extnum); in elf_fdpic_core_dump()