Home
last modified time | relevance | path

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

/Linux-v5.4/virt/kvm/arm/vgic/
Dvgic-v4.c108 int i, nr_vcpus, ret; in vgic_v4_init() local
116 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()
Dvgic-mmio-v2.c112 int nr_vcpus = atomic_read(&source_vcpu->kvm->online_vcpus); in vgic_mmio_write_sgir() local
124 targets = (1U << nr_vcpus) - 1; /* all, ... */ in vgic_mmio_write_sgir()
/Linux-v5.4/arch/s390/kvm/
Dvsie.c1220 int nr_vcpus; in get_vsie_page() local
1235 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()