Searched refs:fc (Results 1 – 5 of 5) sorted by relevance
/kernel/cgroup/ |
D | cgroup-v1.c | 928 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param) in cgroup1_parse_param() argument 930 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup1_parse_param() 935 opt = fs_parse(fc, cgroup1_fs_parameters, param, &result); in cgroup1_parse_param() 939 ret = vfs_parse_fs_param_source(fc, param); in cgroup1_parse_param() 946 return invalfc(fc, "Disabled controller '%s'", in cgroup1_parse_param() 951 return invalfc(fc, "Unknown subsys name '%s'", param->key); in cgroup1_parse_param() 979 return invalfc(fc, "release_agent respecified"); in cgroup1_parse_param() 984 if ((fc->user_ns != &init_user_ns) || !capable(CAP_SYS_ADMIN)) in cgroup1_parse_param() 985 return invalfc(fc, "Setting release_agent not allowed"); in cgroup1_parse_param() 995 return invalfc(fc, "Empty name"); in cgroup1_parse_param() [all …]
|
D | cgroup-internal.h | 61 static inline struct cgroup_fs_context *cgroup_fc2context(struct fs_context *fc) in cgroup_fc2context() argument 63 struct kernfs_fs_context *kfc = fc->fs_private; in cgroup_fc2context() 239 int cgroup_do_get_tree(struct fs_context *fc); 293 int cgroup1_parse_param(struct fs_context *fc, struct fs_parameter *param); 294 int cgroup1_get_tree(struct fs_context *fc);
|
D | cgroup.c | 1899 static int cgroup2_parse_param(struct fs_context *fc, struct fs_parameter *param) in cgroup2_parse_param() argument 1901 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup2_parse_param() 1905 opt = fs_parse(fc, cgroup2_fs_parameters, param, &result); in cgroup2_parse_param() 1954 static int cgroup_reconfigure(struct fs_context *fc) in cgroup_reconfigure() argument 1956 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_reconfigure() 2109 int cgroup_do_get_tree(struct fs_context *fc) in cgroup_do_get_tree() argument 2111 struct cgroup_fs_context *ctx = cgroup_fc2context(fc); in cgroup_do_get_tree() 2115 if (fc->fs_type == &cgroup2_fs_type) in cgroup_do_get_tree() 2119 ret = kernfs_get_tree(fc); in cgroup_do_get_tree() 2127 struct super_block *sb = fc->root->d_sb; in cgroup_do_get_tree() [all …]
|
/kernel/bpf/ |
D | inode.c | 644 static int bpf_parse_param(struct fs_context *fc, struct fs_parameter *param) in bpf_parse_param() argument 646 struct bpf_mount_opts *opts = fc->fs_private; in bpf_parse_param() 650 opt = fs_parse(fc, bpf_fs_parameters, param, &result); in bpf_parse_param() 657 opt = vfs_parse_fs_param_source(fc, param); in bpf_parse_param() 762 static int bpf_fill_super(struct super_block *sb, struct fs_context *fc) in bpf_fill_super() argument 765 struct bpf_mount_opts *opts = fc->fs_private; in bpf_fill_super() 783 static int bpf_get_tree(struct fs_context *fc) in bpf_get_tree() argument 785 return get_tree_nodev(fc, bpf_fill_super); in bpf_get_tree() 788 static void bpf_free_fc(struct fs_context *fc) in bpf_free_fc() argument 790 kfree(fc->fs_private); in bpf_free_fc() [all …]
|
/kernel/ |
D | resource.c | 1834 static int iomem_fs_init_fs_context(struct fs_context *fc) in iomem_fs_init_fs_context() argument 1836 return init_pseudo(fc, DEVMEM_MAGIC) ? 0 : -ENOMEM; in iomem_fs_init_fs_context()
|