| /Linux-v5.4/arch/x86/tools/ |
| D | insn_sanity.c | 98 for (i = 0; i < MAX_INSN_SIZE; i++) in dump_stream() 136 for (i = 0; i < MAX_INSN_SIZE; i++) { in read_next_insn() 153 for (i = 0; i < MAX_INSN_SIZE - 1; i += 2) in generate_insn() 156 while (i < MAX_INSN_SIZE) in generate_insn() 229 unsigned char insn_buff[MAX_INSN_SIZE * 2]; in main() 234 memset(insn_buff + MAX_INSN_SIZE, INSN_NOP, MAX_INSN_SIZE); in main() 248 insn.kaddr + MAX_INSN_SIZE < insn.next_byte) { in main()
|
| /Linux-v5.4/arch/sh/include/asm/ |
| D | kprobes.h | 16 #define MAX_INSN_SIZE 16 macro 34 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
| /Linux-v5.4/arch/sparc/include/asm/ |
| D | kprobes.h | 16 #define MAX_INSN_SIZE 2 macro 32 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | kprobes.h | 30 #define MAX_INSN_SIZE 2 macro 37 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
|
| /Linux-v5.4/tools/perf/arch/x86/tests/ |
| D | insn-x86.c | 13 u8 data[MAX_INSN_SIZE]; 101 insn_init(&insn, dat->data, MAX_INSN_SIZE, x86_64); in test_data_item() 118 if (intel_pt_get_insn(dat->data, MAX_INSN_SIZE, x86_64, &intel_pt_insn)) { in test_data_item()
|
| /Linux-v5.4/arch/x86/kernel/kprobes/ |
| D | core.c | 246 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) in __recover_probed_insn() 278 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_probe() 297 kernel_insn_init(&insn, (void *)__addr, MAX_INSN_SIZE); in can_probe() 340 kprobe_opcode_t buf[MAX_INSN_SIZE]; in __copy_instruction() 348 if (probe_kernel_read(dest, (void *)recovered_insn, MAX_INSN_SIZE)) in __copy_instruction() 351 kernel_insn_init(insn, dest, MAX_INSN_SIZE); in __copy_instruction() 399 MAX_INSN_SIZE - len >= RELATIVEJUMP_SIZE) { in prepare_boost() 449 kprobe_opcode_t buf[MAX_INSN_SIZE]; in arch_copy_kprobe()
|
| D | opt.c | 60 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) in __recover_optprobed_insn() 257 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_optimize() 290 kernel_insn_init(&insn, (void *)recovered_insn, MAX_INSN_SIZE); in can_optimize()
|
| /Linux-v5.4/arch/arm64/include/asm/ |
| D | kprobes.h | 19 #define MAX_INSN_SIZE 1 macro
|
| /Linux-v5.4/arch/parisc/include/asm/ |
| D | kprobes.h | 22 #define MAX_INSN_SIZE 1 macro
|
| /Linux-v5.4/arch/arc/include/asm/ |
| D | kprobes.h | 18 #define MAX_INSN_SIZE 8 macro
|
| /Linux-v5.4/arch/arm/probes/kprobes/ |
| D | core.c | 49 kprobe_opcode_t tmp_insn[MAX_INSN_SIZE]; in arch_prepare_kprobe() 93 for (is = 0; is < MAX_INSN_SIZE; ++is) in arch_prepare_kprobe() 96 sizeof(p->ainsn.insn[0]) * MAX_INSN_SIZE); in arch_prepare_kprobe()
|
| /Linux-v5.4/arch/s390/include/asm/ |
| D | kprobes.h | 44 #define MAX_INSN_SIZE 0x0003 macro
|
| /Linux-v5.4/arch/arm/include/asm/ |
| D | kprobes.h | 19 #define MAX_INSN_SIZE 2 macro
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | kprobes.h | 46 #define MAX_INSN_SIZE 1 macro
|
| /Linux-v5.4/arch/ia64/include/asm/ |
| D | kprobes.h | 25 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | kprobes.h | 46 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
|
| D | insn.h | 59 #define MAX_INSN_SIZE 15 macro
|
| /Linux-v5.4/arch/x86/events/intel/ |
| D | lbr.c | 839 u8 buf[MAX_INSN_SIZE]; in branch_type() 865 MAX_INSN_SIZE); in branch_type() 866 bytes_read = MAX_INSN_SIZE - bytes_left; in branch_type() 887 bytes_read = MAX_INSN_SIZE; in branch_type()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | umip.c | 324 unsigned char buf[MAX_INSN_SIZE]; in fixup_umip_exception()
|
| /Linux-v5.4/tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-insn-decoder.c | 22 #if INTEL_PT_INSN_BUF_SZ < MAX_INSN_SIZE || INTEL_PT_INSN_BUF_SZ > MAX_INSN
|
| /Linux-v5.4/tools/arch/x86/include/asm/ |
| D | insn.h | 59 #define MAX_INSN_SIZE 15 macro
|
| /Linux-v5.4/arch/x86/lib/ |
| D | insn.c | 46 if (buf_len > MAX_INSN_SIZE) in insn_init() 47 buf_len = MAX_INSN_SIZE; in insn_init()
|
| /Linux-v5.4/tools/arch/x86/lib/ |
| D | insn.c | 46 if (buf_len > MAX_INSN_SIZE) in insn_init() 47 buf_len = MAX_INSN_SIZE; in insn_init()
|
| /Linux-v5.4/arch/parisc/kernel/ |
| D | kprobes.c | 29 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | kprobes.c | 128 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|