Searched refs:nr_vcpus (Results 1 – 3 of 3) sorted by relevance
119 int i, nr_vcpus, ret; in vgic_v4_init() local127 nr_vcpus = atomic_read(&kvm->online_vcpus); in vgic_v4_init()129 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()134 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
120 int nr_vcpus = atomic_read(&source_vcpu->kvm->online_vcpus); in vgic_mmio_write_sgir() local132 targets = (1U << nr_vcpus) - 1; /* all, ... */ in vgic_mmio_write_sgir()
1042 int nr_vcpus; in get_vsie_page() local1057 nr_vcpus = atomic_read(&kvm->online_vcpus); in get_vsie_page()1060 if (kvm->arch.vsie.page_count < nr_vcpus) { in get_vsie_page()1077 kvm->arch.vsie.next %= nr_vcpus; in get_vsie_page()