/arch/x86/tools/ |
D | insn_sanity.c | 98 for (i = 0; i < MAX_INSN_SIZE; i++) in dump_stream() 136 for (i = 0; i < MAX_INSN_SIZE; i++) { in read_next_insn() 153 for (i = 0; i < MAX_INSN_SIZE - 1; i += 2) in generate_insn() 156 while (i < MAX_INSN_SIZE) in generate_insn() 229 unsigned char insn_buff[MAX_INSN_SIZE * 2]; in main() 234 memset(insn_buff + MAX_INSN_SIZE, INSN_NOP, MAX_INSN_SIZE); in main() 248 insn.kaddr + MAX_INSN_SIZE < insn.next_byte) { in main()
|
/arch/sh/include/asm/ |
D | kprobes.h | 16 #define MAX_INSN_SIZE 16 macro 34 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/arch/sparc/include/asm/ |
D | kprobes.h | 16 #define MAX_INSN_SIZE 2 macro 32 kprobe_opcode_t insn[MAX_INSN_SIZE];
|
/arch/mips/include/asm/ |
D | kprobes.h | 30 #define MAX_INSN_SIZE 2 macro 37 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
|
/arch/x86/kernel/kprobes/ |
D | core.c | 253 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) in __recover_probed_insn() 285 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_probe() 304 kernel_insn_init(&insn, (void *)__addr, MAX_INSN_SIZE); in can_probe() 347 kprobe_opcode_t buf[MAX_INSN_SIZE]; in __copy_instruction() 355 if (probe_kernel_read(dest, (void *)recovered_insn, MAX_INSN_SIZE)) in __copy_instruction() 358 kernel_insn_init(insn, dest, MAX_INSN_SIZE); in __copy_instruction() 410 MAX_INSN_SIZE - len >= RELATIVEJUMP_SIZE) { in prepare_boost() 460 kprobe_opcode_t buf[MAX_INSN_SIZE]; in arch_copy_kprobe()
|
D | opt.c | 60 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) in __recover_optprobed_insn() 257 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_optimize() 290 kernel_insn_init(&insn, (void *)recovered_insn, MAX_INSN_SIZE); in can_optimize()
|
/arch/arm64/include/asm/ |
D | kprobes.h | 19 #define MAX_INSN_SIZE 2 macro
|
/arch/parisc/include/asm/ |
D | kprobes.h | 22 #define MAX_INSN_SIZE 1 macro
|
/arch/arc/include/asm/ |
D | kprobes.h | 18 #define MAX_INSN_SIZE 8 macro
|
/arch/s390/include/asm/ |
D | kprobes.h | 44 #define MAX_INSN_SIZE 0x0003 macro
|
/arch/arm/include/asm/ |
D | kprobes.h | 19 #define MAX_INSN_SIZE 2 macro
|
/arch/powerpc/include/asm/ |
D | kprobes.h | 46 #define MAX_INSN_SIZE 1 macro
|
/arch/ia64/include/asm/ |
D | kprobes.h | 25 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
|
/arch/x86/include/asm/ |
D | kprobes.h | 46 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + RELATIVE_ADDR_SIZE)
|
D | insn.h | 60 #define MAX_INSN_SIZE 15 macro
|
/arch/arm/probes/kprobes/ |
D | core.c | 49 kprobe_opcode_t tmp_insn[MAX_INSN_SIZE]; in arch_prepare_kprobe() 93 for (is = 0; is < MAX_INSN_SIZE; ++is) in arch_prepare_kprobe() 96 sizeof(p->ainsn.insn[0]) * MAX_INSN_SIZE); in arch_prepare_kprobe()
|
/arch/x86/events/intel/ |
D | lbr.c | 839 u8 buf[MAX_INSN_SIZE]; in branch_type() 865 MAX_INSN_SIZE); in branch_type() 866 bytes_read = MAX_INSN_SIZE - bytes_left; in branch_type() 887 bytes_read = MAX_INSN_SIZE; in branch_type()
|
/arch/x86/kernel/ |
D | umip.c | 324 unsigned char buf[MAX_INSN_SIZE]; in fixup_umip_exception()
|
/arch/x86/lib/ |
D | insn.c | 48 if (buf_len > MAX_INSN_SIZE) in insn_init() 49 buf_len = MAX_INSN_SIZE; in insn_init()
|
/arch/parisc/kernel/ |
D | kprobes.c | 29 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|
/arch/powerpc/kernel/ |
D | kprobes.c | 128 MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_prepare_kprobe()
|
/arch/sh/kernel/ |
D | kprobes.c | 54 memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t)); in arch_copy_kprobe()
|
/arch/arm64/kernel/probes/ |
D | kprobes.c | 48 flush_icache_range((uintptr_t)addr, (uintptr_t)(addr + MAX_INSN_SIZE)); in arch_prepare_ss_slot()
|
/arch/s390/kernel/ |
D | kprobes.c | 54 .insn_size = MAX_INSN_SIZE,
|
/arch/x86/mm/ |
D | mpx.c | 68 unsigned char buf[MAX_INSN_SIZE]; in mpx_insn_decode()
|