Home
last modified time | relevance | path

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

123

/openbmc/linux/net/rds/
H A 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()
/openbmc/u-boot/arch/x86/lib/
H A Drelocate.c61 printf("offset = 0x%llx\n", re_src->r_offset); in do_elf_reloc_fixups64()
66 offset_ptr_rom = (Elf64_Addr *)(uintptr_t)re_src->r_offset; in do_elf_reloc_fixups64()
83 (ulong)re_src->r_offset, offset_ptr_ram, in do_elf_reloc_fixups64()
88 (ulong)re_src->r_info, (ulong)re_src->r_offset, in do_elf_reloc_fixups64()
108 printf("offset = 0x%x\n", re_src->r_offset); in do_elf_reloc_fixups32()
113 offset_ptr_rom = (Elf32_Addr *)(uintptr_t)re_src->r_offset; in do_elf_reloc_fixups32()
129 re_src, re_src->r_offset, offset_ptr_ram, in do_elf_reloc_fixups32()
134 re_src->r_offset, last_offset); in do_elf_reloc_fixups32()
H A Dreloc_ia32_efi.c57 addr = (unsigned long *)(ldbase + rel->r_offset); in _relocate()
H A Dreloc_x86_64_efi.c52 addr = (unsigned long *)(ldbase + rel->r_offset); in _relocate()
/openbmc/u-boot/tools/
H A Drelocate-rela.c49 type, rela->r_offset); in supported_rela()
119 swrela.r_offset = cpu_to_le64(rela.r_offset); in main()
127 swrela.r_offset, swrela.r_info, swrela.r_addend); in main()
129 if (swrela.r_offset < text_base) { in main()
135 addr = swrela.r_offset - text_base; in main()
H A Dmips-relocs.c154 off = is_be ? be32toh(rel->r_offset) : le32toh(rel->r_offset); in parse_mips32_rel()
168 off = is_be ? be64toh(rel->r_offset) : le64toh(rel->r_offset); in parse_mips64_rela()
/openbmc/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
/openbmc/linux/drivers/hwtracing/coresight/
H A 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()
/openbmc/linux/include/uapi/linux/
H A 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
/openbmc/linux/arch/nios2/kernel/
H A Dmodule.c58 + rela[i].r_offset); in apply_relocate_add()
68 rela[i].r_offset, strtab + sym->st_name); in apply_relocate_add()
/openbmc/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()
/openbmc/linux/arch/m68k/kernel/
H A Dmodule.c38 + rel[i].r_offset; in apply_relocate()
78 + rel[i].r_offset; in apply_relocate_add()
/openbmc/u-boot/include/
H A Delf.h403 Elf32_Addr r_offset; /* offset of relocation */ member
409 Elf32_Addr r_offset; /* offset of relocation */ member
415 Elf64_Addr r_offset; /* Location at which to apply the action */ member
420 Elf64_Addr r_offset; /* Location at which to apply the action */ member
/openbmc/linux/arch/x86/tools/
H A Drelocs.c582 rel->r_offset = elf_addr_to_cpu(rel->r_offset); in read_relocs()
702 rel->r_offset, in print_absolute_relocs()
849 ElfW(Addr) offset = rel->r_offset; in do_reloc64()
968 add_reloc(&relocs32, rel->r_offset); in do_reloc32()
1009 add_reloc(&relocs16, rel->r_offset); in do_reloc_real()
1031 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
1036 add_reloc(&relocs32, rel->r_offset); in do_reloc_real()
/openbmc/linux/arch/arm/kernel/
H A Dmodule.c142 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()
/openbmc/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()
539 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
641 (unsigned int)rel->r_offset, in do_reloc_info()
/openbmc/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
/openbmc/u-boot/arch/arm/lib/
H A Dreloc_arm_efi.c53 addr = (ulong *)(ldbase + rel->r_offset); in _relocate()
H A Dreloc_aarch64_efi.c76 addr = (ulong *)(ldbase + rel->r_offset); in _relocate()
/openbmc/u-boot/arch/riscv/lib/
H A Dreloc_riscv_efi.c86 addr = (ulong *)(ldbase + rel->r_offset); in _relocate()
/openbmc/linux/arch/openrisc/kernel/
H A Dmodule.c33 + rel[i].r_offset; in apply_relocate_add()
/openbmc/linux/arch/microblaze/kernel/
H A Dmodule.c34 rela[i].r_offset; in apply_relocate_add()
/openbmc/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()
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c342 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()
/openbmc/u-boot/arch/arc/lib/
H A Drelocate.c58 offset_ptr_rom = (Elf32_Addr *)re_src->r_offset; in do_elf_reloc_fixups()

123