Home
last modified time | relevance | path

Searched refs:m_qflags (Results 1 – 8 of 8) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_quota_defs.h62 #define XFS_IS_QUOTA_ON(mp) ((mp)->m_qflags & XFS_ALL_QUOTA_ACCT)
63 #define XFS_IS_UQUOTA_ON(mp) ((mp)->m_qflags & XFS_UQUOTA_ACCT)
64 #define XFS_IS_PQUOTA_ON(mp) ((mp)->m_qflags & XFS_PQUOTA_ACCT)
65 #define XFS_IS_GQUOTA_ON(mp) ((mp)->m_qflags & XFS_GQUOTA_ACCT)
66 #define XFS_IS_UQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_UQUOTA_ENFD)
67 #define XFS_IS_GQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_GQUOTA_ENFD)
68 #define XFS_IS_PQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_PQUOTA_ENFD)
/linux/fs/xfs/
H A Dxfs_qm_syscalls.c32 if ((mp->m_qflags & flags) == 0) in xfs_qm_scall_quotaoff()
43 mp->m_qflags &= ~(flags & XFS_ALL_QUOTA_ENFD); in xfs_qm_scall_quotaoff()
45 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff()
110 __func__, flags, mp->m_qflags); in xfs_qm_scall_trunc_qfiles()
151 __func__, mp->m_qflags); in xfs_qm_scall_quotaon()
174 if ((mp->m_qflags & flags) == flags) in xfs_qm_scall_quotaon()
199 (mp->m_qflags & XFS_UQUOTA_ACCT)) || in xfs_qm_scall_quotaon()
201 (mp->m_qflags & XFS_PQUOTA_ACCT)) || in xfs_qm_scall_quotaon()
203 (mp->m_qflags & XFS_GQUOTA_ACCT))) in xfs_qm_scall_quotaon()
213 mp->m_qflags |= (flags & XFS_ALL_QUOTA_ENFD); in xfs_qm_scall_quotaon()
H A Dxfs_super.c218 if (mp->m_qflags & XFS_UQUOTA_ENFD) in xfs_fs_show_options()
220 else if (mp->m_qflags & XFS_UQUOTA_ACCT) in xfs_fs_show_options()
223 if (mp->m_qflags & XFS_PQUOTA_ENFD) in xfs_fs_show_options()
225 else if (mp->m_qflags & XFS_PQUOTA_ACCT) in xfs_fs_show_options()
228 if (mp->m_qflags & XFS_GQUOTA_ENFD) in xfs_fs_show_options()
230 else if (mp->m_qflags & XFS_GQUOTA_ACCT) in xfs_fs_show_options()
233 if (!(mp->m_qflags & XFS_ALL_QUOTA_ACCT)) in xfs_fs_show_options()
891 ((mp->m_qflags & (XFS_PQUOTA_ACCT|XFS_PQUOTA_ENFD))) == in xfs_fs_statfs()
1027 if ((mp->m_qflags & XFS_GQUOTA_ACCT) && in xfs_finish_flags()
1028 (mp->m_qflags & XFS_PQUOTA_ACCT) && in xfs_finish_flags()
[all …]
H A Dxfs_qm.c787 mp->m_sb.sb_qflags = mp->m_qflags & XFS_ALL_QUOTA_ACCT; in xfs_qm_prep_metadir_sb()
885 mp->m_qflags |= (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_CHKD); in xfs_qm_init_quotainfo()
1056 mp->m_sb.sb_qflags = mp->m_qflags & XFS_ALL_QUOTA_ACCT; in xfs_qm_qino_alloc()
1648 mp->m_qflags &= ~XFS_ALL_QUOTA_CHKD; in xfs_qm_quotacheck()
1649 mp->m_qflags |= flags; in xfs_qm_quotacheck()
1714 mp->m_qflags = 0; in xfs_qm_mount_quotas()
1730 mp->m_qflags = 0; in xfs_qm_mount_quotas()
1749 mp->m_qflags &= ~XFS_UQUOTA_CHKD; in xfs_qm_mount_quotas()
1751 mp->m_qflags &= ~XFS_GQUOTA_CHKD; in xfs_qm_mount_quotas()
1753 mp->m_qflags &= ~XFS_PQUOTA_CHKD; in xfs_qm_mount_quotas()
[all …]
H A Dxfs_dquot_item_recover.c34 if (mp->m_qflags == 0) in xlog_recover_dquot_ra_pass2()
79 if (mp->m_qflags == 0) in xlog_recover_dquot_commit_pass2()
H A Dxfs_mount.c450 mp->m_qflags = 0; in xfs_mount_reset_sbqflags()
1027 ASSERT(mp->m_qflags == 0); in xfs_mountfs()
1028 mp->m_qflags = quotaflags; in xfs_mountfs()
H A Dxfs_mount.h181 uint m_qflags; /* quota status flags */ member
H A Dxfs_dquot.c300 if (!(mp->m_qflags & qflag)) in xfs_qm_init_dquot_blk()