Lines Matching defs:queue

136  * @apqn: the APQN of a queue device.
186 * Note: if @queue is not linked to an ap_matrix_mdev object, the KVM lock
198 * vfio_ap_mdev_get_queue - retrieve a queue with a specific APQN from a
201 * @apqn: The APQN of a queue device
203 * Return: the pointer to the vfio_ap_queue struct representing the queue or
204 * NULL if the queue is not assigned to @matrix_mdev
556 * - AP_RESPONSE_Q_NOT_AVAIL: if the queue is not available
557 * - AP_RESPONSE_DECONFIGURED: if the queue is not configured
661 * to ensure no queue devices are passed through to
670 * Note: If an APQN referencing a queue device that is not bound to the vfio_ap
837 #define MDEV_SHARING_ERR "Userspace may not re-assign queue %02lx.%04lx " \
860 * AP adapter IDs and AP queue indexes is not configured for any matrix
861 * mediated device. AP queue sharing is not allowed.
1071 /* If the queue is assigned to the matrix mdev, unlink it. */
1191 * @buf: a buffer containing the AP queue index (APQI) of the domain to
1315 * @buf: a buffer containing the AP queue index (APQI) of the domain to
1671 struct ap_queue *queue;
1674 queue = ap_get_qdev(apqn);
1675 if (!queue)
1678 if (queue->ap_dev.device.driver == &matrix_dev->vfio_ap_drv->driver)
1679 q = dev_get_drvdata(&queue->ap_dev.device);
1681 put_device(&queue->ap_dev.device);
1701 * response code until the AP queue is reset; so, let's return
1707 "failed to verify reset of queue %02x.%04x: TAPQ rc=%u\n",
1714 #define WAIT_MSG "Waited %dms for reset of queue %02x.%04x (%u, %u, %u)"
1750 * status response code to 0 so the queue may be
1776 * Let's verify whether the ZAPQ completed successfully on a work queue.
1784 * so the queue may be passed through (i.e., not filtered).
2055 /* If the queue is assigned to the matrix mediated device, then
2063 * If the queue is passed through to the guest, then indicate
2182 * the new queue devices are probed.
2219 /* If the queue is assigned to the guest's AP configuration */
2225 * single queue; so, let's unplug the adapter.
2235 * If the queue is not in the host's AP configuration, then resetting
2420 * below, the queue's info should be filled.