Home
last modified time | relevance | path

Searched refs:loongarch_instruction (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/arch/loongarch/kernel/
Dalternative.c34 union loongarch_instruction *_buf = buf; \
47 static void __init_or_module add_nops(union loongarch_instruction *insn, int count) in add_nops()
61 static void __init_or_module recompute_jump(union loongarch_instruction *buf, in recompute_jump()
62 union loongarch_instruction *dest, union loongarch_instruction *src, in recompute_jump()
126 static int __init_or_module copy_alt_insns(union loongarch_instruction *buf, in copy_alt_insns()
127 union loongarch_instruction *dest, union loongarch_instruction *src, int nr) in copy_alt_insns()
157 static void *__init_or_module text_poke_early(union loongarch_instruction *insn, in text_poke_early()
158 union loongarch_instruction *buf, unsigned int nr) in text_poke_early()
187 union loongarch_instruction *instr, *replacement; in apply_alternatives()
188 union loongarch_instruction insnbuf[MAX_PATCH_SIZE]; in apply_alternatives()
Dinst.c13 void simu_pc(struct pt_regs *regs, union loongarch_instruction insn) in simu_pc()
46 void simu_branch(struct pt_regs *regs, union loongarch_instruction insn) in simu_branch()
136 bool insns_not_supported(union loongarch_instruction insn) in insns_not_supported()
162 bool insns_need_simulation(union loongarch_instruction insn) in insns_need_simulation()
173 void arch_simulate_insn(union loongarch_instruction insn, struct pt_regs *regs) in arch_simulate_insn()
229 union loongarch_instruction insn; in larch_insn_gen_b()
244 union loongarch_instruction insn; in larch_insn_gen_bl()
258 union loongarch_instruction insn; in larch_insn_gen_break()
272 union loongarch_instruction insn; in larch_insn_gen_or()
286 union loongarch_instruction insn; in larch_insn_gen_lu12iw()
[all …]
Dftrace.c30 union loongarch_instruction *insn; in ftrace_get_parent_ra_addr()
32 insn = (union loongarch_instruction *)insn_addr; in ftrace_get_parent_ra_addr()
Dunwind_prologue.c117 union loongarch_instruction *ip, *ip_end; in unwind_by_prologue()
140 ip = (union loongarch_instruction *)(pc - offset); in unwind_by_prologue()
141 ip_end = (union loongarch_instruction *)pc; in unwind_by_prologue()
Dmodule.c170 union loongarch_instruction *insn = (union loongarch_instruction *)location; in apply_r_larch_sop_imm_field()
283 union loongarch_instruction *insn = (union loongarch_instruction *)location; in apply_r_larch_b26()
315 union loongarch_instruction *insn = (union loongarch_instruction *)location; in apply_r_larch_pcala()
Duprobes.c14 union loongarch_instruction insn; in arch_uprobe_analyze_insn()
86 union loongarch_instruction insn; in arch_uprobe_skip_sstep()
Dkprobes.c29 union loongarch_instruction insn; in arch_prepare_kprobe()
158 union loongarch_instruction insn; in setup_singlestep()
Drelocate.c55 union loongarch_instruction *insn = (void *)p - p->offset; in relocate_absolute()
Dtraps.c588 union loongarch_instruction insn; in do_bce()
769 union loongarch_instruction *ip = (union loongarch_instruction *)pc; in do_watch()
Dunaligned.c256 union loongarch_instruction insn; in emulate_load_store_insn()
Dkgdb.c299 union loongarch_instruction *ip = (union loongarch_instruction *)pc; in get_step_address()
/Linux-v6.6/arch/loongarch/include/asm/
Dinst.h336 union loongarch_instruction { union
353 #define LOONGARCH_INSN_SIZE sizeof(union loongarch_instruction)
397 static inline bool is_break_ins(union loongarch_instruction *ip) in is_break_ins()
402 static inline bool is_pc_ins(union loongarch_instruction *ip) in is_pc_ins()
408 static inline bool is_branch_ins(union loongarch_instruction *ip) in is_branch_ins()
414 static inline bool is_ra_save_ins(union loongarch_instruction *ip) in is_ra_save_ins()
423 static inline bool is_stack_alloc_ins(union loongarch_instruction *ip) in is_stack_alloc_ins()
432 static inline bool is_self_loop_ins(union loongarch_instruction *ip, struct pt_regs *regs) in is_self_loop_ins()
470 void simu_pc(struct pt_regs *regs, union loongarch_instruction insn);
471 void simu_branch(struct pt_regs *regs, union loongarch_instruction insn);
[all …]
/Linux-v6.6/arch/loongarch/net/
Dbpf_jit.h20 union loongarch_instruction *image;
33 union loongarch_instruction *insn = &ctx->image[ctx->idx]; \
Dbpf_jit.c1083 union loongarch_instruction insn; in validate_code()
1183 ctx.image = (union loongarch_instruction *)image_ptr; in bpf_int_jit_compile()