Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_quota_defs.h75 #define XFS_IS_QUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_ALL_QUOTA_ACCT)
76 #define XFS_IS_UQUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_UQUOTA_ACCT)
77 #define XFS_IS_PQUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_PQUOTA_ACCT)
78 #define XFS_IS_GQUOTA_RUNNING(mp) ((mp)->m_qflags & XFS_GQUOTA_ACCT)
79 #define XFS_IS_UQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_UQUOTA_ENFD)
80 #define XFS_IS_GQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_GQUOTA_ENFD)
81 #define XFS_IS_PQUOTA_ENFORCED(mp) ((mp)->m_qflags & XFS_PQUOTA_ENFD)
98 #define XFS_IS_QUOTA_ON(mp) ((mp)->m_qflags & (XFS_UQUOTA_ACTIVE | \
101 #define XFS_IS_UQUOTA_ON(mp) ((mp)->m_qflags & XFS_UQUOTA_ACTIVE)
102 #define XFS_IS_GQUOTA_ON(mp) ((mp)->m_qflags & XFS_GQUOTA_ACTIVE)
[all …]
/fs/xfs/
Dxfs_qm_syscalls.c66 if ((mp->m_qflags & flags) == 0) in xfs_qm_scall_quotaoff()
85 mp->m_qflags &= ~(flags); in xfs_qm_scall_quotaoff()
88 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff()
123 if ((mp->m_qflags & flags) == 0) in xfs_qm_scall_quotaoff()
146 mp->m_qflags &= ~inactivate_flags; in xfs_qm_scall_quotaoff()
165 mp->m_qflags &= ~flags; in xfs_qm_scall_quotaoff()
194 if (mp->m_qflags == 0) { in xfs_qm_scall_quotaoff()
279 __func__, flags, mp->m_qflags); in xfs_qm_scall_trunc_qfiles()
320 __func__, mp->m_qflags); in xfs_qm_scall_quotaon()
343 if ((mp->m_qflags & flags) == flags) in xfs_qm_scall_quotaon()
[all …]
Dxfs_super.c331 mp->m_qflags &= ~XFS_ALL_QUOTA_ACCT; in xfs_parseargs()
332 mp->m_qflags &= ~XFS_ALL_QUOTA_ENFD; in xfs_parseargs()
333 mp->m_qflags &= ~XFS_ALL_QUOTA_ACTIVE; in xfs_parseargs()
338 mp->m_qflags |= (XFS_UQUOTA_ACCT | XFS_UQUOTA_ACTIVE | in xfs_parseargs()
343 mp->m_qflags |= (XFS_UQUOTA_ACCT | XFS_UQUOTA_ACTIVE); in xfs_parseargs()
344 mp->m_qflags &= ~XFS_UQUOTA_ENFD; in xfs_parseargs()
348 mp->m_qflags |= (XFS_PQUOTA_ACCT | XFS_PQUOTA_ACTIVE | in xfs_parseargs()
352 mp->m_qflags |= (XFS_PQUOTA_ACCT | XFS_PQUOTA_ACTIVE); in xfs_parseargs()
353 mp->m_qflags &= ~XFS_PQUOTA_ENFD; in xfs_parseargs()
357 mp->m_qflags |= (XFS_GQUOTA_ACCT | XFS_GQUOTA_ACTIVE | in xfs_parseargs()
[all …]
Dxfs_qm_bhv.c143 *quotaflags = mp->m_qflags; in xfs_qm_newmount()
144 mp->m_qflags = 0; in xfs_qm_newmount()
Dxfs_qm.c638 mp->m_qflags |= (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_CHKD); in xfs_qm_init_quotainfo()
815 mp->m_sb.sb_qflags = mp->m_qflags & XFS_ALL_QUOTA_ACCT; in xfs_qm_qino_alloc()
1388 mp->m_qflags &= ~XFS_ALL_QUOTA_CHKD; in xfs_qm_quotacheck()
1389 mp->m_qflags |= flags; in xfs_qm_quotacheck()
1434 mp->m_qflags = 0; in xfs_qm_mount_quotas()
1450 mp->m_qflags = 0; in xfs_qm_mount_quotas()
1469 mp->m_qflags &= ~XFS_UQUOTA_CHKD; in xfs_qm_mount_quotas()
1471 mp->m_qflags &= ~XFS_GQUOTA_CHKD; in xfs_qm_mount_quotas()
1473 mp->m_qflags &= ~XFS_PQUOTA_CHKD; in xfs_qm_mount_quotas()
1482 mp->m_sb.sb_qflags = mp->m_qflags & XFS_MOUNT_QUOTA_ALL; in xfs_qm_mount_quotas()
[all …]
Dxfs_mount.c585 mp->m_qflags = 0; in xfs_mount_reset_sbqflags()
976 ASSERT(mp->m_qflags == 0); in xfs_mountfs()
977 mp->m_qflags = quotaflags; in xfs_mountfs()
Dxfs_mount.h149 uint m_qflags; /* quota status flags */ member
Dxfs_log_recover.c2740 if (!mp->m_qflags) in xlog_recover_do_dquot_buffer()
3312 if (mp->m_qflags == 0) in xlog_recover_dquot_pass2()
4003 if (mp->m_qflags == 0) in xlog_recover_dquot_ra_pass2()