Home
last modified time | relevance | path

Searched refs:r_offset (Results 1 – 25 of 38) 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/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.c389 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/arch/microblaze/kernel/
H A Dmodule.c34 rela[i].r_offset; in apply_relocate_add()
/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/openrisc/kernel/
H A Dmodule.c33 + rel[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/sh/kernel/
H A Dmodule.c42 + rel[i].r_offset; in apply_relocate_add()
/linux/arch/csky/kernel/
H A Dmodule.c61 + 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/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/scripts/mod/
H A Dmodpost.c1355 Elf_Addr taddr, r_offset; in section_rela()
1358 r_offset = TO_NATIVE(rela->r_offset); in section_rela()
1385 fsecndx, fromsec, r_offset, taddr); in section_rela()
1397 Elf_Addr taddr, r_offset; in section_rel()
1401 r_offset = TO_NATIVE(rel->r_offset); in section_rel()
1404 loc = sym_get_data_by_offset(elf, fsecndx, r_offset); in section_rel()
1422 fsecndx, fromsec, r_offset, taddr); in section_rel()
1353 Elf_Addr taddr, r_offset; section_rela() local
1395 Elf_Addr taddr, r_offset; section_rel() local
/linux/tools/objtool/include/objtool/
H A Delf.h400 return __get_reloc_field(reloc, r_offset);
405 __set_reloc_field(reloc, r_offset, offset);
/linux/drivers/pmdomain/rockchip/
H A Dpm-domains.c169 #define DOMAIN_M_O_R(_name, p_offset, pwr, status, m_offset, m_status, r_status, r_offset, req, idl… argument
179 .req_offset = r_offset, \
188 #define DOMAIN_M_O_R_G(_name, p_offset, pwr, status, m_offset, m_status, r_status, r_offset, req, i… argument
198 .req_offset = r_offset, \
247 #define DOMAIN_RK3576(name, p_offset, pwr, status, r_status, r_offset, req, idle, g_mask, wakeup) \ argument
248 …DOMAIN_M_O_R_G(name, p_offset, pwr, status, 0, r_status, r_status, r_offset, req, idle, idle, g_ma…
353 #define DOMAIN_RK3588(name, p_offset, pwr, status, m_offset, m_status, r_status, r_offset, req, idl… argument
354 …DOMAIN_M_O_R(name, p_offset, pwr, status, m_offset, m_status, r_status, r_offset, req, idle, idle,…
/linux/arch/loongarch/kernel/
H A Dmodule.c496 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()
/linux/arch/alpha/kernel/
H A Dmodule.c160 location = base + rela[i].r_offset; in apply_relocate_add()
/linux/arch/mips/kernel/
H A Dvpe.c443 + rel[i].r_offset; in apply_relocations()
460 rel[i].r_offset, r ? r : "UNKNOWN", in apply_relocations()

12