Home
last modified time | relevance | path

Searched refs:r_offset (Results 1 – 25 of 39) sorted by relevance

12

/linux/net/rds/
H A Dpage.c42 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 Dmodule.h20 Elf64_Addr r_offset; /* Address of relocation. */ member
29 Elf64_Addr r_offset; /* Address of relocation. */ member
/linux/arch/nios2/kernel/
H A Dmodule.c38 + rela[i].r_offset); in apply_relocate_add()
48 rela[i].r_offset, strtab + sym->st_name); in apply_relocate_add()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-catu.c309 u64 r_offset, w_offset; in catu_sync_etr_buf() local
315 r_offset = rrp - etr_buf->hwaddr; in catu_sync_etr_buf()
319 etr_buf->len = w_offset - r_offset; in catu_sync_etr_buf()
320 if (w_offset < r_offset) in catu_sync_etr_buf()
326 etr_buf->offset = r_offset; in catu_sync_etr_buf()
327 tmc_sg_table_sync_data_range(catu_table, r_offset, etr_buf->len); in catu_sync_etr_buf()
H A Dcoresight-tmc-etr.c809 long r_offset, w_offset; in tmc_etr_sync_sg_buf() local
814 r_offset = tmc_sg_get_data_page_offset(table, rrp); in tmc_etr_sync_sg_buf()
815 if (r_offset < 0) { in tmc_etr_sync_sg_buf()
830 etr_buf->offset = r_offset; in tmc_etr_sync_sg_buf()
834 etr_buf->len = ((w_offset < r_offset) ? etr_buf->size : 0) + in tmc_etr_sync_sg_buf()
835 w_offset - r_offset; in tmc_etr_sync_sg_buf()
836 tmc_sg_table_sync_data_range(table, r_offset, etr_buf->len); in tmc_etr_sync_sg_buf()
/linux/arch/m68k/kernel/
H A Dmodule.c38 + rel[i].r_offset; in apply_relocate()
78 + rel[i].r_offset; in apply_relocate_add()
/linux/arch/arc/kernel/
H A Dmodule.c77 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/x86/tools/
H A Drelocs.c544 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
669 rel->r_offset, in print_absolute_relocs()
744 ElfW(Addr) offset = rel->r_offset; in do_reloc64()
843 add_reloc(&relocs32, rel->r_offset); in do_reloc32()
882 add_reloc(&relocs16, rel->r_offset); in do_reloc_real()
902 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
907 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
/linux/arch/arm/kernel/
H A Dmodule.c108 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()
/linux/arch/arm64/kernel/pi/
H A Drelocate.c22 *(u64 *)(rela->r_offset + offset) = rela->r_addend + offset; in relocate_kernel()
/linux/arch/mips/boot/tools/
H A Drelocs.c388 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
390 rel->r_offset -= base; in read_relocs()
544 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
646 (unsigned int)rel->r_offset, in do_reloc_info()
/linux/Documentation/bpf/
H A Dllvm_reloc.rst17 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/microblaze/kernel/
H A Dmodule.c34 rela[i].r_offset; in apply_relocate_add()
/linux/arch/s390/tools/
H A Drelocs.c242 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
269 ElfW(Addr) offset = rel->r_offset; in do_reloc()
/linux/arch/openrisc/kernel/
H A Dmodule.c33 + rel[i].r_offset; in apply_relocate_add()
/linux/arch/sh/kernel/
H A Dmodule.c42 + rel[i].r_offset; in apply_relocate_add()
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c345 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/scripts/
H A Drecordmcount.h181 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/csky/kernel/
H A Dmodule.c61 + rel[i].r_offset; in apply_relocate_add()
/linux/arch/hexagon/kernel/
H A Dmodule.c90 location = loc_base + rela[i].r_offset; in apply_relocate_add()
/linux/arch/xtensa/kernel/
H A Dmodule.c64 + rela[i].r_offset; in apply_relocate_add()
/linux/arch/riscv/kernel/
H A Dmachine_kexec_file.c179 loc += relas[i].r_offset; in arch_kexec_apply_relocations_add()
194 addr = section->sh_addr + relas[i].r_offset; in arch_kexec_apply_relocations_add()
/linux/tools/objtool/include/objtool/
H A Delf.h358 return __get_reloc_field(reloc, r_offset);
363 __set_reloc_field(reloc, r_offset, offset); in sec_offset_hash()
/linux/arch/s390/kernel/
H A Dmachine_kexec_file.c360 loc += relas[i].r_offset; in arch_kexec_apply_relocations_add()
367 addr = section->sh_addr + relas[i].r_offset; in arch_kexec_apply_relocations_add()
/linux/arch/x86/kernel/
H A Dmachine_kexec_64.c536 location += rel[i].r_offset; in arch_kexec_apply_relocations_add()
539 address = section->sh_addr + rel[i].r_offset; in arch_kexec_apply_relocations_add()

12