Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/netronome/nfp/bpf/
H A Doffload.c121 if (bpf_map_offload_neutral(prog->aux->used_maps[i])) in nfp_map_ptrs_record()
135 if (bpf_map_offload_neutral(prog->aux->used_maps[i])) { in nfp_map_ptrs_record()
137 prog->aux->used_maps[i]); in nfp_map_ptrs_record()
/linux-6.15/Documentation/bpf/
H A Ddrgn.rst173 .used_maps = (struct bpf_map **)0xffff889ff795de98,
/linux-6.15/kernel/bpf/
H A Dcore.c2419 struct bpf_map *map = aux->used_maps[i]; in bpf_check_tail_call()
2807 struct bpf_map **used_maps, u32 len) in __bpf_free_used_maps() argument
2815 map = used_maps[i]; in __bpf_free_used_maps()
2826 __bpf_free_used_maps(aux, aux->used_maps, aux->used_map_cnt); in bpf_free_used_maps()
2827 kfree(aux->used_maps); in bpf_free_used_maps()
H A Dsyscall.c4588 map = prog->aux->used_maps[i]; in bpf_map_from_imm()
4738 if (put_user(prog->aux->used_maps[i]->id, in bpf_prog_get_info_by_fd()
5741 used_maps_old = prog->aux->used_maps; in bpf_prog_bind_map()
5767 prog->aux->used_maps = used_maps_new; in bpf_prog_bind_map()
H A Dverifier.c16682 map = env->used_maps[aux->map_index]; in check_ld_imm()
20027 if (env->used_maps[i] == map) in __add_used_map()
20050 env->used_maps[env->used_map_cnt++] = map; in __add_used_map()
20167 map = env->used_maps[map_idx]; in resolve_pseudo_ldimm64()
20225 __bpf_free_used_maps(env->prog->aux, env->used_maps, in release_maps()
24107 env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, in bpf_check()
24108 sizeof(env->used_maps[0]), in bpf_check()
24111 if (!env->prog->aux->used_maps) { in bpf_check()
24116 memcpy(env->prog->aux->used_maps, env->used_maps, in bpf_check()
24117 sizeof(env->used_maps[0]) * env->used_map_cnt); in bpf_check()
[all …]
/linux-6.15/include/linux/
H A Dbpf_verifier.h736 struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */ member
H A Dbpf.h1581 struct bpf_map **used_maps; member
3090 struct bpf_map **used_maps, u32 len);