Home
last modified time | relevance | path

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

/arch/x86/tools/
Dinsn_sanity.c111 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/
Dkprobes.h31 #define MAX_INSN_SIZE 8 macro
38 kprobe_opcode_t insn[MAX_INSN_SIZE];
/arch/avr32/include/asm/
Dkprobes.h18 #define MAX_INSN_SIZE 2 macro
26 kprobe_opcode_t insn[MAX_INSN_SIZE];
/arch/sparc/include/asm/
Dkprobes.h11 #define MAX_INSN_SIZE 2 macro
27 kprobe_opcode_t insn[MAX_INSN_SIZE];
/arch/s390/include/asm/
Dkprobes.h41 #define MAX_INSN_SIZE 0x0003 macro
60 kprobe_opcode_t insn[MAX_INSN_SIZE];
/arch/sh/include/asm/
Dkprobes.h12 #define MAX_INSN_SIZE 16 macro
31 kprobe_opcode_t insn[MAX_INSN_SIZE];
/arch/mips/include/asm/
Dkprobes.h39 #define MAX_INSN_SIZE 2 macro
45 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
/arch/arm/include/asm/
Dkprobes.h24 #define MAX_INSN_SIZE 2 macro
/arch/arc/include/asm/
Dkprobes.h19 #define MAX_INSN_SIZE 8 macro
/arch/powerpc/include/asm/
Dkprobes.h40 #define MAX_INSN_SIZE 1 macro
/arch/x86/include/asm/
Dkprobes.h56 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
Dinsn.h71 #define MAX_INSN_SIZE 16 macro
/arch/ia64/include/asm/
Dkprobes.h32 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
/arch/x86/kernel/kprobes/
Dcore.c171 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()
Dopt.c67 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/
Dkprobes.c53 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/
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()
/arch/avr32/kernel/
Dkprobes.c41 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
/arch/x86/kernel/cpu/
Dperf_event_intel_lbr.c422 int bytes, size = MAX_INSN_SIZE; in branch_type()
425 u8 buf[MAX_INSN_SIZE]; in branch_type()
Dperf_event_intel_ds.c656 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/
Dkprobes.c73 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
/arch/sh/kernel/
Dkprobes.c57 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_copy_kprobe()
/arch/x86/lib/
Dinsn.c31 ((insn)->next_byte + sizeof(t) + n - (insn)->kaddr <= MAX_INSN_SIZE)
/arch/ia64/kernel/
Dkprobes.c632 sizeof(kprobe_opcode_t) * MAX_INSN_SIZE); in arch_arm_kprobe()