Home
last modified time | relevance | path

Searched refs:qtype (Results 1 – 6 of 6) sorted by relevance

/fs/reiserfs/
Dsuper.c1226 int qtype = c == 'u' ? USRQUOTA : GRPQUOTA; in reiserfs_parse_options() local
1229 (!*arg != !REISERFS_SB(s)->s_qf_names[qtype])) { in reiserfs_parse_options()
1237 if (REISERFS_SB(s)->s_qf_names[qtype] in reiserfs_parse_options()
1238 && strcmp(REISERFS_SB(s)->s_qf_names[qtype], in reiserfs_parse_options()
1243 QTYPE2NAME(qtype)); in reiserfs_parse_options()
1252 qf_names[qtype] = kstrdup(arg, GFP_KERNEL); in reiserfs_parse_options()
1253 if (!qf_names[qtype]) { in reiserfs_parse_options()
1260 if (qtype == USRQUOTA) in reiserfs_parse_options()
1265 if (qf_names[qtype] != in reiserfs_parse_options()
1266 REISERFS_SB(s)->s_qf_names[qtype]) in reiserfs_parse_options()
[all …]
/fs/xfs/
Dxfs_trans_dquot.c575 enum quota_type qtype; in xfs_quota_warn() local
578 qtype = PRJQUOTA; in xfs_quota_warn()
580 qtype = USRQUOTA; in xfs_quota_warn()
582 qtype = GRPQUOTA; in xfs_quota_warn()
584 quota_send_warning(make_kqid(&init_user_ns, qtype, in xfs_quota_warn()
/fs/f2fs/
Dsuper.c243 static int f2fs_set_qf_name(struct super_block *sb, int qtype, in f2fs_set_qf_name() argument
250 if (sb_any_quota_loaded(sb) && !F2FS_OPTION(sbi).s_qf_names[qtype]) { in f2fs_set_qf_name()
268 if (F2FS_OPTION(sbi).s_qf_names[qtype]) { in f2fs_set_qf_name()
269 if (strcmp(F2FS_OPTION(sbi).s_qf_names[qtype], qname) == 0) in f2fs_set_qf_name()
274 QTYPE2NAME(qtype)); in f2fs_set_qf_name()
282 F2FS_OPTION(sbi).s_qf_names[qtype] = qname; in f2fs_set_qf_name()
290 static int f2fs_clear_qf_name(struct super_block *sb, int qtype) in f2fs_clear_qf_name() argument
294 if (sb_any_quota_loaded(sb) && F2FS_OPTION(sbi).s_qf_names[qtype]) { in f2fs_clear_qf_name()
299 kfree(F2FS_OPTION(sbi).s_qf_names[qtype]); in f2fs_clear_qf_name()
300 F2FS_OPTION(sbi).s_qf_names[qtype] = NULL; in f2fs_clear_qf_name()
/fs/ocfs2/
Dfile.c1140 int qtype; in ocfs2_setattr() local
1278 for (qtype = 0; qtype < OCFS2_MAXQUOTAS; qtype++) in ocfs2_setattr()
1279 dqput(transfer_to[qtype]); in ocfs2_setattr()
/fs/ext4/
Dsuper.c1411 static int set_qf_name(struct super_block *sb, int qtype, substring_t *args) in set_qf_name() argument
1418 !sbi->s_qf_names[qtype]) { in set_qf_name()
1435 if (sbi->s_qf_names[qtype]) { in set_qf_name()
1436 if (strcmp(sbi->s_qf_names[qtype], qname) == 0) in set_qf_name()
1441 QTYPE2NAME(qtype)); in set_qf_name()
1449 sbi->s_qf_names[qtype] = qname; in set_qf_name()
1457 static int clear_qf_name(struct super_block *sb, int qtype) in clear_qf_name() argument
1463 sbi->s_qf_names[qtype]) { in clear_qf_name()
1468 kfree(sbi->s_qf_names[qtype]); in clear_qf_name()
1469 sbi->s_qf_names[qtype] = NULL; in clear_qf_name()
/fs/gfs2/
Dquota.c1388 enum quota_type qtype = (qc_flags & GFS2_QCF_USER) ? in gfs2_quota_init() local
1390 struct kqid qc_id = make_kqid(&init_user_ns, qtype, in gfs2_quota_init()