Searched refs:ucounts (Results 1 – 1 of 1) sorted by relevance
399 static struct ucounts *inc_net_namespaces(struct user_namespace *ns) in inc_net_namespaces()404 static void dec_net_namespaces(struct ucounts *ucounts) in dec_net_namespaces() argument406 dec_ucount(ucounts, UCOUNT_NET_NAMESPACES); in dec_net_namespaces()462 struct ucounts *ucounts; in copy_net_ns() local469 ucounts = inc_net_namespaces(user_ns); in copy_net_ns()470 if (!ucounts) in copy_net_ns()479 net->ucounts = ucounts; in copy_net_ns()498 dec_net_namespaces(ucounts); in copy_net_ns()625 dec_net_namespaces(net->ucounts); in cleanup_net()