Lines Matching defs:ns
32 static struct ucounts *inc_user_namespaces(struct user_namespace *ns, kuid_t uid) in inc_user_namespaces()
71 struct user_namespace *ns, *parent_ns = new->user_ns; in create_user_ns() local
176 struct user_namespace *parent, *ns = in free_user_ns() local
203 void __put_user_ns(struct user_namespace *ns) in __put_user_ns()
386 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) in make_kuid()
454 kgid_t make_kgid(struct user_namespace *ns, gid_t gid) in make_kgid()
521 kprojid_t make_kprojid(struct user_namespace *ns, projid_t projid) in make_kprojid()
579 struct user_namespace *ns = seq->private; in uid_m_show() local
600 struct user_namespace *ns = seq->private; in gid_m_show() local
621 struct user_namespace *ns = seq->private; in projid_m_show() local
658 struct user_namespace *ns = seq->private; in uid_m_start() local
665 struct user_namespace *ns = seq->private; in gid_m_start() local
672 struct user_namespace *ns = seq->private; in projid_m_start() local
851 struct user_namespace *ns = seq->private; in map_write() local
1036 struct user_namespace *ns = seq->private; in proc_uid_map_write() local
1053 struct user_namespace *ns = seq->private; in proc_gid_map_write() local
1070 struct user_namespace *ns = seq->private; in proc_projid_map_write() local
1085 struct user_namespace *ns, int cap_setid, in new_idmap_permitted()
1124 struct user_namespace *ns = seq->private; in proc_setgroups_show() local
1137 struct user_namespace *ns = seq->private; in proc_setgroups_write() local
1200 bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups()
1223 const struct user_namespace *ns; in in_userns() local
1235 static inline struct user_namespace *to_user_ns(struct ns_common *ns) in to_user_ns()
1251 static void userns_put(struct ns_common *ns) in userns_put()
1256 static int userns_install(struct nsset *nsset, struct ns_common *ns) in userns_install()
1287 struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner()
1305 static struct user_namespace *userns_owner(struct ns_common *ns) in userns_owner()