Searched refs:nr_vcpus (Results 1 – 3 of 3) sorted by relevance
108 int i, nr_vcpus, ret; in vgic_v4_init() local116 nr_vcpus = atomic_read(&kvm->online_vcpus); in vgic_v4_init()118 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()123 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
112 int nr_vcpus = atomic_read(&source_vcpu->kvm->online_vcpus); in vgic_mmio_write_sgir() local124 targets = (1U << nr_vcpus) - 1; /* all, ... */ in vgic_mmio_write_sgir()
1220 int nr_vcpus; in get_vsie_page() local1235 nr_vcpus = atomic_read(&kvm->online_vcpus); in get_vsie_page()1238 if (kvm->arch.vsie.page_count < nr_vcpus) { in get_vsie_page()1255 kvm->arch.vsie.next %= nr_vcpus; in get_vsie_page()