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()
170 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_blk, &defq->blk); in xfs_qm_adjust_dqtimers()
269 dqp->q_prealloc_hi_wmark = dqp->q_blk.hardlimit; in xfs_dquot_set_prealloc_limits()
270 dqp->q_prealloc_lo_wmark = dqp->q_blk.softlimit; in xfs_dquot_set_prealloc_limits()
526 dqp->q_blk.hardlimit = be64_to_cpu(ddqp->d_blk_hardlimit); in xfs_dquot_from_disk()
527 dqp->q_blk.softlimit = be64_to_cpu(ddqp->d_blk_softlimit); in xfs_dquot_from_disk()
533 dqp->q_blk.count = be64_to_cpu(ddqp->d_bcount); in xfs_dquot_from_disk()
537 dqp->q_blk.warnings = be16_to_cpu(ddqp->d_bwarns); in xfs_dquot_from_disk()
541 dqp->q_blk.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_btimer); in xfs_dquot_from_disk()
549 dqp->q_blk.reserved = dqp->q_blk.count; in xfs_dquot_from_disk()
571 ddqp->d_blk_hardlimit = cpu_to_be64(dqp->q_blk.hardlimit); in xfs_dquot_to_disk()
572 ddqp->d_blk_softlimit = cpu_to_be64(dqp->q_blk.softlimit); in xfs_dquot_to_disk()
578 ddqp->d_bcount = cpu_to_be64(dqp->q_blk.count); in xfs_dquot_to_disk()
582 ddqp->d_bwarns = cpu_to_be16(dqp->q_blk.warnings); in xfs_dquot_to_disk()
586 ddqp->d_btimer = xfs_dquot_to_disk_ts(dqp, dqp->q_blk.timer); in xfs_dquot_to_disk()
1172 if (dqp->q_blk.softlimit && dqp->q_blk.count > dqp->q_blk.softlimit && in xfs_qm_dqflush_check()
1173 !dqp->q_blk.timer) in xfs_qm_dqflush_check()