Searched refs:MAX_INSN_SIZE (Results 1 - 25 of 37) sorted by last modified time

12

/linux-master/kernel/
H A Dkprobes.c135 .insn_size = MAX_INSN_SIZE,
/linux-master/arch/x86/kernel/
H A Dsev.c296 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 Dtraps.c501 u8 insn_buf[MAX_INSN_SIZE];
506 MAX_INSN_SIZE))
H A Dcfi.c19 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 Dcore.c239 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 Dopt.c63 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)))
268 kprobe_opcode_t buf[MAX_INSN_SIZE];
/linux-master/tools/arch/x86/lib/
H A Dinsn.c64 * 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 Dextable.c68 if (len > MAX_INSN_SIZE)
/linux-master/arch/x86/lib/
H A Dinsn-eval.c1500 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 Dinsn.c64 * 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 Dsev.c79 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 Dkprobes.h24 #define MAX_INSN_SIZE 2 macro
34 MAX_INSN_SIZE*sizeof(kprobe_opcode_t))
/linux-master/arch/x86/coco/tdx/
H A Dtdx.c407 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 Dkprobes.h43 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + DISP32_SIZE)
/linux-master/arch/sparc/include/asm/
H A Dkprobes.h16 #define MAX_INSN_SIZE 2 macro
32 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux-master/arch/sh/include/asm/
H A Dkprobes.h16 #define MAX_INSN_SIZE 16 macro
34 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux-master/arch/s390/include/asm/
H A Dkprobes.h45 #define MAX_INSN_SIZE 0x0003 macro
/linux-master/arch/powerpc/include/asm/
H A Dkprobes.h46 #define MAX_INSN_SIZE 2 macro
/linux-master/arch/mips/include/asm/
H A Dkprobes.h30 #define MAX_INSN_SIZE 2 macro
37 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
/linux-master/arch/arm64/include/asm/
H A Dkprobes.h19 #define MAX_INSN_SIZE 2 macro
/linux-master/arch/arm/include/asm/
H A Dkprobes.h19 #define MAX_INSN_SIZE 2 macro
/linux-master/arch/arc/include/asm/
H A Dkprobes.h18 #define MAX_INSN_SIZE 8 macro
/linux-master/arch/s390/kernel/
H A Dkprobes.c65 .insn_size = MAX_INSN_SIZE,
70 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux-master/arch/x86/events/
H A Dutils.c84 * 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 Dkprobes.h20 #define MAX_INSN_SIZE 2 macro

Completed in 321 milliseconds

12