| /linux/arch/x86/tools/ |
| H A D | insn_sanity.c | 94 for (i = 0; i < MAX_INSN_SIZE; i++) in dump_stream() 132 for (i = 0; i < MAX_INSN_SIZE; i++) { in read_next_insn() 149 for (i = 0; i < MAX_INSN_SIZE - 1; i += 2) in generate_insn() 152 while (i < MAX_INSN_SIZE) in generate_insn() 225 unsigned char insn_buff[MAX_INSN_SIZE * 2]; in main() 230 memset(insn_buff + MAX_INSN_SIZE, INSN_NOP, MAX_INSN_SIZE); in main() 244 insn.kaddr + MAX_INSN_SIZE < insn.next_byte) { in main()
|
| /linux/arch/x86/kernel/ |
| H A D | cfi.c | 19 char buffer[MAX_INSN_SIZE]; in decode_cfi_insn() 38 if (copy_from_kernel_nofault(buffer, (void *)addr - 12, MAX_INSN_SIZE)) in decode_cfi_insn() 47 if (copy_from_kernel_nofault(buffer, (void *)addr - 6, MAX_INSN_SIZE)) in decode_cfi_insn()
|
| H A D | alternative.c | 1613 u8 bytes[MAX_INSN_SIZE]; in cfi_fineibt_bhi_preamble()
|
| /linux/arch/sh/include/asm/ |
| H A D | kprobes.h | 16 #define MAX_INSN_SIZE 16 macro 34 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | insn-x86.c | 13 u8 data[MAX_INSN_SIZE]; 106 ret = insn_decode(&insn, dat->data, MAX_INSN_SIZE, in test_data_item() 122 if (intel_pt_get_insn(dat->data, MAX_INSN_SIZE, x86_64, &intel_pt_insn)) { in test_data_item()
|
| /linux/arch/parisc/include/asm/ |
| H A D | kprobes.h | 24 #define MAX_INSN_SIZE 2 macro 34 MAX_INSN_SIZE*sizeof(kprobe_opcode_t))
|
| /linux/arch/sparc/include/asm/ |
| H A D | kprobes.h | 16 #define MAX_INSN_SIZE 2 macro 32 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
| /linux/arch/mips/include/asm/ |
| H A D | kprobes.h | 30 #define MAX_INSN_SIZE 2 macro 37 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
|
| /linux/arch/loongarch/include/asm/ |
| H A D | kprobes.h | 13 #define MAX_INSN_SIZE 2 macro 20 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
|
| /linux/arch/x86/kernel/kprobes/ |
| H A D | core.c | 238 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) in __recover_probed_insn() 291 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_probe() 396 kprobe_opcode_t buf[MAX_INSN_SIZE]; in __copy_instruction() 405 MAX_INSN_SIZE)) in __copy_instruction() 462 MAX_INSN_SIZE - len >= JMP32_INSN_SIZE) { in prepare_singlestep() 473 if (MAX_INSN_SIZE - len < INT3_INSN_SIZE) in prepare_singlestep() 730 kprobe_opcode_t buf[MAX_INSN_SIZE]; in arch_copy_kprobe() 1017 (unsigned long)p->ainsn.insn + MAX_INSN_SIZE > regs->ip) { in kprobe_int3_handler()
|
| /linux/arch/riscv/include/asm/ |
| H A D | kprobes.h | 20 #define MAX_INSN_SIZE 2 macro
|
| /linux/arch/csky/include/asm/ |
| H A D | kprobes.h | 14 #define MAX_INSN_SIZE 1 macro
|
| /linux/arch/arc/include/asm/ |
| H A D | kprobes.h | 18 #define MAX_INSN_SIZE 8 macro
|
| /linux/arch/arm64/include/asm/ |
| H A D | kprobes.h | 19 #define MAX_INSN_SIZE 2 macro
|
| /linux/arch/s390/include/asm/ |
| H A D | kprobes.h | 45 #define MAX_INSN_SIZE 0x0003 macro
|
| /linux/arch/arm/include/asm/ |
| H A D | kprobes.h | 19 #define MAX_INSN_SIZE 2 macro
|
| /linux/arch/x86/include/asm/ |
| H A D | kprobes.h | 43 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + DISP32_SIZE)
|
| H A D | insn.h | 108 #define MAX_INSN_SIZE 15 macro 172 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN)
|
| /linux/tools/arch/x86/include/asm/ |
| H A D | insn.h | 108 #define MAX_INSN_SIZE 15 macro 172 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN)
|
| /linux/arch/x86/coco/tdx/ |
| H A D | tdx.c | 563 char buffer[MAX_INSN_SIZE]; in handle_mmio() 573 if (copy_from_kernel_nofault(buffer, (void *)regs->ip, MAX_INSN_SIZE)) in handle_mmio() 576 if (insn_decode(&insn, buffer, MAX_INSN_SIZE, INSN_MODE_64)) in handle_mmio()
|
| /linux/arch/x86/lib/ |
| H A D | insn.c | 67 if (buf_len > MAX_INSN_SIZE) in insn_init() 68 buf_len = MAX_INSN_SIZE; in insn_init()
|
| /linux/tools/arch/x86/lib/ |
| H A D | insn.c | 67 if (buf_len > MAX_INSN_SIZE) in insn_init() 68 buf_len = MAX_INSN_SIZE; in insn_init()
|
| /linux/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-insn-decoder.c | 20 #if INTEL_PT_INSN_BUF_SZ < MAX_INSN_SIZE || INTEL_PT_INSN_BUF_SZ > MAX_INSN
|
| /linux/arch/sh/kernel/ |
| H A D | kprobes.c | 47 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|
| /linux/arch/s390/kernel/ |
| H A D | kprobes.c | 49 kprobe_opcode_t insn[MAX_INSN_SIZE]; in copy_instruction()
|