/linux-4.1.27/arch/x86/tools/ |
D | insn_sanity.c | 111 for (i = 0; i < MAX_INSN_SIZE; i++) in dump_stream() 149 for (i = 0; i < MAX_INSN_SIZE; i++) { in read_next_insn() 166 for (i = 0; i < MAX_INSN_SIZE - 1; i += 2) in generate_insn() 169 while (i < MAX_INSN_SIZE) in generate_insn() 242 unsigned char insn_buf[MAX_INSN_SIZE * 2]; in main() 247 memset(insn_buf + MAX_INSN_SIZE, INSN_NOP, MAX_INSN_SIZE); in main() 261 insn.kaddr + MAX_INSN_SIZE < insn.next_byte) { in main()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | kprobes.h | 31 #define MAX_INSN_SIZE 8 macro 38 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | kprobes.h | 18 #define MAX_INSN_SIZE 2 macro 27 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | kprobes.h | 11 #define MAX_INSN_SIZE 2 macro 27 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/linux-4.1.27/arch/sh/include/asm/ |
D | kprobes.h | 12 #define MAX_INSN_SIZE 16 macro 31 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/linux-4.1.27/arch/tile/include/asm/ |
D | kprobes.h | 27 #define MAX_INSN_SIZE 2 macro 36 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t)))
|
/linux-4.1.27/arch/mips/include/asm/ |
D | kprobes.h | 39 #define MAX_INSN_SIZE 2 macro 45 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
|
/linux-4.1.27/arch/x86/kernel/kprobes/ |
D | core.c | 175 if (opcodes - orig_opcodes > MAX_INSN_SIZE - 1) in can_boost() 181 if (opcodes - orig_opcodes > MAX_INSN_SIZE - 1) in can_boost() 263 memcpy(buf, (void *)addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in __recover_probed_insn() 293 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_probe() 312 kernel_insn_init(&insn, (void *)__addr, MAX_INSN_SIZE); in can_probe() 356 kprobe_opcode_t buf[MAX_INSN_SIZE]; in __copy_instruction() 363 kernel_insn_init(&insn, (void *)recovered_insn, MAX_INSN_SIZE); in __copy_instruction() 884 (regs->ip - copy_ip) + 5 < MAX_INSN_SIZE) { in resume_execution()
|
D | opt.c | 67 memcpy(buf, (void *)addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in __recover_optprobed_insn() 233 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_optimize() 264 kernel_insn_init(&insn, (void *)recovered_insn, MAX_INSN_SIZE); in can_optimize()
|
/linux-4.1.27/arch/arc/include/asm/ |
D | kprobes.h | 19 #define MAX_INSN_SIZE 8 macro
|
/linux-4.1.27/arch/s390/include/asm/ |
D | kprobes.h | 43 #define MAX_INSN_SIZE 0x0003 macro
|
/linux-4.1.27/arch/arm/include/asm/ |
D | kprobes.h | 24 #define MAX_INSN_SIZE 2 macro
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | kprobes.h | 32 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
|
/linux-4.1.27/arch/x86/include/asm/ |
D | kprobes.h | 55 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
|
D | insn.h | 72 #define MAX_INSN_SIZE 15 macro
|
/linux-4.1.27/arch/arm/probes/kprobes/ |
D | core.c | 58 kprobe_opcode_t tmp_insn[MAX_INSN_SIZE]; in arch_prepare_kprobe() 105 for (is = 0; is < MAX_INSN_SIZE; ++is) in arch_prepare_kprobe() 108 sizeof(p->ainsn.insn[0]) * MAX_INSN_SIZE); in arch_prepare_kprobe()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | kprobes.h | 41 #define MAX_INSN_SIZE 1 macro
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_lbr.c | 614 u8 buf[MAX_INSN_SIZE]; in branch_type() 640 MAX_INSN_SIZE); in branch_type() 641 bytes_read = MAX_INSN_SIZE - bytes_left; in branch_type() 662 bytes_read = MAX_INSN_SIZE; in branch_type()
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | kprobes.c | 39 static kprobe_opcode_t cur_kprobe_ss_buf[MAX_INSN_SIZE + 2]; 368 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE); in arch_copy_kprobe() 407 memcpy(cur_kprobe_ss_buf, &p->ainsn.insn[0], MAX_INSN_SIZE); in prepare_singlestep()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | kprobes.c | 41 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|
/linux-4.1.27/arch/x86/lib/ |
D | insn.c | 59 if (buf_len > MAX_INSN_SIZE) in insn_init() 60 buf_len = MAX_INSN_SIZE; in insn_init()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | kprobes.c | 68 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|
/linux-4.1.27/arch/sh/kernel/ |
D | kprobes.c | 57 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_copy_kprobe()
|
/linux-4.1.27/arch/s390/kernel/ |
D | kprobes.c | 59 .insn_size = MAX_INSN_SIZE,
|
/linux-4.1.27/arch/x86/mm/ |
D | mpx.c | 201 unsigned char buf[MAX_INSN_SIZE]; in mpx_insn_decode()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | kprobes.c | 632 sizeof(kprobe_opcode_t) * MAX_INSN_SIZE); in arch_arm_kprobe()
|
/linux-4.1.27/kernel/ |
D | kprobes.c | 138 .insn_size = MAX_INSN_SIZE,
|