Searched refs:sh_size (Results 51 - 75 of 79) sorted by relevance

1234

/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c207 var < elf_ptr(Elf64_Rela, elf64toh(shdr->sh_offset) + elf64toh(shdr->sh_size)); var++)
376 assert_lt(elf64toh(rela->r_offset), elf64toh(sh_orig->sh_size), "0x%lx");
/linux-master/tools/objtool/
H A Delf.c356 if (sec->sh.sh_size != 0 && !is_dwarf_section(sec)) {
363 sec->data->d_size != sec->sh.sh_size) {
780 symtab->sh.sh_size += symtab->sh.sh_entsize;
784 symtab_shndx->sh.sh_size += sizeof(Elf32_Word);
1080 len = strtab->sh.sh_size;
1081 strtab->sh.sh_size += data->d_size;
1141 sec->sh.sh_size = size;
1242 * When Elf_Scn::sh_size is smaller than the combined Elf_Data::d_size
1252 u64 size = sec->sh.sh_size;
H A Dcheck.c405 for (offset = 0; offset < sec->sh.sh_size; offset += insn->len) {
425 sec->sh.sh_size - offset,
450 if (func->offset == sec->sh.sh_size) {
572 unsigned int end = (sec->sh.sh_size > 10) ? sec->sh.sh_size - 10 : 0;
574 for (offset = sec->sh.sh_size - 1; offset >= end && !insn; offset--)
610 else if (offset == reloc->sym->sec->sh.sh_size) {
650 else if (offset == reloc->sym->sec->sh.sh_size) {
2242 if (sec->sh.sh_size % sizeof(struct unwind_hint)) {
2249 for (i = 0; i < sec->sh.sh_size / sizeo
[all...]
/linux-master/include/uapi/linux/
H A Delf.h314 Elf32_Word sh_size; member in struct:elf32_shdr
327 Elf64_Xword sh_size; /* Size of section in bytes */ member in struct:elf64_shdr
/linux-master/arch/sparc/vdso/
H A Dvma.c80 *size = shdrs[i].sh_size;
148 *size = shdrs[i].sh_size;
/linux-master/arch/mips/kernel/
H A Dmodule.c324 for (i = 0; i < sechdrs[relsec].sh_size / reloc_sz; i++) {
429 me->arch.dbe_end = (void *)s->sh_addr + s->sh_size;
/linux-master/tools/perf/util/
H A Dsymbol-elf.c191 (addr < (shdr.sh_addr + shdr.sh_size)))
550 di->nr_entries = rela_dyn_shdr.sh_size / rela_dyn_shdr.sh_entsize;
651 for (i = 0; i < shdr.sh_size; i += shdr.sh_entsize) {
724 plt_sym->end = plt_sym->start + shdr_plt.sh_size;
789 ri.nr_entries = shdr_rel_plt.sh_size / shdr_rel_plt.sh_entsize;
798 if (ri.nr_entries * plt_entry_size == shdr_plt.sh_size)
1379 offs = shdr.sh_offset + shdr.sh_size;
1447 map__set_end(map, map__start(map) + shdr->sh_size);
1519 map__set_end(curr_map, map__start(curr_map) + shdr->sh_size);
1585 dso->text_end = tshdr.sh_offset + tshdr.sh_size;
[all...]
H A Dgenelf.c504 shdr->sh_size = sizeof(bnote);
/linux-master/arch/mips/tools/
H A Dloongson3-llsc-check.c295 le64toh(sh->sh_size));
/linux-master/arch/arm64/kernel/
H A Dalternative.c216 .end = (void *)hdr + alt->sh_offset + alt->sh_size,
/linux-master/arch/arm/kernel/
H A Dvdso.c115 *size = sechdrs[i].sh_size;
/linux-master/scripts/mod/
H A Dmodpost.c476 * read count from .sh_size.
478 info->num_sections = TO_NATIVE(sechdrs[0].sh_size);
497 sechdrs[i].sh_size = TO_NATIVE(sechdrs[i].sh_size);
519 info->modinfo_len = sechdrs[i].sh_size;
530 sechdrs[i].sh_offset + sechdrs[i].sh_size;
542 sechdrs[i].sh_offset + sechdrs[i].sh_size;
1489 stop = start + sechdr->sh_size;
/linux-master/arch/mips/boot/
H A Delf2ecoff.c213 s->sh_size = swab32(s->sh_size);
/linux-master/tools/testing/selftests/sgx/
H A Dload.c152 num_sym = sections[i].sh_size / sections[i].sh_entsize;
/linux-master/kernel/module/
H A Dinternal.h354 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0;
H A Dsysfs.c206 nattr->size = info->sechdrs[i].sh_size;
/linux-master/tools/objtool/include/objtool/
H A Delf.h196 return sec->sh.sh_size / sec->sh.sh_entsize;
/linux-master/arch/riscv/kernel/
H A Dmodule.c788 unsigned int num_relocations = sechdrs[relsec].sh_size / sizeof(*rel);
874 if (j > sechdrs[relsec].sh_size / sizeof(*rel))
915 apply_module_alternatives((void *)s->sh_addr, s->sh_size);
H A Delf_kexec.c389 for (i = 0; i < relsec->sh_size / sizeof(*relas); i++) {
/linux-master/arch/s390/kernel/
H A Dmachine_kexec_file.c327 for (i = 0; i < relsec->sh_size / sizeof(*relas); i++) {
/linux-master/arch/x86/kernel/
H A Dmachine_kexec_64.c406 for (i = 0; i < relsec->sh_size / sizeof(*rel); i++) {
/linux-master/tools/bpf/resolve_btfids/
H A Dmain.c435 n = sh.sh_size / sh.sh_entsize;
/linux-master/drivers/remoteproc/
H A Dpru_rproc.c888 u32 size = shdr->sh_size;
/linux-master/arch/sh/kernel/
H A Ddwarf.c1103 end = start + sechdrs[i].sh_size;
/linux-master/kernel/livepatch/
H A Dcore.c219 for (i = 0; i < relasec->sh_size / sizeof(Elf_Rela); i++) {

Completed in 351 milliseconds

1234