/linux-6.3-rc2/net/rds/ |
A D | page.c | 42 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.3-rc2/Documentation/bpf/ |
A D | llvm_reloc.rst | 17 Elf64_Addr r_offset; // Offset from the beginning of section. 109 1 R_BPF_64_64 ld_imm64 insn 32 r_offset + 4 S + A 110 2 R_BPF_64_ABS64 normal data 64 r_offset S + A 111 3 R_BPF_64_ABS32 normal data 32 r_offset S + A 112 4 R_BPF_64_NODYLD32 .BTF[.ext] data 32 r_offset S + A 113 10 R_BPF_64_32 call insn 32 r_offset + 4 (S + A) / 8 - 1 117 is stored at ``r_offset + 4`` and the read/write 124 The actual to-be-relocated data is stored at ``r_offset`` and the read/write data 136 offset is stored at ``r_offset + 4`` (32bit) and calculated as
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | module.h | 20 Elf64_Addr r_offset; /* Address of relocation. */ member 29 Elf64_Addr r_offset; /* Address of relocation. */ member
|
/linux-6.3-rc2/drivers/hwtracing/coresight/ |
A D | coresight-catu.c | 308 u64 r_offset, w_offset; in catu_sync_etr_buf() local 314 r_offset = rrp - etr_buf->hwaddr; in catu_sync_etr_buf() 318 etr_buf->len = w_offset - r_offset; in catu_sync_etr_buf() 319 if (w_offset < r_offset) in catu_sync_etr_buf() 325 etr_buf->offset = r_offset; in catu_sync_etr_buf() 326 tmc_sg_table_sync_data_range(catu_table, r_offset, etr_buf->len); in catu_sync_etr_buf()
|
A D | coresight-tmc-etr.c | 730 long r_offset, w_offset; in tmc_etr_sync_sg_buf() local 735 r_offset = tmc_sg_get_data_page_offset(table, rrp); in tmc_etr_sync_sg_buf() 736 if (r_offset < 0) { in tmc_etr_sync_sg_buf() 751 etr_buf->offset = r_offset; in tmc_etr_sync_sg_buf() 755 etr_buf->len = ((w_offset < r_offset) ? etr_buf->size : 0) + in tmc_etr_sync_sg_buf() 756 w_offset - r_offset; in tmc_etr_sync_sg_buf() 757 tmc_sg_table_sync_data_range(table, r_offset, etr_buf->len); in tmc_etr_sync_sg_buf()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | elf.h | 167 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.3-rc2/arch/nios2/kernel/ |
A D | module.c | 58 + rela[i].r_offset); in apply_relocate_add() 68 rela[i].r_offset, strtab + sym->st_name); in apply_relocate_add()
|
/linux-6.3-rc2/scripts/mod/ |
A D | modpost.c | 1278 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler() 1318 extable_entry_size = r->r_offset * 2; in find_extable_entry_size() 1328 if (r->r_offset && extable_entry_size == 0) in is_extable_fault_address() 1331 return ((r->r_offset == 0) || in is_extable_fault_address() 1332 (r->r_offset % extable_entry_size == 0)); in is_extable_fault_address() 1372 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings() 1400 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler() 1407 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler() 1485 (r->r_offset - sechdr->sh_addr)); in addend_arm_rel() 1550 r.r_offset = TO_NATIVE(rela->r_offset); in section_rela() [all …]
|
/linux-6.3-rc2/arch/m68k/kernel/ |
A D | module.c | 38 + rel[i].r_offset; in apply_relocate() 78 + rel[i].r_offset; in apply_relocate_add()
|
/linux-6.3-rc2/arch/arc/kernel/ |
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-6.3-rc2/arch/arm/kernel/ |
A D | module.c | 142 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate() 145 rel->r_offset, dstsec->sh_size); in apply_relocate() 149 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
|
/linux-6.3-rc2/arch/x86/tools/ |
A D | relocs.c | 582 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs() 694 rel->r_offset, in print_absolute_relocs() 832 ElfW(Addr) offset = rel->r_offset; in do_reloc64() 951 add_reloc(&relocs32, rel->r_offset); in do_reloc32() 992 add_reloc(&relocs16, rel->r_offset); in do_reloc_real() 1014 add_reloc(&relocs32, rel->r_offset); in do_reloc_real() 1019 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
|
/linux-6.3-rc2/arch/mips/boot/tools/ |
A D | relocs.c | 388 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.3-rc2/arch/openrisc/kernel/ |
A D | module.c | 33 + rel[i].r_offset; in apply_relocate_add()
|
/linux-6.3-rc2/arch/microblaze/kernel/ |
A D | module.c | 34 rela[i].r_offset; in apply_relocate_add()
|
/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/ |
A D | gen-hyprel.c | 342 elf64toh(rela->r_offset)); in emit_rela_abs64() 376 assert_lt(elf64toh(rela->r_offset), elf64toh(sh_orig->sh_size), "0x%lx"); in emit_rela_section()
|
/linux-6.3-rc2/scripts/ |
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-6.3-rc2/arch/sh/kernel/ |
A D | module.c | 42 + rel[i].r_offset; in apply_relocate_add()
|
/linux-6.3-rc2/arch/csky/kernel/ |
A D | module.c | 61 + rel[i].r_offset; in apply_relocate_add()
|
/linux-6.3-rc2/arch/xtensa/kernel/ |
A D | module.c | 64 + rela[i].r_offset; in apply_relocate_add()
|
/linux-6.3-rc2/arch/hexagon/kernel/ |
A D | module.c | 90 location = loc_base + rela[i].r_offset; in apply_relocate_add()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | module.c | 107 + rel[i].r_offset; in apply_relocate() 155 + rel[i].r_offset; in __write_relocate_add()
|
/linux-6.3-rc2/arch/s390/kernel/ |
A D | machine_kexec_file.c | 350 loc += relas[i].r_offset; in arch_kexec_apply_relocations_add() 357 addr = section->sh_addr + relas[i].r_offset; in arch_kexec_apply_relocations_add()
|
/linux-6.3-rc2/tools/objtool/ |
A D | elf.c | 876 reloc->offset = reloc->rel.r_offset; in read_rel_reloc() 889 reloc->offset = reloc->rela.r_offset; in read_rela_reloc() 1237 reloc->rel.r_offset = reloc->offset; in elf_rebuild_rel_reloc_section() 1268 reloc->rela.r_offset = reloc->offset; in elf_rebuild_rela_reloc_section() 1315 reloc->rel.r_offset = reloc->offset; in elf_write_reloc() 1324 reloc->rela.r_offset = reloc->offset; in elf_write_reloc()
|
/linux-6.3-rc2/arch/riscv/kernel/ |
A D | module.c | 358 + rel[i].r_offset; in apply_relocate_add() 392 + rel[j].r_offset; in apply_relocate_add()
|