Home
last modified time | relevance | path

Searched refs:e_shoff (Results 1 – 21 of 21) sorted by relevance

/linux-4.1.27/arch/x86/vdso/
Dvdso2c.h62 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
66 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
79 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
/linux-4.1.27/arch/powerpc/boot/
Delf.h61 Elf32_Off e_shoff; member
78 Elf64_Off e_shoff; /* Section header table file offset */ member
/linux-4.1.27/scripts/
Drecordmcount.h193 uint_t const old_shoff = _w(ehdr->e_shoff); in append_func()
248 ehdr->e_shoff = _w(new_e_shoff); in append_func()
282 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp()
358 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount()
505 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
Dsortextable.h117 shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_func()
/linux-4.1.27/drivers/remoteproc/
Dremoteproc_elf_loader.c79 if (fw->size < ehdr->e_shoff + sizeof(struct elf32_shdr)) {
221 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff);
/linux-4.1.27/include/uapi/linux/
Delf.h210 Elf32_Off e_shoff; member
227 Elf64_Off e_shoff; /* Section header table file offset */ member
/linux-4.1.27/fs/
Dbinfmt_elf_fdpic.c1288 elf->e_shoff = 0; in fill_elf_fdpic_header()
1459 elf_addr_t e_shoff, int segs) in fill_extnum_info() argument
1461 elf->e_shoff = e_shoff; in fill_extnum_info()
1555 elf_addr_t e_shoff; in elf_fdpic_core_dump() local
1690 e_shoff = offset; in elf_fdpic_core_dump()
1696 fill_extnum_info(elf, shdr4extnum, e_shoff, segs); in elf_fdpic_core_dump()
Dbinfmt_elf.c2092 elf_addr_t e_shoff, int segs) in fill_extnum_info() argument
2094 elf->e_shoff = e_shoff; in fill_extnum_info()
2127 elf_addr_t e_shoff; in elf_core_dump() local
2211 e_shoff = offset; in elf_core_dump()
2217 fill_extnum_info(elf, shdr4extnum, e_shoff, segs); in elf_core_dump()
/linux-4.1.27/arch/x86/tools/
Drelocs.c357 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff); in read_ehdr()
399 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) { in read_shdrs()
401 ehdr.e_shoff, strerror(errno)); in read_shdrs()
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c174 e->e_shoff = swab32(e->e_shoff); in convert_elf_hdr()
333 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff, in main()
/linux-4.1.27/arch/powerpc/oprofile/cell/
Dvma_map.c154 shdr_start = spu_elf_start + ehdr.e_shoff; in create_vma_map()
/linux-4.1.27/arch/arm/kernel/
Dvdso.c107 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section()
/linux-4.1.27/arch/powerpc/kernel/
Dvdso.c303 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section32()
394 sechdrs = (void *)ehdr + ehdr->e_shoff; in find_section64()
Dfadump.c780 elf->e_shoff = 0; in fadump_init_elfcore_header()
/linux-4.1.27/arch/mips/kernel/
Dvpe.c605 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { in vpe_elfload()
612 sechdrs = (void *)hdr + hdr->e_shoff; in vpe_elfload()
/linux-4.1.27/scripts/mod/
Dmodpost.c443 hdr->e_shoff = TO_NATIVE(hdr->e_shoff); in parse_elf()
451 sechdrs = (void *)hdr + hdr->e_shoff; in parse_elf()
455 if (hdr->e_shoff > info->size) { in parse_elf()
457 "filesize=%lu\n", (unsigned long)hdr->e_shoff, in parse_elf()
/linux-4.1.27/sound/pci/mixart/
Dmixart_hwdep.c81 u32 e_shoff; member
/linux-4.1.27/fs/proc/
Dkcore.c344 elf->e_shoff = 0; in elf_kcore_store_hdr()
/linux-4.1.27/kernel/
Dkexec.c2310 sechdrs_c = (void *)pi->ehdr + pi->ehdr->e_shoff; in __kexec_load_purgatory()
2552 if (pi->ehdr->e_shoff >= kexec_purgatory_size in kexec_load_purgatory()
2554 kexec_purgatory_size - pi->ehdr->e_shoff)) in kexec_load_purgatory()
Dmodule.c2497 if (info->hdr->e_shoff >= info->len in elf_header_check()
2499 info->len - info->hdr->e_shoff)) in elf_header_check()
2664 info->sechdrs = (void *)info->hdr + info->hdr->e_shoff; in setup_load_info()
/linux-4.1.27/tools/perf/util/
Dsymbol-elf.c1300 ehdr->e_shoff = 0; in kcore__copy_hdr()