Searched refs:used_maps (Results 1 – 3 of 3) sorted by relevance
/kernel/bpf/ |
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()
|
D | syscall.c | 3509 map = prog->aux->used_maps[i]; in bpf_map_from_imm() 3652 if (put_user(prog->aux->used_maps[i]->id, in bpf_prog_get_info_by_fd() 4554 used_maps_old = prog->aux->used_maps; in bpf_prog_bind_map() 4575 prog->aux->used_maps = used_maps_new; in bpf_prog_bind_map()
|
D | verifier.c | 9436 map = env->used_maps[aux->map_index]; in check_ld_imm() 11867 if (env->used_maps[j] == map) { in resolve_pseudo_ldimm64() 11887 env->used_maps[env->used_map_cnt++] = map; in resolve_pseudo_ldimm64() 11920 __bpf_free_used_maps(env->prog->aux, env->used_maps, in release_maps() 14100 env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, in bpf_check() 14101 sizeof(env->used_maps[0]), in bpf_check() 14104 if (!env->prog->aux->used_maps) { in bpf_check() 14109 memcpy(env->prog->aux->used_maps, env->used_maps, in bpf_check() 14110 sizeof(env->used_maps[0]) * env->used_map_cnt); in bpf_check() 14137 if (!env->prog->aux->used_maps) in bpf_check()
|