Lines Matching refs:qtype
53 int quota_file_exists(ext2_filsys fs, int qtype, int fmt)
59 if (qtype >= MAXQUOTAS)
62 quota_get_qf_name(qtype, QFMT_VFS_V1, qf_name);
75 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype)
79 inump = (qtype == USRQUOTA) ? &fs->super->s_usr_quota_inum :
83 qtype);
88 errcode_t quota_remove_inode(ext2_filsys fs, int qtype)
93 qf_ino = (qtype == USRQUOTA) ? fs->super->s_usr_quota_inum :
95 quota_set_sb_inum(fs, 0, qtype);
121 errcode_t quota_write_inode(quota_ctx_t qctx, int qtype)
142 if ((qtype != -1) && (i != qtype))
194 static inline qid_t get_qid(struct ext2_inode *inode, int qtype)
196 if (qtype == USRQUOTA)
213 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, int qtype)
227 if ((qtype != -1) && (i != qtype))
527 errcode_t quota_compare_and_update(quota_ctx_t qctx, int qtype,
536 if (!qctx->quota_dict[qtype])
539 qf_ino = qtype == USRQUOTA ? fs->super->s_usr_quota_inum :
541 err = quota_file_open(&qh, fs, qf_ino, qtype, -1, 0);
547 scan_data.quota_dict = qctx->quota_dict[qtype];