Searched refs:ucounts (Results 1 – 1 of 1) sorted by relevance
383 static struct ucounts *inc_net_namespaces(struct user_namespace *ns) in inc_net_namespaces()388 static void dec_net_namespaces(struct ucounts *ucounts) in dec_net_namespaces() argument390 dec_ucount(ucounts, UCOUNT_NET_NAMESPACES); in dec_net_namespaces()449 struct ucounts *ucounts; in copy_net_ns() local456 ucounts = inc_net_namespaces(user_ns); in copy_net_ns()457 if (!ucounts) in copy_net_ns()466 net->ucounts = ucounts; in copy_net_ns()485 dec_net_namespaces(ucounts); in copy_net_ns()612 dec_net_namespaces(net->ucounts); in cleanup_net()