• Home
  • Raw
  • Download

Lines Matching refs:fc

1943 static int cgroup2_parse_param(struct fs_context *fc, struct fs_parameter *param)  in cgroup2_parse_param()  argument
1945 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup2_parse_param()
1949 opt = fs_parse(fc, cgroup2_fs_parameters, param, &result); in cgroup2_parse_param()
2006 static int cgroup_reconfigure(struct fs_context *fc) in cgroup_reconfigure() argument
2008 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_reconfigure()
2162 int cgroup_do_get_tree(struct fs_context *fc) in cgroup_do_get_tree() argument
2164 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_do_get_tree()
2168 if (fc->fs_type == &cgroup2_fs_type) in cgroup_do_get_tree()
2172 ret = kernfs_get_tree(fc); in cgroup_do_get_tree()
2180 struct super_block *sb = fc->root->d_sb; in cgroup_do_get_tree()
2192 dput(fc->root); in cgroup_do_get_tree()
2198 fc->root = nsdentry; in cgroup_do_get_tree()
2210 static void cgroup_fs_context_free(struct fs_context *fc) in cgroup_fs_context_free() argument
2212 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_fs_context_free()
2217 kernfs_free_fs_context(fc); in cgroup_fs_context_free()
2221 static int cgroup_get_tree(struct fs_context *fc) in cgroup_get_tree() argument
2223 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_get_tree()
2230 ret = cgroup_do_get_tree(fc); in cgroup_get_tree()
2254 static int cgroup_init_fs_context(struct fs_context *fc) in cgroup_init_fs_context() argument
2264 fc->fs_private = &ctx->kfc; in cgroup_init_fs_context()
2265 if (fc->fs_type == &cgroup2_fs_type) in cgroup_init_fs_context()
2266 fc->ops = &cgroup_fs_context_ops; in cgroup_init_fs_context()
2268 fc->ops = &cgroup1_fs_context_ops; in cgroup_init_fs_context()
2269 put_user_ns(fc->user_ns); in cgroup_init_fs_context()
2270 fc->user_ns = get_user_ns(ctx->ns->user_ns); in cgroup_init_fs_context()
2271 fc->global = true; in cgroup_init_fs_context()
2326 static int cpuset_init_fs_context(struct fs_context *fc) in cpuset_init_fs_context() argument
2332 err = cgroup_init_fs_context(fc); in cpuset_init_fs_context()
2338 fc->ops = &cpuset_fs_context_ops; in cpuset_init_fs_context()
2340 ctx = cgroup_fc2context(fc); in cpuset_init_fs_context()
2346 put_filesystem(fc->fs_type); in cpuset_init_fs_context()
2347 fc->fs_type = &cgroup_fs_type; in cpuset_init_fs_context()