Lines Matching refs:ns
47 struct ns_common ns; member
55 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() argument
57 if (ns != &init_pid_ns) in get_pid_ns()
58 kref_get(&ns->kref); in get_pid_ns()
59 return ns; in get_pid_ns()
63 struct user_namespace *user_ns, struct pid_namespace *ns);
66 extern void put_pid_ns(struct pid_namespace *ns);
71 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() argument
73 return ns; in get_pid_ns()
77 struct user_namespace *user_ns, struct pid_namespace *ns) in copy_pid_ns() argument
80 ns = ERR_PTR(-EINVAL); in copy_pid_ns()
81 return ns; in copy_pid_ns()
84 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() argument
88 static inline void zap_pid_ns_processes(struct pid_namespace *ns) in zap_pid_ns_processes() argument