Lines Matching refs:ns
62 struct ns_common ns; member
71 extern void shm_destroy_orphaned(struct ipc_namespace *ns);
73 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned() argument
77 extern int mq_init_ns(struct ipc_namespace *ns);
112 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns() argument
117 struct user_namespace *user_ns, struct ipc_namespace *ns);
119 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() argument
121 if (ns) in get_ipc_ns()
122 atomic_inc(&ns->count); in get_ipc_ns()
123 return ns; in get_ipc_ns()
126 extern void put_ipc_ns(struct ipc_namespace *ns);
129 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs() argument
134 return ns; in copy_ipcs()
137 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() argument
139 return ns; in get_ipc_ns()
142 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns() argument