Home
last modified time | relevance | path

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

123

/linux-6.12.1/net/rds/
Dpage.c42 unsigned long r_offset; member
95 if (rem->r_page && bytes > (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc()
102 if (rem->r_page && bytes <= (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc()
103 sg_set_page(scat, rem->r_page, bytes, rem->r_offset); in rds_page_remainder_alloc()
106 if (rem->r_offset != 0) in rds_page_remainder_alloc()
109 rem->r_offset += ALIGN(bytes, 8); in rds_page_remainder_alloc()
110 if (rem->r_offset >= PAGE_SIZE) { in rds_page_remainder_alloc()
140 rem->r_offset = 0; in rds_page_remainder_alloc()
/linux-6.12.1/arch/mips/include/asm/
Dmodule.h20 Elf64_Addr r_offset; /* Address of relocation. */ member
29 Elf64_Addr r_offset; /* Address of relocation. */ member
/linux-6.12.1/include/uapi/linux/
Delf.h167 Elf32_Addr r_offset; member
172 Elf64_Addr r_offset; /* Location at which to apply the action */ member
177 Elf32_Addr r_offset; member
183 Elf64_Addr r_offset; /* Location at which to apply the action */ member
/linux-6.12.1/arch/nios2/kernel/
Dmodule.c38 + rela[i].r_offset); in apply_relocate_add()
48 rela[i].r_offset, strtab + sym->st_name); in apply_relocate_add()
/linux-6.12.1/drivers/hwtracing/coresight/
Dcoresight-catu.c310 u64 r_offset, w_offset; in catu_sync_etr_buf() local
316 r_offset = rrp - etr_buf->hwaddr; in catu_sync_etr_buf()
320 etr_buf->len = w_offset - r_offset; in catu_sync_etr_buf()
321 if (w_offset < r_offset) in catu_sync_etr_buf()
327 etr_buf->offset = r_offset; in catu_sync_etr_buf()
328 tmc_sg_table_sync_data_range(catu_table, r_offset, etr_buf->len); in catu_sync_etr_buf()
Dcoresight-tmc-etr.c739 long r_offset, w_offset; in tmc_etr_sync_sg_buf() local
744 r_offset = tmc_sg_get_data_page_offset(table, rrp); in tmc_etr_sync_sg_buf()
745 if (r_offset < 0) { in tmc_etr_sync_sg_buf()
760 etr_buf->offset = r_offset; in tmc_etr_sync_sg_buf()
764 etr_buf->len = ((w_offset < r_offset) ? etr_buf->size : 0) + in tmc_etr_sync_sg_buf()
765 w_offset - r_offset; in tmc_etr_sync_sg_buf()
766 tmc_sg_table_sync_data_range(table, r_offset, etr_buf->len); in tmc_etr_sync_sg_buf()
/linux-6.12.1/arch/m68k/kernel/
Dmodule.c38 + rel[i].r_offset; in apply_relocate()
78 + rel[i].r_offset; in apply_relocate_add()
/linux-6.12.1/arch/arc/kernel/
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-6.12.1/arch/x86/tools/
Drelocs.c569 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
694 rel->r_offset, in print_absolute_relocs()
845 ElfW(Addr) offset = rel->r_offset; in do_reloc64()
960 add_reloc(&relocs32, rel->r_offset); in do_reloc32()
999 add_reloc(&relocs16, rel->r_offset); in do_reloc_real()
1019 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
1024 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
/linux-6.12.1/arch/arm/kernel/
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-6.12.1/arch/mips/boot/tools/
Drelocs.c388 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
390 rel->r_offset -= base; in read_relocs()
539 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
641 (unsigned int)rel->r_offset, in do_reloc_info()
/linux-6.12.1/Documentation/bpf/
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-6.12.1/arch/arm64/kernel/pi/
Drelocate.c22 *(u64 *)(rela->r_offset + offset) = rela->r_addend + offset; in relocate_kernel()
/linux-6.12.1/arch/s390/tools/
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-6.12.1/arch/microblaze/kernel/
Dmodule.c34 rela[i].r_offset; in apply_relocate_add()
/linux-6.12.1/arch/openrisc/kernel/
Dmodule.c33 + rel[i].r_offset; in apply_relocate_add()
/linux-6.12.1/drivers/pmdomain/rockchip/
Dpm-domains.c132 #define DOMAIN_M_O_R(_name, p_offset, pwr, status, m_offset, m_status, r_status, r_offset, req, idl… argument
142 .req_offset = r_offset, \
150 #define DOMAIN_M_O_R_G(_name, p_offset, pwr, status, m_offset, m_status, r_status, r_offset, req, i… argument
160 .req_offset = r_offset, \
200 #define DOMAIN_RK3576(name, p_offset, pwr, status, r_status, r_offset, req, idle, g_mask, wakeup) \ argument
201 …DOMAIN_M_O_R_G(name, p_offset, pwr, status, 0, r_status, r_status, r_offset, req, idle, idle, g_ma…
306 #define DOMAIN_RK3588(name, p_offset, pwr, status, m_offset, m_status, r_status, r_offset, req, idl… argument
307 …DOMAIN_M_O_R(name, p_offset, pwr, status, m_offset, m_status, r_status, r_offset, req, idle, idle,…
/linux-6.12.1/scripts/
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-6.12.1/arch/arm64/kvm/hyp/nvhe/
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-6.12.1/arch/sh/kernel/
Dmodule.c42 + rel[i].r_offset; in apply_relocate_add()
/linux-6.12.1/arch/csky/kernel/
Dmodule.c61 + rel[i].r_offset; in apply_relocate_add()
/linux-6.12.1/scripts/mod/
Dmodpost.c1330 Elf_Addr taddr, r_offset; in section_rela() local
1333 r_offset = TO_NATIVE(rela->r_offset); in section_rela()
1360 fsecndx, fromsec, r_offset, taddr); in section_rela()
1372 Elf_Addr taddr, r_offset; in section_rel() local
1376 r_offset = TO_NATIVE(rel->r_offset); in section_rel()
1379 loc = sym_get_data_by_offset(elf, fsecndx, r_offset); in section_rel()
1397 fsecndx, fromsec, r_offset, taddr); in section_rel()
/linux-6.12.1/arch/x86/kernel/
Dmodule.c56 + rel[i].r_offset; in apply_relocate()
104 + rel[i].r_offset; in __write_relocate_add()
/linux-6.12.1/tools/objtool/include/objtool/
Delf.h240 return __get_reloc_field(reloc, r_offset); in reloc_offset()
245 __set_reloc_field(reloc, r_offset, offset); in set_reloc_offset()
/linux-6.12.1/arch/hexagon/kernel/
Dmodule.c90 location = loc_base + rela[i].r_offset; in apply_relocate_add()

123