Symbol: MAX_INSN_SIZE
arch/arm/probes/kprobes/core.c
51
kprobe_opcode_t tmp_insn[MAX_INSN_SIZE];
arch/arm/probes/kprobes/core.c
95
for (is = 0; is < MAX_INSN_SIZE; ++is)
arch/arm/probes/kprobes/core.c
98
sizeof(p->ainsn.insn[0]) * MAX_INSN_SIZE);
arch/loongarch/include/asm/kprobes.h
20
(MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
arch/mips/include/asm/kprobes.h
37
(MAX_INSN_SIZE * sizeof(kprobe_opcode_t))); \
arch/parisc/include/asm/kprobes.h
34
MAX_INSN_SIZE*sizeof(kprobe_opcode_t))
arch/s390/kernel/kprobes.c
49
kprobe_opcode_t insn[MAX_INSN_SIZE];
arch/sh/include/asm/kprobes.h
34
kprobe_opcode_t insn[MAX_INSN_SIZE];
arch/sh/kernel/kprobes.c
47
memcpy(p->ainsn.insn, p->addr, MAX_INSN_SIZE * sizeof(kprobe_opcode_t));
arch/sparc/include/asm/kprobes.h
32
kprobe_opcode_t insn[MAX_INSN_SIZE];
arch/x86/boot/compressed/sev-handle-vc.c
45
char buffer[MAX_INSN_SIZE];
arch/x86/boot/compressed/sev-handle-vc.c
48
memcpy(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE);
arch/x86/boot/compressed/sev-handle-vc.c
50
ret = insn_decode(&ctxt->insn, buffer, MAX_INSN_SIZE, INSN_MODE_64);
arch/x86/coco/sev/vc-handle.c
131
return copy_from_kernel_nofault(buffer, (unsigned char *)ctxt->regs->ip, MAX_INSN_SIZE);
arch/x86/coco/sev/vc-handle.c
136
char buffer[MAX_INSN_SIZE];
arch/x86/coco/sev/vc-handle.c
165
char buffer[MAX_INSN_SIZE];
arch/x86/coco/sev/vc-handle.c
176
ret = insn_decode(&ctxt->insn, buffer, MAX_INSN_SIZE, INSN_MODE_64);
arch/x86/coco/tdx/tdx.c
580
char buffer[MAX_INSN_SIZE];
arch/x86/coco/tdx/tdx.c
590
if (copy_from_kernel_nofault(buffer, (void *)regs->ip, MAX_INSN_SIZE))
arch/x86/coco/tdx/tdx.c
593
if (insn_decode(&insn, buffer, MAX_INSN_SIZE, INSN_MODE_64))
arch/x86/events/utils.c
126
MAX_INSN_SIZE);
arch/x86/events/utils.c
127
bytes_read = MAX_INSN_SIZE - bytes_left;
arch/x86/events/utils.c
148
bytes_read = MAX_INSN_SIZE;
arch/x86/events/utils.c
96
u8 buf[MAX_INSN_SIZE];
arch/x86/include/asm/insn-eval.h
29
unsigned char buf[MAX_INSN_SIZE]);
arch/x86/include/asm/insn-eval.h
31
unsigned char buf[MAX_INSN_SIZE]);
arch/x86/include/asm/insn-eval.h
33
unsigned char buf[MAX_INSN_SIZE], int buf_size);
arch/x86/include/asm/insn.h
172
#define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN)
arch/x86/include/asm/kprobes.h
43
#define MAX_OPTIMIZED_LENGTH (MAX_INSN_SIZE + DISP32_SIZE)
arch/x86/kernel/alternative.c
1595
u8 bytes[MAX_INSN_SIZE];
arch/x86/kernel/cfi.c
19
char buffer[MAX_INSN_SIZE];
arch/x86/kernel/cfi.c
38
if (copy_from_kernel_nofault(buffer, (void *)regs->ip - 12, MAX_INSN_SIZE))
arch/x86/kernel/cfi.c
47
if (copy_from_kernel_nofault(buffer, (void *)regs->ip - 6, MAX_INSN_SIZE))
arch/x86/kernel/cpu/mce/severity.c
237
u8 insn_buf[MAX_INSN_SIZE];
arch/x86/kernel/cpu/mce/severity.c
245
if (copy_from_kernel_nofault(insn_buf, (void *)regs->ip, MAX_INSN_SIZE))
arch/x86/kernel/kprobes/core.c
1021
(unsigned long)p->ainsn.insn + MAX_INSN_SIZE > regs->ip) {
arch/x86/kernel/kprobes/core.c
238
MAX_INSN_SIZE * sizeof(kprobe_opcode_t)))
arch/x86/kernel/kprobes/core.c
291
kprobe_opcode_t buf[MAX_INSN_SIZE];
arch/x86/kernel/kprobes/core.c
396
kprobe_opcode_t buf[MAX_INSN_SIZE];
arch/x86/kernel/kprobes/core.c
405
MAX_INSN_SIZE))
arch/x86/kernel/kprobes/core.c
462
MAX_INSN_SIZE - len >= JMP32_INSN_SIZE) {
arch/x86/kernel/kprobes/core.c
473
if (MAX_INSN_SIZE - len < INT3_INSN_SIZE)
arch/x86/kernel/kprobes/core.c
731
kprobe_opcode_t buf[MAX_INSN_SIZE];
arch/x86/kernel/kprobes/opt.c
264
kprobe_opcode_t buf[MAX_INSN_SIZE];
arch/x86/kernel/kprobes/opt.c
63
MAX_INSN_SIZE * sizeof(kprobe_opcode_t)))
arch/x86/kernel/traps.c
756
u8 insn_buf[MAX_INSN_SIZE];
arch/x86/kernel/traps.c
761
MAX_INSN_SIZE))
arch/x86/kernel/umip.c
352
unsigned char buf[MAX_INSN_SIZE];
arch/x86/lib/insn-eval.c
1507
int insn_fetch_from_user(struct pt_regs *regs, unsigned char buf[MAX_INSN_SIZE])
arch/x86/lib/insn-eval.c
1515
not_copied = copy_from_user(buf, (void __user *)ip, MAX_INSN_SIZE);
arch/x86/lib/insn-eval.c
1517
return MAX_INSN_SIZE - not_copied;
arch/x86/lib/insn-eval.c
1535
int insn_fetch_from_user_inatomic(struct pt_regs *regs, unsigned char buf[MAX_INSN_SIZE])
arch/x86/lib/insn-eval.c
1543
not_copied = __copy_from_user_inatomic(buf, (void __user *)ip, MAX_INSN_SIZE);
arch/x86/lib/insn-eval.c
1545
return MAX_INSN_SIZE - not_copied;
arch/x86/lib/insn-eval.c
1563
unsigned char buf[MAX_INSN_SIZE], int buf_size)
arch/x86/lib/insn.c
67
if (buf_len > MAX_INSN_SIZE)
arch/x86/lib/insn.c
68
buf_len = MAX_INSN_SIZE;
arch/x86/mm/extable.c
68
if (len > MAX_INSN_SIZE)
arch/x86/tools/insn_sanity.c
132
for (i = 0; i < MAX_INSN_SIZE; i++) {
arch/x86/tools/insn_sanity.c
149
for (i = 0; i < MAX_INSN_SIZE - 1; i += 2)
arch/x86/tools/insn_sanity.c
152
while (i < MAX_INSN_SIZE)
arch/x86/tools/insn_sanity.c
225
unsigned char insn_buff[MAX_INSN_SIZE * 2];
arch/x86/tools/insn_sanity.c
230
memset(insn_buff + MAX_INSN_SIZE, INSN_NOP, MAX_INSN_SIZE);
arch/x86/tools/insn_sanity.c
244
insn.kaddr + MAX_INSN_SIZE < insn.next_byte) {
arch/x86/tools/insn_sanity.c
94
for (i = 0; i < MAX_INSN_SIZE; i++)
kernel/kprobes.c
134
.insn_size = MAX_INSN_SIZE,
tools/arch/x86/include/asm/insn.h
172
#define insn_decode_kernel(_insn, _ptr) insn_decode((_insn), (_ptr), MAX_INSN_SIZE, INSN_MODE_KERN)
tools/arch/x86/lib/insn.c
67
if (buf_len > MAX_INSN_SIZE)
tools/arch/x86/lib/insn.c
68
buf_len = MAX_INSN_SIZE;
tools/perf/arch/x86/tests/insn-x86.c
106
ret = insn_decode(&insn, dat->data, MAX_INSN_SIZE,
tools/perf/arch/x86/tests/insn-x86.c
122
if (intel_pt_get_insn(dat->data, MAX_INSN_SIZE, x86_64, &intel_pt_insn)) {
tools/perf/arch/x86/tests/insn-x86.c
13
u8 data[MAX_INSN_SIZE];
tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c
20
#if INTEL_PT_INSN_BUF_SZ < MAX_INSN_SIZE || INTEL_PT_INSN_BUF_SZ > MAX_INSN