Lines Matching refs:map
739 struct bpf_map *map;
1021 void bpf_clear_redirect_map(struct bpf_map *map);
1060 * same cpu context. Further for best results no more than a single map
1062 * because we only track one map and force a flush when the map changes.
1591 static __always_inline long __bpf_xdp_redirect_map(struct bpf_map *map, u64 index,
1593 void *lookup_elem(struct bpf_map *map, u32 key))
1602 ri->tgt_value = lookup_elem(map, index);
1609 ri->map_id = INT_MAX; /* Valid map id idr range: [1,INT_MAX[ */
1615 ri->map_id = map->id;
1616 ri->map_type = map->map_type;
1619 WRITE_ONCE(ri->map, map);
1622 WRITE_ONCE(ri->map, NULL);