Lines Matching refs:ipc_namespace
19 static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns, in create_ipc_ns()
20 struct ipc_namespace *old_ns) in create_ipc_ns()
22 struct ipc_namespace *ns; in create_ipc_ns()
25 ns = kmalloc(sizeof(struct ipc_namespace), GFP_KERNEL); in create_ipc_ns()
54 struct ipc_namespace *copy_ipcs(unsigned long flags, in copy_ipcs()
55 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
70 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids, in free_ipcs()
71 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *)) in free_ipcs() argument
93 static void free_ipc_ns(struct ipc_namespace *ns) in free_ipc_ns()
121 void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
131 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) in to_ipc_ns()
133 return container_of(ns, struct ipc_namespace, ns); in to_ipc_ns()
138 struct ipc_namespace *ns = NULL; in ipcns_get()
157 struct ipc_namespace *ns = to_ipc_ns(new); in ipcns_install()