Lines Matching refs:map
309 /* We need to take out the map fd for the digest calculation
846 if (!poke->tail_call.map)
2024 struct bpf_map *map = (struct bpf_map *) (unsigned long) BPF_R2;
2025 struct bpf_array *array = container_of(map, struct bpf_array, map);
2029 if (unlikely(index >= array->map.max_entries))
2302 bool bpf_prog_map_compatible(struct bpf_map *map,
2319 spin_lock(&map->owner.lock);
2320 if (!map->owner.type) {
2324 map->owner.type = prog_type;
2325 map->owner.jited = fp->jited;
2326 map->owner.xdp_has_frags = fp->aux->xdp_has_frags;
2329 ret = map->owner.type == prog_type &&
2330 map->owner.jited == fp->jited &&
2331 map->owner.xdp_has_frags == fp->aux->xdp_has_frags;
2333 spin_unlock(&map->owner.lock);
2345 struct bpf_map *map = aux->used_maps[i];
2347 if (!map_type_contains_progs(map))
2350 if (!bpf_prog_map_compatible(map, fp)) {
2725 struct bpf_map *map;
2731 map = used_maps[i];
2732 if (map->ops->map_poke_untrack)
2733 map->ops->map_poke_untrack(map, aux);
2735 atomic64_dec(&map->sleepable_refcnt);
2736 bpf_map_put(map);
2893 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size,