Lines Matching defs:fc
271 static int binderfs_fs_context_parse_param(struct fs_context *fc,
275 struct binderfs_mount_opts *ctx = fc->fs_private;
278 opt = fs_parse(fc, binderfs_fs_parameters, param, &result);
285 return invalfc(fc, "Bad value for '%s'", param->key);
296 return invalfc(fc, "Unsupported parameter '%s'", param->key);
302 static int binderfs_fs_context_reconfigure(struct fs_context *fc)
304 struct binderfs_mount_opts *ctx = fc->fs_private;
305 struct binderfs_info *info = BINDERFS_SB(fc->root->d_sb);
308 return invalfc(fc, "Binderfs stats mode cannot be changed during a remount");
610 static int binderfs_fill_super(struct super_block *sb, struct fs_context *fc)
614 struct binderfs_mount_opts *ctx = fc->fs_private;
696 static int binderfs_fs_context_get_tree(struct fs_context *fc)
698 return get_tree_nodev(fc, binderfs_fill_super);
701 static void binderfs_fs_context_free(struct fs_context *fc)
703 struct binderfs_mount_opts *ctx = fc->fs_private;
715 static int binderfs_init_fs_context(struct fs_context *fc)
726 fc->fs_private = ctx;
727 fc->ops = &binderfs_fs_context_ops;