Home
last modified time | relevance | path

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

/linux-6.6.21/virt/kvm/
Dkvm_main.c4449 static const struct kvm_device_ops *kvm_device_ops_table[KVM_DEV_TYPE_MAX] = { variable
4458 if (type >= ARRAY_SIZE(kvm_device_ops_table)) in kvm_register_device_ops()
4461 if (kvm_device_ops_table[type] != NULL) in kvm_register_device_ops()
4464 kvm_device_ops_table[type] = ops; in kvm_register_device_ops()
4470 if (kvm_device_ops_table[type] != NULL) in kvm_unregister_device_ops()
4471 kvm_device_ops_table[type] = NULL; in kvm_unregister_device_ops()
4483 if (cd->type >= ARRAY_SIZE(kvm_device_ops_table)) in kvm_ioctl_create_device()
4486 type = array_index_nospec(cd->type, ARRAY_SIZE(kvm_device_ops_table)); in kvm_ioctl_create_device()
4487 ops = kvm_device_ops_table[type]; in kvm_ioctl_create_device()