Lines Matching refs:ns
71 struct ns_common ns; member
78 extern void shm_destroy_orphaned(struct ipc_namespace *ns);
80 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned() argument
84 extern int mq_init_ns(struct ipc_namespace *ns);
119 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns() argument
124 struct user_namespace *user_ns, struct ipc_namespace *ns);
126 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() argument
128 if (ns) in get_ipc_ns()
129 refcount_inc(&ns->count); in get_ipc_ns()
130 return ns; in get_ipc_ns()
133 extern void put_ipc_ns(struct ipc_namespace *ns);
136 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs() argument
141 return ns; in copy_ipcs()
144 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() argument
146 return ns; in get_ipc_ns()
149 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns() argument