Lines Matching refs:pid_ns
33 struct pid_namespace *pid_ns; member
87 struct pid_namespace *pid_ns, in proc_apply_options() argument
93 pid_ns->pid_gid = make_kgid(user_ns, ctx->gid); in proc_apply_options()
95 pid_ns->hide_pid = ctx->hidepid; in proc_apply_options()
100 struct pid_namespace *pid_ns = get_pid_ns(s->s_fs_info); in proc_fill_super() local
104 proc_apply_options(s, fc, pid_ns, current_user_ns()); in proc_fill_super()
160 return get_tree_keyed(fc, proc_fill_super, ctx->pid_ns); in proc_get_tree()
167 put_pid_ns(ctx->pid_ns); in proc_fs_context_free()
186 ctx->pid_ns = get_pid_ns(task_active_pid_ns(current)); in proc_init_fs_context()
188 fc->user_ns = get_user_ns(ctx->pid_ns->user_ns); in proc_init_fs_context()
317 if (ctx->pid_ns != ns) { in pid_ns_prepare_proc()
318 put_pid_ns(ctx->pid_ns); in pid_ns_prepare_proc()
320 ctx->pid_ns = ns; in pid_ns_prepare_proc()