Searched refs:MAX_INSN_SIZE (Results 1 – 24 of 24) sorted by relevance
/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 26 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/s390/include/asm/ |
D | kprobes.h | 41 #define MAX_INSN_SIZE 0x0003 macro 60 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/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 45 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
|
/arch/arm/include/asm/ |
D | kprobes.h | 24 #define MAX_INSN_SIZE 2 macro
|
/arch/arc/include/asm/ |
D | kprobes.h | 19 #define MAX_INSN_SIZE 8 macro
|
/arch/powerpc/include/asm/ |
D | kprobes.h | 40 #define MAX_INSN_SIZE 1 macro
|
/arch/x86/include/asm/ |
D | kprobes.h | 56 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
|
D | insn.h | 71 #define MAX_INSN_SIZE 16 macro
|
/arch/ia64/include/asm/ |
D | kprobes.h | 32 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
|
/arch/x86/kernel/kprobes/ |
D | core.c | 171 if (opcodes - orig_opcodes > MAX_INSN_SIZE - 1) in can_boost() 177 if (opcodes - orig_opcodes > MAX_INSN_SIZE - 1) in can_boost() 241 memcpy(buf, kp->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in __recover_probed_insn() 267 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_probe() 328 kprobe_opcode_t buf[MAX_INSN_SIZE]; in __copy_instruction() 836 (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() 234 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_optimize()
|
/arch/arm/kernel/ |
D | kprobes.c | 53 kprobe_opcode_t tmp_insn[MAX_INSN_SIZE]; in arch_prepare_kprobe() 91 for (is = 0; is < MAX_INSN_SIZE; ++is) in arch_prepare_kprobe() 94 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/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/kernel/cpu/ |
D | perf_event_intel_lbr.c | 422 int bytes, size = MAX_INSN_SIZE; in branch_type() 425 u8 buf[MAX_INSN_SIZE]; in branch_type()
|
D | perf_event_intel_ds.c | 656 u8 buf[MAX_INSN_SIZE]; in intel_pmu_pebs_fixup_ip() 661 int bytes, size = MAX_INSN_SIZE; in intel_pmu_pebs_fixup_ip()
|
/arch/powerpc/kernel/ |
D | kprobes.c | 73 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/x86/lib/ |
D | insn.c | 31 ((insn)->next_byte + sizeof(t) + n - (insn)->kaddr <= MAX_INSN_SIZE)
|
/arch/ia64/kernel/ |
D | kprobes.c | 632 sizeof(kprobe_opcode_t) * MAX_INSN_SIZE); in arch_arm_kprobe()
|