Lines Matching refs:flags
44 unsigned long flags; in vgic_add_lpi() local
65 raw_spin_lock_irqsave(&dist->lpi_list_lock, flags); in vgic_add_lpi()
93 raw_spin_unlock_irqrestore(&dist->lpi_list_lock, flags); in vgic_add_lpi()
279 unsigned long flags; in update_lpi_config() local
287 raw_spin_lock_irqsave(&irq->irq_lock, flags); in update_lpi_config()
294 vgic_queue_irq_unlock(kvm, irq, flags); in update_lpi_config()
299 raw_spin_unlock_irqrestore(&irq->irq_lock, flags); in update_lpi_config()
316 unsigned long flags; in vgic_copy_lpi_list() local
332 raw_spin_lock_irqsave(&dist->lpi_list_lock, flags); in vgic_copy_lpi_list()
341 raw_spin_unlock_irqrestore(&dist->lpi_list_lock, flags); in vgic_copy_lpi_list()
350 unsigned long flags; in update_affinity() local
352 raw_spin_lock_irqsave(&irq->irq_lock, flags); in update_affinity()
354 raw_spin_unlock_irqrestore(&irq->irq_lock, flags); in update_affinity()
426 unsigned long flags; in its_sync_lpi_pending_table() local
455 raw_spin_lock_irqsave(&irq->irq_lock, flags); in its_sync_lpi_pending_table()
457 vgic_queue_irq_unlock(vcpu->kvm, irq, flags); in its_sync_lpi_pending_table()
574 unsigned long flags; in vgic_its_check_cache() local
576 raw_spin_lock_irqsave(&dist->lpi_list_lock, flags); in vgic_its_check_cache()
578 raw_spin_unlock_irqrestore(&dist->lpi_list_lock, flags); in vgic_its_check_cache()
589 unsigned long flags; in vgic_its_cache_translation() local
596 raw_spin_lock_irqsave(&dist->lpi_list_lock, flags); in vgic_its_cache_translation()
633 raw_spin_unlock_irqrestore(&dist->lpi_list_lock, flags); in vgic_its_cache_translation()
640 unsigned long flags; in vgic_its_invalidate_cache() local
642 raw_spin_lock_irqsave(&dist->lpi_list_lock, flags); in vgic_its_invalidate_cache()
656 raw_spin_unlock_irqrestore(&dist->lpi_list_lock, flags); in vgic_its_invalidate_cache()
694 if (!(msi->flags & KVM_MSI_VALID_DEVID)) in vgic_msi_to_its()
724 unsigned long flags; in vgic_its_trigger_msi() local
735 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_its_trigger_msi()
737 vgic_queue_irq_unlock(kvm, irq, flags); in vgic_its_trigger_msi()
745 unsigned long flags; in vgic_its_inject_cached_translation() local
754 raw_spin_lock_irqsave(&irq->irq_lock, flags); in vgic_its_inject_cached_translation()
756 vgic_queue_irq_unlock(kvm, irq, flags); in vgic_its_inject_cached_translation()