Searched refs:__vcpu_ioctl (Results 1 – 15 of 15) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | vcpu_width_config.c | 31 ret = __vcpu_ioctl(vcpu0, KVM_ARM_VCPU_INIT, init0); in add_init_2vcpus() 36 ret = __vcpu_ioctl(vcpu1, KVM_ARM_VCPU_INIT, init1); in add_init_2vcpus() 59 ret = __vcpu_ioctl(vcpu0, KVM_ARM_VCPU_INIT, init0); in add_2vcpus_init_2vcpus() 63 ret = __vcpu_ioctl(vcpu1, KVM_ARM_VCPU_INIT, init1); in add_2vcpus_init_2vcpus()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 339 #define __vcpu_ioctl(vcpu, cmd, arg) \ macro 347 int ret = __vcpu_ioctl(vcpu, cmd, arg); \ 631 return __vcpu_ioctl(vcpu, KVM_RUN, NULL); in __vcpu_run() 682 return __vcpu_ioctl(vcpu, KVM_SET_SREGS, sregs); in _vcpu_sregs_set() 697 return __vcpu_ioctl(vcpu, KVM_GET_ONE_REG, ®); in __vcpu_get_reg() 703 return __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, ®); in __vcpu_set_reg() 739 return __vcpu_ioctl(vcpu, KVM_SET_NESTED_STATE, state); in __vcpu_nested_state_set() 750 int fd = __vcpu_ioctl(vcpu, KVM_GET_STATS_FD, NULL); in vcpu_get_stats_fd()
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | steal_time.c | 166 return !__vcpu_ioctl(vcpu, KVM_HAS_DEVICE_ATTR, &dev); in is_steal_time_supported() 188 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init() 194 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
|
D | get-reg-list.c | 236 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, ®); in run_test() 255 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, ®); in run_test()
|
D | pre_fault_memory_test.c | 46 ret = __vcpu_ioctl(vcpu, KVM_PRE_FAULT_MEMORY, &range); in pre_fault_memory()
|
/linux-6.12.1/tools/testing/selftests/kvm/s390x/ |
D | resets.c | 75 irqs = __vcpu_ioctl(vcpu, KVM_S390_GET_IRQ_STATE, &irq_state); in assert_noirq() 201 irqs = __vcpu_ioctl(vcpu, KVM_S390_SET_IRQ_STATE, &irq_state); in inject_irq()
|
D | memop.c | 173 return __vcpu_ioctl(vcpu, KVM_S390_MEM_OP, ksmo); in err_memop_ioctl()
|
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_cpuid.c | 120 ret = __vcpu_ioctl(vcpu, KVM_GET_SUPPORTED_HV_CPUID, &cpuid); in test_hv_cpuid_e2big()
|
D | vmx_nested_tsc_scaling_test.c | 158 tsc_khz = __vcpu_ioctl(vcpu, KVM_GET_TSC_KHZ, NULL); in main()
|
D | cpuid_test.c | 178 r = __vcpu_ioctl(vcpu, KVM_GET_CPUID2, cpuid); in test_get_cpuid2()
|
D | sync_regs_test.c | 198 __vcpu_ioctl(vcpu, KVM_TRANSLATE, &tr); in race_sync_regs()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 863 int r = __vcpu_ioctl(vcpu, KVM_GET_MSRS, msrs); in vcpu_msrs_get() 871 int r = __vcpu_ioctl(vcpu, KVM_SET_MSRS, msrs); in vcpu_msrs_set() 1034 r = __vcpu_ioctl(vcpu, KVM_SET_CPUID2, vcpu->cpuid); in __vcpu_set_cpuid()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 322 r = __vcpu_ioctl(vcpu, KVM_SET_MP_STATE, &mps); in vm_arch_vcpu_add()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 910 return __vcpu_ioctl(vcpu, KVM_SET_MSRS, &buffer.header); in _vcpu_set_msr()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 1688 ret = __vcpu_ioctl(vcpu, KVM_GET_REG_LIST, ®_list_n); in vcpu_get_reg_list()
|