Lines Matching refs:arch
43 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_has_its()
67 struct vgic_dist *vgic = &vcpu->kvm->arch.vgic; in vgic_mmio_read_v3_misc()
108 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_write_v3_misc()
114 mutex_lock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_v3_misc()
142 mutex_unlock(&vcpu->kvm->arch.config_lock); in vgic_mmio_write_v3_misc()
157 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_uaccess_write_v3_misc()
240 struct vgic_cpu *vgic_cpu = &vcpu->arch.vgic_cpu; in vgic_lpis_enabled()
248 struct vgic_cpu *vgic_cpu = &vcpu->arch.vgic_cpu; in vgic_mmio_read_v3r_ctlr()
262 struct vgic_cpu *vgic_cpu = &vcpu->arch.vgic_cpu; in vgic_mmio_write_v3r_ctlr()
294 struct vgic_dist *vgic = &vcpu->kvm->arch.vgic; in vgic_mmio_vcpu_rdist_is_last()
295 struct vgic_cpu *vgic_cpu = &vcpu->arch.vgic_cpu; in vgic_mmio_vcpu_rdist_is_last()
480 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_read_propbase()
489 struct vgic_dist *dist = &vcpu->kvm->arch.vgic; in vgic_mmio_write_propbase()
508 struct vgic_cpu *vgic_cpu = &vcpu->arch.vgic_cpu; in vgic_mmio_read_pendbase()
520 struct vgic_cpu *vgic_cpu = &vcpu->arch.vgic_cpu; in vgic_mmio_write_pendbase()
539 return !!atomic_read(&vcpu->arch.vgic_cpu.syncr_busy); in vgic_mmio_read_sync()
545 atomic_inc(&vcpu->arch.vgic_cpu.syncr_busy); in vgic_set_rdist_busy()
549 atomic_dec(&vcpu->arch.vgic_cpu.syncr_busy); in vgic_set_rdist_busy()
774 struct vgic_dist *vgic = &kvm->arch.vgic; in vgic_register_redist_iodev()
775 struct vgic_cpu *vgic_cpu = &vcpu->arch.vgic_cpu; in vgic_register_redist_iodev()
776 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_register_redist_iodev()
782 mutex_lock(&kvm->arch.config_lock); in vgic_register_redist_iodev()
814 mutex_unlock(&kvm->arch.config_lock); in vgic_register_redist_iodev()
826 mutex_unlock(&kvm->arch.config_lock); in vgic_register_redist_iodev()
832 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_unregister_redist_iodev()
880 struct vgic_dist *d = &kvm->arch.vgic; in vgic_v3_alloc_redist_region()
950 lockdep_assert_held(&kvm->arch.config_lock); in vgic_v3_free_redist_region()
954 if (vcpu->arch.vgic_cpu.rdreg == rdreg) in vgic_v3_free_redist_region()
955 vcpu->arch.vgic_cpu.rdreg = NULL; in vgic_v3_free_redist_region()
966 mutex_lock(&kvm->arch.config_lock); in vgic_v3_set_redist_base()
968 mutex_unlock(&kvm->arch.config_lock); in vgic_v3_set_redist_base()
980 mutex_lock(&kvm->arch.config_lock); in vgic_v3_set_redist_base()
983 mutex_unlock(&kvm->arch.config_lock); in vgic_v3_set_redist_base()