Searched refs:q_rtb (Results 1 – 13 of 13) sorted by relevance
| /fs/xfs/scrub/ |
| A D | quota.c | 198 if (dq->q_rtb.hardlimit > mp->m_sb.sb_rblocks) in xchk_quota_item() 200 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) in xchk_quota_item() 215 if (mp->m_sb.sb_rblocks < dq->q_rtb.count) in xchk_quota_item() 222 if (mp->m_sb.sb_rblocks < dq->q_rtb.count) in xchk_quota_item() 245 if (dq->q_rtb.hardlimit != 0 && in xchk_quota_item() 246 dq->q_rtb.count > dq->q_rtb.hardlimit) in xchk_quota_item() 251 xchk_quota_item_timer(sc, offset, &dq->q_rtb); in xchk_quota_item()
|
| A D | quota_repair.c | 210 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) { in xrep_quota_item() 211 dq->q_rtb.softlimit = dq->q_rtb.hardlimit; in xrep_quota_item() 236 if (!xfs_has_reflink(mp) && dq->q_rtb.count > mp->m_sb.sb_rblocks) { in xrep_quota_item() 237 dq->q_rtb.reserved -= dq->q_rtb.count; in xrep_quota_item() 238 dq->q_rtb.reserved += mp->m_sb.sb_rblocks; in xrep_quota_item() 239 dq->q_rtb.count = mp->m_sb.sb_rblocks; in xrep_quota_item() 246 xrep_quota_item_timer(sc, &dq->q_rtb, &dirty); in xrep_quota_item()
|
| A D | quotacheck_repair.c | 89 delta = (int64_t)xcdq.rtbcount - dq->q_rtb.count; in xqcheck_commit_dquot() 91 dq->q_rtb.reserved += delta; in xqcheck_commit_dquot() 92 dq->q_rtb.count += delta; in xqcheck_commit_dquot()
|
| A D | quotacheck.c | 577 if (xcdq.rtbcount != dq->q_rtb.count) in xqcheck_compare_dquot()
|
| /fs/xfs/ |
| 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() 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() 645 dqp->q_rtb.count = be64_to_cpu(ddqp->d_rtbcount); in xfs_dquot_from_disk() 657 dqp->q_rtb.reserved = dqp->q_rtb.count; in xfs_dquot_from_disk() 686 ddqp->d_rtbcount = cpu_to_be64(dqp->q_rtb.count); in xfs_dquot_to_disk() 1255 if (dqp->q_rtb.softlimit && dqp->q_rtb.count > dqp->q_rtb.softlimit && in xfs_qm_dqflush_check() [all …]
|
| A D | xfs_qm_syscalls.c | 350 dqp->q_rtb.hardlimit; in xfs_qm_scall_setqlim() 353 dqp->q_rtb.softlimit; in xfs_qm_scall_setqlim() 354 res = &dqp->q_rtb; in xfs_qm_scall_setqlim() 414 dst->d_rt_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.hardlimit); in xfs_qm_scall_getquota_fill_qc() 415 dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit); in xfs_qm_scall_getquota_fill_qc() 416 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_rtb.reserved); in xfs_qm_scall_getquota_fill_qc() 417 dst->d_rt_spc_timer = dqp->q_rtb.timer; in xfs_qm_scall_getquota_fill_qc()
|
| 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()
|
| A D | xfs_qm.h | 25 !dqp->q_rtb.hardlimit && \ 26 !dqp->q_rtb.softlimit && \ 30 !dqp->q_rtb.count && \
|
| A D | xfs_dquot.h | 81 struct xfs_dquot_res q_rtb; /* realtime blocks */ member 207 freesp = dqp->q_rtb.hardlimit - dqp->q_rtb.reserved; in xfs_dquot_lowsp()
|
| A D | xfs_qm.c | 607 defq->rtb.hard = dqp->q_rtb.hardlimit; in xfs_qm_set_defquota() 608 defq->rtb.soft = dqp->q_rtb.softlimit; in xfs_qm_set_defquota() 649 if (dqp->q_rtb.timer) in xfs_qm_init_timelimits() 650 defq->rtb.time = dqp->q_rtb.timer; in xfs_qm_init_timelimits() 1336 dqp->q_rtb.count += rtblks; in xfs_qm_quotacheck_dqadjust() 1337 dqp->q_rtb.reserved += rtblks; in xfs_qm_quotacheck_dqadjust() 2083 ASSERT(prevdq->q_rtb.reserved >= ip->i_delayed_blks); in xfs_qm_vop_chown() 2084 prevdq->q_rtb.reserved -= ip->i_delayed_blks; in xfs_qm_vop_chown() 2184 xfs_dquot_res_over_limits(&dqp->q_rtb)) in xfs_inode_near_dquot_enforcement() 2188 res = &dqp->q_rtb; in xfs_inode_near_dquot_enforcement()
|
| A D | xfs_qm_bhv.c | 30 blkres = &dqp->q_rtb; in xfs_fill_statvfs_from_dquot()
|
| A D | xfs_iomap.c | 367 res = &dq->q_rtb; in xfs_quota_need_throttle() 403 res = &dq->q_rtb; in xfs_quota_calc_throttle()
|
| A D | xfs_trace.h | 1356 __entry->res_rtbcount = dqp->q_rtb.reserved; 1360 __entry->rtbcount = dqp->q_rtb.count; 1365 __entry->rtb_hardlimit = dqp->q_rtb.hardlimit; 1366 __entry->rtb_softlimit = dqp->q_rtb.softlimit;
|
Completed in 35 milliseconds