Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/libxfs/
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-6.6.21/fs/xfs/
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()
111 __func__, flags, mp->m_qflags); in xfs_qm_scall_trunc_qfiles()
152 __func__, mp->m_qflags); in xfs_qm_scall_quotaon()
175 if ((mp->m_qflags & flags) == flags) in xfs_qm_scall_quotaon()
200 (mp->m_qflags & XFS_UQUOTA_ACCT)) || in xfs_qm_scall_quotaon()
202 (mp->m_qflags & XFS_PQUOTA_ACCT)) || in xfs_qm_scall_quotaon()
204 (mp->m_qflags & XFS_GQUOTA_ACCT))) in xfs_qm_scall_quotaon()
214 mp->m_qflags |= (flags & XFS_ALL_QUOTA_ENFD); in xfs_qm_scall_quotaon()
Dxfs_super.c210 if (mp->m_qflags & XFS_UQUOTA_ENFD) in xfs_fs_show_options()
212 else if (mp->m_qflags & XFS_UQUOTA_ACCT) in xfs_fs_show_options()
215 if (mp->m_qflags & XFS_PQUOTA_ENFD) in xfs_fs_show_options()
217 else if (mp->m_qflags & XFS_PQUOTA_ACCT) in xfs_fs_show_options()
220 if (mp->m_qflags & XFS_GQUOTA_ENFD) in xfs_fs_show_options()
222 else if (mp->m_qflags & XFS_GQUOTA_ACCT) in xfs_fs_show_options()
225 if (!(mp->m_qflags & XFS_ALL_QUOTA_ACCT)) in xfs_fs_show_options()
883 ((mp->m_qflags & (XFS_PQUOTA_ACCT|XFS_PQUOTA_ENFD))) == in xfs_fs_statfs()
1030 if ((mp->m_qflags & XFS_GQUOTA_ACCT) && in xfs_finish_flags()
1031 (mp->m_qflags & XFS_PQUOTA_ACCT) && in xfs_finish_flags()
[all …]
Dxfs_qm_bhv.c131 *quotaflags = mp->m_qflags; in xfs_qm_newmount()
132 mp->m_qflags = 0; in xfs_qm_newmount()
Dxfs_qm.c670 mp->m_qflags |= (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_CHKD); in xfs_qm_init_quotainfo()
813 mp->m_sb.sb_qflags = mp->m_qflags & XFS_ALL_QUOTA_ACCT; in xfs_qm_qino_alloc()
1389 mp->m_qflags &= ~XFS_ALL_QUOTA_CHKD; in xfs_qm_quotacheck()
1390 mp->m_qflags |= flags; in xfs_qm_quotacheck()
1450 mp->m_qflags = 0; in xfs_qm_mount_quotas()
1466 mp->m_qflags = 0; in xfs_qm_mount_quotas()
1485 mp->m_qflags &= ~XFS_UQUOTA_CHKD; in xfs_qm_mount_quotas()
1487 mp->m_qflags &= ~XFS_GQUOTA_CHKD; in xfs_qm_mount_quotas()
1489 mp->m_qflags &= ~XFS_PQUOTA_CHKD; in xfs_qm_mount_quotas()
1498 mp->m_sb.sb_qflags = mp->m_qflags & XFS_MOUNT_QUOTA_ALL; in xfs_qm_mount_quotas()
[all …]
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()
Dxfs_mount.c436 mp->m_qflags = 0; in xfs_mount_reset_sbqflags()
959 ASSERT(mp->m_qflags == 0); in xfs_mountfs()
960 mp->m_qflags = quotaflags; in xfs_mountfs()
Dxfs_mount.h151 uint m_qflags; /* quota status flags */ member
Dxfs_buf_item_recover.c553 if (!mp->m_qflags) in xlog_recover_do_dquot_buffer()
Dxfs_dquot.c250 if (!(mp->m_qflags & qflag)) in xfs_qm_init_dquot_blk()
/linux-6.6.21/fs/xfs/scrub/
Drepair.c685 if (!(flag & sc->mp->m_qflags)) in xrep_force_quotacheck()
689 sc->mp->m_qflags &= ~flag; in xrep_force_quotacheck()