Home
last modified time | relevance | path

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

/linux-6.1.9/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_qm_syscalls.c365 dqp->q_ino.hardlimit; in xfs_qm_scall_setqlim()
368 dqp->q_ino.softlimit; in xfs_qm_scall_setqlim()
369 res = &dqp->q_ino; in xfs_qm_scall_setqlim()
407 dst->d_ino_hardlimit = dqp->q_ino.hardlimit; in xfs_qm_scall_getquota_fill_qc()
408 dst->d_ino_softlimit = dqp->q_ino.softlimit; in xfs_qm_scall_getquota_fill_qc()
410 dst->d_ino_count = dqp->q_ino.reserved; in xfs_qm_scall_getquota_fill_qc()
412 dst->d_ino_timer = dqp->q_ino.timer; in xfs_qm_scall_getquota_fill_qc()
438 if ((dst->d_ino_count > dqp->q_ino.softlimit) && in xfs_qm_scall_getquota_fill_qc()
439 (dqp->q_ino.softlimit > 0)) { in xfs_qm_scall_getquota_fill_qc()
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()
168 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_ino, &defq->ino); in xfs_qm_adjust_dqtimers()
583 dqp->q_ino.hardlimit = be64_to_cpu(ddqp->d_ino_hardlimit); in xfs_dquot_from_disk()
584 dqp->q_ino.softlimit = be64_to_cpu(ddqp->d_ino_softlimit); in xfs_dquot_from_disk()
589 dqp->q_ino.count = be64_to_cpu(ddqp->d_icount); in xfs_dquot_from_disk()
593 dqp->q_ino.timer = xfs_dquot_from_disk_ts(ddqp, ddqp->d_itimer); in xfs_dquot_from_disk()
601 dqp->q_ino.reserved = dqp->q_ino.count; in xfs_dquot_from_disk()
[all …]
Dxfs_trans_dquot.c405 ASSERT(dqp->q_ino.count >= -qtrx->qt_icount_delta); in xfs_trans_apply_dquot_deltas()
411 dqp->q_ino.count += qtrx->qt_icount_delta; in xfs_trans_apply_dquot_deltas()
456 xfs_apply_quota_reservation_deltas(&dqp->q_ino, in xfs_trans_apply_dquot_deltas()
462 ASSERT(dqp->q_ino.reserved >= dqp->q_ino.count); in xfs_trans_apply_dquot_deltas()
515 dqp->q_ino.reserved -= in xfs_trans_unreserve_and_mod_dquots()
663 quota_nl = xfs_dqresv_check(&dqp->q_ino, &defq->ino, ninos, in xfs_trans_dqresv()
677 dqp->q_ino.reserved += (xfs_qcnt_t)ninos; in xfs_trans_dqresv()
695 XFS_IS_CORRUPT(mp, 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.c562 defq->ino.hard = dqp->q_ino.hardlimit; in xfs_qm_set_defquota()
563 defq->ino.soft = dqp->q_ino.softlimit; in xfs_qm_set_defquota()
604 if (dqp->q_ino.timer) in xfs_qm_init_timelimits()
605 defq->ino.time = dqp->q_ino.timer; in xfs_qm_init_timelimits()
1093 dqp->q_ino.count++; in xfs_qm_quotacheck_dqadjust()
1094 dqp->q_ino.reserved++; in xfs_qm_quotacheck_dqadjust()
1902 if (xfs_dquot_res_over_limits(&dqp->q_ino) || in xfs_inode_near_dquot_enforcement()
Dxfs_dquot.h74 struct xfs_dquot_res q_ino; /* inodes */ member
Dxfs_trace.h1041 __entry->res_icount = dqp->q_ino.reserved;
1045 __entry->icount = dqp->q_ino.count;
1051 __entry->ino_hardlimit = dqp->q_ino.hardlimit;
1052 __entry->ino_softlimit = dqp->q_ino.softlimit;
/linux-6.1.9/fs/xfs/scrub/
Dquota.c112 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
114 if (dq->q_ino.softlimit > dq->q_ino.hardlimit) in xchk_quota_item()
139 if (dq->q_ino.count > fs_icount || dq->q_rtb.count > mp->m_sb.sb_rblocks) in xchk_quota_item()
154 if (dq->q_ino.hardlimit != 0 && in xchk_quota_item()
155 dq->q_ino.count > dq->q_ino.hardlimit) in xchk_quota_item()