Lines Matching defs:fc
118 static int hfs_reconfigure(struct fs_context *fc)
120 struct super_block *sb = fc->root->d_sb;
123 fc->sb_flags |= SB_NODIRATIME;
124 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb))
127 if (!(fc->sb_flags & SB_RDONLY)) {
131 fc->sb_flags |= SB_RDONLY;
135 fc->sb_flags |= SB_RDONLY;
220 static int hfs_parse_param(struct fs_context *fc, struct fs_parameter *param)
222 struct hfs_sb_info *hsb = fc->s_fs_info;
227 if (fc->purpose == FS_CONTEXT_FOR_RECONFIGURE)
230 opt = fs_parse(fc, hfs_param_spec, param, &result);
316 static int hfs_fill_super(struct super_block *sb, struct fs_context *fc)
322 int silent = fc->sb_flags & SB_SILENT;
393 static int hfs_get_tree(struct fs_context *fc)
395 return get_tree_bdev(fc, hfs_fill_super);
398 static void hfs_free_fc(struct fs_context *fc)
400 kfree(fc->s_fs_info);
410 static int hfs_init_fs_context(struct fs_context *fc)
418 fc->s_fs_info = hsb;
419 fc->ops = &hfs_context_ops;
421 if (fc->purpose != FS_CONTEXT_FOR_RECONFIGURE) {