Lines Matching refs:fsc

110 static int virtio_fs_parse_param(struct fs_context *fsc,  in virtio_fs_parse_param()  argument
114 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_parse_param()
117 opt = fs_parse(fsc, virtio_fs_parameters, param, &result); in virtio_fs_parse_param()
135 static void virtio_fs_free_fsc(struct fs_context *fsc) in virtio_fs_free_fsc() argument
137 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_free_fsc()
1294 static int virtio_fs_fill_super(struct super_block *sb, struct fs_context *fsc) in virtio_fs_fill_super() argument
1299 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_fill_super()
1406 struct fs_context *fsc) in virtio_fs_test_super() argument
1408 struct fuse_mount *fsc_fm = fsc->s_fs_info; in virtio_fs_test_super()
1414 static int virtio_fs_get_tree(struct fs_context *fsc) in virtio_fs_get_tree() argument
1427 fs = virtio_fs_find_instance(fsc->source); in virtio_fs_get_tree()
1429 pr_info("virtio-fs: tag <%s> not found\n", fsc->source); in virtio_fs_get_tree()
1446 fuse_conn_init(fc, fm, fsc->user_ns, &virtio_fs_fiq_ops, fs); in virtio_fs_get_tree()
1456 fsc->s_fs_info = fm; in virtio_fs_get_tree()
1457 sb = sget_fc(fsc, virtio_fs_test_super, set_anon_super_fc); in virtio_fs_get_tree()
1458 if (fsc->s_fs_info) in virtio_fs_get_tree()
1464 err = virtio_fs_fill_super(sb, fsc); in virtio_fs_get_tree()
1473 WARN_ON(fsc->root); in virtio_fs_get_tree()
1474 fsc->root = dget(sb->s_root); in virtio_fs_get_tree()
1491 static int virtio_fs_init_fs_context(struct fs_context *fsc) in virtio_fs_init_fs_context() argument
1495 if (fsc->purpose == FS_CONTEXT_FOR_SUBMOUNT) in virtio_fs_init_fs_context()
1496 return fuse_init_fs_context_submount(fsc); in virtio_fs_init_fs_context()
1501 fsc->fs_private = ctx; in virtio_fs_init_fs_context()
1502 fsc->ops = &virtio_fs_context_ops; in virtio_fs_init_fs_context()