Home
last modified time | relevance | path

Searched refs:q_rtb (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/fs/xfs/scrub/
Dquota.c117 if (dq->q_rtb.hardlimit > mp->m_sb.sb_rblocks) in xchk_quota_item()
119 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) in xchk_quota_item()
139 if (dq->q_ino.count > fs_icount || dq->q_rtb.count > mp->m_sb.sb_rblocks) in xchk_quota_item()
158 if (dq->q_rtb.hardlimit != 0 && in xchk_quota_item()
159 dq->q_rtb.count > dq->q_rtb.hardlimit) in xchk_quota_item()
/Linux-v6.1/fs/xfs/
Dxfs_dquot.c92 if (!dq->q_rtb.softlimit) in xfs_qm_adjust_dqlimits()
93 dq->q_rtb.softlimit = defq->rtb.soft; in xfs_qm_adjust_dqlimits()
94 if (!dq->q_rtb.hardlimit) in xfs_qm_adjust_dqlimits()
95 dq->q_rtb.hardlimit = defq->rtb.hard; in xfs_qm_adjust_dqlimits()
169 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_rtb, &defq->rtb); in xfs_qm_adjust_dqtimers()
585 dqp->q_rtb.hardlimit = be64_to_cpu(ddqp->d_rtb_hardlimit); in xfs_dquot_from_disk()
586 dqp->q_rtb.softlimit = be64_to_cpu(ddqp->d_rtb_softlimit); in xfs_dquot_from_disk()
590 dqp->q_rtb.count = be64_to_cpu(ddqp->d_rtbcount); in xfs_dquot_from_disk()
594 dqp->q_rtb.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_rtbtimer); in xfs_dquot_from_disk()
602 dqp->q_rtb.reserved = dqp->q_rtb.count; in xfs_dquot_from_disk()
[all …]
Dxfs_qm_syscalls.c351 dqp->q_rtb.hardlimit; in xfs_qm_scall_setqlim()
354 dqp->q_rtb.softlimit; in xfs_qm_scall_setqlim()
355 res = &dqp->q_rtb; in xfs_qm_scall_setqlim()
415 dst->d_rt_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.hardlimit); in xfs_qm_scall_getquota_fill_qc()
416 dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit); in xfs_qm_scall_getquota_fill_qc()
417 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_rtb.reserved); in xfs_qm_scall_getquota_fill_qc()
418 dst->d_rt_spc_timer = dqp->q_rtb.timer; in xfs_qm_scall_getquota_fill_qc()
Dxfs_trans_dquot.c402 ASSERT(dqp->q_rtb.count >= -totalrtbdelta); in xfs_trans_apply_dquot_deltas()
414 dqp->q_rtb.count += totalrtbdelta; in xfs_trans_apply_dquot_deltas()
447 xfs_apply_quota_reservation_deltas(&dqp->q_rtb, in xfs_trans_apply_dquot_deltas()
463 ASSERT(dqp->q_rtb.reserved >= dqp->q_rtb.count); in xfs_trans_apply_dquot_deltas()
524 dqp->q_rtb.reserved -= in xfs_trans_unreserve_and_mod_dquots()
639 blkres = &dqp->q_rtb; in xfs_trans_dqresv()
694 XFS_IS_CORRUPT(mp, dqp->q_rtb.reserved < dqp->q_rtb.count) || in xfs_trans_dqresv()
Dxfs_qm.h25 !dqp->q_rtb.hardlimit && \
26 !dqp->q_rtb.softlimit && \
30 !dqp->q_rtb.count && \
Dxfs_qm.c564 defq->rtb.hard = dqp->q_rtb.hardlimit; in xfs_qm_set_defquota()
565 defq->rtb.soft = dqp->q_rtb.softlimit; in xfs_qm_set_defquota()
606 if (dqp->q_rtb.timer) in xfs_qm_init_timelimits()
607 defq->rtb.time = dqp->q_rtb.timer; in xfs_qm_init_timelimits()
1100 dqp->q_rtb.count += rtblks; in xfs_qm_quotacheck_dqadjust()
1101 dqp->q_rtb.reserved += rtblks; in xfs_qm_quotacheck_dqadjust()
1903 xfs_dquot_res_over_limits(&dqp->q_rtb)) in xfs_inode_near_dquot_enforcement()
Dxfs_dquot.h75 struct xfs_dquot_res q_rtb; /* realtime blocks */ member
Dxfs_trace.h1040 __entry->res_rtbcount = dqp->q_rtb.reserved;
1044 __entry->rtbcount = dqp->q_rtb.count;
1049 __entry->rtb_hardlimit = dqp->q_rtb.hardlimit;
1050 __entry->rtb_softlimit = dqp->q_rtb.softlimit;