Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_qm_syscalls.c45 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff()
161 if (((mp->m_sb.sb_qflags & XFS_UQUOTA_ACCT) == 0 && in xfs_qm_scall_quotaon()
163 ((mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT) == 0 && in xfs_qm_scall_quotaon()
165 ((mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) == 0 && in xfs_qm_scall_quotaon()
169 __func__, flags, mp->m_sb.sb_qflags); in xfs_qm_scall_quotaon()
183 qf = mp->m_sb.sb_qflags; in xfs_qm_scall_quotaon()
184 mp->m_sb.sb_qflags = qf | flags; in xfs_qm_scall_quotaon()
199 if (((mp->m_sb.sb_qflags & XFS_UQUOTA_ACCT) != in xfs_qm_scall_quotaon()
201 ((mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) != in xfs_qm_scall_quotaon()
203 ((mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT) != in xfs_qm_scall_quotaon()
Dxfs_qm_bhv.c79 (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_ACCT); in xfs_qm_newmount()
82 uquotaondisk = mp->m_sb.sb_qflags & XFS_UQUOTA_ACCT; in xfs_qm_newmount()
83 pquotaondisk = mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT; in xfs_qm_newmount()
84 gquotaondisk = mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT; in xfs_qm_newmount()
Dxfs_quota.h34 (mp->m_sb.sb_qflags & XFS_UQUOTA_CHKD) == 0) || \
36 (mp->m_sb.sb_qflags & XFS_GQUOTA_CHKD) == 0) || \
38 (mp->m_sb.sb_qflags & XFS_PQUOTA_CHKD) == 0))
Dxfs_mount.c435 if (mp->m_sb.sb_qflags == 0) in xfs_mount_reset_sbqflags()
438 mp->m_sb.sb_qflags = 0; in xfs_mount_reset_sbqflags()
858 if (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_ACCT) { in xfs_mountfs()
Dxfs_qm.c671 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()
1472 sbf = mp->m_sb.sb_qflags; in xfs_qm_mount_quotas()
1473 mp->m_sb.sb_qflags = mp->m_qflags & XFS_MOUNT_QUOTA_ALL; in xfs_qm_mount_quotas()
/fs/xfs/libxfs/
Dxfs_sb.c337 if (sbp->sb_qflags & (XFS_OQUOTA_ENFD | XFS_OQUOTA_CHKD)) { in xfs_validate_sb_common()
360 } else if (sbp->sb_qflags & (XFS_PQUOTA_ENFD | XFS_GQUOTA_ENFD | in xfs_validate_sb_common()
522 if (sbp->sb_qflags & XFS_OQUOTA_ENFD) in xfs_sb_quota_from_disk()
523 sbp->sb_qflags |= (sbp->sb_qflags & XFS_PQUOTA_ACCT) ? in xfs_sb_quota_from_disk()
525 if (sbp->sb_qflags & XFS_OQUOTA_CHKD) in xfs_sb_quota_from_disk()
526 sbp->sb_qflags |= (sbp->sb_qflags & XFS_PQUOTA_ACCT) ? in xfs_sb_quota_from_disk()
528 sbp->sb_qflags &= ~(XFS_OQUOTA_ENFD | XFS_OQUOTA_CHKD); in xfs_sb_quota_from_disk()
530 if (sbp->sb_qflags & XFS_PQUOTA_ACCT && in xfs_sb_quota_from_disk()
586 to->sb_qflags = be16_to_cpu(from->sb_qflags); in __xfs_sb_from_disk()
635 uint16_t qflags = from->sb_qflags; in xfs_sb_quota_to_disk()
[all …]
Dxfs_format.h140 uint16_t sb_qflags; /* quota flags */ member
231 __be16 sb_qflags; /* quota flags */ member
/fs/xfs/scrub/
Drepair.c917 sc->mp->m_sb.sb_qflags &= ~flag; in xrep_force_quotacheck()