Home
last modified time | relevance | path

Searched refs:__KVM_SYSCALL_ERROR (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c683 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("munmap()", ret)); in vm_vcpu_rm()
688 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("munmap()", ret)); in vm_vcpu_rm()
691 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("close()", ret)); in vm_vcpu_rm()
708 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("close()", ret)); in kvm_vm_release()
711 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("close()", ret)); in kvm_vm_release()
729 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("munmap()", ret)); in __vm_mem_region_delete()
733 TEST_ASSERT(!ret, __KVM_SYSCALL_ERROR("munmap()", ret)); in __vm_mem_region_delete()
783 TEST_ASSERT(fd != -1, __KVM_SYSCALL_ERROR("memfd_create()", fd)); in kvm_memfd_alloc()
786 TEST_ASSERT(!r, __KVM_SYSCALL_ERROR("ftruncate()", r)); in kvm_memfd_alloc()
789 TEST_ASSERT(!r, __KVM_SYSCALL_ERROR("fallocate()", r)); in kvm_memfd_alloc()
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dprivate_mem_conversions_test.c432 TEST_ASSERT(!r, __KVM_SYSCALL_ERROR("fallocate()", r)); in test_mem_conversions()
435 TEST_ASSERT(!r, __KVM_SYSCALL_ERROR("fallocate()", r)); in test_mem_conversions()
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dvgic_irq.c625 TEST_ASSERT(fd[f] != -1, __KVM_SYSCALL_ERROR("eventfd()", fd[f])); in kvm_routing_and_irqfd_check()
641 __KVM_SYSCALL_ERROR("write()", ret)); in kvm_routing_and_irqfd_check()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h264 #define __KVM_SYSCALL_ERROR(_name, _ret) \ macro
274 #define __KVM_IOCTL_ERROR(_name, _ret) __KVM_SYSCALL_ERROR(_name, _ret)