Lines Matching refs:uflags
549 static int bch2_quota_enable(struct super_block *sb, unsigned uflags)
559 if (uflags & (FS_QUOTA_UDQ_ACCT|FS_QUOTA_GDQ_ACCT|FS_QUOTA_PDQ_ACCT))
563 if ((uflags & FS_QUOTA_UDQ_ENFD) && !c->opts.usrquota)
566 if ((uflags & FS_QUOTA_GDQ_ENFD) && !c->opts.grpquota)
569 if (uflags & FS_QUOTA_PDQ_ENFD && !c->opts.prjquota)
579 if (uflags & FS_QUOTA_UDQ_ENFD)
582 if (uflags & FS_QUOTA_GDQ_ENFD)
585 if (uflags & FS_QUOTA_PDQ_ENFD)
595 static int bch2_quota_disable(struct super_block *sb, unsigned uflags)
603 if (uflags & FS_QUOTA_UDQ_ENFD)
606 if (uflags & FS_QUOTA_GDQ_ENFD)
609 if (uflags & FS_QUOTA_PDQ_ENFD)
618 static int bch2_quota_remove(struct super_block *sb, unsigned uflags)
626 if (uflags & FS_USER_QUOTA) {
638 if (uflags & FS_GROUP_QUOTA) {
650 if (uflags & FS_PROJ_QUOTA) {