Searched refs:q_blk (Results 1 – 13 of 13) sorted by relevance
| /linux/fs/xfs/scrub/ |
| H A D | quota.c | 187 if (dq->q_blk.hardlimit > mp->m_sb.sb_dblocks) in xchk_quota_item() 189 if (dq->q_blk.softlimit > dq->q_blk.hardlimit) in xchk_quota_item() 211 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item() 218 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item() 236 if (dq->q_blk.hardlimit != 0 && in xchk_quota_item() 237 dq->q_blk.count > dq->q_blk.hardlimit) in xchk_quota_item() 248 xchk_quota_item_timer(sc, offset, &dq->q_blk); in xchk_quota_item()
|
| H A D | quota_repair.c | 196 if (dq->q_blk.softlimit > dq->q_blk.hardlimit) { in xrep_quota_item() 197 dq->q_blk.softlimit = dq->q_blk.hardlimit; in xrep_quota_item() 217 if (!xfs_has_reflink(mp) && dq->q_blk.count > mp->m_sb.sb_dblocks) { in xrep_quota_item() 218 dq->q_blk.reserved -= dq->q_blk.count; in xrep_quota_item() 219 dq->q_blk.reserved += mp->m_sb.sb_dblocks; in xrep_quota_item() 220 dq->q_blk.count = mp->m_sb.sb_dblocks; in xrep_quota_item() 240 xrep_quota_item_timer(sc, &dq->q_blk, &dirty); in xrep_quota_item()
|
| H A D | quotacheck_repair.c | 80 delta = (int64_t)xcdq.bcount - dq->q_blk.count; in xqcheck_commit_dquot() 82 dq->q_blk.reserved += delta; in xqcheck_commit_dquot() 83 dq->q_blk.count += delta; in xqcheck_commit_dquot()
|
| H A D | quotacheck.c | 575 if (xcdq.bcount != dq->q_blk.count) in xqcheck_compare_dquot()
|
| /linux/fs/xfs/ |
| H A D | xfs_dquot.c | 130 if (!dq->q_blk.softlimit) { in xfs_qm_adjust_dqlimits() 131 dq->q_blk.softlimit = defq->blk.soft; in xfs_qm_adjust_dqlimits() 134 if (!dq->q_blk.hardlimit) { in xfs_qm_adjust_dqlimits() 135 dq->q_blk.hardlimit = defq->blk.hard; in xfs_qm_adjust_dqlimits() 217 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_blk, &defq->blk); in xfs_qm_adjust_dqtimers() 333 xfs_dquot_set_prealloc(&dqp->q_blk_prealloc, &dqp->q_blk); in xfs_dquot_set_prealloc_limits() 636 dqp->q_blk.hardlimit = be64_to_cpu(ddqp->d_blk_hardlimit); in xfs_dquot_from_disk() 637 dqp->q_blk.softlimit = be64_to_cpu(ddqp->d_blk_softlimit); in xfs_dquot_from_disk() 643 dqp->q_blk.count = be64_to_cpu(ddqp->d_bcount); in xfs_dquot_from_disk() 647 dqp->q_blk.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_btimer); in xfs_dquot_from_disk() [all …]
|
| H A D | xfs_qm_syscalls.c | 334 dqp->q_blk.hardlimit; in xfs_qm_scall_setqlim() 337 dqp->q_blk.softlimit; in xfs_qm_scall_setqlim() 338 res = &dqp->q_blk; in xfs_qm_scall_setqlim() 403 dst->d_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_blk.hardlimit); in xfs_qm_scall_getquota_fill_qc() 404 dst->d_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_blk.softlimit); in xfs_qm_scall_getquota_fill_qc() 407 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_blk.reserved); in xfs_qm_scall_getquota_fill_qc() 409 dst->d_spc_timer = dqp->q_blk.timer; in xfs_qm_scall_getquota_fill_qc()
|
| H A D | xfs_qm.h | 23 !dqp->q_blk.hardlimit && \ 24 !dqp->q_blk.softlimit && \ 29 !dqp->q_blk.count && \
|
| H A D | xfs_trans_dquot.c | 544 ASSERT(dqp->q_blk.count >= -totalbdelta); in xfs_trans_apply_dquot_deltas() 553 dqp->q_blk.count += totalbdelta; in xfs_trans_apply_dquot_deltas() 585 xfs_apply_quota_reservation_deltas(&dqp->q_blk, in xfs_trans_apply_dquot_deltas() 606 ASSERT(dqp->q_blk.reserved >= dqp->q_blk.count); in xfs_trans_apply_dquot_deltas() 699 dqp->q_blk.reserved -= in xfs_trans_unreserve_and_mod_dquots() 828 blkres = &dqp->q_blk; in xfs_trans_dqresv() 885 if (XFS_IS_CORRUPT(mp, dqp->q_blk.reserved < dqp->q_blk.count) || in xfs_trans_dqresv()
|
| H A D | xfs_dquot.h | 79 struct xfs_dquot_res q_blk; /* regular blocks */ member 188 freesp = dqp->q_blk.hardlimit - dqp->q_blk.reserved; in xfs_dquot_lowsp()
|
| H A D | xfs_qm.c | 555 defq->blk.hard = dqp->q_blk.hardlimit; in xfs_qm_set_defquota() 556 defq->blk.soft = dqp->q_blk.softlimit; in xfs_qm_set_defquota() 597 if (dqp->q_blk.timer) in xfs_qm_init_timelimits() 598 defq->blk.time = dqp->q_blk.timer; in xfs_qm_init_timelimits() 1285 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust() 1286 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust() 2014 ASSERT(prevdq->q_blk.reserved >= ip->i_delayed_blks); in xfs_qm_vop_chown() 2015 prevdq->q_blk.reserved -= ip->i_delayed_blks; in xfs_qm_vop_chown() 2111 xfs_dquot_res_over_limits(&dqp->q_blk) || in xfs_inode_near_dquot_enforcement() 2119 res = &dqp->q_blk; in xfs_inode_near_dquot_enforcement()
|
| H A D | xfs_qm_bhv.c | 25 struct xfs_dquot_res *blkres = &dqp->q_blk; in xfs_fill_statvfs_from_dquot()
|
| H A D | xfs_iomap.c | 379 res = &dq->q_blk; in xfs_quota_need_throttle() 415 res = &dq->q_blk; in xfs_quota_calc_throttle()
|
| H A D | xfs_trace.h | 1359 __entry->res_bcount = dqp->q_blk.reserved; 1363 __entry->bcount = dqp->q_blk.count; 1367 __entry->blk_hardlimit = dqp->q_blk.hardlimit; 1368 __entry->blk_softlimit = dqp->q_blk.softlimit;
|