Home
last modified time | relevance | path

Searched refs:MAX_INSN_SIZE (Results 1 – 20 of 20) sorted by relevance

/linux-2.6.39/arch/mn10300/include/asm/
Dkprobes.h31 #define MAX_INSN_SIZE 8 macro
38 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux-2.6.39/arch/avr32/include/asm/
Dkprobes.h18 #define MAX_INSN_SIZE 2 macro
26 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux-2.6.39/arch/sparc/include/asm/
Dkprobes.h11 #define MAX_INSN_SIZE 2 macro
27 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux-2.6.39/arch/sh/include/asm/
Dkprobes.h12 #define MAX_INSN_SIZE 16 macro
31 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux-2.6.39/arch/s390/include/asm/
Dkprobes.h41 #define MAX_INSN_SIZE 0x0003 macro
60 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux-2.6.39/arch/mips/include/asm/
Dkprobes.h39 #define MAX_INSN_SIZE 2 macro
45 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
/linux-2.6.39/arch/arm/kernel/
Dkprobes.c50 kprobe_opcode_t tmp_insn[MAX_INSN_SIZE]; in arch_prepare_kprobe()
69 for (is = 0; is < MAX_INSN_SIZE; ++is) in arch_prepare_kprobe()
71 flush_insns(p->ainsn.insn, MAX_INSN_SIZE); in arch_prepare_kprobe()
/linux-2.6.39/arch/arm/include/asm/
Dkprobes.h24 #define MAX_INSN_SIZE 2 macro
/linux-2.6.39/arch/x86/kernel/
Dkprobes.c160 if (opcodes - orig_opcodes > MAX_INSN_SIZE - 1) in can_boost()
166 if (opcodes - orig_opcodes > MAX_INSN_SIZE - 1) in can_boost()
228 memcpy(buf, kp->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in recover_probed_instruction()
239 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_probe()
303 kprobe_opcode_t buf[MAX_INSN_SIZE]; in __copy_instruction()
874 (regs->ip - copy_ip) + 5 < MAX_INSN_SIZE) { in resume_execution()
1274 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_optimize()
/linux-2.6.39/arch/x86/include/asm/
Dkprobes.h55 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
Dinsn.h71 #define MAX_INSN_SIZE 16 macro
/linux-2.6.39/arch/ia64/include/asm/
Dkprobes.h32 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
/linux-2.6.39/arch/powerpc/include/asm/
Dkprobes.h40 #define MAX_INSN_SIZE 1 macro
/linux-2.6.39/arch/mn10300/kernel/
Dkprobes.c39 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-2.6.39/arch/avr32/kernel/
Dkprobes.c41 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
/linux-2.6.39/arch/x86/kernel/cpu/
Dperf_event_intel_ds.c547 u8 buf[MAX_INSN_SIZE]; in intel_pmu_pebs_fixup_ip()
552 int bytes, size = MAX_INSN_SIZE; in intel_pmu_pebs_fixup_ip()
/linux-2.6.39/arch/powerpc/kernel/
Dkprobes.c74 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
/linux-2.6.39/arch/sh/kernel/
Dkprobes.c57 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_copy_kprobe()
/linux-2.6.39/arch/ia64/kernel/
Dkprobes.c632 sizeof(kprobe_opcode_t) * MAX_INSN_SIZE); in arch_arm_kprobe()
/linux-2.6.39/kernel/
Dkprobes.c144 .insn_size = MAX_INSN_SIZE,