Lines Matching refs:qblocks
198 uint qblocks, resblks; in xfs_iomap_write_direct() local
209 resrtextents = qblocks = resaligned; in xfs_iomap_write_direct()
214 resblks = qblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_iomap_write_direct()
249 error = xfs_trans_reserve_quota_nblks(tp, ip, qblocks, 0, quota_flag); in xfs_iomap_write_direct()
288 xfs_trans_unreserve_quota_nblks(tp, ip, (long)qblocks, 0, quota_flag); in xfs_iomap_write_direct()
320 xfs_fsblock_t *qblocks, in xfs_quota_calc_throttle() argument
330 *qblocks = 0; in xfs_quota_calc_throttle()
348 if ((freesp >> shift) < (*qblocks >> *qshift)) { in xfs_quota_calc_throttle()
349 *qblocks = freesp; in xfs_quota_calc_throttle()
374 xfs_fsblock_t qblocks; in xfs_iomap_prealloc_size() local
424 qblocks = alloc_blocks; in xfs_iomap_prealloc_size()
454 xfs_quota_calc_throttle(ip, XFS_DQTYPE_USER, &qblocks, &qshift, in xfs_iomap_prealloc_size()
457 xfs_quota_calc_throttle(ip, XFS_DQTYPE_GROUP, &qblocks, &qshift, in xfs_iomap_prealloc_size()
460 xfs_quota_calc_throttle(ip, XFS_DQTYPE_PROJ, &qblocks, &qshift, in xfs_iomap_prealloc_size()
470 alloc_blocks = min(alloc_blocks, qblocks); in xfs_iomap_prealloc_size()