Home
last modified time | relevance | path

Searched refs:dq_flags (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/fs/xfs/
Dxfs_dquot.h34 uint dq_flags; /* various flags (XFS_DQ_*) */ member
146 #define XFS_DQ_IS_DIRTY(dqp) ((dqp)->dq_flags & XFS_DQ_DIRTY)
147 #define XFS_QM_ISUDQ(dqp) ((dqp)->dq_flags & XFS_DQ_USER)
148 #define XFS_QM_ISPDQ(dqp) ((dqp)->dq_flags & XFS_DQ_PROJ)
149 #define XFS_QM_ISGDQ(dqp) ((dqp)->dq_flags & XFS_DQ_GROUP)
Dxfs_dquot.c292 struct xfs_inode *quotip = xfs_quota_inode(mp, dqp->dq_flags); in xfs_dquot_disk_alloc()
299 if (!xfs_this_quota_on(dqp->q_mount, dqp->dq_flags)) { in xfs_dquot_disk_alloc()
337 dqp->dq_flags & XFS_DQ_ALLTYPES, bp); in xfs_dquot_disk_alloc()
383 struct xfs_inode *quotip = xfs_quota_inode(mp, dqp->dq_flags); in xfs_dquot_disk_read()
389 if (!xfs_this_quota_on(mp, dqp->dq_flags)) { in xfs_dquot_disk_read()
447 dqp->dq_flags = type; in xfs_dquot_alloc()
677 if (dqp->dq_flags & XFS_DQ_FREEING) { in xfs_qm_dqget_cache_lookup()
1099 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush()
1141 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush()
Dxfs_qm.h101 xfs_quota_inode(xfs_mount_t *mp, uint dq_flags) in xfs_quota_inode() argument
103 switch (dq_flags & XFS_DQ_ALLTYPES) { in xfs_quota_inode()
Dxfs_trans_dquot.c405 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_trans_apply_dquot_deltas()
565 if (dqp->dq_flags & XFS_DQ_PROJ) in xfs_quota_warn()
567 else if (dqp->dq_flags & XFS_DQ_USER) in xfs_quota_warn()
Dxfs_qm.c129 if ((dqp->dq_flags & XFS_DQ_FREEING) || dqp->q_nrefs != 0) { in xfs_qm_dqpurge()
134 dqp->dq_flags |= XFS_DQ_FREEING; in xfs_qm_dqpurge()
475 dqp->dq_flags |= XFS_DQ_FREEING; in xfs_qm_dquot_isolate()
1109 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_qm_quotacheck_dqadjust()
1224 if (dqp->dq_flags & XFS_DQ_FREEING) in xfs_qm_flush_one()
Dxfs_qm_syscalls.c534 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_qm_scall_setqlim()
Dxfs_trace.h856 __entry->flags = dqp->dq_flags;
/Linux-v4.19/fs/ocfs2/
Dquota_global.c77 if (!test_bit(DQ_LASTSET_B + QIF_ILIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb()
81 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
83 if (!test_bit(DQ_LASTSET_B + QIF_BLIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb()
87 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
89 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
91 if (!test_bit(DQ_LASTSET_B + QIF_ITIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
522 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in __ocfs2_sync_dquot()
524 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in __ocfs2_sync_dquot()
529 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags) && in __ocfs2_sync_dquot()
539 clear_bit(DQ_BLKS_B, &dquot->dq_flags); in __ocfs2_sync_dquot()
[all …]
/Linux-v4.19/fs/quota/
Ddquot.c336 return test_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_dirty()
349 if (!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)) in dquot_mark_dquot_dirty()
353 return test_and_set_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_mark_dquot_dirty()
356 if (test_bit(DQ_MOD_B, &dquot->dq_flags)) in dquot_mark_dquot_dirty()
360 if (!test_and_set_bit(DQ_MOD_B, &dquot->dq_flags)) { in dquot_mark_dquot_dirty()
397 return test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags); in clear_dquot_dirty()
400 if (!test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags)) { in clear_dquot_dirty()
427 if (!test_bit(DQ_READ_B, &dquot->dq_flags)) in dquot_acquire()
433 set_bit(DQ_READ_B, &dquot->dq_flags); in dquot_acquire()
435 if (!test_bit(DQ_ACTIVE_B, &dquot->dq_flags) && !dquot->dq_off) { in dquot_acquire()
[all …]
Dquota_tree.c630 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
647 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
658 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
671 if (test_bit(DQ_FAKE_B, &dquot->dq_flags) && in qtree_release_dquot()
Dquota_v1.c75 set_bit(DQ_FAKE_B, &dquot->dq_flags); in v1_read_dqblk()
/Linux-v4.19/include/linux/
Dquota.h305 unsigned long dq_flags; /* See DQ_* */ member
Dquotaops.h53 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab()