| /linux/arch/x86/include/asm/ |
| H A D | insn.h | 68 struct insn { struct 69 struct insn_field prefixes; /* argument 73 struct insn_field rex_prefix; /* REX prefix */ argument 75 struct insn_field vex_prefix; /* VEX prefix */ argument 78 struct insn_field opcode; /* argument 83 struct insn_field modrm; argument 84 struct insn_field sib; argument 85 struct insn_field displacement; argument 97 insn_attr_t attr; argument 103 const insn_byte_t *kaddr; /* kernel address of insn to analyze */ argument [all …]
|
| /linux/tools/arch/x86/include/asm/ |
| H A D | insn.h | 68 struct insn { struct 69 struct insn_field prefixes; /* argument 73 struct insn_field rex_prefix; /* REX prefix */ argument 75 struct insn_field vex_prefix; /* VEX prefix */ argument 78 struct insn_field opcode; /* argument 83 struct insn_field modrm; argument 84 struct insn_field sib; argument 85 struct insn_field displacement; argument 97 insn_attr_t attr; argument 103 const insn_byte_t *kaddr; /* kernel address of insn to analyze */ argument [all …]
|
| /linux/arch/x86/lib/ |
| H A D | insn.c | 37 #define validate_next(t, insn, n) \ argument 40 #define __get_next(t, insn) \ argument 43 #define __peek_nbyte_next(t, insn, n) \ argument 46 #define get_next(t, insn) \ argument 49 #define peek_nbyte_next(t, insn, n) \ argument 52 #define peek_next(t, insn) peek_nbyte_next(t, insn, 0) argument 61 void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64) in insn_init() 85 static int __insn_get_emulate_prefix(struct insn *insn, in __insn_get_emulate_prefix() 104 static void insn_get_emulate_prefix(struct insn *insn) in insn_get_emulate_prefix() 124 int insn_get_prefixes(struct insn *insn) in insn_get_prefixes() [all …]
|
| /linux/tools/arch/x86/lib/ |
| H A D | insn.c | 37 #define validate_next(t, insn, n) \ argument 40 #define __get_next(t, insn) \ argument 43 #define __peek_nbyte_next(t, insn, n) \ argument 46 #define get_next(t, insn) \ argument 49 #define peek_nbyte_next(t, insn, n) \ argument 52 #define peek_next(t, insn) peek_nbyte_next(t, insn, 0) argument 61 void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64) in insn_init() 85 static int __insn_get_emulate_prefix(struct insn *insn, in __insn_get_emulate_prefix() 104 static void insn_get_emulate_prefix(struct insn *insn) in insn_get_emulate_prefix() 124 int insn_get_prefixes(struct insn *insn) in insn_get_prefixes() [all …]
|
| /linux/arch/arm/probes/kprobes/ |
| H A D | actions-thumb.c | 24 t32_simulate_table_branch(probes_opcode_t insn, in t32_simulate_table_branch() 44 t32_simulate_mrs(probes_opcode_t insn, in t32_simulate_mrs() 53 t32_simulate_cond_branch(probes_opcode_t insn, in t32_simulate_cond_branch() 68 t32_decode_cond_branch(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_cond_branch() 78 t32_simulate_branch(probes_opcode_t insn, in t32_simulate_branch() 106 t32_simulate_ldr_literal(probes_opcode_t insn, in t32_simulate_ldr_literal() 144 t32_decode_ldmstm(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_ldmstm() 158 t32_emulate_ldrdstrd(probes_opcode_t insn, in t32_emulate_ldrdstrd() 185 t32_emulate_ldrstr(probes_opcode_t insn, in t32_emulate_ldrstr() 211 t32_emulate_rd8rn16rm0_rwflags(probes_opcode_t insn, in t32_emulate_rd8rn16rm0_rwflags() [all …]
|
| H A D | checkers-common.c | 13 enum probes_insn checker_stack_use_none(probes_opcode_t insn, in checker_stack_use_none() 21 enum probes_insn checker_stack_use_unknown(probes_opcode_t insn, in checker_stack_use_unknown() 30 enum probes_insn checker_stack_use_imm_0xx(probes_opcode_t insn, in checker_stack_use_imm_0xx() 43 static enum probes_insn checker_stack_use_t32strd(probes_opcode_t insn, in checker_stack_use_t32strd() 52 enum probes_insn checker_stack_use_imm_x0x(probes_opcode_t insn, in checker_stack_use_imm_x0x() 62 enum probes_insn checker_stack_use_imm_xxx(probes_opcode_t insn, in checker_stack_use_imm_xxx() 71 enum probes_insn checker_stack_use_stmdx(probes_opcode_t insn, in checker_stack_use_stmdx()
|
| H A D | actions-common.c | 18 static void __kprobes simulate_ldm1stm1(probes_opcode_t insn, in simulate_ldm1stm1() 60 static void __kprobes simulate_stm1_pc(probes_opcode_t insn, in simulate_stm1_pc() 71 static void __kprobes simulate_ldm1_pc(probes_opcode_t insn, in simulate_ldm1_pc() 80 emulate_generic_r0_12_noflags(probes_opcode_t insn, in emulate_generic_r0_12_noflags() 110 emulate_generic_r2_14_noflags(probes_opcode_t insn, in emulate_generic_r2_14_noflags() 118 emulate_ldm_r3_15(probes_opcode_t insn, in emulate_ldm_r3_15() 127 kprobe_decode_ldmstm(probes_opcode_t insn, struct arch_probes_insn *asi, in kprobe_decode_ldmstm()
|
| H A D | checkers-arm.c | 13 static enum probes_insn __kprobes arm_check_stack(probes_opcode_t insn, in arm_check_stack() 93 static enum probes_insn __kprobes arm_check_regs_nouse(probes_opcode_t insn, in arm_check_regs_nouse() 101 static enum probes_insn arm_check_regs_normal(probes_opcode_t insn, in arm_check_regs_normal() 117 static enum probes_insn arm_check_regs_ldmstm(probes_opcode_t insn, in arm_check_regs_ldmstm() 127 static enum probes_insn arm_check_regs_mov_ip_sp(probes_opcode_t insn, in arm_check_regs_mov_ip_sp() 148 static enum probes_insn arm_check_regs_ldrdstrd(probes_opcode_t insn, in arm_check_regs_ldrdstrd()
|
| H A D | actions-arm.c | 69 emulate_ldrdstrd(probes_opcode_t insn, in emulate_ldrdstrd() 98 emulate_ldr(probes_opcode_t insn, in emulate_ldr() 128 emulate_str(probes_opcode_t insn, in emulate_str() 155 emulate_rd12rn16rm0rs8_rwflags(probes_opcode_t insn, in emulate_rd12rn16rm0rs8_rwflags() 190 emulate_rd12rn16rm0_rwflags_nopc(probes_opcode_t insn, in emulate_rd12rn16rm0_rwflags_nopc() 217 emulate_rd16rn12rm0rs8_rwflags_nopc(probes_opcode_t insn, in emulate_rd16rn12rm0rs8_rwflags_nopc() 247 emulate_rd12rm0_noflags_nopc(probes_opcode_t insn, in emulate_rd12rm0_noflags_nopc() 267 emulate_rdlo12rdhi16rn0rm8_rwflags_nopc(probes_opcode_t insn, in emulate_rdlo12rdhi16rn0rm8_rwflags_nopc()
|
| /linux/arch/arm64/lib/ |
| H A D | insn.c | 89 u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn) in aarch64_insn_decode_immediate() 114 u32 insn, u64 imm) in aarch64_insn_encode_immediate() 148 u32 insn) in aarch64_insn_decode_register() 177 u32 insn, in aarch64_insn_encode_register() 226 u32 insn) in aarch64_insn_encode_ldst_size() 265 u32 insn; in aarch64_insn_gen_branch_imm() local 298 u32 insn; in aarch64_insn_gen_comp_branch_imm() local 337 u32 insn; in aarch64_insn_gen_cond_branch_imm() local 359 u32 insn; in aarch64_insn_gen_branch_reg() local 385 u32 insn; in aarch64_insn_gen_load_store_reg() local [all …]
|
| /linux/tools/objtool/ |
| H A D | check.c | 44 struct instruction *insn; in find_insn() local 55 struct instruction *insn) in next_insn_same_sec() argument 68 next_insn_same_func(struct objtool_file * file,struct instruction * insn) next_insn_same_func() argument 88 prev_insn_same_sec(struct objtool_file * file,struct instruction * insn) prev_insn_same_sec() argument 100 prev_insn_same_sym(struct objtool_file * file,struct instruction * insn) prev_insn_same_sym() argument 110 for_each_insn(file,insn) global() argument 117 sym_for_each_insn(file,sym,insn) global() argument 122 sym_for_each_insn_continue_reverse(file,sym,insn) global() argument 127 sec_for_each_insn_from(file,insn) global() argument 130 sec_for_each_insn_continue(file,insn) global() argument 134 insn_jump_table(struct instruction * insn) insn_jump_table() argument 143 insn_jump_table_size(struct instruction * insn) insn_jump_table_size() argument 152 is_jump_table_jump(struct instruction * insn) is_jump_table_jump() argument 164 is_sibling_call(struct instruction * insn) is_sibling_call() argument 235 struct instruction *insn; __dead_end_function() local 415 struct instruction *insn; decode_instructions() local 668 struct instruction *insn; create_static_call_sections() local 758 struct instruction *insn; create_retpoline_sites_sections() local 796 struct instruction *insn; create_return_sites_sections() local 834 struct instruction *insn; create_ibt_endbr_seal_sections() local 963 struct instruction *insn; create_mcount_loc_sections() local 1013 struct instruction *insn; create_direct_call_sections() local 1322 insn_reloc(struct objtool_file * file,struct instruction * insn) insn_reloc() argument 1339 remove_insn_ops(struct instruction * insn) remove_insn_ops() argument 1351 annotate_call_site(struct objtool_file * file,struct instruction * insn,bool sibling) annotate_call_site() argument 1430 add_call_dest(struct objtool_file * file,struct instruction * insn,struct symbol * dest,bool sibling) add_call_dest() argument 1449 add_retpoline_call(struct objtool_file * file,struct instruction * insn) add_retpoline_call() argument 1483 add_return_call(struct objtool_file * file,struct instruction * insn,bool add) add_return_call() argument 1497 is_first_func_insn(struct objtool_file * file,struct instruction * insn) is_first_func_insn() argument 1524 struct instruction *insn; add_jump_destinations() local 1665 struct instruction *insn; add_call_destinations() local 1730 struct instruction *last_new_insn = NULL, *insn, *nop = NULL; handle_group_alt() local 2019 add_jump_table(struct objtool_file * file,struct instruction * insn) add_jump_table() argument 2094 find_jump_table(struct objtool_file * file,struct symbol * func,struct instruction * insn) find_jump_table() argument 2145 struct instruction *insn, *last = NULL; mark_func_jump_tables() local 2174 struct instruction *insn; add_func_jump_tables() local 2225 struct instruction *insn; read_unwind_hints() local 2316 read_annotate(struct objtool_file * file,int (* func)(struct objtool_file * file,int type,struct instruction * insn)) read_annotate() argument 2319 struct instruction *insn; read_annotate() local 2362 __annotate_early(struct objtool_file * file,int type,struct instruction * insn) __annotate_early() argument 2385 __annotate_ifc(struct objtool_file * file,int type,struct instruction * insn) __annotate_ifc() argument 2415 __annotate_late(struct objtool_file * file,int type,struct instruction * insn) __annotate_late() argument 2555 struct instruction *insn; mark_holes() local 2687 is_special_call(struct instruction * insn) is_special_call() argument 2702 has_modified_stack_frame(struct instruction * insn,struct insn_state * state) has_modified_stack_frame() argument 2747 update_cfi_state_regs(struct instruction * insn,struct cfi_state * cfi,struct stack_op * op) update_cfi_state_regs() argument 2840 update_cfi_state(struct instruction * insn,struct instruction * next_insn,struct cfi_state * cfi,struct stack_op * op) update_cfi_state() argument 3290 propagate_alt_cfi(struct objtool_file * file,struct instruction * insn) propagate_alt_cfi() argument 3321 handle_insn_ops(struct instruction * insn,struct instruction * next_insn,struct insn_state * state) handle_insn_ops() argument 3366 insn_cfi_match(struct instruction * insn,struct cfi_state * cfi2) insn_cfi_match() argument 3426 call_dest_name(struct instruction * insn) call_dest_name() argument 3445 pv_call_dest(struct objtool_file * file,struct instruction * insn) pv_call_dest() argument 3473 noinstr_call_dest(struct objtool_file * file,struct instruction * insn,struct symbol * func) noinstr_call_dest() argument 3511 validate_call(struct objtool_file * file,struct instruction * insn,struct insn_state * state) validate_call() argument 3534 validate_sibling_call(struct objtool_file * file,struct instruction * insn,struct insn_state * state) validate_sibling_call() argument 3545 validate_return(struct symbol * func,struct instruction * insn,struct insn_state * state) validate_return() argument 3581 next_insn_to_validate(struct objtool_file * file,struct instruction * insn) next_insn_to_validate() argument 3613 skip_alt_group(struct instruction * insn) skip_alt_group() argument 3652 validate_insn(struct objtool_file * file,struct symbol * func,struct instruction * insn,struct insn_state * statep,struct instruction * prev_insn,struct instruction * next_insn,bool * dead_end) validate_insn() argument 3914 do_validate_branch(struct objtool_file * file,struct symbol * func,struct instruction * insn,struct insn_state * state) do_validate_branch() argument 3973 validate_branch(struct objtool_file * file,struct symbol * func,struct instruction * insn,struct insn_state state) validate_branch() argument 3985 validate_unwind_hint(struct objtool_file * file,struct instruction * insn,struct insn_state * state) validate_unwind_hint() argument 4003 struct instruction *insn; validate_unwind_hints() local 4029 validate_unret(struct objtool_file * file,struct instruction * insn) validate_unret() argument 4140 struct instruction *insn; validate_unrets() local 4155 struct instruction *insn; validate_retpoline() local 4217 is_kasan_insn(struct instruction * insn) is_kasan_insn() argument 4223 is_ubsan_insn(struct instruction * insn) is_ubsan_insn() argument 4230 ignore_unreachable_insn(struct objtool_file * file,struct instruction * insn) ignore_unreachable_insn() argument 4306 struct instruction *insn, *prev; create_prefix_symbol() local 4365 struct instruction *insn; validate_symbol() local 4461 mark_endbr_used(struct instruction * insn) mark_endbr_used() argument 4467 noendbr_range(struct objtool_file * file,struct instruction * insn) noendbr_range() argument 4485 __validate_ibt_insn(struct objtool_file * file,struct instruction * insn,struct instruction * dest) __validate_ibt_insn() argument 4530 validate_ibt_insn(struct objtool_file * file,struct instruction * insn) validate_ibt_insn() argument 4624 struct instruction *insn; validate_ibt() local 4676 struct instruction *insn, *next_insn; validate_sls() local 4709 struct instruction *insn, *prev_insn; validate_reachable_instructions() local 4791 struct instruction *insn; free_insns() local 4807 objtool_disas_insn(struct instruction * insn) objtool_disas_insn() argument [all...] |
| /linux/arch/loongarch/kernel/ |
| H A D | inst.c | 15 void simu_pc(struct pt_regs *regs, union loongarch_instruction insn) in simu_pc() argument 48 void simu_branch(struct pt_regs *regs, union loongarch_instruction insn) in simu_branch() argument 138 insns_not_supported(union loongarch_instruction insn) insns_not_supported() argument 176 insns_need_simulation(union loongarch_instruction insn) insns_need_simulation() argument 187 arch_simulate_insn(union loongarch_instruction insn,struct pt_regs * regs) arch_simulate_insn() argument 207 larch_insn_write(void * addr,u32 insn) larch_insn_write() argument 222 larch_insn_patch_text(void * addr,u32 insn) larch_insn_patch_text() argument 306 union loongarch_instruction insn; larch_insn_gen_b() local 321 union loongarch_instruction insn; larch_insn_gen_bl() local 335 union loongarch_instruction insn; larch_insn_gen_break() local 349 union loongarch_instruction insn; larch_insn_gen_or() local 363 union loongarch_instruction insn; larch_insn_gen_lu12iw() local 377 union loongarch_instruction insn; larch_insn_gen_lu32id() local 391 union loongarch_instruction insn; larch_insn_gen_lu52id() local 405 union loongarch_instruction insn; larch_insn_gen_beq() local 419 union loongarch_instruction insn; larch_insn_gen_bne() local 433 union loongarch_instruction insn; larch_insn_gen_jirl() local [all...] |
| /linux/arch/s390/tools/ |
| H A D | gen_opcode_table.c | 22 struct insn { struct 23 struct insn_type *type; argument 44 struct insn *insn; member 154 struct insn insn; in read_instructions() local 206 struct insn *insn; in print_long_insn() local 231 static void print_opcode(struct insn *insn, int nr) in print_opcode() 246 static void add_to_group(struct gen_opcode *desc, struct insn *insn, int offset) in add_to_group() 274 struct insn *insn; in print_opcode_table() local
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | disasm.c | 17 __func_get_name(const struct bpf_insn_cbs * cbs,const struct bpf_insn * insn,char * buff,size_t len) __func_get_name() argument 44 __func_imm_name(const struct bpf_insn_cbs * cbs,const struct bpf_insn * insn,u64 full_imm,char * buff,size_t len) __func_imm_name() argument 140 print_bpf_end_insn(bpf_insn_print_t verbose,void * private_data,const struct bpf_insn * insn) print_bpf_end_insn() argument 150 print_bpf_bswap_insn(bpf_insn_print_t verbose,void * private_data,const struct bpf_insn * insn) print_bpf_bswap_insn() argument 157 is_sdiv_smod(const struct bpf_insn * insn) is_sdiv_smod() argument 163 is_movsx(const struct bpf_insn * insn) is_movsx() argument 169 is_addr_space_cast(const struct bpf_insn * insn) is_addr_space_cast() argument 181 is_mov_percpu_addr(const struct bpf_insn * insn) is_mov_percpu_addr() argument 187 print_bpf_insn(const struct bpf_insn_cbs * cbs,const struct bpf_insn * insn,bool allow_ptr_leaks) print_bpf_insn() argument [all...] |
| /linux/kernel/bpf/ |
| H A D | disasm.c | 20 const struct bpf_insn *insn, in __func_get_name() argument 47 __func_imm_name(const struct bpf_insn_cbs * cbs,const struct bpf_insn * insn,u64 full_imm,char * buff,size_t len) __func_imm_name() argument 143 print_bpf_end_insn(bpf_insn_print_t verbose,void * private_data,const struct bpf_insn * insn) print_bpf_end_insn() argument 153 print_bpf_bswap_insn(bpf_insn_print_t verbose,void * private_data,const struct bpf_insn * insn) print_bpf_bswap_insn() argument 160 is_sdiv_smod(const struct bpf_insn * insn) is_sdiv_smod() argument 166 is_movsx(const struct bpf_insn * insn) is_movsx() argument 172 is_addr_space_cast(const struct bpf_insn * insn) is_addr_space_cast() argument 184 is_mov_percpu_addr(const struct bpf_insn * insn) is_mov_percpu_addr() argument 190 print_bpf_insn(const struct bpf_insn_cbs * cbs,const struct bpf_insn * insn,bool allow_ptr_leaks) print_bpf_insn() argument [all...] |
| H A D | fixups.c | 21 return BPF_CLASS(insn->code) == BPF_STX && in is_cmpxchg_insn() argument 30 is_addr_space_cast32(struct bpf_prog * prog,const struct bpf_insn * insn) is_addr_space_cast32() argument 50 insn_def_regno(const struct bpf_insn * insn) insn_def_regno() argument 69 bpf_is_reg64(struct bpf_prog * prog,struct bpf_insn * insn) bpf_is_reg64() argument 110 bpf_insn_def32(struct bpf_prog * prog,struct bpf_insn * insn) bpf_insn_def32() argument 134 bpf_jit_find_kfunc_model(const struct bpf_prog * prog,const struct bpf_insn * insn) bpf_jit_find_kfunc_model() argument 190 add_kfunc_in_insns(struct bpf_verifier_env * env,struct bpf_insn * insn,int cnt) add_kfunc_in_insns() argument 206 get_callee_stack_depth(struct bpf_verifier_env * env,const struct bpf_insn * insn,int idx) get_callee_stack_depth() argument 225 struct bpf_insn *insn = new_prog->insnsi; adjust_insn_aux_data() local 364 struct bpf_insn *insn = prog->insnsi; adjust_jmp_off() local 593 struct bpf_insn *insn = env->prog->insnsi; bpf_opt_hard_wire_dead_code_branches() local 641 struct bpf_insn *insn = env->prog->insnsi; bpf_opt_remove_nops() local 684 struct bpf_insn insn; bpf_opt_subreg_zext_lo32_rnd_hi32() local 774 struct bpf_insn *insn; bpf_convert_ctx_accesses() local 1096 struct bpf_insn *insn; jit_subprogs() local 1363 struct bpf_insn *insn; bpf_jit_subprogs() local 1434 struct bpf_insn *insn = prog->insnsi; bpf_fixup_call_args() local 1538 struct bpf_insn *insn = prog->insnsi; bpf_do_misc_fixups() local 2595 is_bpf_loop_call(struct bpf_insn * insn) is_bpf_loop_call() argument 2615 struct bpf_insn *insn = env->prog->insnsi; bpf_optimize_bpf_loop() local 2663 struct bpf_insn *insn = env->prog->insnsi; bpf_remove_fastcall_spills_fills() local [all...] |
| /linux/arch/sparc/kernel/ |
| H A D | unaligned_32.c | 34 static inline enum direction decode_direction(unsigned int insn) in decode_direction() 49 static inline int decode_access_size(unsigned int insn) in decode_access_size() 67 static inline int decode_signedness(unsigned int insn) in decode_signedness() 137 unsigned int insn) in compute_effective_address() 153 unsigned int insn) in safe_compute_effective_address() 205 static inline int floating_point_load_or_store_p(unsigned int insn) in floating_point_load_or_store_p() 210 static inline int ok_for_kernel(unsigned int insn) in ok_for_kernel() 215 static void kernel_mna_trap_fault(struct pt_regs *regs, unsigned int insn) in kernel_mna_trap_fault() 240 asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn) in kernel_unaligned_trap() 277 asmlinkage void user_unaligned_trap(struct pt_regs *regs, unsigned int insn) in user_unaligned_trap()
|
| H A D | unaligned_64.c | 42 static inline enum direction decode_direction(unsigned int insn) in decode_direction() 59 static inline int decode_access_size(struct pt_regs *regs, unsigned int insn) in decode_access_size() 87 static inline int decode_asi(unsigned int insn, struct pt_regs *regs) in decode_asi() 99 static inline int decode_signedness(unsigned int insn) in decode_signedness() 170 unsigned int insn, unsigned int rd) in compute_effective_address() 249 static inline int floating_point_load_or_store_p(unsigned int insn) in floating_point_load_or_store_p() 254 static inline int ok_for_kernel(unsigned int insn) in ok_for_kernel() 262 unsigned int insn = current_thread_info()->kern_una_insn; in kernel_mna_trap_fault() local 306 asmlinkage void kernel_unaligned_trap(struct pt_regs *regs, unsigned int insn) in kernel_unaligned_trap() 396 int handle_popc(u32 insn, struct pt_regs *regs) in handle_popc() [all …]
|
| /linux/arch/powerpc/xmon/ |
| H A D | ppc-opc.c | 964 insert_arx (unsigned long insn, in insert_arx() 979 extract_arx (unsigned long insn, in extract_arx() 987 insert_ary (unsigned long insn, in insert_ary() 1002 extract_ary (unsigned long insn, in extract_ary() 1010 insert_rx (unsigned long insn, in insert_rx() 1027 extract_rx (unsigned long insn, in extract_rx() 1039 insert_ry (unsigned long insn, in insert_ry() 1056 extract_ry (unsigned long insn, in extract_ry() 1074 insert_bat (unsigned long insn, in insert_bat() 1083 extract_bat (unsigned long insn, in extract_bat() [all …]
|
| /linux/arch/arm/probes/ |
| H A D | decode-arm.c | 21 #define branch_displacement(insn) sign_extend(((insn) & 0xffffff) << 2, 25) argument 53 void __kprobes simulate_bbl(probes_opcode_t insn, in simulate_bbl() 65 void __kprobes simulate_blx1(probes_opcode_t insn, in simulate_blx1() 76 void __kprobes simulate_blx2bx(probes_opcode_t insn, in simulate_blx2bx() 91 void __kprobes simulate_mrs(probes_opcode_t insn, in simulate_mrs() 99 void __kprobes simulate_mov_ipsp(probes_opcode_t insn, in simulate_mov_ipsp() 700 static void __kprobes arm_singlestep(probes_opcode_t insn, in arm_singlestep() 720 arm_probes_decode_insn(probes_opcode_t insn, struct arch_probes_insn *asi, in arm_probes_decode_insn()
|
| /linux/arch/xtensa/include/asm/ |
| H A D | bitops.h | 101 #define BIT_OP(op, insn, inv) \ argument 120 #define TEST_AND_BIT_OP(op, insn, inv) \ argument 144 #define BIT_OP(op, insn, inv) \ argument 164 #define TEST_AND_BIT_OP(op, insn, inv) \ argument 189 #define BIT_OP(op, insn, inv) argument 190 #define TEST_AND_BIT_OP(op, insn, inv) argument 196 #define BIT_OPS(op, insn, inv) \ argument
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | fastops_test.c | 20 #define guest_execute_fastop_1(FEP, insn, __val, __flags) \ argument 28 #define guest_test_fastop_1(insn, type_t, __val) \ argument 44 #define guest_execute_fastop_2(FEP, insn, __input, __output, __flags) \ argument 52 #define guest_test_fastop_2(insn, type_t, __val1, __val2) \ argument 69 #define guest_execute_fastop_cl(FEP, insn, __shift, __output, __flags) \ argument 77 #define guest_test_fastop_cl(insn, type_t, __val1, __val2) \ argument 95 #define guest_execute_fastop_div(__KVM_ASM_SAFE, insn, __a, __d, __rm, __flags) \ argument 108 #define guest_test_fastop_div(insn, type_t, __val1, __val2) \ argument
|
| /linux/arch/riscv/include/asm/ |
| H A D | asm-extable.h | 34 #define __ASM_EXTABLE_RAW(insn, fixup, type, data) \ argument 43 #define _ASM_EXTABLE(insn, fixup) \ argument 59 #define _ASM_EXTABLE_UACCESS_ERR_ZERO(insn, fixup, err, zero) \ argument 68 #define _ASM_EXTABLE_UACCESS_ERR(insn, fixup, err) \ argument 71 #define _ASM_EXTABLE_LOAD_UNALIGNED_ZEROPAD(insn, fixup, data, addr) \ argument 83 #define _ASM_EXTABLE_UACCESS_ERR(insn, fixup, err) argument
|
| /linux/arch/x86/kernel/ |
| H A D | uprobes.c | 44 #define OPCODE1(insn) ((insn)->opcode.bytes[0]) argument 45 #define OPCODE2(insn) ((insn)->opcode.bytes[1]) argument 46 #define OPCODE3(insn) ((insn) argument 47 MODRM_REG(insn) global() argument 259 is_prefix_bad(struct insn * insn) is_prefix_bad() argument 279 uprobe_init_insn(struct arch_uprobe * auprobe,struct insn * insn) uprobe_init_insn() argument 345 static uprobe_opcode_t insn = UPROBE_SWBP_INSN; arch_uretprobe_trampoline() local 459 riprel_analyze(struct arch_uprobe * auprobe,struct insn * insn) riprel_analyze() argument 635 is_opt_insns(const uprobe_opcode_t * insn) is_opt_insns() argument 641 is_swbp_opt_insns(uprobe_opcode_t * insn) is_swbp_opt_insns() argument 936 int3_update_optimize(struct arch_uprobe * auprobe,struct vm_area_struct * vma,unsigned long vaddr,uprobe_opcode_t * insn) int3_update_optimize() argument 999 int3_update_unoptimize(struct arch_uprobe * auprobe,struct vm_area_struct * vma,unsigned long vaddr,uprobe_opcode_t * insn) int3_update_unoptimize() argument 1070 u8 insn[OPT_INSN_SIZE], *call = &insn[LEA_INSN_SIZE]; swbp_optimize() local 1105 __is_optimized(struct mm_struct * mm,uprobe_opcode_t * insn,unsigned long vaddr) __is_optimized() argument 1119 uprobe_opcode_t insn[OPT_INSN_SIZE]; is_optimized() local 1194 uprobe_opcode_t insn[OPT_INSN_SIZE]; arch_uprobe_optimize() local 1221 is_optimizable_nop10(struct insn * insn) is_optimizable_nop10() argument 1237 can_optimize(struct insn * insn,unsigned long vaddr) can_optimize() argument 1252 riprel_analyze(struct arch_uprobe * auprobe,struct insn * insn) riprel_analyze() argument 1261 can_optimize(struct insn * insn,unsigned long vaddr) can_optimize() argument 1458 branch_clear_offset(struct arch_uprobe * auprobe,struct insn * insn) branch_clear_offset() argument 1488 branch_setup_xol_ops(struct arch_uprobe * auprobe,struct insn * insn) branch_setup_xol_ops() argument 1539 push_setup_xol_ops(struct arch_uprobe * auprobe,struct insn * insn) push_setup_xol_ops() argument 1630 struct insn insn; arch_uprobe_analyze_insn() local [all...] |
| /linux/arch/s390/kernel/ |
| H A D | jump_label.c | 14 struct insn { struct 19 static void jump_label_make_nop(struct jump_entry *entry, struct insn *insn) in jump_label_make_nop() 26 static void jump_label_make_branch(struct jump_entry *entry, struct insn *insn) in jump_label_make_branch()
|