Home
last modified time | relevance | path

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

/openbmc/linux/net/core/
H A Dnet_namespace.c201 return idr_alloc(&net->netns_ids, peer, min, max, GFP_ATOMIC); in alloc_netid()
220 int id = idr_for_each(&net->netns_ids, net_eq_idr, peer); in __peernet2id()
302 peer = idr_find(&net->netns_ids, id); in get_net_ns_by_id()
337 idr_init(&net->netns_ids); in setup_net()
554 idr_remove(&tmp->netns_ids, id); in unhash_nsid()
563 idr_destroy(&net->netns_ids); in unhash_nsid()
1071 idr_for_each(&net_cb.tgt_net->netns_ids, rtnl_net_dumpid_one, &net_cb); in rtnl_net_dumpid()
/openbmc/linux/include/net/
H A Dnet_namespace.h92 struct idr netns_ids; member