| /Linux-v4.19/arch/x86/tools/ |
| D | insn_sanity.c | 111 for (i = 0; i < MAX_INSN_SIZE; i++) in dump_stream() 149 for (i = 0; i < MAX_INSN_SIZE; i++) { in read_next_insn() 166 for (i = 0; i < MAX_INSN_SIZE - 1; i += 2) in generate_insn() 169 while (i < MAX_INSN_SIZE) in generate_insn() 242 unsigned char insn_buf[MAX_INSN_SIZE * 2]; in main() 247 memset(insn_buf + MAX_INSN_SIZE, INSN_NOP, MAX_INSN_SIZE); in main() 261 insn.kaddr + MAX_INSN_SIZE < insn.next_byte) { in main()
|
| /Linux-v4.19/arch/mips/include/asm/ |
| D | kprobes.h | 42 #define MAX_INSN_SIZE 2 macro 49 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
|
| /Linux-v4.19/arch/sh/include/asm/ |
| D | kprobes.h | 16 #define MAX_INSN_SIZE 16 macro 34 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
| /Linux-v4.19/arch/sparc/include/asm/ |
| D | kprobes.h | 16 #define MAX_INSN_SIZE 2 macro 32 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
| /Linux-v4.19/tools/perf/arch/x86/tests/ |
| D | insn-x86.c | 12 u8 data[MAX_INSN_SIZE]; 100 insn_init(&insn, dat->data, MAX_INSN_SIZE, x86_64); in test_data_item() 117 if (intel_pt_get_insn(dat->data, MAX_INSN_SIZE, x86_64, &intel_pt_insn)) { in test_data_item()
|
| /Linux-v4.19/arch/x86/kernel/kprobes/ |
| D | core.c | 259 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) in __recover_probed_insn() 291 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_probe() 310 kernel_insn_init(&insn, (void *)__addr, MAX_INSN_SIZE); in can_probe() 353 kprobe_opcode_t buf[MAX_INSN_SIZE]; in __copy_instruction() 361 if (probe_kernel_read(dest, (void *)recovered_insn, MAX_INSN_SIZE)) in __copy_instruction() 364 kernel_insn_init(insn, dest, MAX_INSN_SIZE); in __copy_instruction() 412 MAX_INSN_SIZE - len >= RELATIVEJUMP_SIZE) { in prepare_boost() 451 kprobe_opcode_t buf[MAX_INSN_SIZE]; in arch_copy_kprobe()
|
| D | opt.c | 73 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) in __recover_optprobed_insn() 266 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_optimize() 299 kernel_insn_init(&insn, (void *)recovered_insn, MAX_INSN_SIZE); in can_optimize()
|
| /Linux-v4.19/arch/arm64/include/asm/ |
| D | kprobes.h | 27 #define MAX_INSN_SIZE 1 macro
|
| /Linux-v4.19/arch/arc/include/asm/ |
| D | kprobes.h | 21 #define MAX_INSN_SIZE 8 macro
|
| /Linux-v4.19/arch/arm/probes/kprobes/ |
| D | core.c | 57 kprobe_opcode_t tmp_insn[MAX_INSN_SIZE]; in arch_prepare_kprobe() 101 for (is = 0; is < MAX_INSN_SIZE; ++is) in arch_prepare_kprobe() 104 sizeof(p->ainsn.insn[0]) * MAX_INSN_SIZE); in arch_prepare_kprobe()
|
| /Linux-v4.19/arch/s390/include/asm/ |
| D | kprobes.h | 44 #define MAX_INSN_SIZE 0x0003 macro
|
| /Linux-v4.19/arch/arm/include/asm/ |
| D | kprobes.h | 27 #define MAX_INSN_SIZE 2 macro
|
| /Linux-v4.19/arch/powerpc/include/asm/ |
| D | kprobes.h | 59 #define MAX_INSN_SIZE 1 macro
|
| /Linux-v4.19/arch/ia64/include/asm/ |
| D | kprobes.h | 38 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
|
| /Linux-v4.19/arch/x86/include/asm/ |
| D | kprobes.h | 59 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
|
| D | insn.h | 72 #define MAX_INSN_SIZE 15 macro
|
| /Linux-v4.19/arch/x86/events/intel/ |
| D | lbr.c | 828 u8 buf[MAX_INSN_SIZE]; in branch_type() 854 MAX_INSN_SIZE); in branch_type() 855 bytes_read = MAX_INSN_SIZE - bytes_left; in branch_type() 876 bytes_read = MAX_INSN_SIZE; in branch_type()
|
| /Linux-v4.19/arch/x86/kernel/ |
| D | umip.c | 320 unsigned char buf[MAX_INSN_SIZE]; in fixup_umip_exception()
|
| /Linux-v4.19/tools/objtool/arch/x86/include/asm/ |
| D | insn.h | 72 #define MAX_INSN_SIZE 15 macro
|
| /Linux-v4.19/tools/perf/util/intel-pt-decoder/ |
| D | insn.h | 72 #define MAX_INSN_SIZE 15 macro
|
| D | intel-pt-insn-decoder.c | 31 #if INTEL_PT_INSN_BUF_SZ < MAX_INSN_SIZE || INTEL_PT_INSN_BUF_SZ > MAX_INSN
|
| D | insn.c | 59 if (buf_len > MAX_INSN_SIZE) in insn_init() 60 buf_len = MAX_INSN_SIZE; in insn_init()
|
| /Linux-v4.19/tools/objtool/arch/x86/lib/ |
| D | insn.c | 59 if (buf_len > MAX_INSN_SIZE) in insn_init() 60 buf_len = MAX_INSN_SIZE; in insn_init()
|
| /Linux-v4.19/arch/x86/lib/ |
| D | insn.c | 59 if (buf_len > MAX_INSN_SIZE) in insn_init() 60 buf_len = MAX_INSN_SIZE; in insn_init()
|
| /Linux-v4.19/arch/powerpc/kernel/ |
| D | kprobes.c | 141 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|