Lines Matching refs:netdev_map
77 struct bpf_dtab_netdev __rcu **netdev_map; /* DEVMAP type only */ member
148 dtab->netdev_map = bpf_map_area_alloc((u64) dtab->map.max_entries * in dev_map_init_map()
151 if (!dtab->netdev_map) in dev_map_init_map()
230 dev = rcu_dereference_raw(dtab->netdev_map[i]); in dev_map_free()
240 bpf_map_area_free(dtab->netdev_map); in dev_map_free()
437 obj = rcu_dereference_check(dtab->netdev_map[key], in __dev_map_lookup_elem()
603 dst = rcu_dereference_check(dtab->netdev_map[i], in dev_map_enqueue_multi()
721 dst = rcu_dereference_check(dtab->netdev_map[i], in dev_map_redirect_multi()
811 old_dev = unrcu_pointer(xchg(&dtab->netdev_map[k], NULL)); in dev_map_delete_elem()
921 old_dev = unrcu_pointer(xchg(&dtab->netdev_map[i], RCU_INITIALIZER(dev))); in __dev_map_update_elem()
1098 dev = rcu_dereference(dtab->netdev_map[i]); in dev_map_notification()
1101 odev = unrcu_pointer(cmpxchg(&dtab->netdev_map[i], RCU_INITIALIZER(dev), NULL)); in dev_map_notification()