Lines Matching refs:ns
21 void (*put)(struct ns_common *ns);
22 int (*install)(struct nsproxy *nsproxy, struct ns_common *ns);
23 struct user_namespace *(*owner)(struct ns_common *ns);
24 struct ns_common *(*get_parent)(struct ns_common *ns);
50 extern int pid_ns_prepare_proc(struct pid_namespace *ns);
51 extern void pid_ns_release_proc(struct pid_namespace *ns);
57 static inline int pid_ns_prepare_proc(struct pid_namespace *ns) { return 0; } in pid_ns_prepare_proc() argument
58 static inline void pid_ns_release_proc(struct pid_namespace *ns) {} in pid_ns_release_proc() argument
69 static inline int ns_alloc_inum(struct ns_common *ns) in ns_alloc_inum() argument
71 atomic_long_set(&ns->stashed, 0); in ns_alloc_inum()
72 return proc_alloc_inum(&ns->inum); in ns_alloc_inum()
75 #define ns_free_inum(ns) proc_free_inum((ns)->inum) argument