Home
last modified time | relevance | path

Searched refs:location (Results 1 - 25 of 540) sorted by relevance

12345678910>>...22

/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dmodule.c30 static int apply_r_riscv_32_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_32_rela() argument
37 *location = v; in apply_r_riscv_32_rela()
41 static int apply_r_riscv_64_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_64_rela() argument
43 *(u64 *)location = v; in apply_r_riscv_64_rela()
47 static int apply_r_riscv_branch_rela(struct module *me, u32 *location, in apply_r_riscv_branch_rela() argument
50 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_branch_rela()
56 *location = (*location & 0x1fff07f) | imm12 | imm11 | imm10_5 | imm4_1; in apply_r_riscv_branch_rela()
60 static int apply_r_riscv_jal_rela(struct module *me, u32 *location, in apply_r_riscv_jal_rela() argument
63 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_jal_rela()
73 apply_r_riscv_rvc_branch_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_rvc_branch_rela() argument
88 apply_r_riscv_rvc_jump_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_rvc_jump_rela() argument
106 apply_r_riscv_pcrel_hi20_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_pcrel_hi20_rela() argument
124 apply_r_riscv_pcrel_lo12_i_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_pcrel_lo12_i_rela() argument
135 apply_r_riscv_pcrel_lo12_s_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_pcrel_lo12_s_rela() argument
149 apply_r_riscv_hi20_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_hi20_rela() argument
166 apply_r_riscv_lo12_i_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_lo12_i_rela() argument
176 apply_r_riscv_lo12_s_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_lo12_s_rela() argument
188 apply_r_riscv_got_hi20_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_got_hi20_rela() argument
210 apply_r_riscv_call_plt_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_call_plt_rela() argument
236 apply_r_riscv_call_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_call_rela() argument
256 apply_r_riscv_relax_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_relax_rela() argument
262 apply_r_riscv_align_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_align_rela() argument
271 apply_r_riscv_add16_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_add16_rela() argument
278 apply_r_riscv_add32_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_add32_rela() argument
285 apply_r_riscv_add64_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_add64_rela() argument
292 apply_r_riscv_sub16_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_sub16_rela() argument
299 apply_r_riscv_sub32_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_sub32_rela() argument
306 apply_r_riscv_sub64_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_sub64_rela() argument
347 u32 *location; apply_relocate_add() local
[all...]
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dmodule.c29 static int apply_r_riscv_32_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_32_rela() argument
36 *location = v; in apply_r_riscv_32_rela()
40 static int apply_r_riscv_64_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_64_rela() argument
42 *(u64 *)location = v; in apply_r_riscv_64_rela()
46 static int apply_r_riscv_branch_rela(struct module *me, u32 *location, in apply_r_riscv_branch_rela() argument
49 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_branch_rela()
55 *location = (*location & 0x1fff07f) | imm12 | imm11 | imm10_5 | imm4_1; in apply_r_riscv_branch_rela()
59 static int apply_r_riscv_jal_rela(struct module *me, u32 *location, in apply_r_riscv_jal_rela() argument
62 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_jal_rela()
72 apply_r_riscv_rcv_branch_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_rcv_branch_rela() argument
87 apply_r_riscv_rvc_jump_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_rvc_jump_rela() argument
105 apply_r_riscv_pcrel_hi20_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_pcrel_hi20_rela() argument
123 apply_r_riscv_pcrel_lo12_i_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_pcrel_lo12_i_rela() argument
134 apply_r_riscv_pcrel_lo12_s_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_pcrel_lo12_s_rela() argument
148 apply_r_riscv_hi20_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_hi20_rela() argument
165 apply_r_riscv_lo12_i_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_lo12_i_rela() argument
175 apply_r_riscv_lo12_s_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_lo12_s_rela() argument
187 apply_r_riscv_got_hi20_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_got_hi20_rela() argument
209 apply_r_riscv_call_plt_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_call_plt_rela() argument
235 apply_r_riscv_call_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_call_rela() argument
255 apply_r_riscv_relax_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_relax_rela() argument
261 apply_r_riscv_align_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_align_rela() argument
270 apply_r_riscv_add32_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_add32_rela() argument
277 apply_r_riscv_add64_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_add64_rela() argument
284 apply_r_riscv_sub32_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_sub32_rela() argument
291 apply_r_riscv_sub64_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_riscv_sub64_rela() argument
330 u32 *location; apply_relocate_add() local
[all...]
/kernel/linux/linux-5.10/arch/xtensa/kernel/
H A Dmodule.c26 decode_calln_opcode (unsigned char *location) in decode_calln_opcode() argument
29 return (location[0] & 0xf0) == 0x50; in decode_calln_opcode()
32 return (location[0] & 0xf) == 0x5; in decode_calln_opcode()
37 decode_l32r_opcode (unsigned char *location) in decode_l32r_opcode() argument
40 return (location[0] & 0xf0) == 0x10; in decode_l32r_opcode()
43 return (location[0] & 0xf) == 0x1; in decode_l32r_opcode()
56 unsigned char *location; in apply_relocate_add() local
63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
79 *(uint32_t *)location += value; in apply_relocate_add()
83 if (decode_calln_opcode(location)) { in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/arch/xtensa/kernel/
H A Dmodule.c26 decode_calln_opcode (unsigned char *location) in decode_calln_opcode() argument
29 return (location[0] & 0xf0) == 0x50; in decode_calln_opcode()
32 return (location[0] & 0xf) == 0x5; in decode_calln_opcode()
37 decode_l32r_opcode (unsigned char *location) in decode_l32r_opcode() argument
40 return (location[0] & 0xf0) == 0x10; in decode_l32r_opcode()
43 return (location[0] & 0xf) == 0x1; in decode_l32r_opcode()
56 unsigned char *location; in apply_relocate_add() local
63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
79 *(uint32_t *)location += value; in apply_relocate_add()
83 if (decode_calln_opcode(location)) { in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dmodule.c44 static void apply_r_mips_32(u32 *location, u32 base, Elf_Addr v) in apply_r_mips_32() argument
46 *location = base + v; in apply_r_mips_32()
49 static int apply_r_mips_26(struct module *me, u32 *location, u32 base, in apply_r_mips_26() argument
58 if ((v & 0xf0000000) != (((unsigned long)location + 4) & 0xf0000000)) { in apply_r_mips_26()
64 *location = (*location & ~0x03ffffff) | in apply_r_mips_26()
70 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16() argument
76 *location = (*location & 0xffff0000) | in apply_r_mips_hi16()
90 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
109 apply_r_mips_lo16(struct module *me, u32 *location, u32 base, Elf_Addr v, bool rela) apply_r_mips_lo16() argument
181 apply_r_mips_pc(struct module *me, u32 *location, u32 base, Elf_Addr v, unsigned int bits) apply_r_mips_pc() argument
212 apply_r_mips_pc16(struct module *me, u32 *location, u32 base, Elf_Addr v) apply_r_mips_pc16() argument
218 apply_r_mips_pc21(struct module *me, u32 *location, u32 base, Elf_Addr v) apply_r_mips_pc21() argument
224 apply_r_mips_pc26(struct module *me, u32 *location, u32 base, Elf_Addr v) apply_r_mips_pc26() argument
230 apply_r_mips_64(u32 *location, Elf_Addr v, bool rela) apply_r_mips_64() argument
240 apply_r_mips_higher(u32 *location, Elf_Addr v, bool rela) apply_r_mips_higher() argument
251 apply_r_mips_highest(u32 *location, Elf_Addr v, bool rela) apply_r_mips_highest() argument
279 reloc_handler(u32 type, struct module *me, u32 *location, u32 base, Elf_Addr v, bool rela) reloc_handler() argument
323 u32 *location, base; __apply_relocate() local
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dmodule.c46 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none() argument
52 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error() argument
59 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32() argument
62 *location = v; in apply_r_larch_32()
66 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64() argument
69 *(Elf_Addr *)location = v; in apply_r_larch_64()
73 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel() argument
76 return rela_stack_push(v - (u64)location, rela_stack, rela_stack_top); in apply_r_larch_sop_push_pcrel()
79 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute() argument
85 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Add argument
104 apply_r_larch_sop_push_plt_pcrel(struct module *mod, Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_sop_push_plt_pcrel() argument
119 apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_sop() argument
165 apply_r_larch_sop_imm_field(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_sop_imm_field() argument
256 apply_r_larch_add_sub(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_add_sub() argument
278 apply_r_larch_b26(struct module *mod, Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_b26() argument
312 apply_r_larch_pcala(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_pcala() argument
346 apply_r_larch_got_pc(struct module *mod, Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_got_pc() argument
370 apply_r_larch_32_pcrel(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_32_pcrel() argument
379 apply_r_larch_64_pcrel(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_64_pcrel() argument
430 void *location; apply_relocate_add() local
[all...]
/kernel/linux/linux-5.10/arch/microblaze/kernel/
H A Dmodule.c25 unsigned long int *location; in apply_relocate_add() local
36 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add()
47 * read the current contents of (*location), add any offset in apply_relocate_add()
53 old_value = *location; in apply_relocate_add()
54 *location = value + old_value; in apply_relocate_add()
59 *location = value; in apply_relocate_add()
66 old_value = ((location[0] & 0x0000FFFF) << 16) | in apply_relocate_add()
67 (location[1] & 0x0000FFFF); in apply_relocate_add()
70 location[0] = (location[ in apply_relocate_add()
[all...]
/kernel/linux/linux-5.10/arch/c6x/kernel/
H A Dmodule.c49 u32 *location, opcode; in apply_relocate_add() local
59 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
72 pr_debug("RELA ABS32: [%p] = 0x%x\n", location, v); in apply_relocate_add()
73 *location = v; in apply_relocate_add()
76 pr_debug("RELA ABS16: [%p] = 0x%x\n", location, v); in apply_relocate_add()
77 *(u16 *)location = v; in apply_relocate_add()
80 pr_debug("RELA ABS8: [%p] = 0x%x\n", location, v); in apply_relocate_add()
81 *(u8 *)location = v; in apply_relocate_add()
84 opcode = *location; in apply_relocate_add()
88 location, in apply_relocate_add()
[all...]
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dmodule.c34 uint32_t *location; in apply_relocate_add() local
41 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
53 value = get_unaligned(location); in apply_relocate_add()
55 put_unaligned(value, location); in apply_relocate_add()
58 relocation = (relocation - (Elf32_Addr) location); in apply_relocate_add()
59 value = get_unaligned(location); in apply_relocate_add()
61 put_unaligned(value, location); in apply_relocate_add()
64 *location = (*location & ~0x3fffc00) | in apply_relocate_add()
68 *location in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dmodule.c34 uint32_t *location; in apply_relocate_add() local
41 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
53 value = get_unaligned(location); in apply_relocate_add()
55 put_unaligned(value, location); in apply_relocate_add()
58 relocation = (relocation - (Elf32_Addr) location); in apply_relocate_add()
59 value = get_unaligned(location); in apply_relocate_add()
61 put_unaligned(value, location); in apply_relocate_add()
64 *location = (*location & ~0x3fffc00) | in apply_relocate_add()
68 *location in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c19 TSNEP_RX_ASSIGN_ETHER_TYPE_OFFSET * rule->location; in tsnep_enable_rule()
24 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_enable_rule()
34 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_disable_rule()
39 int location) in tsnep_get_rule()
44 if (rule->location == location) in tsnep_get_rule()
46 if (rule->location > location) in tsnep_get_rule()
62 if (cur->location >= rule->location) in tsnep_add_rule()
38 tsnep_get_rule(struct tsnep_adapter *adapter, int location) tsnep_get_rule() argument
156 int location = 0; tsnep_rxnfc_find_location() local
[all...]
/kernel/linux/linux-5.10/arch/hexagon/kernel/
H A Dmodule.c73 uint32_t *location; in apply_relocate_add() local
90 location = loc_base + rela[i].r_offset; in apply_relocate_add()
96 i, value, location, ELF32_R_TYPE(rela[i].r_info), in apply_relocate_add()
102 int dist = (int)(value - (uint32_t)location); in apply_relocate_add()
109 dist, value, (uint32_t)location, in apply_relocate_add()
114 DEBUGP("B22_PCREL contents: %08X.\n", *location); in apply_relocate_add()
115 *location &= ~0x01ff3fff; in apply_relocate_add()
116 *location |= 0x00003fff & dist; in apply_relocate_add()
117 *location |= 0x01ff0000 & (dist<<2); in apply_relocate_add()
118 DEBUGP("Contents after reloc: %08x\n", *location); in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/arch/hexagon/kernel/
H A Dmodule.c73 uint32_t *location; in apply_relocate_add() local
90 location = loc_base + rela[i].r_offset; in apply_relocate_add()
96 i, value, location, ELF32_R_TYPE(rela[i].r_info), in apply_relocate_add()
102 int dist = (int)(value - (uint32_t)location); in apply_relocate_add()
109 dist, value, (uint32_t)location, in apply_relocate_add()
114 DEBUGP("B22_PCREL contents: %08X.\n", *location); in apply_relocate_add()
115 *location &= ~0x01ff3fff; in apply_relocate_add()
116 *location |= 0x00003fff & dist; in apply_relocate_add()
117 *location |= 0x01ff0000 & (dist<<2); in apply_relocate_add()
118 DEBUGP("Contents after reloc: %08x\n", *location); in apply_relocate_add()
[all...]
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dmodule.c43 static int apply_r_mips_none(struct module *me, u32 *location, in apply_r_mips_none() argument
49 static int apply_r_mips_32(struct module *me, u32 *location, in apply_r_mips_32() argument
52 *location = base + v; in apply_r_mips_32()
57 static int apply_r_mips_26(struct module *me, u32 *location, in apply_r_mips_26() argument
66 if ((v & 0xf0000000) != (((unsigned long)location + 4) & 0xf0000000)) { in apply_r_mips_26()
72 *location = (*location & ~0x03ffffff) | in apply_r_mips_26()
78 static int apply_r_mips_hi16(struct module *me, u32 *location, in apply_r_mips_hi16() argument
84 *location = (*location in apply_r_mips_hi16()
117 apply_r_mips_lo16(struct module *me, u32 *location, u32 base, Elf_Addr v, bool rela) apply_r_mips_lo16() argument
189 apply_r_mips_pc(struct module *me, u32 *location, u32 base, Elf_Addr v, unsigned int bits) apply_r_mips_pc() argument
220 apply_r_mips_pc16(struct module *me, u32 *location, u32 base, Elf_Addr v, bool rela) apply_r_mips_pc16() argument
226 apply_r_mips_pc21(struct module *me, u32 *location, u32 base, Elf_Addr v, bool rela) apply_r_mips_pc21() argument
232 apply_r_mips_pc26(struct module *me, u32 *location, u32 base, Elf_Addr v, bool rela) apply_r_mips_pc26() argument
238 apply_r_mips_64(struct module *me, u32 *location, u32 base, Elf_Addr v, bool rela) apply_r_mips_64() argument
249 apply_r_mips_higher(struct module *me, u32 *location, u32 base, Elf_Addr v, bool rela) apply_r_mips_higher() argument
261 apply_r_mips_highest(struct module *me, u32 *location, u32 base, Elf_Addr v, bool rela) apply_r_mips_highest() argument
316 u32 *location, base; __apply_relocate() local
[all...]
/kernel/linux/linux-5.10/lib/
H A Dubsan.c43 static bool was_reported(struct source_location *location) in was_reported() argument
45 return test_and_set_bit(REPORTED_BIT, &location->reported); in was_reported()
165 if (suppress_report(&data->location)) in handle_overflow()
168 ubsan_prologue(&data->location, type_is_signed(type) ? in handle_overflow()
210 if (suppress_report(&data->location)) in __ubsan_handle_negate_overflow()
213 ubsan_prologue(&data->location, "negation-overflow"); in __ubsan_handle_negate_overflow()
230 if (suppress_report(&data->location)) in __ubsan_handle_divrem_overflow()
233 ubsan_prologue(&data->location, "division-overflow"); in __ubsan_handle_divrem_overflow()
249 if (suppress_report(data->location)) in handle_null_ptr_deref()
252 ubsan_prologue(data->location, "nul in handle_null_ptr_deref()
[all...]
H A Dubsan.h29 struct source_location location; member
34 struct source_location location; member
41 struct source_location location; member
48 struct source_location *location; member
55 struct source_location location; member
61 struct source_location location; member
67 struct source_location location; member
73 struct source_location location; member
77 struct source_location location; member
82 struct source_location location; member
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dmodule.c57 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none() argument
63 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error() argument
70 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32() argument
73 *location = v; in apply_r_larch_32()
77 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64() argument
80 *(Elf_Addr *)location = v; in apply_r_larch_64()
84 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel() argument
87 return rela_stack_push(v - (u64)location, rela_stack, rela_stack_top); in apply_r_larch_sop_push_pcrel()
90 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute() argument
96 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Add argument
115 apply_r_larch_sop_push_plt_pcrel(struct module *mod, Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_sop_push_plt_pcrel() argument
130 apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_sop() argument
176 apply_r_larch_sop_imm_field(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_sop_imm_field() argument
267 apply_r_larch_add_sub(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_add_sub() argument
289 apply_r_larch_b26(struct module *mod, Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_b26() argument
323 apply_r_larch_pcala(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_pcala() argument
357 apply_r_larch_got_pc(struct module *mod, Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_got_pc() argument
381 apply_r_larch_32_pcrel(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_32_pcrel() argument
390 apply_r_larch_64_pcrel(struct module *mod, u32 *location, Elf_Addr v, s64 *rela_stack, size_t *rela_stack_top, unsigned int type) apply_r_larch_64_pcrel() argument
441 void *location; apply_relocate_add() local
[all...]
/kernel/linux/linux-6.6/arch/microblaze/kernel/
H A Dmodule.c25 unsigned long int *location; in apply_relocate_add() local
33 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add()
44 * read the current contents of (*location), add any offset in apply_relocate_add()
49 *location = value; in apply_relocate_add()
53 location[0] = (location[0] & 0xFFFF0000) | in apply_relocate_add()
55 location[1] = (location[1] & 0xFFFF0000) | in apply_relocate_add()
60 value -= (unsigned long int)(location) + 4; in apply_relocate_add()
61 location[ in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dskb.h26 TP_PROTO(struct sk_buff *skb, void *location,
29 TP_ARGS(skb, location, reason),
33 __field(void *, location)
40 __entry->location = location;
45 TP_printk("skbaddr=%p protocol=%u location=%pS reason: %s",
46 __entry->skbaddr, __entry->protocol, __entry->location,
56 TP_PROTO(struct sk_buff *skb, void *location),
58 TP_ARGS(skb, location),
62 __field( void *, location)
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dmodule.c92 u8 *location; in apply_relocate_add() local
99 location = (u8 *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
101 loc32 = (u32 *) location; in apply_relocate_add()
104 BUG_ON(((u64)location >> (u64)32) != (u64)0); in apply_relocate_add()
115 v -= (Elf_Addr) location; in apply_relocate_add()
120 location[0] = v >> 56; in apply_relocate_add()
121 location[1] = v >> 48; in apply_relocate_add()
122 location[2] = v >> 40; in apply_relocate_add()
123 location[3] = v >> 32; in apply_relocate_add()
124 location[ in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dmodule.c92 u8 *location; in apply_relocate_add() local
99 location = (u8 *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
101 loc32 = (u32 *) location; in apply_relocate_add()
104 BUG_ON(((u64)location >> (u64)32) != (u64)0); in apply_relocate_add()
115 v -= (Elf_Addr) location; in apply_relocate_add()
120 location[0] = v >> 56; in apply_relocate_add()
121 location[1] = v >> 48; in apply_relocate_add()
122 location[2] = v >> 40; in apply_relocate_add()
123 location[3] = v >> 32; in apply_relocate_add()
124 location[ in apply_relocate_add()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dmodule_32.c157 static uint32_t do_plt_call(void *location, in do_plt_call() argument
164 pr_debug("Doing plt for call to 0x%x at 0x%x\n", val, (unsigned int)location); in do_plt_call()
166 if (location >= mod->core_layout.base in do_plt_call()
167 && location < mod->core_layout.base + mod->core_layout.size) in do_plt_call()
202 uint32_t *location; in apply_relocate_add() local
209 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
221 *(uint32_t *)location = value; in apply_relocate_add()
226 *(uint16_t *)location = value; in apply_relocate_add()
231 *(uint16_t *)location = (value >> 16); in apply_relocate_add()
239 *(uint16_t *)location in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dmodule_32.c157 static uint32_t do_plt_call(void *location, in do_plt_call() argument
164 pr_debug("Doing plt for call to 0x%x at 0x%x\n", val, (unsigned int)location); in do_plt_call()
166 if (within_module_core((unsigned long)location, mod)) in do_plt_call()
205 uint32_t *location; in apply_relocate_add() local
212 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
224 *(uint32_t *)location = value; in apply_relocate_add()
229 if (patch_location_16(location, PPC_LO(value))) in apply_relocate_add()
235 if (patch_location_16(location, PPC_HI(value))) in apply_relocate_add()
240 if (patch_location_16(location, PPC_HA(value))) in apply_relocate_add()
245 if ((int)(value - (uint32_t)location) < in apply_relocate_add()
[all...]
/kernel/linux/linux-5.10/arch/csky/kernel/
H A Dmodule.c28 static void jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument
30 uint16_t *location_tmp = (uint16_t *)location; in jsri_2_lrw_jsr()
37 CHANGE_JSRI_TO_LRW(location); in jsri_2_lrw_jsr()
39 SET_JSR32_R26(location + 1); in jsri_2_lrw_jsr()
43 static void inline jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument
55 uint32_t *location; in apply_relocate_add() local
60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
67 /* We add the value into the location given */ in apply_relocate_add()
68 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add()
72 *location in apply_relocate_add()
[all...]
/kernel/linux/linux-6.6/arch/csky/kernel/
H A Dmodule.c28 static void jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument
30 uint16_t *location_tmp = (uint16_t *)location; in jsri_2_lrw_jsr()
37 CHANGE_JSRI_TO_LRW(location); in jsri_2_lrw_jsr()
39 SET_JSR32_R26(location + 1); in jsri_2_lrw_jsr()
43 static inline void jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument
55 uint32_t *location; in apply_relocate_add() local
60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
67 /* We add the value into the location given */ in apply_relocate_add()
68 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add()
72 *location in apply_relocate_add()
[all...]

Completed in 10 milliseconds

12345678910>>...22