Searched refs:netns_ids (Results 1 – 2 of 2) sorted by relevance
/linux/net/core/ |
A D | net_namespace.c | 194 return idr_alloc(&net->netns_ids, peer, min, max, GFP_ATOMIC); in alloc_netid() 213 int id = idr_for_each(&net->netns_ids, net_eq_idr, peer); in __peernet2id() 295 peer = idr_find(&net->netns_ids, id); in get_net_ns_by_id() 321 idr_init(&net->netns_ids); in setup_net() 530 idr_remove(&tmp->netns_ids, id); in unhash_nsid() 539 idr_destroy(&net->netns_ids); in unhash_nsid() 1043 idr_for_each(&net_cb.tgt_net->netns_ids, rtnl_net_dumpid_one, &net_cb); in rtnl_net_dumpid()
|
/linux/include/net/ |
A D | net_namespace.h | 87 struct idr netns_ids; member
|
Completed in 6 milliseconds