Lines Matching full:masked
30 bool masked; member
101 /* Returns true if the INTx vfio_pci_irq_ctx.masked value is changed. */
127 if (!ctx->masked) { in vfio_pci_intx_mask()
137 ctx->masked = true; in vfio_pci_intx_mask()
176 if (ctx->masked && !vdev->virq_disabled) { in vfio_pci_intx_unmask_handler()
188 ctx->masked = (ret > 0); in vfio_pci_intx_unmask_handler()
218 ctx->masked = true; in vfio_intx_handler()
220 } else if (!ctx->masked && /* may be shared */ in vfio_intx_handler()
222 ctx->masked = true; in vfio_intx_handler()
249 * If the virtual interrupt is masked, restore it. Devices in vfio_intx_enable()
250 * supporting DisINTx can be masked at the hardware level in vfio_intx_enable()
254 ctx->masked = vdev->virq_disabled; in vfio_intx_enable()
256 pci_intx(vdev->pdev, !ctx->masked); in vfio_intx_enable()
316 if (!vdev->pci_2_3 && ctx->masked) in vfio_intx_set_signal()