Searched refs:used_maps (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
D | offload.c | 121 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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | bpf_verifier.h | 427 struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */ member
|
D | bpf.h | 874 struct bpf_map **used_maps; member 1783 struct bpf_map **used_maps, u32 len);
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | core.c | 1806 struct bpf_map *map = aux->used_maps[i]; in bpf_check_tail_call() 2158 struct bpf_map **used_maps, u32 len) in __bpf_free_used_maps() argument 2164 map = used_maps[i]; in __bpf_free_used_maps() 2173 __bpf_free_used_maps(aux, aux->used_maps, aux->used_map_cnt); in bpf_free_used_maps() 2174 kfree(aux->used_maps); in bpf_free_used_maps()
|
D | verifier.c | 8261 map = env->used_maps[aux->map_index]; in check_ld_imm() 10485 if (env->used_maps[j] == map) { in resolve_pseudo_ldimm64() 10505 env->used_maps[env->used_map_cnt++] = map; in resolve_pseudo_ldimm64() 10538 __bpf_free_used_maps(env->prog->aux, env->used_maps, in release_maps() 12541 env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, in bpf_check() 12542 sizeof(env->used_maps[0]), in bpf_check() 12545 if (!env->prog->aux->used_maps) { in bpf_check() 12550 memcpy(env->prog->aux->used_maps, env->used_maps, in bpf_check() 12551 sizeof(env->used_maps[0]) * env->used_map_cnt); in bpf_check() 12564 if (!env->prog->aux->used_maps) in bpf_check()
|
D | syscall.c | 3309 map = prog->aux->used_maps[i]; in bpf_map_from_imm() 3452 if (put_user(prog->aux->used_maps[i]->id, in bpf_prog_get_info_by_fd() 4348 used_maps_old = prog->aux->used_maps; in bpf_prog_bind_map() 4369 prog->aux->used_maps = used_maps_new; in bpf_prog_bind_map()
|
/kernel/linux/linux-5.10/Documentation/bpf/ |
D | drgn.rst | 173 .used_maps = (struct bpf_map **)0xffff889ff795de98,
|
/kernel/linux/linux-5.10/net/core/ |
D | dev.c | 5525 if (dev_map_can_have_prog(new->aux->used_maps[i]) || in generic_xdp_install() 5526 cpu_map_prog_allowed(new->aux->used_maps[i])) { in generic_xdp_install()
|