Home
last modified time | relevance | path

Searched defs:instr (Results 1 – 25 of 160) sorted by relevance

1234567

/Linux-v6.1/arch/powerpc/lib/
Dcode-patching.c18 static int __patch_instruction(u32 *exec_addr, ppc_inst_t instr, u32 *patch_addr) in __patch_instruction()
39 int raw_patch_instruction(u32 *addr, ppc_inst_t instr) in raw_patch_instruction()
150 static int __do_patch_instruction(u32 *addr, ppc_inst_t instr) in __do_patch_instruction()
175 static int do_patch_instruction(u32 *addr, ppc_inst_t instr) in do_patch_instruction()
196 static int do_patch_instruction(u32 *addr, ppc_inst_t instr) in do_patch_instruction()
205 int patch_instruction(u32 *addr, ppc_inst_t instr) in patch_instruction()
217 ppc_inst_t instr; in patch_branch() local
229 bool is_conditional_branch(ppc_inst_t instr) in is_conditional_branch()
247 int create_cond_branch(ppc_inst_t *instr, const u32 *addr, in create_cond_branch()
266 int instr_is_relative_branch(ppc_inst_t instr) in instr_is_relative_branch()
[all …]
Dtest-code-patching.c11 static int __init instr_is_branch_to_addr(const u32 *instr, unsigned long addr) in instr_is_branch_to_addr()
33 ppc_inst_t instr; in test_branch_iform() local
115 ppc_inst_t instr; in test_create_function_call() local
129 ppc_inst_t instr; in test_branch_bform() local
207 ppc_inst_t instr; in test_translate_branch() local
Dsstep.c83 static nokprobe_inline int branch_taken(unsigned int instr, in branch_taken()
123 static nokprobe_inline unsigned long dform_ea(unsigned int instr, in dform_ea()
141 static nokprobe_inline unsigned long dsform_ea(unsigned int instr, in dsform_ea()
158 static nokprobe_inline unsigned long dqform_ea(unsigned int instr, in dqform_ea()
176 static nokprobe_inline unsigned long xform_ea(unsigned int instr, in xform_ea()
195 static nokprobe_inline unsigned long mlsd_8lsd_ea(unsigned int instr, in mlsd_8lsd_ea()
1346 ppc_inst_t instr) in analyse_instr()
3570 int emulate_step(struct pt_regs *regs, ppc_inst_t instr) in emulate_step()
Dtest_emulate_step.c792 ppc_inst_t instr; in test_plxvp_pstxvp() local
906 ppc_inst_t instr; member
1600 ppc_inst_t instr, in emulate_compute_instr()
1627 ppc_inst_t instr) in execute_compute_instr()
1658 ppc_inst_t instr; in run_tests_compute() local
/Linux-v6.1/arch/powerpc/include/asm/
Dprobes.h17 #define IS_TW(instr) (((instr) & 0xfc0007fe) == 0x7c000008) argument
18 #define IS_TD(instr) (((instr) & 0xfc0007fe) == 0x7c000088) argument
19 #define IS_TDI(instr) (((instr) & 0xfc000000) == 0x08000000) argument
20 #define IS_TWI(instr) (((instr) & 0xfc000000) == 0x0c000000) argument
23 #define is_trap(instr) (IS_TW(instr) || IS_TD(instr) || \ argument
26 #define is_trap(instr) (IS_TW(instr) || IS_TWI(instr)) argument
Dcode-patching.h54 static inline int create_branch(ppc_inst_t *instr, const u32 *addr, in create_branch()
85 static inline int patch_instruction_site(s32 *site, ppc_inst_t instr) in patch_instruction_site()
106 static inline unsigned int branch_opcode(ppc_inst_t instr) in branch_opcode()
111 static inline int instr_is_branch_iform(ppc_inst_t instr) in instr_is_branch_iform()
116 static inline int instr_is_branch_bform(ppc_inst_t instr) in instr_is_branch_bform()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.c30 u16 br_get_offset(u64 instr) in br_get_offset()
41 void br_set_offset(u64 *instr, u16 offset) in br_set_offset()
52 void br_add_offset(u64 *instr, u16 offset) in br_add_offset()
60 static bool immed_can_modify(u64 instr) in immed_can_modify()
71 u16 immed_get_value(u64 instr) in immed_get_value()
85 void immed_set_value(u64 *instr, u16 immed) in immed_set_value()
102 void immed_add_value(u64 *instr, u16 offset) in immed_add_value()
/Linux-v6.1/arch/arm/include/asm/
Ddomain.h120 #define TUSER(instr) TUSERCOND(instr, ) argument
121 #define TUSERCOND(instr, cond) #instr "t" #cond argument
123 #define TUSER(instr) TUSERCOND(instr, ) argument
124 #define TUSERCOND(instr, cond) #instr #cond argument
134 #define TUSER(instr) instr ## t argument
136 #define TUSER(instr) instr argument
Dunified.h33 #define W(instr) instr.w argument
/Linux-v6.1/arch/arm64/kernel/
Dcompat_alignment.c54 do_alignment_finish_ldst(unsigned long addr, u32 instr, struct pt_regs *regs, in do_alignment_finish_ldst()
68 do_alignment_ldrdstrd(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldrdstrd()
115 do_alignment_ldmstm(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldmstm()
236 u32 instr = *pinstr; in do_alignment_t32_to_handler() local
286 __le32 instr = 0; in alignment_get_arm() local
299 __le16 instr = 0; in alignment_get_thumb() local
316 u32 instr = 0; in do_compat_alignment_fixup() local
Darmv8_deprecated.c366 static int swp_handler(struct pt_regs *regs, u32 instr) in swp_handler()
455 static int cp15barrier_handler(struct pt_regs *regs, u32 instr) in cp15barrier_handler()
575 static int a32_setend_handler(struct pt_regs *regs, u32 instr) in a32_setend_handler()
582 static int t16_setend_handler(struct pt_regs *regs, u32 instr) in t16_setend_handler()
/Linux-v6.1/arch/arm/mm/
Dalignment.c327 do_alignment_finish_ldst(unsigned long addr, u32 instr, struct pt_regs *regs, union offset_union of… in do_alignment_finish_ldst()
340 do_alignment_ldrhstrh(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldrhstrh()
389 do_alignment_ldrdstrd(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldrdstrd()
451 do_alignment_ldrstr(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldrstr()
500 do_alignment_ldmstm(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldmstm()
721 u32 instr = *pinstr; in do_alignment_t32_to_handler() local
771 u32 instr = 0; in alignment_get_arm() local
786 u16 instr = 0; in alignment_get_thumb() local
806 u32 instr = 0; in do_alignment() local
/Linux-v6.1/drivers/watchdog/
Dwdat_wdt.c65 const struct wdat_instruction *instr, u32 *value) in wdat_wdt_read()
90 const struct wdat_instruction *instr, u32 value) in wdat_wdt_write()
117 struct wdat_instruction *instr; in wdat_wdt_run_action() local
376 struct wdat_instruction *instr; in wdat_wdt_probe() local
/Linux-v6.1/arch/powerpc/kernel/
Dhw_breakpoint_constraints.c83 bool wp_check_constraints(struct pt_regs *regs, ppc_inst_t instr, in wp_check_constraints()
130 void wp_get_instr_detail(struct pt_regs *regs, ppc_inst_t *instr, in wp_get_instr_detail()
Dalign.c118 unsigned int nb, flags, instr; in emulate_spe() local
303 ppc_inst_t instr; in fix_alignment() local
/Linux-v6.1/arch/microblaze/kernel/
Dunwind.c63 static inline long get_frame_size(unsigned long instr) in get_frame_size()
87 unsigned long instr; in find_frame_creation() local
/Linux-v6.1/lib/xz/
Dxz_dec_bcj.c163 uint32_t instr; in bcj_powerpc() local
217 uint64_t instr; in bcj_ia64() local
319 uint32_t instr; in bcj_sparc() local
/Linux-v6.1/arch/arm/kernel/
Dkgdb.c142 static int kgdb_brk_fn(struct pt_regs *regs, unsigned int instr) in kgdb_brk_fn()
149 static int kgdb_compiled_brk_fn(struct pt_regs *regs, unsigned int instr) in kgdb_compiled_brk_fn()
Dtraps.c432 int call_undef_hook(struct pt_regs *regs, unsigned int instr) in call_undef_hook()
450 unsigned int instr; in do_undefinstr() local
698 static int get_tp_trap(struct pt_regs *regs, unsigned int instr) in get_tp_trap()
731 baddataabort(int code, unsigned long instr, struct pt_regs *regs) in baddataabort()
/Linux-v6.1/arch/powerpc/net/
Dbpf_jit.h22 #define PLANT_INSTR(d, idx, instr) \ argument
24 #define EMIT(instr) PLANT_INSTR(image, ctx->idx, instr) argument
/Linux-v6.1/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y1648 struct instruction *instr; in format_1_instr() local
1725 struct instruction *instr; in format_2_instr() local
1786 struct instruction *instr; in format_3_instr() local
/Linux-v6.1/drivers/mtd/
Dinftlmount.c196 struct erase_info *instr = &inftl->instr; in find_boot_record() local
365 struct erase_info *instr = &inftl->instr; in INFTL_formatblock() local
/Linux-v6.1/arch/arm/mach-iop32x/
Dcp6.c27 static int cp6_trap(struct pt_regs *regs, unsigned int instr) in cp6_trap()
/Linux-v6.1/arch/powerpc/kvm/
Dbook3s_hv_tm_builtin.c22 u32 instr = vcpu->arch.emul_inst; in kvmhv_p9_tm_emulation_early() local
/Linux-v6.1/drivers/crypto/cavium/zip/
Dzip_device.c77 u32 zip_load_instr(union zip_inst_s *instr, in zip_load_instr()

1234567