Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/scrub/
H A Dquota.c124 if (dq->q_rtb.hardlimit > mp->m_sb.sb_rblocks) in xchk_quota_item()
126 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) in xchk_quota_item()
146 if (dq->q_ino.count > fs_icount || dq->q_rtb.count > mp->m_sb.sb_rblocks) in xchk_quota_item()
165 if (dq->q_rtb.hardlimit != 0 && in xchk_quota_item()
166 dq->q_rtb.count > dq->q_rtb.hardlimit) in xchk_quota_item()
/openbmc/linux/fs/xfs/
H A 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()
586 dqp->q_rtb.hardlimit = be64_to_cpu(ddqp->d_rtb_hardlimit); in xfs_dquot_from_disk()
587 dqp->q_rtb.softlimit = be64_to_cpu(ddqp->d_rtb_softlimit); in xfs_dquot_from_disk()
591 dqp->q_rtb.count = be64_to_cpu(ddqp->d_rtbcount); in xfs_dquot_from_disk()
603 dqp->q_rtb.reserved = dqp->q_rtb.count; in xfs_dquot_from_disk()
632 ddqp->d_rtbcount = cpu_to_be64(dqp->q_rtb.count); in xfs_dquot_to_disk()
1189 if (dqp->q_rtb.softlimit && dqp->q_rtb.count > dqp->q_rtb.softlimit && in xfs_qm_dqflush_check()
[all …]
H A Dxfs_qm.h25 !dqp->q_rtb.hardlimit && \
26 !dqp->q_rtb.softlimit && \
30 !dqp->q_rtb.count && \
H A 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()
H A 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()
H A Dxfs_qm.c572 defq->rtb.hard = dqp->q_rtb.hardlimit; in xfs_qm_set_defquota()
573 defq->rtb.soft = dqp->q_rtb.softlimit; in xfs_qm_set_defquota()
614 if (dqp->q_rtb.timer) in xfs_qm_init_timelimits()
615 defq->rtb.time = dqp->q_rtb.timer; 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()
1939 xfs_dquot_res_over_limits(&dqp->q_rtb)) in xfs_inode_near_dquot_enforcement()
H A Dxfs_dquot.h75 struct xfs_dquot_res q_rtb; /* realtime blocks */ member
H A Dxfs_trace.h1042 __entry->res_rtbcount = dqp->q_rtb.reserved;
1046 __entry->rtbcount = dqp->q_rtb.count;
1051 __entry->rtb_hardlimit = dqp->q_rtb.hardlimit;
1052 __entry->rtb_softlimit = dqp->q_rtb.softlimit;