Searched refs:online_vcpus (Results 1 – 10 of 10) sorted by relevance
46 value |= (atomic_read(&vcpu->kvm->online_vcpus) - 1) << 5; in vgic_mmio_read_v2_misc()120 int nr_vcpus = atomic_read(&source_vcpu->kvm->online_vcpus); in vgic_mmio_write_sgir()182 u8 cpu_mask = GENMASK(atomic_read(&vcpu->kvm->online_vcpus) - 1, 0); in vgic_mmio_write_target()
122 if (atomic_read(&kvm->online_vcpus) > kvm->arch.max_vcpus) { in kvm_vgic_create()285 if (kvm->created_vcpus != atomic_read(&kvm->online_vcpus)) in vgic_init()
127 nr_vcpus = atomic_read(&kvm->online_vcpus); in vgic_v4_init()
297 if (cpuid >= atomic_read(&dev->kvm->online_vcpus)) in vgic_v2_parse_attr()319 unlock_vcpus(kvm, atomic_read(&kvm->online_vcpus) - 1); in unlock_all_vcpus()
69 int nr_cpus = atomic_read(&kvm->online_vcpus); in iter_init()
298 return atomic_read(&kvm->online_vcpus) * KVM_VGIC_V3_REDIST_SIZE; in vgic_v3_rd_region_size()
1085 if (target_addr >= atomic_read(&kvm->online_vcpus)) in vgic_its_cmd_handle_mapc()1216 if (target1_addr >= atomic_read(&kvm->online_vcpus) || in vgic_its_cmd_handle_movall()1217 target2_addr >= atomic_read(&kvm->online_vcpus)) in vgic_its_cmd_handle_movall()2306 target_addr >= atomic_read(&kvm->online_vcpus)) in vgic_its_restore_cte()
439 atomic_t online_vcpus; member549 int num_vcpus = atomic_read(&kvm->online_vcpus); in kvm_get_vcpu()559 idx < atomic_read(&kvm->online_vcpus) && \
194 atomic_set(&kvm->online_vcpus, 0); in kvm_arch_destroy_vm()911 int nrcpus = atomic_read(&kvm->online_vcpus); in kvm_vm_ioctl_irq_line()
2767 vcpu->vcpu_idx = atomic_read(&kvm->online_vcpus); in kvm_vm_ioctl_create_vcpu()2785 atomic_inc(&kvm->online_vcpus); in kvm_vm_ioctl_create_vcpu()