/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/loongarch/include/asm/ |
H A D | kprobes.h | 13 #define MAX_INSN_SIZE 2 macro 20 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
|
/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/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/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/include/asm/ |
H A D | insn-eval.h | 29 unsigned char buf[MAX_INSN_SIZE]); 31 unsigned char buf[MAX_INSN_SIZE]); 33 unsigned char buf[MAX_INSN_SIZE], int buf_size);
|
H A D | kprobes.h | 43 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + DISP32_SIZE)
|
H A D | insn.h | 105 #define MAX_INSN_SIZE 15 macro 153 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN)
|
/linux-master/arch/x86/kernel/ |
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/csky/include/asm/ |
H A D | kprobes.h | 14 #define MAX_INSN_SIZE 1 macro
|
/linux-master/arch/riscv/include/asm/ |
H A D | kprobes.h | 20 #define MAX_INSN_SIZE 2 macro
|
/linux-master/arch/arm64/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/x86/tools/ |
H A D | insn_sanity.c | 94 for (i = 0; i < MAX_INSN_SIZE; i++) 132 for (i = 0; i < MAX_INSN_SIZE; i++) { 148 /* Fills buffer with random binary up to MAX_INSN_SIZE */ 149 for (i = 0; i < MAX_INSN_SIZE - 1; i += 2) 152 while (i < MAX_INSN_SIZE) 225 unsigned char insn_buff[MAX_INSN_SIZE * 2]; 230 memset(insn_buff + MAX_INSN_SIZE, INSN_NOP, MAX_INSN_SIZE); 244 insn.kaddr + MAX_INSN_SIZE < insn.next_byte) {
|
/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/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, 122 if (intel_pt_get_insn(dat->data, MAX_INSN_SIZE, x86_64, &intel_pt_insn)) {
|
/linux-master/arch/arm/include/asm/ |
H A D | kprobes.h | 19 #define MAX_INSN_SIZE 2 macro
|
/linux-master/arch/powerpc/include/asm/ |
H A D | kprobes.h | 46 #define MAX_INSN_SIZE 2 macro
|
/linux-master/arch/s390/include/asm/ |
H A D | kprobes.h | 45 #define MAX_INSN_SIZE 0x0003 macro
|
/linux-master/arch/arm/probes/kprobes/ |
H A D | core.c | 51 kprobe_opcode_t tmp_insn[MAX_INSN_SIZE]; 95 for (is = 0; is < MAX_INSN_SIZE; ++is) 98 sizeof(p->ainsn.insn[0]) * 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/tools/arch/x86/include/asm/ |
H A D | insn.h | 105 #define MAX_INSN_SIZE 15 macro 153 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN)
|
/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) {
|
/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)
|
/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))
|