Lines Matching refs:qblocks
184 uint qblocks, resblks, resrtextents; in xfs_iomap_write_direct() local
222 resrtextents = qblocks = resaligned; in xfs_iomap_write_direct()
228 resblks = qblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_iomap_write_direct()
269 error = xfs_trans_reserve_quota_nblks(tp, ip, qblocks, 0, quota_flag); in xfs_iomap_write_direct()
308 xfs_trans_unreserve_quota_nblks(tp, ip, (long)qblocks, 0, quota_flag); in xfs_iomap_write_direct()
340 xfs_fsblock_t *qblocks, in xfs_quota_calc_throttle() argument
350 *qblocks = 0; in xfs_quota_calc_throttle()
368 if ((freesp >> shift) < (*qblocks >> *qshift)) { in xfs_quota_calc_throttle()
369 *qblocks = freesp; in xfs_quota_calc_throttle()
406 xfs_fsblock_t qblocks; in xfs_iomap_prealloc_size() local
449 qblocks = alloc_blocks; in xfs_iomap_prealloc_size()
479 xfs_quota_calc_throttle(ip, XFS_DQ_USER, &qblocks, &qshift, in xfs_iomap_prealloc_size()
482 xfs_quota_calc_throttle(ip, XFS_DQ_GROUP, &qblocks, &qshift, in xfs_iomap_prealloc_size()
485 xfs_quota_calc_throttle(ip, XFS_DQ_PROJ, &qblocks, &qshift, in xfs_iomap_prealloc_size()
495 alloc_blocks = min(alloc_blocks, qblocks); in xfs_iomap_prealloc_size()