sh_offset 113 arch/alpha/kernel/module.c rela = (void *)hdr + s->sh_offset; sh_offset 219 arch/arm/kernel/module-plts.c Elf32_Rel *rels = (void *)ehdr + s->sh_offset; sh_offset 331 arch/arm/kernel/module.c const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 348 arch/arm/kernel/module.c const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 120 arch/arm/kernel/vdso.c secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; sh_offset 127 arch/arm/kernel/vdso.c return (void *)ehdr + sechdrs[i].sh_offset; sh_offset 291 arch/arm64/kernel/module-plts.c Elf64_Rela *rels = (void *)ehdr + sechdrs[i].sh_offset; sh_offset 478 arch/arm64/kernel/module.c const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 452 arch/ia64/kernel/module.c const Elf64_Rela *rels = (void *)ehdr + s->sh_offset; sh_offset 212 arch/mips/boot/elf2ecoff.c s->sh_offset = swab32(s->sh_offset); sh_offset 283 arch/mips/boot/tools/relocs.c sec->shdr.sh_offset = elf_off_to_cpu(shdr.sh_offset); sh_offset 309 arch/mips/boot/tools/relocs.c if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) sh_offset 311 arch/mips/boot/tools/relocs.c sec->shdr.sh_offset, strerror(errno)); sh_offset 333 arch/mips/boot/tools/relocs.c if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) sh_offset 335 arch/mips/boot/tools/relocs.c sec->shdr.sh_offset, strerror(errno)); sh_offset 377 arch/mips/boot/tools/relocs.c if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) sh_offset 379 arch/mips/boot/tools/relocs.c sec->shdr.sh_offset, strerror(errno)); sh_offset 607 arch/mips/boot/tools/relocs.c if (fseek(outf, sec_reloc->shdr.sh_offset, SEEK_SET) < 0) { sh_offset 609 arch/mips/boot/tools/relocs.c sec_reloc->shdr.sh_offset, strerror(errno)); sh_offset 435 arch/mips/kernel/module.c char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 613 arch/mips/kernel/vpe.c secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 622 arch/mips/kernel/vpe.c (len < sechdrs[i].sh_offset + sechdrs[i].sh_size)) { sh_offset 631 arch/mips/kernel/vpe.c sechdrs[i].sh_offset; sh_offset 638 arch/mips/kernel/vpe.c sechdrs[strindex].sh_offset; sh_offset 718 arch/mips/kernel/vpe.c sechdrs[strindex].sh_offset; sh_offset 725 arch/mips/kernel/vpe.c sechdrs[i].sh_offset; sh_offset 20 arch/mips/vdso/genvdso.h shstrtab = vdso + FUNC(swap_uint)(shdr->sh_offset); sh_offset 96 arch/mips/vdso/genvdso.h symtab = vdso + FUNC(swap_uint)(shdr->sh_offset); sh_offset 102 arch/mips/vdso/genvdso.h strtab = vdso + FUNC(swap_uint)(shdr->sh_offset); sh_offset 940 arch/parisc/kernel/module.c secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 27 arch/powerpc/kernel/module.c secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 111 arch/powerpc/kernel/module_32.c (void *)hdr + sechdrs[i].sh_offset, sh_offset 119 arch/powerpc/kernel/module_32.c sort((void *)hdr + sechdrs[i].sh_offset, sh_offset 124 arch/powerpc/kernel/module_32.c + sechdrs[i].sh_offset, sh_offset 356 arch/powerpc/kernel/module_64.c dedotify_versions((void *)hdr + sechdrs[i].sh_offset, sh_offset 364 arch/powerpc/kernel/module_64.c dedotify((void *)hdr + sechdrs[i].sh_offset, sh_offset 367 arch/powerpc/kernel/module_64.c + sechdrs[sechdrs[i].sh_link].sh_offset); sh_offset 241 arch/powerpc/kernel/vdso.c secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; sh_offset 248 arch/powerpc/kernel/vdso.c return (void *)ehdr + sechdrs[i].sh_offset; sh_offset 346 arch/powerpc/kernel/vdso.c secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; sh_offset 353 arch/powerpc/kernel/vdso.c return (void *)ehdr + sechdrs[i].sh_offset; sh_offset 189 arch/powerpc/oprofile/cell/vma_map.c shdr.sh_offset + sh_offset 195 arch/powerpc/oprofile/cell/vma_map.c spu_elf_start + shdr_str.sh_offset + sh_offset 124 arch/riscv/kernel/module-sections.c Elf_Rela *relas = (void *)ehdr + sechdrs[i].sh_offset; sh_offset 273 arch/s390/kernel/machine_kexec_file.c relas = (void *)pi->ehdr + relsec->sh_offset; sh_offset 281 arch/s390/kernel/machine_kexec_file.c sym = (void *)pi->ehdr + symtab->sh_offset; sh_offset 295 arch/s390/kernel/machine_kexec_file.c loc += section->sh_offset; sh_offset 137 arch/s390/kernel/module.c symbols = (void *) hdr + symtab->sh_offset; sh_offset 138 arch/s390/kernel/module.c strings = (void *) hdr + sechdrs[symtab->sh_link].sh_offset; sh_offset 157 arch/s390/kernel/module.c rela = (void *) hdr + sechdrs[i].sh_offset; sh_offset 465 arch/s390/kernel/module.c secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 1094 arch/sh/kernel/dwarf.c char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 188 arch/sparc/kernel/module.c char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 84 arch/sparc/vdso/vdso2c.h ELF(Sym) *sym = raw_addr + GET_BE(&symtab_hdr->sh_offset) + sh_offset 86 arch/sparc/vdso/vdso2c.h const char *name = raw_addr + GET_BE(&strtab_hdr->sh_offset) + sh_offset 76 arch/sparc/vdso/vma.c snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; sh_offset 81 arch/sparc/vdso/vma.c return (void *)e->hdr + shdrs[i].sh_offset; sh_offset 144 arch/sparc/vdso/vma.c snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; sh_offset 149 arch/sparc/vdso/vma.c return (void *)e->hdr + shdrs[i].sh_offset; sh_offset 71 arch/x86/entry/vdso/vdso2c.h secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); sh_offset 94 arch/x86/entry/vdso/vdso2c.h ELF(Sym) *sym = raw_addr + GET_LE(&symtab_hdr->sh_offset) + sh_offset 97 arch/x86/entry/vdso/vdso2c.h GET_LE(&strtab_hdr->sh_offset) + sh_offset 166 arch/x86/entry/vdso/vdso2c.h (unsigned long)GET_LE(&alt_sec->sh_offset)); sh_offset 508 arch/x86/kernel/machine_kexec_64.c strtab = (char *)pi->ehdr + sechdrs[symtabsec->sh_link].sh_offset; sh_offset 509 arch/x86/kernel/machine_kexec_64.c shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; sh_offset 511 arch/x86/kernel/machine_kexec_64.c rel = (void *)pi->ehdr + relsec->sh_offset; sh_offset 529 arch/x86/kernel/machine_kexec_64.c location += section->sh_offset; sh_offset 541 arch/x86/kernel/machine_kexec_64.c sym = (void *)pi->ehdr + symtabsec->sh_offset; sh_offset 226 arch/x86/kernel/module.c char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 431 arch/x86/tools/relocs.c sec->shdr.sh_offset = elf_off_to_cpu(shdr.sh_offset); sh_offset 456 arch/x86/tools/relocs.c if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { sh_offset 458 arch/x86/tools/relocs.c sec->shdr.sh_offset, strerror(errno)); sh_offset 481 arch/x86/tools/relocs.c if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { sh_offset 483 arch/x86/tools/relocs.c sec->shdr.sh_offset, strerror(errno)); sh_offset 514 arch/x86/tools/relocs.c if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) { sh_offset 516 arch/x86/tools/relocs.c sec->shdr.sh_offset, strerror(errno)); sh_offset 214 drivers/remoteproc/remoteproc_elf_loader.c name_table = elf_data + shdr[ehdr->e_shstrndx].sh_offset; sh_offset 218 drivers/remoteproc/remoteproc_elf_loader.c u32 offset = shdr->sh_offset; sh_offset 286 drivers/remoteproc/remoteproc_elf_loader.c table = (struct resource_table *)(elf_data + shdr->sh_offset); sh_offset 308 include/uapi/linux/elf.h Elf32_Off sh_offset; sh_offset 321 include/uapi/linux/elf.h Elf64_Off sh_offset; /* Section file offset */ sh_offset 939 kernel/kexec_file.c src = (void *)pi->ehdr + sechdrs[i].sh_offset; sh_offset 944 kernel/kexec_file.c sechdrs[i].sh_offset = offset; sh_offset 1083 kernel/kexec_file.c strtab = (void *)ehdr + sechdrs[sechdrs[i].sh_link].sh_offset; sh_offset 1084 kernel/kexec_file.c syms = (void *)ehdr + sechdrs[i].sh_offset; sh_offset 1158 kernel/kexec_file.c sym_buf = (char *)pi->purgatory_buf + sec->sh_offset + sym->st_value; sh_offset 2553 kernel/module.c char *modinfo = (char *)info->hdr + infosec->sh_offset; sh_offset 2704 kernel/module.c src = (void *)info->hdr + symsect->sh_offset; sh_offset 3020 kernel/module.c && info->len < shdr->sh_offset + shdr->sh_size) { sh_offset 3027 kernel/module.c shdr->sh_addr = (size_t)info->hdr + shdr->sh_offset; sh_offset 3058 kernel/module.c + info->sechdrs[info->hdr->e_shstrndx].sh_offset; sh_offset 3071 kernel/module.c + info->sechdrs[info->index.str].sh_offset; sh_offset 3089 kernel/module.c info->mod = (void *)info->hdr + info->sechdrs[info->index.mod].sh_offset; sh_offset 99 lib/bug.c secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; sh_offset 82 scripts/insert-sys-cert.c unsigned long offset = x[i].sh_offset; sh_offset 143 scripts/insert-sys-cert.c symtab_start = (void *)hdr + symtab->sh_offset; sh_offset 145 scripts/insert-sys-cert.c strtab = (void *)hdr + x[link].sh_offset; sh_offset 179 scripts/insert-sys-cert.c + sec->sh_offset; sh_offset 1451 scripts/mod/file2alias.c + info->sechdrs[get_secindex(info, sym)].sh_offset sh_offset 306 scripts/mod/modpost.c elf->sechdrs[elf->secindex_strings].sh_offset + sh_offset 560 scripts/mod/modpost.c sechdrs[i].sh_offset = TO_NATIVE(sechdrs[i].sh_offset); sh_offset 568 scripts/mod/modpost.c secstrings = (void *)hdr + sechdrs[info->secindex_strings].sh_offset; sh_offset 573 scripts/mod/modpost.c if (!nobits && sechdrs[i].sh_offset > info->size) { sh_offset 576 scripts/mod/modpost.c (unsigned long)sechdrs[i].sh_offset, sh_offset 584 scripts/mod/modpost.c info->modinfo = (void *)hdr + sechdrs[i].sh_offset; sh_offset 598 scripts/mod/modpost.c sechdrs[i].sh_offset - sh_offset 605 scripts/mod/modpost.c sechdrs[i].sh_offset; sh_offset 607 scripts/mod/modpost.c sechdrs[i].sh_offset + sechdrs[i].sh_size; sh_offset 610 scripts/mod/modpost.c sechdrs[sh_link_idx].sh_offset; sh_offset 617 scripts/mod/modpost.c sechdrs[i].sh_offset; sh_offset 619 scripts/mod/modpost.c sechdrs[i].sh_offset + sechdrs[i].sh_size; sh_offset 705 scripts/mod/modpost.c info->sechdrs[sym->st_shndx].sh_offset - sh_offset 1770 scripts/mod/modpost.c return (void *)elf->hdr + sechdrs[section].sh_offset + sh_offset 1828 scripts/mod/modpost.c sechdr->sh_offset + sh_offset 1869 scripts/mod/modpost.c Elf_Rela *start = (void *)elf->hdr + sechdr->sh_offset; sh_offset 1915 scripts/mod/modpost.c Elf_Rel *start = (void *)elf->hdr + sechdr->sh_offset; sh_offset 194 scripts/recordmcount.h uint_t const old_shstr_sh_offset = _w(shstr->sh_offset); sh_offset 199 scripts/recordmcount.h shstr->sh_offset = _w(sb.st_size); sh_offset 227 scripts/recordmcount.h mcsec.sh_offset = _w(t); sh_offset 242 scripts/recordmcount.h mcsec.sh_offset = _w((void *)mlocp - (void *)mloc0 + t); sh_offset 299 scripts/recordmcount.h Elf_Rel const *const rel0 = (Elf_Rel const *)(_w(relhdr->sh_offset) sh_offset 302 scripts/recordmcount.h *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) sh_offset 305 scripts/recordmcount.h *str0 = (char const *)(_w(strsec->sh_offset) sh_offset 393 scripts/recordmcount.h ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); sh_offset 439 scripts/recordmcount.h Elf_Sym const *const sym0 = (Elf_Sym const *)(_w(symhdr->sh_offset) sh_offset 528 scripts/recordmcount.h char const *const shstrtab = (char const *)(_w(shstr->sh_offset) sh_offset 126 scripts/sortextable.h secstrtab = (const char *)ehdr + _r(&shstrtab_sec->sh_offset); sh_offset 136 scripts/sortextable.h relocs = (void *)ehdr + _r(&shdr[i].sh_offset); sh_offset 145 scripts/sortextable.h (const char *)ehdr + _r(&shdr[i].sh_offset)); sh_offset 156 scripts/sortextable.h _r(&symtab_sec->sh_offset)); sh_offset 161 scripts/sortextable.h strtab = (const char *)ehdr + _r(&strtab_sec->sh_offset); sh_offset 163 scripts/sortextable.h extab_image = (void *)ehdr + _r(&extab_sec->sh_offset); sh_offset 179 scripts/sortextable.h sym = (void *)ehdr + _r(&symtab_sec->sh_offset); sh_offset 199 scripts/sortextable.h _r(&sort_needed_sec->sh_offset) + sh_offset 555 tools/perf/util/probe-event.c *address = shdr.sh_addr - shdr.sh_offset; sh_offset 1574 tools/perf/util/probe-finder.c *offs -= shdr->sh_offset; sh_offset 351 tools/perf/util/symbol-elf.c plt_offset = shdr_plt.sh_offset; sh_offset 858 tools/perf/util/symbol-elf.c sym->st_value -= shdr->sh_addr - shdr->sh_offset; sh_offset 873 tools/perf/util/symbol-elf.c map->pgoff = shdr->sh_offset; sh_offset 892 tools/perf/util/symbol-elf.c map->pgoff = shdr->sh_offset; sh_offset 910 tools/perf/util/symbol-elf.c start += map->start + shdr->sh_offset; sh_offset 926 tools/perf/util/symbol-elf.c curr_map->pgoff = shdr->sh_offset; sh_offset 1004 tools/perf/util/symbol-elf.c dso->text_offset = tshdr.sh_addr - tshdr.sh_offset; sh_offset 1133 tools/perf/util/symbol-elf.c (u64)shdr.sh_offset); sh_offset 1134 tools/perf/util/symbol-elf.c sym.st_value -= shdr.sh_addr - shdr.sh_offset; sh_offset 2136 tools/perf/util/symbol-elf.c sdt_adjust_loc(tmp, shdr.sh_offset); sh_offset 2140 tools/perf/util/symbol-elf.c sdt_adjust_refctr(tmp, shdr.sh_addr, shdr.sh_offset); sh_offset 189 tools/perf/util/unwind-libunwind-local.c offset = shdr.sh_offset;