Home
last modified time | relevance | path

Searched refs:netdev_map (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Ddevmap.c76 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()
227 dev = rcu_dereference_raw(dtab->netdev_map[i]); in dev_map_free()
237 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()
613 dst = rcu_dereference_check(dtab->netdev_map[i], in dev_map_enqueue_multi()
731 dst = rcu_dereference_check(dtab->netdev_map[i], in dev_map_redirect_multi()
821 old_dev = unrcu_pointer(xchg(&dtab->netdev_map[k], NULL)); in dev_map_delete_elem()
932 old_dev = unrcu_pointer(xchg(&dtab->netdev_map[i], RCU_INITIALIZER(dev))); in __dev_map_update_elem()
[all …]