Lines Matching full:masked
30 bool masked; member
105 /* Returns true if the INTx vfio_pci_irq_ctx.masked value is changed. */
133 if (!ctx->masked) { in __vfio_pci_intx_mask()
143 ctx->masked = true; in __vfio_pci_intx_mask()
193 if (ctx->masked && !vdev->virq_disabled) { in vfio_pci_intx_unmask_handler()
205 ctx->masked = (ret > 0); in vfio_pci_intx_unmask_handler()
244 ctx->masked = true; in vfio_intx_handler()
246 } else if (!ctx->masked && /* may be shared */ in vfio_intx_handler()
248 ctx->masked = true; in vfio_intx_handler()
289 * Fill the initial masked state based on virq_disabled. After in vfio_intx_enable()
291 * masking. igate prevents races during setup, once running masked in vfio_intx_enable()
300 * yet active, therefore masked is stable and can be used to in vfio_intx_enable()
306 ctx->masked = vdev->virq_disabled; in vfio_intx_enable()
308 pci_intx(pdev, !ctx->masked); in vfio_intx_enable()
311 irqflags = ctx->masked ? IRQF_NO_AUTOEN : 0; in vfio_intx_enable()