Searched refs:qres (Results 1 – 2 of 2) sorted by relevance
438 struct vfio_ap_queue_reserved *qres = data; in vfio_ap_has_queue() local443 if (qres->apid && qres->apqi) { in vfio_ap_has_queue()444 qid = AP_MKQID(*qres->apid, *qres->apqi); in vfio_ap_has_queue()446 qres->reserved = true; in vfio_ap_has_queue()447 } else if (qres->apid && !qres->apqi) { in vfio_ap_has_queue()449 if (id == *qres->apid) in vfio_ap_has_queue()450 qres->reserved = true; in vfio_ap_has_queue()451 } else if (!qres->apid && qres->apqi) { in vfio_ap_has_queue()453 if (id == *qres->apqi) in vfio_ap_has_queue()454 qres->reserved = true; in vfio_ap_has_queue()[all …]
1000 int64_t qres, qdelta; in xfs_reflink_remap_extent() local1085 qres = qdelta = 0; in xfs_reflink_remap_extent()1087 qres = XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK); in xfs_reflink_remap_extent()1089 qres += dmap->br_blockcount; in xfs_reflink_remap_extent()1090 if (qres > 0) { in xfs_reflink_remap_extent()1091 error = xfs_trans_reserve_quota_nblks(tp, ip, qres, 0, in xfs_reflink_remap_extent()