Home
last modified time | relevance | path

Searched refs:__vm_ioctl (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.h276 #define __vm_ioctl(vm, cmd, arg) \ macro
284 int ret = __vm_ioctl(vm, cmd, arg); \
317 int ret = __vm_ioctl(vm, KVM_CHECK_EXTENSION, (void *)cap); in vm_check_cap()
327 return __vm_ioctl(vm, KVM_ENABLE_CAP, &enable_cap); in __vm_enable_cap()
371 return __vm_ioctl(vm, KVM_RESET_DIRTY_RINGS, NULL); in kvm_vm_reset_dirty_ring()
376 int fd = __vm_ioctl(vm, KVM_GET_STATS_FD, NULL); in vm_get_stats_fd()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dmax_vcpuid_cap_test.c39 ret = __vm_ioctl(vm, KVM_CREATE_VCPU, (void *)MAX_VCPU_ID); in main()
H A Dset_boot_cpu_id.c39 int r = __vm_ioctl(vcpu->vm, KVM_SET_BOOT_CPU_ID, in test_set_bsp_busy()
H A Dxen_shinfo_test.c418 __vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &cache_activate); in juggle_shinfo_state()
419 __vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &cache_deactivate); in juggle_shinfo_state()
901 __vm_ioctl(vm, KVM_XEN_HVM_EVTCHN_SEND, &uxe); in main()
H A Duserspace_msr_exit_test.c724 int r = __vm_ioctl(vm, cmd, arg); \
H A Dpmu_event_filter_test.c748 return __vm_ioctl(vcpu->vm, KVM_SET_PMU_EVENT_FILTER, f); in set_pmu_event_filter()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1046 ret = __vm_ioctl(vm, KVM_SET_USER_MEMORY_REGION, &region->region); in vm_userspace_mem_region_add()
1129 ret = __vm_ioctl(vm, KVM_SET_USER_MEMORY_REGION, &region->region); in vm_mem_region_set_flags()
1159 ret = __vm_ioctl(vm, KVM_SET_USER_MEMORY_REGION, &region->region); in vm_mem_region_move()
1229 vcpu->fd = __vm_ioctl(vm, KVM_CREATE_VCPU, (void *)(unsigned long)vcpu_id); in __vm_vcpu_add()
1683 return __vm_ioctl(vm, KVM_CREATE_DEVICE, &create_dev); in __kvm_test_create_device()
1695 err = __vm_ioctl(vm, KVM_CREATE_DEVICE, &create_dev); in __kvm_create_device()
1735 return __vm_ioctl(vm, KVM_IRQ_LINE, &irq_level); in _kvm_irq_line()
1781 ret = __vm_ioctl(vm, KVM_SET_GSI_ROUTING, routing); in _kvm_gsi_routing_write()
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dcmma_test.c226 rc = __vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in vm_get_cmma_bits()
H A Dmemop.c169 return __vm_ioctl(info.vm, KVM_S390_MEM_OP, ksmo); in err_memop_ioctl()