Home
last modified time | relevance | path

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

12

/Linux-v5.10/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-v5.10/arch/nds32/kernel/
Dmodule.c100 relindex, reloc_order, rel->r_offset, offset); in exceed_limit()
139 if (rel->r_offset < 0 in apply_relocate_add()
140 || rel->r_offset > dstsec->sh_size - sizeof(u16)) { in apply_relocate_add()
143 relindex, i, rel->r_offset, dstsec->sh_size); in apply_relocate_add()
147 loc = (Elf32_Addr *) (dstsec->sh_addr + rel->r_offset); in apply_relocate_add()
256 relindex, i, rel->r_offset, dstsec->sh_size); in apply_relocate_add()
263 relindex, i, rel->r_offset, dstsec->sh_size); in apply_relocate_add()
/Linux-v5.10/arch/mips/include/asm/
Dmodule.h20 Elf64_Addr r_offset; /* Address of relocation. */ member
29 Elf64_Addr r_offset; /* Address of relocation. */ member
/Linux-v5.10/arch/h8300/kernel/
Dmodule.c24 + rela[i].r_offset); in apply_relocate_add()
69 me->name, rela[i].r_offset); in apply_relocate_add()
/Linux-v5.10/drivers/hwtracing/coresight/
Dcoresight-catu.c308 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()
Dcoresight-tmc-etr.c712 long r_offset, w_offset; in tmc_etr_sync_sg_buf() local
717 r_offset = tmc_sg_get_data_page_offset(table, rrp); in tmc_etr_sync_sg_buf()
718 if (r_offset < 0) { in tmc_etr_sync_sg_buf()
733 etr_buf->offset = r_offset; in tmc_etr_sync_sg_buf()
737 etr_buf->len = ((w_offset < r_offset) ? etr_buf->size : 0) + in tmc_etr_sync_sg_buf()
738 w_offset - r_offset; in tmc_etr_sync_sg_buf()
739 tmc_sg_table_sync_data_range(table, r_offset, etr_buf->len); in tmc_etr_sync_sg_buf()
/Linux-v5.10/include/uapi/linux/
Delf.h163 Elf32_Addr r_offset; member
168 Elf64_Addr r_offset; /* Location at which to apply the action */ member
173 Elf32_Addr r_offset; member
179 Elf64_Addr r_offset; /* Location at which to apply the action */ member
/Linux-v5.10/arch/nios2/kernel/
Dmodule.c58 + rela[i].r_offset); in apply_relocate_add()
68 rela[i].r_offset, strtab + sym->st_name); in apply_relocate_add()
/Linux-v5.10/scripts/mod/
Dmodpost.c1597 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1611 fromsec, r->r_offset, fromsym, in default_mismatch_handler()
1642 extable_entry_size = r->r_offset * 2; in find_extable_entry_size()
1652 if (r->r_offset && extable_entry_size == 0) in is_extable_fault_address()
1655 return ((r->r_offset == 0) || in is_extable_fault_address()
1656 (r->r_offset % extable_entry_size == 0)); in is_extable_fault_address()
1667 Elf_Sym* fromsym = find_elf_symbol2(elf, r->r_offset, fromsec); in report_extable_warnings()
1683 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1697 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1717 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
[all …]
/Linux-v5.10/arch/m68k/kernel/
Dmodule.c38 + rel[i].r_offset; in apply_relocate()
78 + rel[i].r_offset; in apply_relocate_add()
/Linux-v5.10/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-v5.10/arch/arm/kernel/
Dmodule.c101 if (rel->r_offset < 0 || rel->r_offset > dstsec->sh_size - sizeof(u32)) { in apply_relocate()
104 rel->r_offset, dstsec->sh_size); in apply_relocate()
108 loc = dstsec->sh_addr + rel->r_offset; in apply_relocate()
/Linux-v5.10/arch/x86/tools/
Drelocs.c525 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
637 rel->r_offset, in print_absolute_relocs()
773 ElfW(Addr) offset = rel->r_offset; in do_reloc64()
890 add_reloc(&relocs32, rel->r_offset); in do_reloc32()
929 add_reloc(&relocs16, rel->r_offset); in do_reloc_real()
951 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
956 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
/Linux-v5.10/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-v5.10/arch/openrisc/kernel/
Dmodule.c33 + rel[i].r_offset; in apply_relocate_add()
/Linux-v5.10/tools/objtool/
Delf.c507 reloc->offset = reloc->rel.r_offset; in read_rel_reloc()
520 reloc->offset = reloc->rela.r_offset; in read_rela_reloc()
849 relocs[idx].r_offset = reloc->offset; in elf_rebuild_rel_reloc_section()
878 relocs[idx].r_offset = reloc->offset; in elf_rebuild_rela_reloc_section()
931 reloc->rel.r_offset = reloc->offset; in elf_write_reloc()
940 reloc->rela.r_offset = reloc->offset; in elf_write_reloc()
/Linux-v5.10/arch/x86/kernel/
Dmodule.c105 + rel[i].r_offset; in apply_relocate()
147 + rel[i].r_offset; in __apply_relocate_add()
/Linux-v5.10/arch/sh/kernel/
Dmodule.c42 + rel[i].r_offset; in apply_relocate_add()
/Linux-v5.10/arch/microblaze/kernel/
Dmodule.c37 rela[i].r_offset; in apply_relocate_add()
/Linux-v5.10/scripts/
Drecordmcount.h181 Elf_Addr current_r_offset = _w(rp->r_offset); in MIPS_is_fake_mcount()
423 _w(_w(relp->r_offset) - recval + mcount_adjust); in sift_rel_mcount()
424 mrelp->r_offset = _w(offbase in sift_rel_mcount()
472 ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); in nop_mcount()
/Linux-v5.10/arch/csky/kernel/
Dmodule.c61 + rel[i].r_offset; in apply_relocate_add()
/Linux-v5.10/arch/s390/kernel/
Dmachine_kexec_file.c296 loc += relas[i].r_offset; in arch_kexec_apply_relocations_add()
303 addr = section->sh_addr + relas[i].r_offset; in arch_kexec_apply_relocations_add()
/Linux-v5.10/arch/c6x/kernel/
Dmodule.c60 + rel[i].r_offset - offset; in apply_relocate_add()
/Linux-v5.10/arch/hexagon/kernel/
Dmodule.c90 location = loc_base + rela[i].r_offset; in apply_relocate_add()
/Linux-v5.10/arch/xtensa/kernel/
Dmodule.c64 + rela[i].r_offset; in apply_relocate_add()

12