Lines Matching refs:ipc_namespace
9 #include <linux/ipc_namespace.h>
38 static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns,
39 struct ipc_namespace *old_ns)
41 struct ipc_namespace *ns;
60 ns = kzalloc(sizeof(struct ipc_namespace), GFP_KERNEL_ACCOUNT);
107 struct ipc_namespace *copy_ipcs(unsigned long flags,
108 struct user_namespace *user_ns, struct ipc_namespace *ns)
121 * Called for each kind of ipc when an ipc_namespace exits.
123 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids,
124 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *))
146 static void free_ipc_ns(struct ipc_namespace *ns)
170 struct ipc_namespace *n, *t;
198 void put_ipc_ns(struct ipc_namespace *ns)
209 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns)
211 return container_of(ns, struct ipc_namespace, ns);
216 struct ipc_namespace *ns = NULL;
236 struct ipc_namespace *ns = to_ipc_ns(new);