Lines Matching defs:uflags
626 static int bch2_quota_enable(struct super_block *sb, unsigned uflags)
636 if (uflags & (FS_QUOTA_UDQ_ACCT|FS_QUOTA_GDQ_ACCT|FS_QUOTA_PDQ_ACCT))
640 if ((uflags & FS_QUOTA_UDQ_ENFD) && !c->opts.usrquota)
643 if ((uflags & FS_QUOTA_GDQ_ENFD) && !c->opts.grpquota)
646 if (uflags & FS_QUOTA_PDQ_ENFD && !c->opts.prjquota)
656 if (uflags & FS_QUOTA_UDQ_ENFD)
659 if (uflags & FS_QUOTA_GDQ_ENFD)
662 if (uflags & FS_QUOTA_PDQ_ENFD)
672 static int bch2_quota_disable(struct super_block *sb, unsigned uflags)
680 if (uflags & FS_QUOTA_UDQ_ENFD)
683 if (uflags & FS_QUOTA_GDQ_ENFD)
686 if (uflags & FS_QUOTA_PDQ_ENFD)
695 static int bch2_quota_remove(struct super_block *sb, unsigned uflags)
703 if (uflags & FS_USER_QUOTA) {
715 if (uflags & FS_GROUP_QUOTA) {
727 if (uflags & FS_PROJ_QUOTA) {