Lines Matching refs:to
58 /* root_user holds a reference to ns, our reference can be dropped */
66 * free_user_ns() may be called with uidhash_lock held, but we need to call
67 * back to free_uid() which will want to take the lock again.
87 uid_t user_ns_map_uid(struct user_namespace *to, const struct cred *cred, uid_t uid)
91 if (likely(to == cred->user->user_ns))
98 for ( tmp = to; tmp != &init_user_ns;
109 gid_t user_ns_map_gid(struct user_namespace *to, const struct cred *cred, gid_t gid)
113 if (likely(to == cred->user->user_ns))
119 for ( tmp = to; tmp != &init_user_ns;