Lines Matching full:masked
31 bool masked; member
101 /* Returns true if the INTx vfio_pci_irq_ctx.masked value is changed. */
129 if (!ctx->masked) { in __vfio_pci_intx_mask()
139 ctx->masked = true; in __vfio_pci_intx_mask()
185 if (ctx->masked && !vdev->virq_disabled) { in vfio_pci_intx_unmask_handler()
197 ctx->masked = (ret > 0); in vfio_pci_intx_unmask_handler()
234 ctx->masked = true; in vfio_intx_handler()
236 } else if (!ctx->masked && /* may be shared */ in vfio_intx_handler()
238 ctx->masked = true; in vfio_intx_handler()
280 * Fill the initial masked state based on virq_disabled. After in vfio_intx_enable()
282 * masking. igate prevents races during setup, once running masked in vfio_intx_enable()
291 * yet active, therefore masked is stable and can be used to in vfio_intx_enable()
297 ctx->masked = vdev->virq_disabled; in vfio_intx_enable()
299 pci_intx(pdev, !ctx->masked); in vfio_intx_enable()
302 irqflags = ctx->masked ? IRQF_NO_AUTOEN : 0; in vfio_intx_enable()