Searched refs:dq_flags (Results 1 – 13 of 13) sorted by relevance
/linux-4.1.27/fs/xfs/ |
D | xfs_dquot.h | 46 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)
|
D | xfs_dquot.c | 326 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() 576 dqp->dq_flags = type; in xfs_qm_dqread() 742 if (dqp->dq_flags & XFS_DQ_FREEING) { in xfs_qm_dqget() 959 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush() 1003 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush()
|
D | xfs_qm.h | 109 switch (dqp->dq_flags & XFS_DQ_ALLTYPES) { in xfs_dq_to_quota_inode()
|
D | xfs_trans_dquot.c | 415 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_trans_apply_dquot_deltas() 570 if (dqp->dq_flags & XFS_DQ_PROJ) in xfs_quota_warn() 573 (dqp->dq_flags & XFS_DQ_USER) ? in xfs_quota_warn()
|
D | xfs_qm.c | 137 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() 1088 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_qm_quotacheck_dqadjust() 1227 if (dqp->dq_flags & XFS_DQ_FREEING) in xfs_qm_flush_one()
|
D | xfs_qm_syscalls.c | 548 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_qm_scall_setqlim()
|
D | xfs_trace.h | 836 __entry->flags = dqp->dq_flags;
|
/linux-4.1.27/fs/ocfs2/ |
D | quota_global.c | 75 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.1.27/fs/quota/ |
D | dquot.c | 332 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 …]
|
D | quota_tree.c | 624 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()
|
D | quota_v1.c | 74 set_bit(DQ_FAKE_B, &dquot->dq_flags); in v1_read_dqblk()
|
/linux-4.1.27/include/linux/ |
D | quota.h | 296 unsigned long dq_flags; /* See DQ_* */ member
|
D | quotaops.h | 53 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab()
|