Home
last modified time | relevance | path

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

/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()
172 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_rtb, &defq->rtb); in xfs_qm_adjust_dqtimers()
571 dqp->q_rtb.hardlimit = be64_to_cpu(ddqp->d_rtb_hardlimit); in xfs_dquot_from_disk()
572 dqp->q_rtb.softlimit = be64_to_cpu(ddqp->d_rtb_softlimit); in xfs_dquot_from_disk()
576 dqp->q_rtb.count = be64_to_cpu(ddqp->d_rtbcount); in xfs_dquot_from_disk()
580 dqp->q_rtb.warnings = be16_to_cpu(ddqp->d_rtbwarns); in xfs_dquot_from_disk()
584 dqp->q_rtb.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_rtbtimer); in xfs_dquot_from_disk()
[all …]
Dxfs_qm_syscalls.c372 dqp->q_rtb.hardlimit; in xfs_qm_scall_setqlim()
375 dqp->q_rtb.softlimit; in xfs_qm_scall_setqlim()
376 res = &dqp->q_rtb; in xfs_qm_scall_setqlim()
442 dst->d_rt_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.hardlimit); in xfs_qm_scall_getquota_fill_qc()
443 dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit); in xfs_qm_scall_getquota_fill_qc()
444 dst->d_rt_space = XFS_FSB_TO_B(mp, dqp->q_rtb.reserved); in xfs_qm_scall_getquota_fill_qc()
445 dst->d_rt_spc_timer = dqp->q_rtb.timer; in xfs_qm_scall_getquota_fill_qc()
446 dst->d_rt_spc_warns = dqp->q_rtb.warnings; 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()
640 blkres = &dqp->q_rtb; in xfs_trans_dqresv()
695 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()
609 if (dqp->q_rtb.timer) in xfs_qm_init_timelimits()
610 defq->rtb.time = dqp->q_rtb.timer; in xfs_qm_init_timelimits()
615 if (dqp->q_rtb.warnings) in xfs_qm_init_timelimits()
616 defq->rtb.warn = dqp->q_rtb.warnings; in xfs_qm_init_timelimits()
1108 dqp->q_rtb.count += rtblks; in xfs_qm_quotacheck_dqadjust()
1109 dqp->q_rtb.reserved += rtblks; in xfs_qm_quotacheck_dqadjust()
1914 xfs_dquot_res_over_limits(&dqp->q_rtb)) in xfs_inode_near_dquot_enforcement()
Dxfs_dquot.h83 struct xfs_dquot_res q_rtb; /* realtime blocks */ member
Dxfs_trace.h1034 __entry->res_rtbcount = dqp->q_rtb.reserved;
1038 __entry->rtbcount = dqp->q_rtb.count;
1043 __entry->rtb_hardlimit = dqp->q_rtb.hardlimit;
1044 __entry->rtb_softlimit = dqp->q_rtb.softlimit;
/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()