Searched refs:netns_ids (Results 1 – 2 of 2) sorted by relevance
/linux/net/core/ |
H A D | net_namespace.c | 202 return idr_alloc(&net->netns_ids, peer, min, max, GFP_ATOMIC); in alloc_netid() 221 int id = idr_for_each(&net->netns_ids, net_eq_idr, peer); in __peernet2id() 303 peer = idr_find(&net->netns_ids, id); in get_net_ns_by_id() 334 idr_init(&net->netns_ids); in preinit_net() 554 idr_remove(&tmp->netns_ids, id); in unhash_nsid() 563 idr_destroy(&net->netns_ids); in unhash_nsid() 1080 idr_for_each(&net_cb.tgt_net->netns_ids, rtnl_net_dumpid_one, &net_cb); in rtnl_net_dumpid()
|
/linux/include/net/ |
H A D | net_namespace.h | 90 struct idr netns_ids; member
|