Lines Matching refs:flags
67 unsigned long flags; in vgic_mmio_write_group() local
72 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_mmio_write_group()
74 vgic_queue_irq_unlock(vcpu->kvm, irq, flags); in vgic_mmio_write_group()
110 unsigned long flags; in vgic_mmio_write_senable() local
115 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_mmio_write_senable()
133 vgic_queue_irq_unlock(vcpu->kvm, irq, flags); in vgic_mmio_write_senable()
145 unsigned long flags; in vgic_mmio_write_cenable() local
150 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_mmio_write_cenable()
154 raw_spin_unlock_irqrestore(&irq->irq_lock, flags); in vgic_mmio_write_cenable()
169 unsigned long flags; in vgic_mmio_read_pending() local
171 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_mmio_read_pending()
174 raw_spin_unlock_irqrestore(&irq->irq_lock, flags); in vgic_mmio_read_pending()
227 unsigned long flags; in vgic_mmio_write_spending() local
238 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_mmio_write_spending()
243 vgic_queue_irq_unlock(vcpu->kvm, irq, flags); in vgic_mmio_write_spending()
280 unsigned long flags; in vgic_mmio_write_cpending() local
291 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_mmio_write_cpending()
298 raw_spin_unlock_irqrestore(&irq->irq_lock, flags); in vgic_mmio_write_cpending()
337 unsigned long flags; in vgic_mmio_change_active() local
340 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_mmio_change_active()
369 vgic_queue_irq_unlock(vcpu->kvm, irq, flags); in vgic_mmio_change_active()
371 raw_spin_unlock_irqrestore(&irq->irq_lock, flags); in vgic_mmio_change_active()
509 unsigned long flags; in vgic_mmio_write_priority() local
514 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_mmio_write_priority()
517 raw_spin_unlock_irqrestore(&irq->irq_lock, flags); in vgic_mmio_write_priority()
548 unsigned long flags; in vgic_mmio_write_config() local
563 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_mmio_write_config()
570 raw_spin_unlock_irqrestore(&irq->irq_lock, flags); in vgic_mmio_write_config()
602 unsigned long flags; in vgic_write_irq_line_level_info() local
619 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_write_irq_line_level_info()
622 vgic_queue_irq_unlock(vcpu->kvm, irq, flags); in vgic_write_irq_line_level_info()
624 raw_spin_unlock_irqrestore(&irq->irq_lock, flags); in vgic_write_irq_line_level_info()
731 int flags, nr_irqs = kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; in check_region() local
735 flags = VGIC_ACCESS_8bit; in check_region()
738 flags = VGIC_ACCESS_32bit; in check_region()
741 flags = VGIC_ACCESS_64bit; in check_region()
747 if ((region->access_flags & flags) && IS_ALIGNED(addr, len)) { in check_region()