/linux-master/kernel/ |
H A D | kprobes.c | 135 .insn_size = MAX_INSN_SIZE,
|
/linux-master/arch/x86/kernel/ |
H A D | sev.c | 296 return copy_from_kernel_nofault(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE); 301 char buffer[MAX_INSN_SIZE]; 330 char buffer[MAX_INSN_SIZE]; 341 ret = insn_decode(&ctxt->insn, buffer, MAX_INSN_SIZE, INSN_MODE_64);
|
H A D | traps.c | 501 u8 insn_buf[MAX_INSN_SIZE]; 506 MAX_INSN_SIZE))
|
H A D | cfi.c | 19 char buffer[MAX_INSN_SIZE]; 38 if (copy_from_kernel_nofault(buffer, (void *)regs->ip - 12, MAX_INSN_SIZE)) 47 if (copy_from_kernel_nofault(buffer, (void *)regs->ip - 6, MAX_INSN_SIZE))
|
/linux-master/arch/x86/kernel/kprobes/ |
H A D | core.c | 239 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) 292 kprobe_opcode_t buf[MAX_INSN_SIZE]; 406 kprobe_opcode_t buf[MAX_INSN_SIZE]; 415 MAX_INSN_SIZE)) 472 MAX_INSN_SIZE - len >= JMP32_INSN_SIZE) { 483 if (MAX_INSN_SIZE - len < INT3_INSN_SIZE) 759 kprobe_opcode_t buf[MAX_INSN_SIZE]; 1049 (unsigned long)p->ainsn.insn + MAX_INSN_SIZE > regs->ip) {
|
H A D | opt.c | 63 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) 268 kprobe_opcode_t buf[MAX_INSN_SIZE];
|
/linux-master/tools/arch/x86/lib/ |
H A D | insn.c | 64 * Instructions longer than MAX_INSN_SIZE (15 bytes) are invalid 67 if (buf_len > MAX_INSN_SIZE) 68 buf_len = MAX_INSN_SIZE;
|
/linux-master/arch/x86/mm/ |
H A D | extable.c | 68 if (len > MAX_INSN_SIZE)
|
/linux-master/arch/x86/lib/ |
H A D | insn-eval.c | 1500 int insn_fetch_from_user(struct pt_regs *regs, unsigned char buf[MAX_INSN_SIZE]) 1508 not_copied = copy_from_user(buf, (void __user *)ip, MAX_INSN_SIZE); 1510 return MAX_INSN_SIZE - not_copied; 1528 int insn_fetch_from_user_inatomic(struct pt_regs *regs, unsigned char buf[MAX_INSN_SIZE]) 1536 not_copied = __copy_from_user_inatomic(buf, (void __user *)ip, MAX_INSN_SIZE); 1538 return MAX_INSN_SIZE - not_copied; 1556 unsigned char buf[MAX_INSN_SIZE], int buf_size)
|
H A D | insn.c | 64 * Instructions longer than MAX_INSN_SIZE (15 bytes) are invalid 67 if (buf_len > MAX_INSN_SIZE) 68 buf_len = MAX_INSN_SIZE;
|
/linux-master/arch/x86/boot/compressed/ |
H A D | sev.c | 79 char buffer[MAX_INSN_SIZE]; 82 memcpy(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE); local 84 ret = insn_decode(&ctxt->insn, buffer, MAX_INSN_SIZE, INSN_MODE_64);
|
/linux-master/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-master/arch/x86/coco/tdx/ |
H A D | tdx.c | 407 char buffer[MAX_INSN_SIZE]; 417 if (copy_from_kernel_nofault(buffer, (void *)regs->ip, MAX_INSN_SIZE)) 420 if (insn_decode(&insn, buffer, MAX_INSN_SIZE, INSN_MODE_64))
|
/linux-master/arch/x86/include/asm/ |
H A D | kprobes.h | 43 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + DISP32_SIZE)
|
/linux-master/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-master/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-master/arch/s390/include/asm/ |
H A D | kprobes.h | 45 #define MAX_INSN_SIZE 0x0003 macro
|
/linux-master/arch/powerpc/include/asm/ |
H A D | kprobes.h | 46 #define MAX_INSN_SIZE 2 macro
|
/linux-master/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-master/arch/arm64/include/asm/ |
H A D | kprobes.h | 19 #define MAX_INSN_SIZE 2 macro
|
/linux-master/arch/arm/include/asm/ |
H A D | kprobes.h | 19 #define MAX_INSN_SIZE 2 macro
|
/linux-master/arch/arc/include/asm/ |
H A D | kprobes.h | 18 #define MAX_INSN_SIZE 8 macro
|
/linux-master/arch/s390/kernel/ |
H A D | kprobes.c | 65 .insn_size = MAX_INSN_SIZE, 70 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/linux-master/arch/x86/events/ |
H A D | utils.c | 84 * MAX_INSN_SIZE bytes and if found, provide the offset between the 95 u8 buf[MAX_INSN_SIZE]; 125 MAX_INSN_SIZE); 126 bytes_read = MAX_INSN_SIZE - bytes_left; 147 bytes_read = MAX_INSN_SIZE;
|
/linux-master/arch/riscv/include/asm/ |
H A D | kprobes.h | 20 #define MAX_INSN_SIZE 2 macro
|