Searched refs:dev_by_index (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/include/net/ |
D | net_namespace.h | 114 struct xarray dev_by_index; member
|
/linux-6.6.21/net/core/ |
D | dev.c | 400 WARN_ON(xa_store(&net->dev_by_index, dev->ifindex, dev, GFP_KERNEL)); in list_netdevice() 415 xa_erase(&net->dev_by_index, dev->ifindex); in unlist_netdevice() 9633 err = xa_alloc_cyclic(&net->dev_by_index, &ifindex, NULL, in dev_index_reserve() 9636 err = xa_insert(&net->dev_by_index, ifindex, NULL, GFP_KERNEL); in dev_index_reserve() 9646 WARN_ON(xa_erase(&net->dev_by_index, ifindex)); in dev_index_release() 11383 xa_init_flags(&net->dev_by_index, XA_FLAGS_ALLOC1); in netdev_init() 11482 xa_destroy(&net->dev_by_index); in netdev_exit()
|
/linux-6.6.21/include/linux/ |
D | netdevice.h | 3033 xa_for_each_start(&(net)->dev_by_index, (ifindex), (d), (ifindex))
|