Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/
Dxfs_dquot.h46 uint dq_flags; /* various flags (XFS_DQ_*) */ member
158 #define XFS_DQ_IS_DIRTY(dqp) ((dqp)->dq_flags & XFS_DQ_DIRTY)
159 #define XFS_QM_ISUDQ(dqp) ((dqp)->dq_flags & XFS_DQ_USER)
160 #define XFS_QM_ISPDQ(dqp) ((dqp)->dq_flags & XFS_DQ_PROJ)
161 #define XFS_QM_ISGDQ(dqp) ((dqp)->dq_flags & XFS_DQ_GROUP)
Dxfs_dquot.c326 if (!xfs_this_quota_on(dqp->q_mount, dqp->dq_flags)) { in xfs_qm_dqalloc()
365 dqp->dq_flags & XFS_DQ_ALLTYPES, bp); in xfs_qm_dqalloc()
438 dqp->dq_flags & XFS_DQ_ALLTYPES, in xfs_qm_dqrepair()
475 if (!xfs_this_quota_on(dqp->q_mount, dqp->dq_flags)) { in xfs_qm_dqtobp()
574 dqp->dq_flags = type; in xfs_qm_dqread()
738 if (dqp->dq_flags & XFS_DQ_FREEING) { in xfs_qm_dqget()
955 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush()
995 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush()
Dxfs_qm.h109 switch (dqp->dq_flags & XFS_DQ_ALLTYPES) { in xfs_dq_to_quota_inode()
Dxfs_trans_dquot.c417 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_trans_apply_dquot_deltas()
576 if (dqp->dq_flags & XFS_DQ_PROJ) in xfs_quota_warn()
579 (dqp->dq_flags & XFS_DQ_USER) ? in xfs_quota_warn()
Dxfs_qm.c137 if ((dqp->dq_flags & XFS_DQ_FREEING) || dqp->q_nrefs != 0) { in xfs_qm_dqpurge()
142 dqp->dq_flags |= XFS_DQ_FREEING; in xfs_qm_dqpurge()
494 dqp->dq_flags |= XFS_DQ_FREEING; in xfs_qm_dquot_isolate()
1087 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_qm_quotacheck_dqadjust()
1226 if (dqp->dq_flags & XFS_DQ_FREEING) in xfs_qm_flush_one()
Dxfs_qm_syscalls.c547 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_qm_scall_setqlim()
Dxfs_trace.h885 __entry->flags = dqp->dq_flags;
/linux-4.4.14/fs/ocfs2/
Dquota_global.c75 if (!test_bit(DQ_LASTSET_B + QIF_ILIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb()
79 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
81 if (!test_bit(DQ_LASTSET_B + QIF_BLIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb()
85 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
87 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
89 if (!test_bit(DQ_LASTSET_B + QIF_ITIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb()
516 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in __ocfs2_sync_dquot()
518 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in __ocfs2_sync_dquot()
523 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags) && in __ocfs2_sync_dquot()
533 clear_bit(DQ_BLKS_B, &dquot->dq_flags); in __ocfs2_sync_dquot()
[all …]
/linux-4.4.14/fs/quota/
Ddquot.c332 return test_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_dirty()
346 if (test_bit(DQ_MOD_B, &dquot->dq_flags)) in dquot_mark_dquot_dirty()
350 if (!test_and_set_bit(DQ_MOD_B, &dquot->dq_flags)) { in dquot_mark_dquot_dirty()
387 if (!test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags)) in clear_dquot_dirty()
410 if (!test_bit(DQ_READ_B, &dquot->dq_flags)) in dquot_acquire()
414 set_bit(DQ_READ_B, &dquot->dq_flags); in dquot_acquire()
416 if (!test_bit(DQ_ACTIVE_B, &dquot->dq_flags) && !dquot->dq_off) { in dquot_acquire()
430 set_bit(DQ_ACTIVE_B, &dquot->dq_flags); in dquot_acquire()
455 if (test_bit(DQ_ACTIVE_B, &dquot->dq_flags)) in dquot_commit()
488 clear_bit(DQ_ACTIVE_B, &dquot->dq_flags); in dquot_release()
[all …]
Dquota_tree.c624 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
641 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
652 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot()
665 if (test_bit(DQ_FAKE_B, &dquot->dq_flags) && in qtree_release_dquot()
Dquota_v1.c74 set_bit(DQ_FAKE_B, &dquot->dq_flags); in v1_read_dqblk()
/linux-4.4.14/include/linux/
Dquota.h296 unsigned long dq_flags; /* See DQ_* */ member
Dquotaops.h53 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab()