Searched refs:__vm_ioctl (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | max_vcpuid_cap_test.c | 48 ret = __vm_ioctl(vm, KVM_CREATE_VCPU, (void *)MAX_VCPU_ID); in main() 52 ret = __vm_ioctl(vm, KVM_CREATE_VCPU, (void *)(1L << 32)); in main() 56 ret = __vm_ioctl(vm, KVM_CREATE_VCPU, (void *)0); in main()
|
D | set_boot_cpu_id.c | 42 r = __vm_ioctl(vm, KVM_SET_BOOT_CPU_ID, (void *)(max_vcpu_id + 1)); in test_set_invalid_bsp() 46 r = __vm_ioctl(vm, KVM_SET_BOOT_CPU_ID, (void *)(1L << 32)); in test_set_invalid_bsp() 52 int r = __vm_ioctl(vcpu->vm, KVM_SET_BOOT_CPU_ID, in test_set_bsp_busy()
|
D | xen_shinfo_test.c | 423 __vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &cache_activate_gfn); in juggle_shinfo_state() 425 __vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &cache_deactivate_gfn); in juggle_shinfo_state() 428 __vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &cache_activate_hva); in juggle_shinfo_state() 430 __vm_ioctl(vm, KVM_XEN_HVM_SET_ATTR, &cache_deactivate_hva); in juggle_shinfo_state() 924 __vm_ioctl(vm, KVM_XEN_HVM_EVTCHN_SEND, &uxe); in main()
|
D | userspace_msr_exit_test.c | 690 int r = __vm_ioctl(vm, cmd, arg); \
|
D | pmu_event_filter_test.c | 665 return __vm_ioctl(vcpu->vm, KVM_SET_PMU_EVENT_FILTER, f); in set_pmu_event_filter()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 295 #define __vm_ioctl(vm, cmd, arg) \ macro 319 __vm_ioctl(vm, KVM_CHECK_EXTENSION, (void *)KVM_CAP_USER_MEMORY) < 0) { \ 332 int ret = __vm_ioctl(vm, cmd, arg); \ 358 int ret = __vm_ioctl(vm, KVM_CHECK_EXTENSION, (void *)cap); in vm_check_cap() 368 return __vm_ioctl(vm, KVM_ENABLE_CAP, &enable_cap); in __vm_enable_cap() 458 return __vm_ioctl(vm, KVM_RESET_DIRTY_RINGS, NULL); in kvm_vm_reset_dirty_ring() 489 int fd = __vm_ioctl(vm, KVM_GET_STATS_FD, NULL); in vm_get_stats_fd() 555 return __vm_ioctl(vm, KVM_CREATE_GUEST_MEMFD, &guest_memfd); in __vm_create_guest_memfd()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/ |
D | sev.h | 60 r = __vm_ioctl(vm, KVM_MEMORY_ENCRYPT_OP, &sev_cmd.raw); \
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 1056 ret = __vm_ioctl(vm, KVM_SET_USER_MEMORY_REGION2, ®ion->region); in vm_mem_add() 1148 ret = __vm_ioctl(vm, KVM_SET_USER_MEMORY_REGION2, ®ion->region); in vm_mem_region_set_flags() 1178 ret = __vm_ioctl(vm, KVM_SET_USER_MEMORY_REGION2, ®ion->region); in vm_mem_region_move() 1276 vcpu->fd = __vm_ioctl(vm, KVM_CREATE_VCPU, (void *)(unsigned long)vcpu_id); in __vm_vcpu_add() 1748 return __vm_ioctl(vm, KVM_CREATE_DEVICE, &create_dev); in __kvm_test_create_device() 1760 err = __vm_ioctl(vm, KVM_CREATE_DEVICE, &create_dev); in __kvm_create_device() 1800 return __vm_ioctl(vm, KVM_IRQ_LINE, &irq_level); in _kvm_irq_line() 1846 ret = __vm_ioctl(vm, KVM_SET_GSI_ROUTING, routing); in _kvm_gsi_routing_write()
|
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | vgic_lpi_stress.c | 239 TEST_ASSERT(__vm_ioctl(vm, KVM_SIGNAL_MSI, &msi) == 1, in signal_lpi()
|
D | set_id_regs.c | 409 ret = __vm_ioctl(vcpu->vm, KVM_ARM_GET_REG_WRITABLE_MASKS, &range); in test_vm_ftr_id_regs()
|
/linux-6.12.1/tools/testing/selftests/kvm/s390x/ |
D | cmma_test.c | 221 rc = __vm_ioctl(vm, KVM_S390_GET_CMMA_BITS, &args); in vm_get_cmma_bits()
|
D | memop.c | 171 return __vm_ioctl(info.vm, KVM_S390_MEM_OP, ksmo); in err_memop_ioctl()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 634 r = __vm_ioctl(vm, KVM_GET_TSC_KHZ, NULL); in kvm_arch_vm_post_create()
|