Searched refs:qtype (Results 1 – 7 of 7) sorted by relevance
/fs/xfs/ |
D | xfs_trans_dquot.c | 540 enum quota_type qtype; in xfs_quota_warn() local 544 qtype = PRJQUOTA; in xfs_quota_warn() 547 qtype = USRQUOTA; in xfs_quota_warn() 550 qtype = GRPQUOTA; in xfs_quota_warn() 556 quota_send_warning(make_kqid(&init_user_ns, qtype, dqp->q_id), in xfs_quota_warn()
|
D | xfs_dquot.c | 296 xfs_dqtype_t qtype = xfs_dquot_type(dqp); in xfs_dquot_disk_alloc() local 297 struct xfs_inode *quotip = xfs_quota_inode(mp, qtype); in xfs_dquot_disk_alloc() 311 if (!xfs_this_quota_on(dqp->q_mount, qtype)) { in xfs_dquot_disk_alloc() 356 xfs_qm_init_dquot_blk(tp, mp, dqp->q_id, qtype, bp); in xfs_dquot_disk_alloc() 412 xfs_dqtype_t qtype = xfs_dquot_type(dqp); in xfs_dquot_disk_read() local 413 struct xfs_inode *quotip = xfs_quota_inode(mp, qtype); in xfs_dquot_disk_read() 419 if (!xfs_this_quota_on(mp, qtype)) { in xfs_dquot_disk_read()
|
/fs/reiserfs/ |
D | super.c | 1249 int qtype = c == 'u' ? USRQUOTA : GRPQUOTA; in reiserfs_parse_options() local 1252 (!*arg != !REISERFS_SB(s)->s_qf_names[qtype])) { in reiserfs_parse_options() 1259 if (qf_names[qtype] != in reiserfs_parse_options() 1260 REISERFS_SB(s)->s_qf_names[qtype]) in reiserfs_parse_options() 1261 kfree(qf_names[qtype]); in reiserfs_parse_options() 1262 qf_names[qtype] = NULL; in reiserfs_parse_options() 1264 if (REISERFS_SB(s)->s_qf_names[qtype] in reiserfs_parse_options() 1265 && strcmp(REISERFS_SB(s)->s_qf_names[qtype], in reiserfs_parse_options() 1270 QTYPE2NAME(qtype)); in reiserfs_parse_options() 1279 qf_names[qtype] = kstrdup(arg, GFP_KERNEL); in reiserfs_parse_options() [all …]
|
/fs/f2fs/ |
D | super.c | 397 static int f2fs_set_qf_name(struct super_block *sb, int qtype, in f2fs_set_qf_name() argument 404 if (sb_any_quota_loaded(sb) && !F2FS_OPTION(sbi).s_qf_names[qtype]) { in f2fs_set_qf_name() 418 if (F2FS_OPTION(sbi).s_qf_names[qtype]) { in f2fs_set_qf_name() 419 if (strcmp(F2FS_OPTION(sbi).s_qf_names[qtype], qname) == 0) in f2fs_set_qf_name() 423 QTYPE2NAME(qtype)); in f2fs_set_qf_name() 430 F2FS_OPTION(sbi).s_qf_names[qtype] = qname; in f2fs_set_qf_name() 438 static int f2fs_clear_qf_name(struct super_block *sb, int qtype) in f2fs_clear_qf_name() argument 442 if (sb_any_quota_loaded(sb) && F2FS_OPTION(sbi).s_qf_names[qtype]) { in f2fs_clear_qf_name() 446 kfree(F2FS_OPTION(sbi).s_qf_names[qtype]); in f2fs_clear_qf_name() 447 F2FS_OPTION(sbi).s_qf_names[qtype] = NULL; in f2fs_clear_qf_name()
|
/fs/ocfs2/ |
D | file.c | 1125 int qtype; in ocfs2_setattr() local 1290 for (qtype = 0; qtype < OCFS2_MAXQUOTAS; qtype++) in ocfs2_setattr() 1291 dqput(transfer_to[qtype]); in ocfs2_setattr()
|
/fs/ext4/ |
D | super.c | 1948 static int note_qf_name(struct fs_context *fc, int qtype, in note_qf_name() argument 1963 if (ctx->s_qf_names[qtype]) { in note_qf_name() 1964 if (strcmp(ctx->s_qf_names[qtype], param->string) != 0) { in note_qf_name() 1967 QTYPE2NAME(qtype)); in note_qf_name() 1979 ctx->s_qf_names[qtype] = qname; in note_qf_name() 1980 ctx->qname_spec |= 1 << qtype; in note_qf_name() 1988 static int unnote_qf_name(struct fs_context *fc, int qtype) in unnote_qf_name() argument 1992 if (ctx->s_qf_names[qtype]) in unnote_qf_name() 1993 kfree(ctx->s_qf_names[qtype]); in unnote_qf_name() 1995 ctx->s_qf_names[qtype] = NULL; in unnote_qf_name() [all …]
|
/fs/gfs2/ |
D | quota.c | 1417 enum quota_type qtype = (qc_flags & GFS2_QCF_USER) ? in gfs2_quota_init() local 1419 struct kqid qc_id = make_kqid(&init_user_ns, qtype, in gfs2_quota_init()
|