Searched refs:insn_size (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | emulator_error_test.c | 38 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/ |
D | uprobes.c | 31 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/ |
D | uprobes.c | 32 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/ |
D | uprobes.h | 26 unsigned long insn_size; member
|
/linux-6.1.9/arch/riscv/include/asm/ |
D | uprobes.h | 33 unsigned long insn_size; member
|
/linux-6.1.9/kernel/ |
D | kprobes.c | 104 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/ |
D | kprobes.h | 310 size_t insn_size; /* size of instruction slot */ member
|
/linux-6.1.9/arch/s390/kernel/ |
D | kprobes.c | 66 .insn_size = MAX_INSN_SIZE,
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | kvm.h | 415 __u8 insn_size; member
|
/linux-6.1.9/include/uapi/linux/ |
D | kvm.h | 415 __u8 insn_size; member
|
/linux-6.1.9/arch/x86/kvm/ |
D | x86.c | 8365 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/ |
D | api.rst | 7366 set in the 'flags' field then both 'insn_size' and 'insn_bytes' have valid data
|