Home
last modified time | relevance | path

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

/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-v4.c119 int i, nr_vcpus, ret; in vgic_v4_init() local
127 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()
Dvgic-mmio-v2.c120 int nr_vcpus = atomic_read(&source_vcpu->kvm->online_vcpus); in vgic_mmio_write_sgir() local
132 targets = (1U << nr_vcpus) - 1; /* all, ... */ in vgic_mmio_write_sgir()
/Linux-v4.19/arch/s390/kvm/
Dvsie.c1042 int nr_vcpus; in get_vsie_page() local
1057 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()