Home
last modified time | relevance | path

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

12

/linux/arch/x86/tools/
A Dinsn_sanity.c94 for (i = 0; i < MAX_INSN_SIZE; i++) in dump_stream()
132 for (i = 0; i < MAX_INSN_SIZE; i++) { in read_next_insn()
149 for (i = 0; i < MAX_INSN_SIZE - 1; i += 2) in generate_insn()
152 while (i < MAX_INSN_SIZE) in generate_insn()
225 unsigned char insn_buff[MAX_INSN_SIZE * 2]; in main()
230 memset(insn_buff + MAX_INSN_SIZE, INSN_NOP, MAX_INSN_SIZE); in main()
244 insn.kaddr + MAX_INSN_SIZE < insn.next_byte) { in main()
/linux/arch/x86/include/asm/
A Dinsn-eval.h26 unsigned char buf[MAX_INSN_SIZE]);
28 unsigned char buf[MAX_INSN_SIZE]);
30 unsigned char buf[MAX_INSN_SIZE], int buf_size);
A Dinsn.h105 #define MAX_INSN_SIZE 15 macro
153 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN)
A Dkprobes.h43 #define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + DISP32_SIZE)
/linux/arch/x86/boot/compressed/
A Dsev.c80 char buffer[MAX_INSN_SIZE]; in vc_decode_insn()
83 memcpy(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE); in vc_decode_insn()
85 ret = insn_decode(&ctxt->insn, buffer, MAX_INSN_SIZE, INSN_MODE_64); in vc_decode_insn()
/linux/tools/perf/arch/x86/tests/
A Dinsn-x86.c13 u8 data[MAX_INSN_SIZE];
102 ret = insn_decode(&insn, dat->data, MAX_INSN_SIZE, in test_data_item()
118 if (intel_pt_get_insn(dat->data, MAX_INSN_SIZE, x86_64, &intel_pt_insn)) { in test_data_item()
/linux/arch/sh/include/asm/
A Dkprobes.h16 #define MAX_INSN_SIZE 16 macro
34 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux/arch/sparc/include/asm/
A Dkprobes.h16 #define MAX_INSN_SIZE 2 macro
32 kprobe_opcode_t insn[MAX_INSN_SIZE];
/linux/arch/mips/include/asm/
A Dkprobes.h30 #define MAX_INSN_SIZE 2 macro
37 (MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
/linux/arch/x86/lib/
A Dinsn-eval.c1455 int insn_fetch_from_user(struct pt_regs *regs, unsigned char buf[MAX_INSN_SIZE]) in insn_fetch_from_user() argument
1463 not_copied = copy_from_user(buf, (void __user *)ip, MAX_INSN_SIZE); in insn_fetch_from_user()
1465 return MAX_INSN_SIZE - not_copied; in insn_fetch_from_user()
1483 int insn_fetch_from_user_inatomic(struct pt_regs *regs, unsigned char buf[MAX_INSN_SIZE]) in insn_fetch_from_user_inatomic() argument
1491 not_copied = __copy_from_user_inatomic(buf, (void __user *)ip, MAX_INSN_SIZE); in insn_fetch_from_user_inatomic()
1493 return MAX_INSN_SIZE - not_copied; in insn_fetch_from_user_inatomic()
1511 unsigned char buf[MAX_INSN_SIZE], int buf_size) in insn_decode_from_regs() argument
/linux/arch/x86/kernel/kprobes/
A Dcore.c234 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) in __recover_probed_insn()
266 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_probe()
313 kprobe_opcode_t buf[MAX_INSN_SIZE]; in __copy_instruction()
322 MAX_INSN_SIZE)) in __copy_instruction()
379 MAX_INSN_SIZE - len >= JMP32_INSN_SIZE) { in prepare_singlestep()
390 if (MAX_INSN_SIZE - len < INT3_INSN_SIZE) in prepare_singlestep()
692 kprobe_opcode_t buf[MAX_INSN_SIZE]; in arch_copy_kprobe()
990 (unsigned long)p->ainsn.insn + MAX_INSN_SIZE > regs->ip) { in kprobe_int3_handler()
A Dopt.c62 MAX_INSN_SIZE * sizeof(kprobe_opcode_t))) in __recover_optprobed_insn()
293 kprobe_opcode_t buf[MAX_INSN_SIZE]; in can_optimize()
/linux/arch/arm/probes/kprobes/
A Dcore.c51 kprobe_opcode_t tmp_insn[MAX_INSN_SIZE]; in arch_prepare_kprobe()
95 for (is = 0; is < MAX_INSN_SIZE; ++is) in arch_prepare_kprobe()
98 sizeof(p->ainsn.insn[0]) * MAX_INSN_SIZE); in arch_prepare_kprobe()
/linux/arch/arm64/include/asm/
A Dkprobes.h19 #define MAX_INSN_SIZE 2 macro
/linux/arch/riscv/include/asm/
A Dkprobes.h20 #define MAX_INSN_SIZE 2 macro
/linux/arch/csky/include/asm/
A Dkprobes.h14 #define MAX_INSN_SIZE 1 macro
/linux/tools/arch/x86/include/asm/
A Dinsn.h105 #define MAX_INSN_SIZE 15 macro
153 #define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN)
/linux/arch/parisc/include/asm/
A Dkprobes.h22 #define MAX_INSN_SIZE 1 macro
/linux/arch/arc/include/asm/
A Dkprobes.h18 #define MAX_INSN_SIZE 8 macro
/linux/arch/s390/include/asm/
A Dkprobes.h44 #define MAX_INSN_SIZE 0x0003 macro
/linux/arch/arm/include/asm/
A Dkprobes.h19 #define MAX_INSN_SIZE 2 macro
/linux/arch/powerpc/include/asm/
A Dkprobes.h46 #define MAX_INSN_SIZE 2 macro
/linux/arch/ia64/include/asm/
A Dkprobes.h25 #define MAX_INSN_SIZE 2 /* last half is for kprobe-booster */ macro
/linux/arch/x86/kernel/cpu/mce/
A Dseverity.c220 u8 insn_buf[MAX_INSN_SIZE]; in is_copy_from_user()
225 if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, MAX_INSN_SIZE)) in is_copy_from_user()
/linux/arch/s390/kernel/
A Dkprobes.c66 .insn_size = MAX_INSN_SIZE,
71 kprobe_opcode_t insn[MAX_INSN_SIZE]; in copy_instruction()

Completed in 33 milliseconds

12