/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | quota.c | 108 if (dq->q_blk.hardlimit > mp->m_sb.sb_dblocks) in xchk_quota_item() 110 if (dq->q_blk.softlimit > dq->q_blk.hardlimit) in xchk_quota_item() 132 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item() 136 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item() 151 if (dq->q_blk.hardlimit != 0 && in xchk_quota_item() 152 dq->q_blk.count > dq->q_blk.hardlimit) in xchk_quota_item()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | quota.c | 114 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() 138 if (mp->m_sb.sb_dblocks < dq->q_blk.count) in xchk_quota_item() 142 if (mp->m_sb.sb_dblocks < dq->q_blk.count) 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()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_qm_bhv.c | 26 limit = dqp->q_blk.softlimit ? in xfs_fill_statvfs_from_dquot() 27 dqp->q_blk.softlimit : in xfs_fill_statvfs_from_dquot() 28 dqp->q_blk.hardlimit; in xfs_fill_statvfs_from_dquot() 32 (statp->f_blocks > dqp->q_blk.reserved) ? in xfs_fill_statvfs_from_dquot() 33 (statp->f_blocks - dqp->q_blk.reserved) : 0; in xfs_fill_statvfs_from_dquot()
|
H A D | xfs_dquot.c | 80 if (!dq->q_blk.softlimit) { in xfs_qm_adjust_dqlimits() 81 dq->q_blk.softlimit = defq->blk.soft; in xfs_qm_adjust_dqlimits() 84 if (!dq->q_blk.hardlimit) { in xfs_qm_adjust_dqlimits() 85 dq->q_blk.hardlimit = defq->blk.hard; in xfs_qm_adjust_dqlimits() 170 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_blk, &defq->blk); in xfs_qm_adjust_dqtimers() 269 dqp->q_prealloc_hi_wmark = dqp->q_blk.hardlimit; in xfs_dquot_set_prealloc_limits() 270 dqp->q_prealloc_lo_wmark = dqp->q_blk.softlimit; in xfs_dquot_set_prealloc_limits() 561 dqp->q_blk.hardlimit = be64_to_cpu(ddqp->d_blk_hardlimit); in xfs_dquot_from_disk() 562 dqp->q_blk.softlimit = be64_to_cpu(ddqp->d_blk_softlimit); in xfs_dquot_from_disk() 568 dqp->q_blk in xfs_dquot_from_disk() [all...] |
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 | 412 ASSERT(dqp->q_blk.count >= -totalbdelta); in xfs_trans_apply_dquot_deltas() 421 dqp->q_blk.count += totalbdelta; in xfs_trans_apply_dquot_deltas() 453 xfs_apply_quota_reservation_deltas(&dqp->q_blk, in xfs_trans_apply_dquot_deltas() 474 ASSERT(dqp->q_blk.reserved >= dqp->q_blk.count); in xfs_trans_apply_dquot_deltas() 520 dqp->q_blk.reserved -= in xfs_trans_unreserve_and_mod_dquots() 650 blkres = &dqp->q_blk; in xfs_trans_dqresv() 688 * Note that q_blk.reserved = q_blk.count + resv in xfs_trans_dqresv() 713 if (XFS_IS_CORRUPT(mp, dqp->q_blk in xfs_trans_dqresv() [all...] |
H A D | xfs_dquot.h | 71 struct xfs_dquot_res q_blk; /* regular blocks */ member 192 freesp = dqp->q_blk.hardlimit - dqp->q_blk.reserved; in xfs_dquot_lowsp()
|
H A D | xfs_qm_syscalls.c | 571 dqp->q_blk.hardlimit; in xfs_qm_scall_setqlim() 574 dqp->q_blk.softlimit; in xfs_qm_scall_setqlim() 575 res = &dqp->q_blk; in xfs_qm_scall_setqlim() 648 dst->d_spc_hardlimit = XFS_FSB_TO_B(mp, dqp->q_blk.hardlimit); in xfs_qm_scall_getquota_fill_qc() 649 dst->d_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_blk.softlimit); in xfs_qm_scall_getquota_fill_qc() 652 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_blk.reserved); in xfs_qm_scall_getquota_fill_qc() 654 dst->d_spc_timer = dqp->q_blk.timer; in xfs_qm_scall_getquota_fill_qc() 657 dst->d_spc_warns = dqp->q_blk.warnings; in xfs_qm_scall_getquota_fill_qc()
|
H A D | xfs_qm.c | 564 defq->blk.hard = dqp->q_blk.hardlimit; in xfs_qm_set_defquota() 565 defq->blk.soft = dqp->q_blk.softlimit; in xfs_qm_set_defquota() 609 if (dqp->q_blk.timer) in xfs_qm_init_timelimits() 610 defq->blk.time = dqp->q_blk.timer; in xfs_qm_init_timelimits() 615 if (dqp->q_blk.warnings) in xfs_qm_init_timelimits() 616 defq->blk.warn = dqp->q_blk.warnings; in xfs_qm_init_timelimits() 1103 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust() 1104 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust() 1814 ASSERT(prevdq->q_blk.reserved >= ip->i_delayed_blks); in xfs_qm_vop_chown() 1815 prevdq->q_blk in xfs_qm_vop_chown() [all...] |
H A D | xfs_iomap.c | 310 if (dq->q_blk.reserved + alloc_blocks < dq->q_prealloc_lo_wmark) in xfs_quota_need_throttle() 329 if (!dq || dq->q_blk.reserved >= dq->q_prealloc_hi_wmark) { in xfs_quota_calc_throttle() 335 freesp = dq->q_prealloc_hi_wmark - dq->q_blk.reserved; in xfs_quota_calc_throttle()
|
H A D | xfs_trace.h | 893 __entry->res_bcount = dqp->q_blk.reserved; 897 __entry->bcount = dqp->q_blk.count; 901 __entry->blk_hardlimit = dqp->q_blk.hardlimit; 902 __entry->blk_softlimit = dqp->q_blk.softlimit;
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_qm_bhv.c | 26 limit = dqp->q_blk.softlimit ? in xfs_fill_statvfs_from_dquot() 27 dqp->q_blk.softlimit : in xfs_fill_statvfs_from_dquot() 28 dqp->q_blk.hardlimit; in xfs_fill_statvfs_from_dquot() 32 (statp->f_blocks > dqp->q_blk.reserved) ? in xfs_fill_statvfs_from_dquot() 33 (statp->f_blocks - dqp->q_blk.reserved) : 0; in xfs_fill_statvfs_from_dquot()
|
H A D | xfs_dquot.c | 80 if (!dq->q_blk.softlimit) { in xfs_qm_adjust_dqlimits() 81 dq->q_blk.softlimit = defq->blk.soft; in xfs_qm_adjust_dqlimits() 84 if (!dq->q_blk.hardlimit) { in xfs_qm_adjust_dqlimits() 85 dq->q_blk.hardlimit = defq->blk.hard; in xfs_qm_adjust_dqlimits() 167 xfs_qm_adjust_res_timer(dq->q_mount, &dq->q_blk, &defq->blk); in xfs_qm_adjust_dqtimers() 266 dqp->q_prealloc_hi_wmark = dqp->q_blk.hardlimit; in xfs_dquot_set_prealloc_limits() 267 dqp->q_prealloc_lo_wmark = dqp->q_blk.softlimit; in xfs_dquot_set_prealloc_limits() 582 dqp->q_blk.hardlimit = be64_to_cpu(ddqp->d_blk_hardlimit); in xfs_dquot_from_disk() 583 dqp->q_blk.softlimit = be64_to_cpu(ddqp->d_blk_softlimit); in xfs_dquot_from_disk() 589 dqp->q_blk in xfs_dquot_from_disk() [all...] |
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 | 399 ASSERT(dqp->q_blk.count >= -totalbdelta); in xfs_trans_apply_dquot_deltas() 408 dqp->q_blk.count += totalbdelta; in xfs_trans_apply_dquot_deltas() 440 xfs_apply_quota_reservation_deltas(&dqp->q_blk, in xfs_trans_apply_dquot_deltas() 461 ASSERT(dqp->q_blk.reserved >= dqp->q_blk.count); in xfs_trans_apply_dquot_deltas() 507 dqp->q_blk.reserved -= in xfs_trans_unreserve_and_mod_dquots() 636 blkres = &dqp->q_blk; in xfs_trans_dqresv() 674 * Note that q_blk.reserved = q_blk.count + resv in xfs_trans_dqresv() 693 if (XFS_IS_CORRUPT(mp, dqp->q_blk in xfs_trans_dqresv() [all...] |
H A D | xfs_qm_syscalls.c | 336 dqp->q_blk.hardlimit; in xfs_qm_scall_setqlim() 339 dqp->q_blk.softlimit; in xfs_qm_scall_setqlim() 340 res = &dqp->q_blk; 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() 406 dst->d_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_blk.softlimit); in xfs_qm_scall_getquota_fill_qc() 409 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_blk.reserved); in xfs_qm_scall_getquota_fill_qc() 411 dst->d_spc_timer = dqp->q_blk.timer; in xfs_qm_scall_getquota_fill_qc()
|
H A D | xfs_dquot.h | 73 struct xfs_dquot_res q_blk; /* regular blocks */ member 194 freesp = dqp->q_blk.hardlimit - dqp->q_blk.reserved; in xfs_dquot_lowsp()
|
H A D | xfs_qm.c | 568 defq->blk.hard = dqp->q_blk.hardlimit; in xfs_qm_set_defquota() 569 defq->blk.soft = dqp->q_blk.softlimit; in xfs_qm_set_defquota() 610 if (dqp->q_blk.timer) in xfs_qm_init_timelimits() 611 defq->blk.time = dqp->q_blk.timer; in xfs_qm_init_timelimits() 1104 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust() 1105 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust() 1845 ASSERT(prevdq->q_blk.reserved >= ip->i_delayed_blks); in xfs_qm_vop_chown() 1846 prevdq->q_blk.reserved -= ip->i_delayed_blks; in xfs_qm_vop_chown() 1946 if (dqp->q_blk.reserved < dqp->q_prealloc_lo_wmark) in xfs_inode_near_dquot_enforcement() 1949 if (dqp->q_blk in xfs_inode_near_dquot_enforcement() [all...] |
H A D | xfs_iomap.c | 357 if (dq->q_blk.reserved + alloc_blocks < dq->q_prealloc_lo_wmark) in xfs_quota_need_throttle() 376 if (!dq || dq->q_blk.reserved >= dq->q_prealloc_hi_wmark) { in xfs_quota_calc_throttle() 382 freesp = dq->q_prealloc_hi_wmark - dq->q_blk.reserved; in xfs_quota_calc_throttle()
|
H A D | xfs_trace.h | 1041 __entry->res_bcount = dqp->q_blk.reserved; 1045 __entry->bcount = dqp->q_blk.count; 1049 __entry->blk_hardlimit = dqp->q_blk.hardlimit; 1050 __entry->blk_softlimit = dqp->q_blk.softlimit;
|