Searched refs:q_rtb (Results 1 – 13 of 13) sorted by relevance
| /linux/fs/xfs/scrub/ |
| H A D | quota.c | 197 if (dq->q_rtb.hardlimit > mp->m_sb.sb_rblocks) in xchk_quota_item() 199 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) in xchk_quota_item() 214 if (mp->m_sb.sb_rblocks < dq->q_rtb.count) in xchk_quota_item() 221 if (mp->m_sb.sb_rblocks < dq->q_rtb.count) in xchk_quota_item() 244 if (dq->q_rtb.hardlimit != 0 && in xchk_quota_item() 245 dq->q_rtb.count > dq->q_rtb.hardlimit) in xchk_quota_item() 250 xchk_quota_item_timer(sc, offset, &dq->q_rtb); in xchk_quota_item()
|
| H A D | quota_repair.c | 206 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) { in xrep_quota_item() 207 dq->q_rtb.softlimit = dq->q_rtb.hardlimit; in xrep_quota_item() 232 if (!xfs_has_reflink(mp) && dq->q_rtb.count > mp->m_sb.sb_rblocks) { in xrep_quota_item() 233 dq->q_rtb.reserved -= dq->q_rtb.count; in xrep_quota_item() 234 dq->q_rtb.reserved += mp->m_sb.sb_rblocks; in xrep_quota_item() 235 dq->q_rtb.count = mp->m_sb.sb_rblocks; in xrep_quota_item() 242 xrep_quota_item_timer(sc, &dq->q_rtb, &dirty); in xrep_quota_item()
|
| H A D | quotacheck_repair.c | 87 delta = (int64_t)xcdq.rtbcount - dq->q_rtb.count; in xqcheck_commit_dquot() 89 dq->q_rtb.reserved += delta; in xqcheck_commit_dquot() 90 dq->q_rtb.count += delta; in xqcheck_commit_dquot()
|
| H A D | quotacheck.c | 578 if (xcdq.rtbcount != dq->q_rtb.count) in xqcheck_compare_dquot()
|
| /linux/fs/xfs/ |
| H A D | xfs_dquot.c | 142 if (!dq->q_rtb.softlimit) in xfs_qm_adjust_dqlimits() 143 dq->q_rtb.softlimit = defq->rtb.soft; in xfs_qm_adjust_dqlimits() 144 if (!dq->q_rtb.hardlimit) in xfs_qm_adjust_dqlimits() 145 dq->q_rtb.hardlimit = defq->rtb.hard; in xfs_qm_adjust_dqlimits() 219 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_rtb, &defq->rtb); in xfs_qm_adjust_dqtimers() 334 xfs_dquot_set_prealloc(&dqp->q_rtb_prealloc, &dqp->q_rtb); in xfs_dquot_set_prealloc_limits() 640 dqp->q_rtb.hardlimit = be64_to_cpu(ddqp->d_rtb_hardlimit); in xfs_dquot_from_disk() 641 dqp->q_rtb.softlimit = be64_to_cpu(ddqp->d_rtb_softlimit); in xfs_dquot_from_disk() 645 dqp->q_rtb.count = be64_to_cpu(ddqp->d_rtbcount); in xfs_dquot_from_disk() 649 dqp->q_rtb.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_rtbtimer); in xfs_dquot_from_disk() [all …]
|
| H A D | xfs_qm_syscalls.c | 349 dqp->q_rtb.hardlimit; in xfs_qm_scall_setqlim() 352 dqp->q_rtb.softlimit; in xfs_qm_scall_setqlim() 353 res = &dqp->q_rtb; in xfs_qm_scall_setqlim() 413 dst->d_rt_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.hardlimit); in xfs_qm_scall_getquota_fill_qc() 414 dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit); in xfs_qm_scall_getquota_fill_qc() 415 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_rtb.reserved); in xfs_qm_scall_getquota_fill_qc() 416 dst->d_rt_spc_timer = dqp->q_rtb.timer; in xfs_qm_scall_getquota_fill_qc()
|
| H A D | xfs_qm.h | 25 !dqp->q_rtb.hardlimit && \ 26 !dqp->q_rtb.softlimit && \ 30 !dqp->q_rtb.count && \
|
| H A D | xfs_trans_dquot.c | 547 ASSERT(dqp->q_rtb.count >= -totalrtbdelta); in xfs_trans_apply_dquot_deltas() 559 dqp->q_rtb.count += totalrtbdelta; in xfs_trans_apply_dquot_deltas() 592 xfs_apply_quota_reservation_deltas(&dqp->q_rtb, in xfs_trans_apply_dquot_deltas() 608 ASSERT(dqp->q_rtb.reserved >= dqp->q_rtb.count); in xfs_trans_apply_dquot_deltas() 716 dqp->q_rtb.reserved -= in xfs_trans_unreserve_and_mod_dquots() 831 blkres = &dqp->q_rtb; in xfs_trans_dqresv() 886 XFS_IS_CORRUPT(mp, dqp->q_rtb.reserved < dqp->q_rtb.count) || in xfs_trans_dqresv()
|
| H A D | xfs_dquot.h | 81 struct xfs_dquot_res q_rtb; /* realtime blocks */ member 192 freesp = dqp->q_rtb.hardlimit - dqp->q_rtb.reserved; in xfs_dquot_lowsp()
|
| H A D | xfs_qm.c | 559 defq->rtb.hard = dqp->q_rtb.hardlimit; in xfs_qm_set_defquota() 560 defq->rtb.soft = dqp->q_rtb.softlimit; in xfs_qm_set_defquota() 601 if (dqp->q_rtb.timer) in xfs_qm_init_timelimits() 602 defq->rtb.time = dqp->q_rtb.timer; in xfs_qm_init_timelimits() 1289 dqp->q_rtb.count += rtblks; in xfs_qm_quotacheck_dqadjust() 1290 dqp->q_rtb.reserved += rtblks; in xfs_qm_quotacheck_dqadjust() 2011 ASSERT(prevdq->q_rtb.reserved >= ip->i_delayed_blks); in xfs_qm_vop_chown() 2012 prevdq->q_rtb.reserved -= ip->i_delayed_blks; in xfs_qm_vop_chown() 2112 xfs_dquot_res_over_limits(&dqp->q_rtb)) in xfs_inode_near_dquot_enforcement() 2116 res = &dqp->q_rtb; in xfs_inode_near_dquot_enforcement()
|
| H A D | xfs_qm_bhv.c | 30 blkres = &dqp->q_rtb; in xfs_fill_statvfs_from_dquot()
|
| H A D | xfs_iomap.c | 376 res = &dq->q_rtb; in xfs_quota_need_throttle() 412 res = &dq->q_rtb; in xfs_quota_calc_throttle()
|
| H A D | xfs_trace.h | 1360 __entry->res_rtbcount = dqp->q_rtb.reserved; 1364 __entry->rtbcount = dqp->q_rtb.count; 1369 __entry->rtb_hardlimit = dqp->q_rtb.hardlimit; 1370 __entry->rtb_softlimit = dqp->q_rtb.softlimit;
|