Searched refs:dq_flags (Results 1 – 13 of 13) sorted by relevance
/linux-4.19.296/fs/xfs/ |
D | xfs_dquot.h | 34 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)
|
D | xfs_dquot.c | 293 struct xfs_inode *quotip = xfs_quota_inode(mp, dqp->dq_flags); in xfs_dquot_disk_alloc() 300 if (!xfs_this_quota_on(dqp->q_mount, dqp->dq_flags)) { in xfs_dquot_disk_alloc() 338 dqp->dq_flags & XFS_DQ_ALLTYPES, bp); in xfs_dquot_disk_alloc() 385 struct xfs_inode *quotip = xfs_quota_inode(mp, dqp->dq_flags); in xfs_dquot_disk_read() 391 if (!xfs_this_quota_on(mp, dqp->dq_flags)) { in xfs_dquot_disk_read() 449 dqp->dq_flags = type; in xfs_dquot_alloc() 678 if (dqp->dq_flags & XFS_DQ_FREEING) { in xfs_qm_dqget_cache_lookup() 1100 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush() 1141 dqp->dq_flags &= ~XFS_DQ_DIRTY; in xfs_qm_dqflush()
|
D | xfs_qm.h | 101 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()
|
D | xfs_trans_dquot.c | 405 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()
|
D | xfs_qm.c | 129 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()
|
D | xfs_qm_syscalls.c | 534 dqp->dq_flags |= XFS_DQ_DIRTY; in xfs_qm_scall_setqlim()
|
D | xfs_trace.h | 856 __entry->flags = dqp->dq_flags;
|
/linux-4.19.296/fs/ocfs2/ |
D | quota_global.c | 77 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-4.19.296/fs/quota/ |
D | dquot.c | 360 return test_bit(DQ_ACTIVE_B, &dquot->dq_flags); in dquot_active() 365 return test_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_dirty() 382 return test_and_set_bit(DQ_MOD_B, &dquot->dq_flags); in dquot_mark_dquot_dirty() 389 if (!test_and_set_bit(DQ_MOD_B, &dquot->dq_flags)) { in dquot_mark_dquot_dirty() 426 return test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags); in clear_dquot_dirty() 429 if (!test_and_clear_bit(DQ_MOD_B, &dquot->dq_flags)) { in clear_dquot_dirty() 456 if (!test_bit(DQ_READ_B, &dquot->dq_flags)) in dquot_acquire() 462 set_bit(DQ_READ_B, &dquot->dq_flags); in dquot_acquire() 483 set_bit(DQ_ACTIVE_B, &dquot->dq_flags); in dquot_acquire() 535 clear_bit(DQ_ACTIVE_B, &dquot->dq_flags); in dquot_release() [all …]
|
D | quota_tree.c | 683 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot() 700 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot() 711 set_bit(DQ_FAKE_B, &dquot->dq_flags); in qtree_read_dquot() 724 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()
|
/linux-4.19.296/include/linux/ |
D | quotaops.h | 53 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab() 60 if (test_bit(DQ_MOD_B, &dquot->dq_flags)) in dquot_is_busy()
|
D | quota.h | 305 unsigned long dq_flags; /* See DQ_* */ member
|