Lines Matching refs:ipc_namespace
31 struct ipc_namespace { struct
83 extern struct ipc_namespace init_ipc_ns; argument
87 extern void shm_destroy_orphaned(struct ipc_namespace *ns);
89 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned()
93 extern int mq_init_ns(struct ipc_namespace *ns);
128 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns()
132 extern struct ipc_namespace *copy_ipcs(unsigned long flags,
133 struct user_namespace *user_ns, struct ipc_namespace *ns);
135 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
142 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero()
152 extern void put_ipc_ns(struct ipc_namespace *ns);
154 static inline struct ipc_namespace *copy_ipcs(unsigned long flags, in copy_ipcs()
155 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
163 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
168 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero()
173 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
180 void retire_mq_sysctls(struct ipc_namespace *ns);
181 bool setup_mq_sysctls(struct ipc_namespace *ns);
185 static inline void retire_mq_sysctls(struct ipc_namespace *ns) in retire_mq_sysctls()
189 static inline bool setup_mq_sysctls(struct ipc_namespace *ns) in setup_mq_sysctls()
198 bool setup_ipc_sysctls(struct ipc_namespace *ns);
199 void retire_ipc_sysctls(struct ipc_namespace *ns);
203 static inline void retire_ipc_sysctls(struct ipc_namespace *ns) in retire_ipc_sysctls()
207 static inline bool setup_ipc_sysctls(struct ipc_namespace *ns) in setup_ipc_sysctls()