Searched refs:to_ipc_ns (Results 1 – 3 of 3) sorted by relevance
230 return put_ipc_ns(to_ipc_ns(ns)); in ipcns_put()236 struct ipc_namespace *ns = to_ipc_ns(new); in ipcns_install()248 return to_ipc_ns(ns)->user_ns; in ipcns_owner()
132 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) in to_ipc_ns() function
462 return current_in_namespace(to_ipc_ns(ns)); in is_current_namespace()558 if (!current_in_namespace(to_ipc_ns(ns))) in nsfs_fh_to_dentry()559 owning_ns = to_ipc_ns(ns)->user_ns; in nsfs_fh_to_dentry()