• Home
  • Raw
  • Download

Lines Matching refs:ns

216 	.ns.count	= REFCOUNT_INIT(2),
218 .ns.ops = &cgroupns_operations,
219 .ns.inum = PROC_CGROUP_INIT_INO,
2178 if (!ret && ctx->ns != &init_cgroup_ns) { in cgroup_do_get_tree()
2186 cgrp = cset_cgroup_from_root(ctx->ns->root_cset, ctx->root); in cgroup_do_get_tree()
2216 put_cgroup_ns(ctx->ns); in cgroup_fs_context_free()
2262 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_init_fs_context()
2263 get_cgroup_ns(ctx->ns); in cgroup_init_fs_context()
2270 fc->user_ns = get_user_ns(ctx->ns->user_ns); in cgroup_init_fs_context()
2360 struct cgroup_namespace *ns) in cgroup_path_ns_locked() argument
2362 struct cgroup *root = cset_cgroup_from_root(ns->root_cset, cgrp->root); in cgroup_path_ns_locked()
2368 struct cgroup_namespace *ns) in cgroup_path_ns() argument
2375 ret = cgroup_path_ns_locked(cgrp, buf, buflen, ns); in cgroup_path_ns()
4040 ctx->ns = current->nsproxy->cgroup_ns; in cgroup_file_open()
4041 get_cgroup_ns(ctx->ns); in cgroup_file_open()
4049 put_cgroup_ns(ctx->ns); in cgroup_file_open()
4062 put_cgroup_ns(ctx->ns); in cgroup_file_release()
4086 ctx->ns != &init_cgroup_ns && ctx->ns->root_cset->dfl_cgrp == cgrp) in cgroup_file_write()
5108 struct cgroup_namespace *ns) in cgroup_procs_write_permission() argument
5129 (!cgroup_is_descendant(src_cgrp, ns->root_cset->dfl_cgrp) || in cgroup_procs_write_permission()
5130 !cgroup_is_descendant(dst_cgrp, ns->root_cset->dfl_cgrp))) in cgroup_procs_write_permission()
5139 struct cgroup_namespace *ns) in cgroup_attach_permissions() argument
5143 ret = cgroup_procs_write_permission(src_cgrp, dst_cgrp, sb, ns); in cgroup_attach_permissions()
5189 threadgroup, ctx->ns); in __cgroup_procs_write()
6267 int proc_cgroup_show(struct seq_file *m, struct pid_namespace *ns, in proc_cgroup_show() argument