Home
last modified time | relevance | path

Searched refs:hardlimit (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/fs/xfs/scrub/
Dquota.c114 if (dq->q_blk.hardlimit > mp->m_sb.sb_dblocks) in xchk_quota_item()
116 if (dq->q_blk.softlimit > dq->q_blk.hardlimit) in xchk_quota_item()
119 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
121 if (dq->q_ino.softlimit > dq->q_ino.hardlimit) in xchk_quota_item()
124 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()
157 if (dq->q_blk.hardlimit != 0 && in xchk_quota_item()
158 dq->q_blk.count > dq->q_blk.hardlimit) in xchk_quota_item()
161 if (dq->q_ino.hardlimit != 0 && in xchk_quota_item()
162 dq->q_ino.count > dq->q_ino.hardlimit) in xchk_quota_item()
[all …]
/Linux-v6.6/Documentation/filesystems/
Dquota.rst11 and the second one hardlimit. A user can never exceed a hardlimit for any
25 When user exceeds a softlimit, runs out of grace time or reaches hardlimit,
56 inode hardlimit
63 space (block) hardlimit
74 inode hardlimit
78 space (block) hardlimit
/Linux-v6.6/fs/xfs/
Dxfs_dquot.c84 if (!dq->q_blk.hardlimit) { in xfs_qm_adjust_dqlimits()
85 dq->q_blk.hardlimit = defq->blk.hard; in xfs_qm_adjust_dqlimits()
90 if (!dq->q_ino.hardlimit) in xfs_qm_adjust_dqlimits()
91 dq->q_ino.hardlimit = defq->ino.hard; 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()
131 ASSERT(res->hardlimit == 0 || res->softlimit <= res->hardlimit); in xfs_qm_adjust_res_timer()
134 (res->hardlimit && res->count > res->hardlimit)) { in xfs_qm_adjust_res_timer()
266 dqp->q_prealloc_hi_wmark = dqp->q_blk.hardlimit; in xfs_dquot_set_prealloc_limits()
581 dqp->q_blk.hardlimit = be64_to_cpu(ddqp->d_blk_hardlimit); in xfs_dquot_from_disk()
[all …]
Dxfs_dquot.h38 xfs_qcnt_t hardlimit; member
54 (qres->hardlimit && qres->hardlimit < qres->reserved)) in xfs_dquot_res_over_limits()
194 freesp = dqp->q_blk.hardlimit - dqp->q_blk.reserved; in xfs_dquot_lowsp()
Dxfs_qm_syscalls.c242 res->hardlimit = hard; in xfs_setqlim_limits()
336 dqp->q_blk.hardlimit; in xfs_qm_scall_setqlim()
351 dqp->q_rtb.hardlimit; in xfs_qm_scall_setqlim()
365 dqp->q_ino.hardlimit; in xfs_qm_scall_setqlim()
405 dst->d_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_blk.hardlimit); in xfs_qm_scall_getquota_fill_qc()
407 dst->d_ino_hardlimit = dqp->q_ino.hardlimit; in xfs_qm_scall_getquota_fill_qc()
415 dst->d_rt_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.hardlimit); in xfs_qm_scall_getquota_fill_qc()
Dxfs_qm.h23 !dqp->q_blk.hardlimit && \
25 !dqp->q_rtb.hardlimit && \
27 !dqp->q_ino.hardlimit && \
Dxfs_qm_bhv.c28 dqp->q_blk.hardlimit; in xfs_fill_statvfs_from_dquot()
38 dqp->q_ino.hardlimit; in xfs_fill_statvfs_from_dquot()
Dxfs_trans_dquot.c575 xfs_qcnt_t hardlimit = res->hardlimit; in xfs_dqresv_check() local
587 if (!hardlimit) in xfs_dqresv_check()
588 hardlimit = qlim->hard; in xfs_dqresv_check()
592 if (hardlimit && total_count > hardlimit) { in xfs_dqresv_check()
Dxfs_qm.c568 defq->blk.hard = dqp->q_blk.hardlimit; in xfs_qm_set_defquota()
570 defq->ino.hard = dqp->q_ino.hardlimit; in xfs_qm_set_defquota()
572 defq->rtb.hard = dqp->q_rtb.hardlimit; in xfs_qm_set_defquota()
Dxfs_trace.h1049 __entry->blk_hardlimit = dqp->q_blk.hardlimit;
1051 __entry->rtb_hardlimit = dqp->q_rtb.hardlimit;
1053 __entry->ino_hardlimit = dqp->q_ino.hardlimit;
/Linux-v6.6/fs/quota/
DKconfig26 hardlimit, etc.) will be reported through netlink interface. If unsure,
35 hardlimit, etc.) will be printed to the process' controlling terminal.
/Linux-v6.6/mm/
Dshmem.c4156 (ctx->qlimits.name## hardlimit && \ in shmem_reconfigure()
4157 (ctx->qlimits.name## hardlimit != sbinfo->qlimits.name## hardlimit)) in shmem_reconfigure()