Home
last modified time | relevance | path

Searched refs:insn_size (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/tools/testing/selftests/kvm/x86_64/
Demulator_error_test.c48 static bool is_flds(uint8_t *insn_bytes, uint8_t insn_size) in is_flds() argument
50 return insn_size >= 2 && in is_flds()
65 uint8_t insn_size; in process_exit_on_emulation_error() local
81 insn_size = run->emulation_failure.insn_size; in process_exit_on_emulation_error()
84 TEST_ASSERT(insn_size <= 15 && insn_size > 0, in process_exit_on_emulation_error()
86 insn_size); in process_exit_on_emulation_error()
88 TEST_ASSERT(is_flds(insn_bytes, insn_size), in process_exit_on_emulation_error()
/Linux-v5.15/arch/csky/kernel/probes/
Duprobes.c31 auprobe->insn_size = is_insn32(insn) ? 4 : 2; in arch_uprobe_analyze_insn()
68 instruction_pointer_set(regs, utask->vaddr + auprobe->insn_size); in arch_uprobe_post_xol()
/Linux-v5.15/arch/riscv/kernel/probes/
Duprobes.c32 auprobe->insn_size = GET_INSN_LENGTH(opcode); in arch_uprobe_analyze_insn()
73 instruction_pointer_set(regs, utask->vaddr + auprobe->insn_size); in arch_uprobe_post_xol()
/Linux-v5.15/arch/csky/include/asm/
Duprobes.h26 unsigned long insn_size; member
/Linux-v5.15/arch/riscv/include/asm/
Duprobes.h33 unsigned long insn_size; member
/Linux-v5.15/kernel/
Dkprobes.c96 return PAGE_SIZE/(c->insn_size * sizeof(kprobe_opcode_t)); in slots_per_page()
121 .insn_size = MAX_INSN_SIZE,
146 slot = kip->insns + (i * c->insn_size); in __get_insn_slot()
255 (c->insn_size * sizeof(kprobe_opcode_t)); in __free_insn_slot()
2501 kprobe_optinsn_slots.insn_size = MAX_OPTINSN_SIZE; in init_kprobes()
/Linux-v5.15/include/linux/
Dkprobes.h273 size_t insn_size; /* size of instruction slot */ member
/Linux-v5.15/arch/s390/kernel/
Dkprobes.c64 .insn_size = MAX_INSN_SIZE,
/Linux-v5.15/tools/include/uapi/linux/
Dkvm.h405 __u8 insn_size; member
/Linux-v5.15/include/uapi/linux/
Dkvm.h405 __u8 insn_size; member
/Linux-v5.15/arch/x86/kvm/
Dx86.c7498 u32 insn_size = ctxt->fetch.end - ctxt->fetch.data; in prepare_emulation_failure_exit() local
7506 if (insn_size) { in prepare_emulation_failure_exit()
7510 run->emulation_failure.insn_size = insn_size; in prepare_emulation_failure_exit()
7514 ctxt->fetch.data, insn_size); in prepare_emulation_failure_exit()
/Linux-v5.15/Documentation/virt/kvm/
Dapi.rst6682 set in the 'flags' field then both 'insn_size' and 'insn_bytes' have valid data