Lines Matching refs:q_blk
80 if (!dq->q_blk.softlimit) { in xfs_qm_adjust_dqlimits()
81 dq->q_blk.softlimit = defq->blk.soft; in xfs_qm_adjust_dqlimits()
84 if (!dq->q_blk.hardlimit) { in xfs_qm_adjust_dqlimits()
85 dq->q_blk.hardlimit = defq->blk.hard; in xfs_qm_adjust_dqlimits()
167 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_blk, &defq->blk); in xfs_qm_adjust_dqtimers()
266 dqp->q_prealloc_hi_wmark = dqp->q_blk.hardlimit; in xfs_dquot_set_prealloc_limits()
267 dqp->q_prealloc_lo_wmark = dqp->q_blk.softlimit; in xfs_dquot_set_prealloc_limits()
581 dqp->q_blk.hardlimit = be64_to_cpu(ddqp->d_blk_hardlimit); in xfs_dquot_from_disk()
582 dqp->q_blk.softlimit = be64_to_cpu(ddqp->d_blk_softlimit); in xfs_dquot_from_disk()
588 dqp->q_blk.count = be64_to_cpu(ddqp->d_bcount); in xfs_dquot_from_disk()
592 dqp->q_blk.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_btimer); in xfs_dquot_from_disk()
600 dqp->q_blk.reserved = dqp->q_blk.count; in xfs_dquot_from_disk()
622 ddqp->d_blk_hardlimit = cpu_to_be64(dqp->q_blk.hardlimit); in xfs_dquot_to_disk()
623 ddqp->d_blk_softlimit = cpu_to_be64(dqp->q_blk.softlimit); in xfs_dquot_to_disk()
629 ddqp->d_bcount = cpu_to_be64(dqp->q_blk.count); in xfs_dquot_to_disk()
637 ddqp->d_btimer = xfs_dquot_to_disk_ts(dqp, dqp->q_blk.timer); in xfs_dquot_to_disk()
1180 if (dqp->q_blk.softlimit && dqp->q_blk.count > dqp->q_blk.softlimit && in xfs_qm_dqflush_check()
1181 !dqp->q_blk.timer) in xfs_qm_dqflush_check()