Searched refs:netns_ids (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/core/ |
D | net_namespace.c | 215 return idr_alloc(&net->netns_ids, peer, min, max, GFP_ATOMIC); in alloc_netid() 234 int id = idr_for_each(&net->netns_ids, net_eq_idr, peer); in __peernet2id() 316 peer = idr_find(&net->netns_ids, id); in get_net_ns_by_id() 339 idr_init(&net->netns_ids); in setup_net() 545 idr_remove(&tmp->netns_ids, id); in unhash_nsid() 554 idr_destroy(&net->netns_ids); in unhash_nsid() 1064 idr_for_each(&net_cb.tgt_net->netns_ids, rtnl_net_dumpid_one, &net_cb); in rtnl_net_dumpid()
|
/kernel/linux/linux-5.10/include/net/ |
D | net_namespace.h | 93 struct idr netns_ids; member
|