Searched refs:q_rtb (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/fs/xfs/scrub/ |
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() 220 if (dq->q_ino.count > fs_icount || dq->q_rtb.count > mp->m_sb.sb_rblocks) in xchk_quota_item() 239 if (dq->q_rtb.hardlimit != 0 && in xchk_quota_item() 240 dq->q_rtb.count > dq->q_rtb.hardlimit) in xchk_quota_item() 245 xchk_quota_item_timer(sc, offset, &dq->q_rtb); in xchk_quota_item()
|
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 (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()
|
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()
|
D | quotacheck.c | 576 if (xcdq.rtbcount != dq->q_rtb.count) in xqcheck_compare_dquot()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_dquot.c | 116 if (!dq->q_rtb.softlimit) in xfs_qm_adjust_dqlimits() 117 dq->q_rtb.softlimit = defq->rtb.soft; in xfs_qm_adjust_dqlimits() 118 if (!dq->q_rtb.hardlimit) in xfs_qm_adjust_dqlimits() 119 dq->q_rtb.hardlimit = defq->rtb.hard; in xfs_qm_adjust_dqlimits() 193 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_rtb, &defq->rtb); in xfs_qm_adjust_dqtimers() 609 dqp->q_rtb.hardlimit = be64_to_cpu(ddqp->d_rtb_hardlimit); in xfs_dquot_from_disk() 610 dqp->q_rtb.softlimit = be64_to_cpu(ddqp->d_rtb_softlimit); in xfs_dquot_from_disk() 614 dqp->q_rtb.count = be64_to_cpu(ddqp->d_rtbcount); in xfs_dquot_from_disk() 618 dqp->q_rtb.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_rtbtimer); in xfs_dquot_from_disk() 626 dqp->q_rtb.reserved = dqp->q_rtb.count; in xfs_dquot_from_disk() [all …]
|
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()
|
D | xfs_qm.h | 25 !dqp->q_rtb.hardlimit && \ 26 !dqp->q_rtb.softlimit && \ 30 !dqp->q_rtb.count && \
|
D | xfs_trans_dquot.c | 543 ASSERT(dqp->q_rtb.count >= -totalrtbdelta); in xfs_trans_apply_dquot_deltas() 555 dqp->q_rtb.count += totalrtbdelta; in xfs_trans_apply_dquot_deltas() 588 xfs_apply_quota_reservation_deltas(&dqp->q_rtb, in xfs_trans_apply_dquot_deltas() 604 ASSERT(dqp->q_rtb.reserved >= dqp->q_rtb.count); in xfs_trans_apply_dquot_deltas() 691 dqp->q_rtb.reserved -= in xfs_trans_unreserve_and_mod_dquots() 806 blkres = &dqp->q_rtb; in xfs_trans_dqresv() 861 XFS_IS_CORRUPT(mp, dqp->q_rtb.reserved < dqp->q_rtb.count) || in xfs_trans_dqresv()
|
D | xfs_qm.c | 571 defq->rtb.hard = dqp->q_rtb.hardlimit; in xfs_qm_set_defquota() 572 defq->rtb.soft = dqp->q_rtb.softlimit; in xfs_qm_set_defquota() 613 if (dqp->q_rtb.timer) in xfs_qm_init_timelimits() 614 defq->rtb.time = dqp->q_rtb.timer; in xfs_qm_init_timelimits() 1124 dqp->q_rtb.count += rtblks; in xfs_qm_quotacheck_dqadjust() 1125 dqp->q_rtb.reserved += rtblks; in xfs_qm_quotacheck_dqadjust() 1992 xfs_dquot_res_over_limits(&dqp->q_rtb)) in xfs_inode_near_dquot_enforcement()
|
D | xfs_dquot.h | 75 struct xfs_dquot_res q_rtb; /* realtime blocks */ member
|
D | xfs_trace.h | 1056 __entry->res_rtbcount = dqp->q_rtb.reserved; 1060 __entry->rtbcount = dqp->q_rtb.count; 1065 __entry->rtb_hardlimit = dqp->q_rtb.hardlimit; 1066 __entry->rtb_softlimit = dqp->q_rtb.softlimit;
|