Lines Matching defs:data
30 static int match_apqn(struct device *dev, const void *data)
34 return (q->apqn == *(int *)(data)) ? 1 : 0;
420 * @data: a struct vfio_ap_queue_reserved reference
423 * apid or apqi specified in @data:
425 * - If @data contains both an apid and apqi value, then @data will be flagged
428 * - If @data contains only an apid value, @data will be flagged as
431 * - If @data contains only an apqi value, @data will be flagged as
435 * @data does not contain either an apid or apqi.
437 static int vfio_ap_has_queue(struct device *dev, void *data)
439 struct vfio_ap_queue_reserved *qres = data;
1063 * @data: data associated with the request
1070 unsigned long action, void *data)
1077 struct vfio_iommu_type1_dma_unmap *unmap = data;
1088 unsigned long action, void *data)
1098 if (!data) {
1103 ret = vfio_ap_mdev_set_kvm(matrix_mdev, data);