| /linux/net/rds/ |
| H A D | page.c | 42 unsigned long r_offset; member 97 if (rem->r_page && bytes > (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc() 104 if (rem->r_page && bytes <= (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc() 105 sg_set_page(scat, rem->r_page, bytes, rem->r_offset); in rds_page_remainder_alloc() 108 if (rem->r_offset != 0) in rds_page_remainder_alloc() 111 rem->r_offset += ALIGN(bytes, 8); in rds_page_remainder_alloc() 112 if (rem->r_offset >= PAGE_SIZE) { in rds_page_remainder_alloc() 143 rem->r_offset = 0; in rds_page_remainder_alloc()
|
| /linux/arch/mips/include/asm/ |
| H A D | module.h | 20 Elf64_Addr r_offset; /* Address of relocation. */ member 29 Elf64_Addr r_offset; /* Address of relocation. */ member
|
| /linux/arch/nios2/kernel/ |
| H A D | module.c | 38 + rela[i].r_offset); in apply_relocate_add() 48 rela[i].r_offset, strtab + sym->st_name); in apply_relocate_add()
|
| /linux/arch/m68k/kernel/ |
| H A D | module.c | 38 + rel[i].r_offset; in apply_relocate() 78 + rel[i].r_offset; in apply_relocate_add()
|
| /linux/arch/arc/kernel/ |
| H A D | module.c | 77 location = tgt_addr + rel_entry[i].r_offset; in apply_relocate_add() 92 rel_entry[i].r_offset, rel_entry[i].r_addend, in apply_relocate_add()
|
| /linux/arch/arm/kernel/ |
| H A D | module.c | 108 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate() 111 rel->r_offset, dstsec->sh_size); in apply_relocate() 115 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
|
| H A D | module-plts.c | 113 u32 *tval = (u32 *)(base + rel->r_offset); in is_zero_addend_relocation()
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 389 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs() 391 rel->r_offset -= base; in read_relocs() 546 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc() 648 (unsigned int)rel->r_offset, in do_reloc_info()
|
| /linux/Documentation/bpf/ |
| H A D | llvm_reloc.rst | 17 Elf64_Addr r_offset; // Offset from the beginning of section. 111 1 R_BPF_64_64 ld_imm64 insn 32 r_offset + 4 S + A 112 2 R_BPF_64_ABS64 normal data 64 r_offset S + A 113 3 R_BPF_64_ABS32 normal data 32 r_offset S + A 114 4 R_BPF_64_NODYLD32 .BTF[.ext] data 32 r_offset S + A 115 10 R_BPF_64_32 call insn 32 r_offset + 4 (S + A) / 8 - 1 119 is stored at ``r_offset + 4`` and the read/write 126 The actual to-be-relocated data is stored at ``r_offset`` and the read/write data 138 offset is stored at ``r_offset + 4`` (32bit) and calculated as
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | relocate.c | 22 *(u64 *)(rela->r_offset + offset) = rela->r_addend + offset; in relocate_kernel()
|
| /linux/arch/microblaze/kernel/ |
| H A D | module.c | 34 rela[i].r_offset; in apply_relocate_add()
|
| /linux/arch/openrisc/kernel/ |
| H A D | module.c | 33 + rel[i].r_offset; in apply_relocate_add()
|
| /linux/scripts/ |
| H A D | recordmcount.h | 181 Elf_Addr current_r_offset = _w(rp->r_offset); in MIPS_is_fake_mcount() 428 _w(_w(relp->r_offset) - recval + mcount_adjust); in sift_rel_mcount() 429 mrelp->r_offset = _w(offbase in sift_rel_mcount() 477 ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); in nop_mcount()
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | gen-hyprel.c | 345 elf64toh(rela->r_offset)); in emit_rela_abs64() 379 assert_lt(elf64toh(rela->r_offset), elf64toh(sh_orig->sh_size), "0x%lx"); in emit_rela_section()
|
| /linux/arch/sh/kernel/ |
| H A D | module.c | 42 + rel[i].r_offset; in apply_relocate_add()
|
| /linux/arch/csky/kernel/ |
| H A D | module.c | 61 + rel[i].r_offset; in apply_relocate_add()
|
| /linux/scripts/mod/ |
| H A D | modpost.c | 1361 Elf_Addr taddr, r_offset; in section_rela() local 1364 r_offset = TO_NATIVE(rela->r_offset); in section_rela() 1391 fsecndx, fromsec, r_offset, taddr); in section_rela() 1403 Elf_Addr taddr, r_offset; in section_rel() local 1407 r_offset = TO_NATIVE(rel->r_offset); in section_rel() 1410 loc = sym_get_data_by_offset(elf, fsecndx, r_offset); in section_rel() 1428 fsecndx, fromsec, r_offset, taddr); in section_rel()
|
| /linux/tools/objtool/include/objtool/ |
| H A D | elf.h | 401 return __get_reloc_field(reloc, r_offset); 406 __set_reloc_field(reloc, r_offset, offset);
|
| /linux/arch/hexagon/kernel/ |
| H A D | module.c | 90 location = loc_base + rela[i].r_offset; in apply_relocate_add()
|
| /linux/arch/xtensa/kernel/ |
| H A D | module.c | 64 + rela[i].r_offset; in apply_relocate_add()
|
| /linux/arch/loongarch/kernel/ |
| H A D | module.c | 496 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + rel[i].r_offset; in apply_relocate_add() 532 sechdrs[sechdrs[relsec].sh_info].sh_addr + rel[j].r_offset; in apply_relocate_add()
|
| H A D | relocate.c | 32 Elf64_Addr addr = rela->r_offset; in relocate_relative()
|
| /linux/arch/alpha/kernel/ |
| H A D | module.c | 160 location = base + rela[i].r_offset; in apply_relocate_add()
|
| /linux/arch/mips/kernel/ |
| H A D | vpe.c | 443 + rel[i].r_offset; in apply_relocations() 460 rel[i].r_offset, r ? r : "UNKNOWN", in apply_relocations()
|
| /linux/arch/riscv/kernel/ |
| H A D | module.c | 795 + rel[i].r_offset; in apply_relocate_add() 830 + rel[j].r_offset; in apply_relocate_add()
|