Home
last modified time | relevance | path

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

12

/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
27 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/tile/include/asm/
Dkprobes.h27 #define MAX_INSN_SIZE 2 macro
36 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t)))
/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
46 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
/arch/x86/kernel/kprobes/
Dcore.c177 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()
Dopt.c68 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/
Dkprobes.h19 #define MAX_INSN_SIZE 8 macro
/arch/s390/include/asm/
Dkprobes.h43 #define MAX_INSN_SIZE 0x0003 macro
/arch/arm/include/asm/
Dkprobes.h24 #define MAX_INSN_SIZE 2 macro
/arch/x86/include/asm/
Dkprobes.h55 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
Dinsn.h72 #define MAX_INSN_SIZE 15 macro
/arch/ia64/include/asm/
Dkprobes.h32 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
/arch/powerpc/include/asm/
Dkprobes.h42 #define MAX_INSN_SIZE 1 macro
/arch/arm/probes/kprobes/
Dcore.c58 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/
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/x86/kernel/cpu/
Dperf_event_intel_lbr.c655 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/
Dkprobes.c41 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
/arch/x86/lib/
Dinsn.c59 if (buf_len > MAX_INSN_SIZE) in insn_init()
60 buf_len = MAX_INSN_SIZE; in insn_init()
/arch/powerpc/kernel/
Dkprobes.c68 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/s390/kernel/
Dkprobes.c59 .insn_size = MAX_INSN_SIZE,
/arch/x86/mm/
Dmpx.c182 unsigned char buf[MAX_INSN_SIZE]; in mpx_insn_decode()

12