Home
last modified time | relevance | path

Searched refs:ucounts (Results 1 – 1 of 1) sorted by relevance

/net/core/
Dnet_namespace.c383 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() argument
390 dec_ucount(ucounts, UCOUNT_NET_NAMESPACES); in dec_net_namespaces()
449 struct ucounts *ucounts; in copy_net_ns() local
456 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()