Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/
Dxfs_qm_syscalls.c45 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff()
160 if (((mp->m_sb.sb_qflags & XFS_UQUOTA_ACCT) == 0 && in xfs_qm_scall_quotaon()
162 ((mp->m_sb.sb_qflags & XFS_GQUOTA_ACCT) == 0 && in xfs_qm_scall_quotaon()
164 ((mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) == 0 && in xfs_qm_scall_quotaon()
168 __func__, flags, mp->m_sb.sb_qflags); in xfs_qm_scall_quotaon()
182 qf = mp->m_sb.sb_qflags; in xfs_qm_scall_quotaon()
183 mp->m_sb.sb_qflags = qf | flags; in xfs_qm_scall_quotaon()
198 if (((mp->m_sb.sb_qflags & XFS_UQUOTA_ACCT) != in xfs_qm_scall_quotaon()
200 ((mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) != in xfs_qm_scall_quotaon()
202 ((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.c451 if (mp->m_sb.sb_qflags == 0) in xfs_mount_reset_sbqflags()
454 mp->m_sb.sb_qflags = 0; in xfs_mount_reset_sbqflags()
938 if (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_ACCT) { in xfs_mountfs()
Dxfs_qm.c670 mp->m_qflags |= (mp->m_sb.sb_qflags & XFS_ALL_QUOTA_CHKD); in xfs_qm_init_quotainfo()
826 mp->m_sb.sb_qflags = mp->m_qflags & XFS_ALL_QUOTA_ACCT; in xfs_qm_qino_alloc()
1517 sbf = mp->m_sb.sb_qflags; in xfs_qm_mount_quotas()
1518 mp->m_sb.sb_qflags = mp->m_qflags & XFS_MOUNT_QUOTA_ALL; in xfs_qm_mount_quotas()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_sb.c379 if (sbp->sb_qflags & (XFS_OQUOTA_ENFD | XFS_OQUOTA_CHKD)) { in xfs_validate_sb_common()
402 } else if (sbp->sb_qflags & (XFS_PQUOTA_ENFD | XFS_GQUOTA_ENFD | in xfs_validate_sb_common()
594 if (sbp->sb_qflags & XFS_OQUOTA_ENFD) in xfs_sb_quota_from_disk()
595 sbp->sb_qflags |= (sbp->sb_qflags & XFS_PQUOTA_ACCT) ? in xfs_sb_quota_from_disk()
597 if (sbp->sb_qflags & XFS_OQUOTA_CHKD) in xfs_sb_quota_from_disk()
598 sbp->sb_qflags |= (sbp->sb_qflags & XFS_PQUOTA_ACCT) ? in xfs_sb_quota_from_disk()
600 sbp->sb_qflags &= ~(XFS_OQUOTA_ENFD | XFS_OQUOTA_CHKD); in xfs_sb_quota_from_disk()
602 if (sbp->sb_qflags & XFS_PQUOTA_ACCT && in xfs_sb_quota_from_disk()
658 to->sb_qflags = be16_to_cpu(from->sb_qflags); in __xfs_sb_from_disk()
707 uint16_t qflags = from->sb_qflags; in xfs_sb_quota_to_disk()
[all …]
Dxfs_format.h139 uint16_t sb_qflags; /* quota flags */ member
228 __be16 sb_qflags; /* quota flags */ member
/linux-6.12.1/fs/xfs/scrub/
Drepair.c716 mp->m_sb.sb_qflags &= ~clear_flags; in xrep_update_qflags()
717 mp->m_sb.sb_qflags |= set_flags; in xrep_update_qflags()