Lines Matching full:fc

92 static int coda_reconfigure(struct fs_context *fc)  in coda_reconfigure()  argument
94 sync_filesystem(fc->root->d_sb); in coda_reconfigure()
95 fc->sb_flags |= SB_NOATIME; in coda_reconfigure()
122 static int coda_set_idx(struct fs_context *fc, struct file *file) in coda_set_idx() argument
124 struct coda_fs_context *ctx = fc->fs_private; in coda_set_idx()
130 return invalf(fc, "coda: Not coda psdev"); in coda_set_idx()
134 return invalf(fc, "coda: Bad minor number"); in coda_set_idx()
139 static int coda_parse_fd(struct fs_context *fc, struct fs_parameter *param, in coda_parse_fd() argument
154 err = coda_set_idx(fc, file); in coda_parse_fd()
159 static int coda_parse_param(struct fs_context *fc, struct fs_parameter *param) in coda_parse_param() argument
164 opt = fs_parse(fc, coda_param_specs, param, &result); in coda_parse_param()
170 return coda_parse_fd(fc, param, &result); in coda_parse_param()
180 static int coda_parse_monolithic(struct fs_context *fc, void *_data) in coda_parse_monolithic() argument
186 return invalf(fc, "coda: Bad mount data"); in coda_parse_monolithic()
189 return invalf(fc, "coda: Bad mount version"); in coda_parse_monolithic()
193 coda_set_idx(fc, file); in coda_parse_monolithic()
199 static int coda_fill_super(struct super_block *sb, struct fs_context *fc) in coda_fill_super() argument
201 struct coda_fs_context *ctx = fc->fs_private; in coda_fill_super()
207 infof(fc, "coda: device index: %i\n", ctx->idx); in coda_fill_super()
213 errorf(fc, "coda: No pseudo device"); in coda_fill_super()
219 errorf(fc, "coda: Device already mounted"); in coda_fill_super()
359 static int coda_get_tree(struct fs_context *fc) in coda_get_tree() argument
364 return get_tree_nodev(fc, coda_fill_super); in coda_get_tree()
367 static void coda_free_fc(struct fs_context *fc) in coda_free_fc() argument
369 kfree(fc->fs_private); in coda_free_fc()
380 static int coda_init_fs_context(struct fs_context *fc) in coda_init_fs_context() argument
388 fc->fs_private = ctx; in coda_init_fs_context()
389 fc->ops = &coda_context_ops; in coda_init_fs_context()