kvm_device_ops_table 3203 virt/kvm/kvm_main.c static struct kvm_device_ops *kvm_device_ops_table[KVM_DEV_TYPE_MAX] = { kvm_device_ops_table 3212 virt/kvm/kvm_main.c if (type >= ARRAY_SIZE(kvm_device_ops_table)) kvm_device_ops_table 3215 virt/kvm/kvm_main.c if (kvm_device_ops_table[type] != NULL) kvm_device_ops_table 3218 virt/kvm/kvm_main.c kvm_device_ops_table[type] = ops; kvm_device_ops_table 3224 virt/kvm/kvm_main.c if (kvm_device_ops_table[type] != NULL) kvm_device_ops_table 3225 virt/kvm/kvm_main.c kvm_device_ops_table[type] = NULL; kvm_device_ops_table 3237 virt/kvm/kvm_main.c if (cd->type >= ARRAY_SIZE(kvm_device_ops_table)) kvm_device_ops_table 3240 virt/kvm/kvm_main.c type = array_index_nospec(cd->type, ARRAY_SIZE(kvm_device_ops_table)); kvm_device_ops_table 3241 virt/kvm/kvm_main.c ops = kvm_device_ops_table[type];