Lines Matching refs:qblocks
131 uint qblocks, resblks, resrtextents; in xfs_iomap_write_direct() local
166 resrtextents = qblocks = resaligned; in xfs_iomap_write_direct()
172 resblks = qblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_iomap_write_direct()
192 error = xfs_trans_reserve_quota_nblks(tp, ip, qblocks, 0, quota_flag); in xfs_iomap_write_direct()
237 xfs_trans_unreserve_quota_nblks(tp, ip, (long)qblocks, 0, quota_flag); in xfs_iomap_write_direct()
393 xfs_fsblock_t *qblocks, in xfs_quota_calc_throttle() argument
403 *qblocks = 0; in xfs_quota_calc_throttle()
421 if ((freesp >> shift) < (*qblocks >> *qshift)) { in xfs_quota_calc_throttle()
422 *qblocks = freesp; in xfs_quota_calc_throttle()
444 xfs_fsblock_t qblocks; in xfs_iomap_prealloc_size() local
451 qblocks = alloc_blocks; in xfs_iomap_prealloc_size()
481 xfs_quota_calc_throttle(ip, XFS_DQ_USER, &qblocks, &qshift, in xfs_iomap_prealloc_size()
484 xfs_quota_calc_throttle(ip, XFS_DQ_GROUP, &qblocks, &qshift, in xfs_iomap_prealloc_size()
487 xfs_quota_calc_throttle(ip, XFS_DQ_PROJ, &qblocks, &qshift, in xfs_iomap_prealloc_size()
497 alloc_blocks = MIN(alloc_blocks, qblocks); in xfs_iomap_prealloc_size()