Lines Matching refs:ipc_namespace
32 static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns, in create_ipc_ns()
33 struct ipc_namespace *old_ns) in create_ipc_ns()
35 struct ipc_namespace *ns; in create_ipc_ns()
45 ns = kzalloc(sizeof(struct ipc_namespace), GFP_KERNEL_ACCOUNT); in create_ipc_ns()
79 struct ipc_namespace *copy_ipcs(unsigned long flags, in copy_ipcs()
80 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
95 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids, in free_ipcs()
96 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *)) in free_ipcs() argument
118 static void free_ipc_ns(struct ipc_namespace *ns) in free_ipc_ns()
138 struct ipc_namespace *n, *t; in free_ipc()
165 void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
176 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) in to_ipc_ns()
178 return container_of(ns, struct ipc_namespace, ns); in to_ipc_ns()
183 struct ipc_namespace *ns = NULL; in ipcns_get()
203 struct ipc_namespace *ns = to_ipc_ns(new); in ipcns_install()