Lines Matching refs:ipc_namespace
38 static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns, in create_ipc_ns()
39 struct ipc_namespace *old_ns) in create_ipc_ns()
41 struct ipc_namespace *ns; in create_ipc_ns()
60 ns = kzalloc(sizeof(struct ipc_namespace), GFP_KERNEL_ACCOUNT); in create_ipc_ns()
107 struct ipc_namespace *copy_ipcs(unsigned long flags, in copy_ipcs()
108 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
123 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids, in free_ipcs()
124 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *)) in free_ipcs() argument
146 static void free_ipc_ns(struct ipc_namespace *ns) in free_ipc_ns()
170 struct ipc_namespace *n, *t; in free_ipc()
198 void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
209 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) in to_ipc_ns()
211 return container_of(ns, struct ipc_namespace, ns); in to_ipc_ns()
216 struct ipc_namespace *ns = NULL; in ipcns_get()
236 struct ipc_namespace *ns = to_ipc_ns(new); in ipcns_install()