Home
last modified time | relevance | path

Searched refs:online_vcpus (Results 1 – 10 of 10) sorted by relevance

/linux-4.19.296/virt/kvm/arm/vgic/
Dvgic-mmio-v2.c46 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()
Dvgic-init.c122 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()
Dvgic-v4.c127 nr_vcpus = atomic_read(&kvm->online_vcpus); in vgic_v4_init()
Dvgic-kvm-device.c297 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()
Dvgic-debug.c69 int nr_cpus = atomic_read(&kvm->online_vcpus); in iter_init()
Dvgic.h298 return atomic_read(&kvm->online_vcpus) * KVM_VGIC_V3_REDIST_SIZE; in vgic_v3_rd_region_size()
Dvgic-its.c1085 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()
/linux-4.19.296/include/linux/
Dkvm_host.h439 atomic_t online_vcpus; member
549 int num_vcpus = atomic_read(&kvm->online_vcpus); in kvm_get_vcpu()
559 idx < atomic_read(&kvm->online_vcpus) && \
/linux-4.19.296/virt/kvm/arm/
Darm.c194 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()
/linux-4.19.296/virt/kvm/
Dkvm_main.c2767 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()