Searched refs:dev_by_index (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/net/ |
H A D | net_namespace.h | 114 struct xarray dev_by_index; member
|
/openbmc/linux/net/core/ |
H A 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() 9644 err = xa_alloc_cyclic(&net->dev_by_index, &ifindex, NULL, in dev_index_reserve() 9647 err = xa_insert(&net->dev_by_index, ifindex, NULL, GFP_KERNEL); in dev_index_reserve() 9657 WARN_ON(xa_erase(&net->dev_by_index, ifindex)); in dev_index_release() 11395 xa_init_flags(&net->dev_by_index, XA_FLAGS_ALLOC1); in netdev_init() 11494 xa_destroy(&net->dev_by_index); in netdev_exit()
|
/openbmc/linux/include/linux/ |
H A D | netdevice.h | 3033 xa_for_each_start(&(net)->dev_by_index, (ifindex), (d), (ifindex))
|