Lines Matching refs:qblocks
131 uint qblocks, resblks, resrtextents; in xfs_iomap_write_direct() local
176 resrtextents = qblocks = resaligned; in xfs_iomap_write_direct()
182 resblks = qblocks = XFS_DIOSTRAT_SPACE_RES(mp, resaligned); in xfs_iomap_write_direct()
229 error = xfs_trans_reserve_quota_nblks(tp, ip, qblocks, 0, quota_flag); in xfs_iomap_write_direct()
275 xfs_trans_unreserve_quota_nblks(tp, ip, (long)qblocks, 0, quota_flag); in xfs_iomap_write_direct()
431 xfs_fsblock_t *qblocks, in xfs_quota_calc_throttle() argument
441 *qblocks = 0; in xfs_quota_calc_throttle()
459 if ((freesp >> shift) < (*qblocks >> *qshift)) { in xfs_quota_calc_throttle()
460 *qblocks = freesp; in xfs_quota_calc_throttle()
482 xfs_fsblock_t qblocks; in xfs_iomap_prealloc_size() local
489 qblocks = alloc_blocks; in xfs_iomap_prealloc_size()
519 xfs_quota_calc_throttle(ip, XFS_DQ_USER, &qblocks, &qshift, in xfs_iomap_prealloc_size()
522 xfs_quota_calc_throttle(ip, XFS_DQ_GROUP, &qblocks, &qshift, in xfs_iomap_prealloc_size()
525 xfs_quota_calc_throttle(ip, XFS_DQ_PROJ, &qblocks, &qshift, in xfs_iomap_prealloc_size()
535 alloc_blocks = MIN(alloc_blocks, qblocks); in xfs_iomap_prealloc_size()