Lines Matching refs:fc

189 static int jffs2_parse_param(struct fs_context *fc, struct fs_parameter *param)  in jffs2_parse_param()  argument
192 struct jffs2_sb_info *c = fc->s_fs_info; in jffs2_parse_param()
195 opt = fs_parse(fc, jffs2_fs_parameters, param, &result); in jffs2_parse_param()
206 return invalf(fc, "jffs2: rp_size unrepresentable"); in jffs2_parse_param()
217 static inline void jffs2_update_mount_opts(struct fs_context *fc) in jffs2_update_mount_opts() argument
219 struct jffs2_sb_info *new_c = fc->s_fs_info; in jffs2_update_mount_opts()
220 struct jffs2_sb_info *c = JFFS2_SB_INFO(fc->root->d_sb); in jffs2_update_mount_opts()
234 static int jffs2_reconfigure(struct fs_context *fc) in jffs2_reconfigure() argument
236 struct super_block *sb = fc->root->d_sb; in jffs2_reconfigure()
239 jffs2_update_mount_opts(fc); in jffs2_reconfigure()
241 return jffs2_do_remount_fs(sb, fc); in jffs2_reconfigure()
259 static int jffs2_fill_super(struct super_block *sb, struct fs_context *fc) in jffs2_fill_super() argument
271 return invalf(fc, "jffs2: Too large reserve pool specified, max is %llu KB", in jffs2_fill_super()
290 return jffs2_do_fill_super(sb, fc); in jffs2_fill_super()
293 static int jffs2_get_tree(struct fs_context *fc) in jffs2_get_tree() argument
295 return get_tree_mtd(fc, jffs2_fill_super); in jffs2_get_tree()
298 static void jffs2_free_fc(struct fs_context *fc) in jffs2_free_fc() argument
300 kfree(fc->s_fs_info); in jffs2_free_fc()
310 static int jffs2_init_fs_context(struct fs_context *fc) in jffs2_init_fs_context() argument
318 fc->s_fs_info = ctx; in jffs2_init_fs_context()
319 fc->ops = &jffs2_context_ops; in jffs2_init_fs_context()