Lines Matching refs:sb_qflags
337 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()
644 to->sb_qflags = cpu_to_be16(from->sb_qflags); in xfs_sb_quota_to_disk()
658 if (from->sb_qflags & in xfs_sb_quota_to_disk()
661 if (from->sb_qflags & in xfs_sb_quota_to_disk()
664 to->sb_qflags = cpu_to_be16(qflags); in xfs_sb_quota_to_disk()
675 if (from->sb_qflags & XFS_GQUOTA_ACCT) in xfs_sb_quota_to_disk()
677 else if (from->sb_qflags & XFS_PQUOTA_ACCT) in xfs_sb_quota_to_disk()