Searched refs:to_mnt_ns (Results 1 – 3 of 3) sorted by relevance
259 return copy_ns_info_to_user(to_mnt_ns(ns), uinfo, usize, &kinfo); in ns_ioctl()278 mnt_ns = lookup_prev_mnt_ns(to_mnt_ns(ns)); in ns_ioctl()280 mnt_ns = lookup_next_mnt_ns(to_mnt_ns(ns)); in ns_ioctl()303 ret = copy_ns_info_to_user(to_mnt_ns(ns), uinfo, usize, &kinfo); in ns_ioctl()
166 static inline struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns() function
2109 mnt_ns = to_mnt_ns(get_proc_ns(dentry->d_inode)); in mnt_ns_loop()5311 mnt_ns = to_mnt_ns(ns); in grab_requested_mnt_ns()5735 get_mnt_ns(to_mnt_ns(ns)); in mntns_get()5744 put_mnt_ns(to_mnt_ns(ns)); in mntns_put()5751 struct mnt_namespace *mnt_ns = to_mnt_ns(ns), *old_mnt_ns; in mntns_install()5793 return to_mnt_ns(ns)->user_ns; in mntns_owner()