Searched refs:netdev_map (Results 1 – 1 of 1) sorted by relevance
77 struct bpf_dtab_netdev **netdev_map; /* DEVMAP type only */ member162 dtab->netdev_map = bpf_map_area_alloc((u64) dtab->map.max_entries * in dev_map_init_map()165 if (!dtab->netdev_map) in dev_map_init_map()259 dev = dtab->netdev_map[i]; in dev_map_free()268 bpf_map_area_free(dtab->netdev_map); in dev_map_free()431 obj = READ_ONCE(dtab->netdev_map[key]); in __dev_map_lookup_elem()558 old_dev = xchg(&dtab->netdev_map[k], NULL); in dev_map_delete_elem()652 old_dev = xchg(&dtab->netdev_map[i], dev); in __dev_map_update_elem()793 dev = READ_ONCE(dtab->netdev_map[i]); in dev_map_notification()796 odev = cmpxchg(&dtab->netdev_map[i], dev, NULL); in dev_map_notification()