Searched refs:dq_flags (Results 1 – 11 of 11) sorted by relevance
/fs/ocfs2/ |
D | quota_global.c | 76 if (!test_bit(DQ_LASTSET_B + QIF_ILIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb() 80 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb() 82 if (!test_bit(DQ_LASTSET_B + QIF_BLIMITS_B, &dquot->dq_flags)) { in ocfs2_global_disk2memdqb() 86 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb() 88 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb() 90 if (!test_bit(DQ_LASTSET_B + QIF_ITIME_B, &dquot->dq_flags)) in ocfs2_global_disk2memdqb() 521 if (!test_bit(DQ_LASTSET_B + QIF_SPACE_B, &dquot->dq_flags)) in __ocfs2_sync_dquot() 523 if (!test_bit(DQ_LASTSET_B + QIF_INODES_B, &dquot->dq_flags)) in __ocfs2_sync_dquot() 528 if (!test_bit(DQ_LASTSET_B + QIF_BTIME_B, &dquot->dq_flags) && in __ocfs2_sync_dquot() 538 clear_bit(DQ_BLKS_B, &dquot->dq_flags); in __ocfs2_sync_dquot() [all …]
|
/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 | 330 if (!xfs_this_quota_on(dqp->q_mount, dqp->dq_flags)) { in xfs_qm_dqalloc() 369 dqp->dq_flags & XFS_DQ_ALLTYPES, bp); in xfs_qm_dqalloc() 443 dqp->dq_flags & XFS_DQ_ALLTYPES, in xfs_qm_dqrepair() 477 quotip = xfs_quota_inode(dqp->q_mount, dqp->dq_flags); in xfs_qm_dqtobp() 481 if (!xfs_this_quota_on(dqp->q_mount, dqp->dq_flags)) { in xfs_qm_dqtobp() 580 dqp->dq_flags = type; in xfs_qm_dqread() 796 if (dqp->dq_flags & XFS_DQ_FREEING) { in xfs_qm_dqget() 1051 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush() 1091 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush()
|
D | xfs_qm.h | 113 xfs_quota_inode(xfs_mount_t *mp, uint dq_flags) in xfs_quota_inode() argument 115 switch (dq_flags & XFS_DQ_ALLTYPES) { in xfs_quota_inode()
|
D | xfs_trans_dquot.c | 417 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_trans_apply_dquot_deltas() 577 if (dqp->dq_flags & XFS_DQ_PROJ) in xfs_quota_warn() 579 else if (dqp->dq_flags & XFS_DQ_USER) in xfs_quota_warn()
|
D | xfs_qm.c | 141 if ((dqp->dq_flags & XFS_DQ_FREEING) || dqp->q_nrefs != 0) { in xfs_qm_dqpurge() 146 dqp->dq_flags |= XFS_DQ_FREEING; in xfs_qm_dqpurge() 498 dqp->dq_flags |= XFS_DQ_FREEING; in xfs_qm_dquot_isolate() 1115 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_qm_quotacheck_dqadjust() 1235 if (dqp->dq_flags & XFS_DQ_FREEING) in xfs_qm_flush_one()
|
D | xfs_qm_syscalls.c | 545 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_qm_scall_setqlim()
|
D | xfs_trace.h | 909 __entry->flags = dqp->dq_flags;
|
/fs/quota/ |
D | dquot.c | 336 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 …]
|
D | quota_tree.c | 630 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()
|
D | quota_v1.c | 75 set_bit(DQ_FAKE_B, &dquot->dq_flags); in v1_read_dqblk()
|