Home
last modified time | relevance | path

Searched refs:__kvm_has_device_attr (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c149 ret = __kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, -1); in subtest_dist_rdist()
191 ret = __kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in subtest_dist_rdist()
217 ret = __kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, in subtest_v3_redist_regions()
Dsmccc_filter.c250 r = __kvm_has_device_attr(vm->fd, KVM_ARM_VM_SMCCC_CTRL, KVM_ARM_VM_SMCCC_FILTER); in kvm_supports_smccc_filter()
/linux-6.6.21/tools/testing/selftests/kvm/include/
Dkvm_util_base.h594 int __kvm_has_device_attr(int dev_fd, uint32_t group, uint64_t attr);
598 int ret = __kvm_has_device_attr(dev_fd, group, attr); in kvm_has_device_attr()
626 return __kvm_has_device_attr(vcpu->fd, group, attr); in __vcpu_has_device_attr()
/linux-6.6.21/tools/testing/selftests/kvm/s390x/
Dcmma_test.c676 r = !__kvm_has_device_attr(vm->fd, KVM_S390_VM_MEM_CTRL, KVM_S390_VM_MEM_ENABLE_CMMA); in machine_has_cmma()
/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dkvm_util.c1665 int __kvm_has_device_attr(int dev_fd, uint32_t group, uint64_t attr) in __kvm_has_device_attr() function