Home
last modified time | relevance | path

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

/linux/fs/xfs/
A 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()
A 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()
575 dqp->q_ino.count = be64_to_cpu(ddqp->d_icount); in xfs_dquot_from_disk()
579 dqp->q_ino.warnings = be16_to_cpu(ddqp->d_iwarns); in xfs_dquot_from_disk()
591 dqp->q_ino.reserved = dqp->q_ino.count; in xfs_dquot_from_disk()
620 ddqp->d_icount = cpu_to_be64(dqp->q_ino.count); in xfs_dquot_to_disk()
624 ddqp->d_iwarns = cpu_to_be16(dqp->q_ino.warnings); in xfs_dquot_to_disk()
1212 if (dqp->q_ino.softlimit && dqp->q_ino.count > dqp->q_ino.softlimit && in xfs_qm_dqflush_check()
[all …]
A Dxfs_qm_syscalls.c388 dqp->q_ino.hardlimit; in xfs_qm_scall_setqlim()
391 dqp->q_ino.softlimit; in xfs_qm_scall_setqlim()
392 res = &dqp->q_ino; in xfs_qm_scall_setqlim()
434 dst->d_ino_hardlimit = dqp->q_ino.hardlimit; in xfs_qm_scall_getquota_fill_qc()
435 dst->d_ino_softlimit = dqp->q_ino.softlimit; in xfs_qm_scall_getquota_fill_qc()
437 dst->d_ino_count = dqp->q_ino.reserved; in xfs_qm_scall_getquota_fill_qc()
439 dst->d_ino_timer = dqp->q_ino.timer; in xfs_qm_scall_getquota_fill_qc()
440 dst->d_ino_warns = dqp->q_ino.warnings; in xfs_qm_scall_getquota_fill_qc()
465 if ((dst->d_ino_count > dqp->q_ino.softlimit) && in xfs_qm_scall_getquota_fill_qc()
466 (dqp->q_ino.softlimit > 0)) { in xfs_qm_scall_getquota_fill_qc()
A 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()
665 quota_nl = xfs_dqresv_check(&dqp->q_ino, &defq->ino, ninos, in xfs_trans_dqresv()
679 dqp->q_ino.reserved += (xfs_qcnt_t)ninos; in xfs_trans_dqresv()
697 XFS_IS_CORRUPT(mp, dqp->q_ino.reserved < dqp->q_ino.count)) in xfs_trans_dqresv()
A Dxfs_qm.h27 !dqp->q_ino.hardlimit && \
28 !dqp->q_ino.softlimit && \
31 !dqp->q_ino.count)
A 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()
607 if (dqp->q_ino.timer) in xfs_qm_init_timelimits()
608 defq->ino.time = dqp->q_ino.timer; in xfs_qm_init_timelimits()
613 if (dqp->q_ino.warnings) in xfs_qm_init_timelimits()
614 defq->ino.warn = dqp->q_ino.warnings; in xfs_qm_init_timelimits()
1101 dqp->q_ino.count++; in xfs_qm_quotacheck_dqadjust()
1102 dqp->q_ino.reserved++; in xfs_qm_quotacheck_dqadjust()
1899 if (xfs_dquot_res_over_limits(&dqp->q_ino) || in xfs_inode_near_dquot_enforcement()
A Dxfs_dquot.h82 struct xfs_dquot_res q_ino; /* inodes */ member
A Dxfs_trace.h1034 __entry->res_icount = dqp->q_ino.reserved;
1038 __entry->icount = dqp->q_ino.count;
1044 __entry->ino_hardlimit = dqp->q_ino.hardlimit;
1045 __entry->ino_softlimit = dqp->q_ino.softlimit;
/linux/fs/xfs/scrub/
A 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()

Completed in 18 milliseconds