Lines Matching refs:ns
70 struct ns_common ns; member
77 extern void shm_destroy_orphaned(struct ipc_namespace *ns);
79 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned() argument
83 extern int mq_init_ns(struct ipc_namespace *ns);
118 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns() argument
123 struct user_namespace *user_ns, struct ipc_namespace *ns);
125 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() argument
127 if (ns) in get_ipc_ns()
128 refcount_inc(&ns->count); in get_ipc_ns()
129 return ns; in get_ipc_ns()
132 extern void put_ipc_ns(struct ipc_namespace *ns);
135 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs() argument
140 return ns; in copy_ipcs()
143 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() argument
145 return ns; in get_ipc_ns()
148 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns() argument