/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()
|
/arch/mn10300/include/asm/ |
D | kprobes.h | 31 #define MAX_INSN_SIZE 8 macro 38 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/arch/avr32/include/asm/ |
D | kprobes.h | 18 #define MAX_INSN_SIZE 2 macro 27 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/arch/sparc/include/asm/ |
D | kprobes.h | 11 #define MAX_INSN_SIZE 2 macro 27 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/arch/tile/include/asm/ |
D | kprobes.h | 27 #define MAX_INSN_SIZE 2 macro 36 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t)))
|
/arch/sh/include/asm/ |
D | kprobes.h | 12 #define MAX_INSN_SIZE 16 macro 31 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/arch/mips/include/asm/ |
D | kprobes.h | 39 #define MAX_INSN_SIZE 2 macro 46 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
|
/arch/x86/kernel/kprobes/ |
D | core.c | 177 if (opcodes - orig_opcodes > MAX_INSN_SIZE - 1) in can_boost() 183 if (opcodes - orig_opcodes > MAX_INSN_SIZE - 1) in can_boost() 267 memcpy(buf, (void *)addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in __recover_probed_insn() 297 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_probe() 316 kernel_insn_init(&insn, (void *)__addr, MAX_INSN_SIZE); in can_probe() 360 kprobe_opcode_t buf[MAX_INSN_SIZE]; in __copy_instruction() 367 kernel_insn_init(&insn, (void *)recovered_insn, MAX_INSN_SIZE); in __copy_instruction() 422 MAX_INSN_SIZE - length >= RELATIVEJUMP_SIZE) { in prepare_boost()
|
D | opt.c | 68 memcpy(buf, (void *)addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in __recover_optprobed_insn() 254 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_optimize() 285 kernel_insn_init(&insn, (void *)recovered_insn, MAX_INSN_SIZE); in can_optimize()
|
/arch/arc/include/asm/ |
D | kprobes.h | 19 #define MAX_INSN_SIZE 8 macro
|
/arch/s390/include/asm/ |
D | kprobes.h | 43 #define MAX_INSN_SIZE 0x0003 macro
|
/arch/arm/include/asm/ |
D | kprobes.h | 24 #define MAX_INSN_SIZE 2 macro
|
/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
|
/arch/ia64/include/asm/ |
D | kprobes.h | 32 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
|
/arch/powerpc/include/asm/ |
D | kprobes.h | 42 #define MAX_INSN_SIZE 1 macro
|
/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()
|
/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()
|
/arch/x86/kernel/cpu/ |
D | perf_event_intel_lbr.c | 655 u8 buf[MAX_INSN_SIZE]; in branch_type() 681 MAX_INSN_SIZE); in branch_type() 682 bytes_read = MAX_INSN_SIZE - bytes_left; in branch_type() 703 bytes_read = MAX_INSN_SIZE; in branch_type()
|
/arch/avr32/kernel/ |
D | kprobes.c | 41 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|
/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()
|
/arch/powerpc/kernel/ |
D | kprobes.c | 68 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|
/arch/sh/kernel/ |
D | kprobes.c | 57 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_copy_kprobe()
|
/arch/s390/kernel/ |
D | kprobes.c | 59 .insn_size = MAX_INSN_SIZE,
|
/arch/x86/mm/ |
D | mpx.c | 182 unsigned char buf[MAX_INSN_SIZE]; in mpx_insn_decode()
|