Home
last modified time | relevance | path

Searched refs:q_ino (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/fs/xfs/
Dxfs_qm_bhv.c36 limit = dqp->q_ino.softlimit ? in xfs_fill_statvfs_from_dquot()
37 dqp->q_ino.softlimit : in xfs_fill_statvfs_from_dquot()
38 dqp->q_ino.hardlimit; in xfs_fill_statvfs_from_dquot()
42 (statp->f_files > dqp->q_ino.reserved) ? in xfs_fill_statvfs_from_dquot()
43 (statp->f_files - dqp->q_ino.reserved) : 0; in xfs_fill_statvfs_from_dquot()
Dxfs_dquot.c88 if (!dq->q_ino.softlimit) in xfs_qm_adjust_dqlimits()
89 dq->q_ino.softlimit = defq->ino.soft; 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()
171 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_ino, &defq->ino); in xfs_qm_adjust_dqtimers()
528 dqp->q_ino.hardlimit = be64_to_cpu(ddqp->d_ino_hardlimit); in xfs_dquot_from_disk()
529 dqp->q_ino.softlimit = be64_to_cpu(ddqp->d_ino_softlimit); in xfs_dquot_from_disk()
534 dqp->q_ino.count = be64_to_cpu(ddqp->d_icount); in xfs_dquot_from_disk()
538 dqp->q_ino.warnings = be16_to_cpu(ddqp->d_iwarns); in xfs_dquot_from_disk()
542 dqp->q_ino.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_itimer); in xfs_dquot_from_disk()
[all …]
Dxfs_qm_syscalls.c604 dqp->q_ino.hardlimit; in xfs_qm_scall_setqlim()
607 dqp->q_ino.softlimit; in xfs_qm_scall_setqlim()
608 res = &dqp->q_ino; in xfs_qm_scall_setqlim()
650 dst->d_ino_hardlimit = dqp->q_ino.hardlimit; in xfs_qm_scall_getquota_fill_qc()
651 dst->d_ino_softlimit = dqp->q_ino.softlimit; in xfs_qm_scall_getquota_fill_qc()
653 dst->d_ino_count = dqp->q_ino.reserved; in xfs_qm_scall_getquota_fill_qc()
655 dst->d_ino_timer = dqp->q_ino.timer; in xfs_qm_scall_getquota_fill_qc()
656 dst->d_ino_warns = dqp->q_ino.warnings; in xfs_qm_scall_getquota_fill_qc()
681 if ((dst->d_ino_count > dqp->q_ino.softlimit) && in xfs_qm_scall_getquota_fill_qc()
682 (dqp->q_ino.softlimit > 0)) { in xfs_qm_scall_getquota_fill_qc()
Dxfs_trans_dquot.c417 ASSERT(dqp->q_ino.count >= -qtrx->qt_icount_delta); in xfs_trans_apply_dquot_deltas()
423 dqp->q_ino.count += qtrx->qt_icount_delta; in xfs_trans_apply_dquot_deltas()
468 xfs_apply_quota_reservation_deltas(&dqp->q_ino, in xfs_trans_apply_dquot_deltas()
474 ASSERT(dqp->q_ino.reserved >= dqp->q_ino.count); in xfs_trans_apply_dquot_deltas()
527 dqp->q_ino.reserved -= in xfs_trans_unreserve_and_mod_dquots()
677 quota_nl = xfs_dqresv_check(&dqp->q_ino, &defq->ino, ninos, in xfs_trans_dqresv()
691 dqp->q_ino.reserved += (xfs_qcnt_t)ninos; in xfs_trans_dqresv()
714 ASSERT(dqp->q_ino.reserved >= dqp->q_ino.count); in xfs_trans_dqresv()
Dxfs_qm.h27 !dqp->q_ino.hardlimit && \
28 !dqp->q_ino.softlimit && \
31 !dqp->q_ino.count)
Dxfs_qm.c566 defq->ino.hard = dqp->q_ino.hardlimit; in xfs_qm_set_defquota()
567 defq->ino.soft = dqp->q_ino.softlimit; in xfs_qm_set_defquota()
611 if (dqp->q_ino.timer) in xfs_qm_init_timelimits()
612 defq->ino.time = dqp->q_ino.timer; in xfs_qm_init_timelimits()
617 if (dqp->q_ino.warnings) in xfs_qm_init_timelimits()
618 defq->ino.warn = dqp->q_ino.warnings; in xfs_qm_init_timelimits()
1100 dqp->q_ino.count++; in xfs_qm_quotacheck_dqadjust()
1101 dqp->q_ino.reserved++; in xfs_qm_quotacheck_dqadjust()
Dxfs_dquot.h72 struct xfs_dquot_res q_ino; /* inodes */ member
Dxfs_trace.h895 __entry->res_icount = dqp->q_ino.reserved;
899 __entry->icount = dqp->q_ino.count;
905 __entry->ino_hardlimit = dqp->q_ino.hardlimit;
906 __entry->ino_softlimit = dqp->q_ino.softlimit;
/Linux-v5.10/fs/xfs/scrub/
Dquota.c113 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
115 if (dq->q_ino.softlimit > dq->q_ino.hardlimit) in xchk_quota_item()
140 if (dq->q_ino.count > fs_icount || dq->q_rtb.count > mp->m_sb.sb_rblocks) in xchk_quota_item()
155 if (dq->q_ino.hardlimit != 0 && in xchk_quota_item()
156 dq->q_ino.count > dq->q_ino.hardlimit) in xchk_quota_item()