Lines Matching refs:sb_qflags
379 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()
716 to->sb_qflags = cpu_to_be16(from->sb_qflags); in xfs_sb_quota_to_disk()
730 if (from->sb_qflags & in xfs_sb_quota_to_disk()
733 if (from->sb_qflags & in xfs_sb_quota_to_disk()
736 to->sb_qflags = cpu_to_be16(qflags); in xfs_sb_quota_to_disk()
747 if (from->sb_qflags & XFS_GQUOTA_ACCT) in xfs_sb_quota_to_disk()
749 else if (from->sb_qflags & XFS_PQUOTA_ACCT) in xfs_sb_quota_to_disk()