Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Demulator_error_test.c38 static bool is_flds(uint8_t *insn_bytes, uint8_t insn_size) in is_flds() argument
40 return insn_size >= 2 && in is_flds()
55 uint8_t insn_size; in process_exit_on_emulation_error() local
71 insn_size = run->emulation_failure.insn_size; in process_exit_on_emulation_error()
74 TEST_ASSERT(insn_size <= 15 && insn_size > 0, in process_exit_on_emulation_error()
76 insn_size); in process_exit_on_emulation_error()
78 TEST_ASSERT(is_flds(insn_bytes, insn_size), in process_exit_on_emulation_error()
/linux-6.1.9/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-6.1.9/arch/riscv/kernel/probes/
Duprobes.c32 auprobe->insn_size = GET_INSN_LENGTH(opcode); in arch_uprobe_analyze_insn()
71 instruction_pointer_set(regs, utask->vaddr + auprobe->insn_size); in arch_uprobe_post_xol()
/linux-6.1.9/arch/csky/include/asm/
Duprobes.h26 unsigned long insn_size; member
/linux-6.1.9/arch/riscv/include/asm/
Duprobes.h33 unsigned long insn_size; member
/linux-6.1.9/kernel/
Dkprobes.c104 return PAGE_SIZE/(c->insn_size * sizeof(kprobe_opcode_t)); in slots_per_page()
135 .insn_size = MAX_INSN_SIZE,
161 slot = kip->insns + (i * c->insn_size); in __get_insn_slot()
266 (c->insn_size * sizeof(kprobe_opcode_t)); in __free_insn_slot()
2726 kprobe_optinsn_slots.insn_size = MAX_OPTINSN_SIZE; in init_kprobes()
/linux-6.1.9/include/linux/
Dkprobes.h310 size_t insn_size; /* size of instruction slot */ member
/linux-6.1.9/arch/s390/kernel/
Dkprobes.c66 .insn_size = MAX_INSN_SIZE,
/linux-6.1.9/tools/include/uapi/linux/
Dkvm.h415 __u8 insn_size; member
/linux-6.1.9/include/uapi/linux/
Dkvm.h415 __u8 insn_size; member
/linux-6.1.9/arch/x86/kvm/
Dx86.c8365 u8 ndata, u8 *insn_bytes, u8 insn_size) in prepare_emulation_failure_exit() argument
8396 if (insn_size) { in prepare_emulation_failure_exit()
8397 BUILD_BUG_ON((sizeof(run->emulation_failure.insn_size) + in prepare_emulation_failure_exit()
8402 run->emulation_failure.insn_size = insn_size; in prepare_emulation_failure_exit()
8405 memcpy(run->emulation_failure.insn_bytes, insn_bytes, insn_size); in prepare_emulation_failure_exit()
/linux-6.1.9/Documentation/virt/kvm/
Dapi.rst7366 set in the 'flags' field then both 'insn_size' and 'insn_bytes' have valid data