Searched refs:used_maps (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A 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()
|
/linux/include/linux/ |
A D | bpf_verifier.h | 427 struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */ member
|
A D | bpf.h | 892 struct bpf_map **used_maps; member 1956 struct bpf_map **used_maps, u32 len);
|
/linux/kernel/bpf/ |
A D | core.c | 1863 struct bpf_map *map = aux->used_maps[i]; in bpf_check_tail_call() 2227 struct bpf_map **used_maps, u32 len) in __bpf_free_used_maps() argument 2233 map = used_maps[i]; in __bpf_free_used_maps() 2242 __bpf_free_used_maps(aux, aux->used_maps, aux->used_map_cnt); in bpf_free_used_maps() 2243 kfree(aux->used_maps); in bpf_free_used_maps()
|
A D | syscall.c | 3510 map = prog->aux->used_maps[i]; in bpf_map_from_imm() 3653 if (put_user(prog->aux->used_maps[i]->id, in bpf_prog_get_info_by_fd() 4556 used_maps_old = prog->aux->used_maps; in bpf_prog_bind_map() 4577 prog->aux->used_maps = used_maps_new; in bpf_prog_bind_map()
|
A D | verifier.c | 9430 map = env->used_maps[aux->map_index]; in check_ld_imm() 11860 if (env->used_maps[j] == map) { in resolve_pseudo_ldimm64() 11880 env->used_maps[env->used_map_cnt++] = map; in resolve_pseudo_ldimm64() 11913 __bpf_free_used_maps(env->prog->aux, env->used_maps, in release_maps() 14090 env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, in bpf_check() 14091 sizeof(env->used_maps[0]), in bpf_check() 14094 if (!env->prog->aux->used_maps) { in bpf_check() 14099 memcpy(env->prog->aux->used_maps, env->used_maps, in bpf_check() 14100 sizeof(env->used_maps[0]) * env->used_map_cnt); in bpf_check() 14127 if (!env->prog->aux->used_maps) in bpf_check()
|
/linux/Documentation/bpf/ |
A D | drgn.rst | 173 .used_maps = (struct bpf_map **)0xffff889ff795de98,
|
Completed in 47 milliseconds