Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/bpf/
Dverifier.c200 struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */ member
2027 if (env->used_maps[j] == map) { in replace_map_fd_with_map_ptr()
2047 env->used_maps[env->used_map_cnt++] = map; in replace_map_fd_with_map_ptr()
2069 bpf_map_put(env->used_maps[i]); in release_maps()
2283 env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, in bpf_check()
2284 sizeof(env->used_maps[0]), in bpf_check()
2287 if (!env->prog->aux->used_maps) { in bpf_check()
2292 memcpy(env->prog->aux->used_maps, env->used_maps, in bpf_check()
2293 sizeof(env->used_maps[0]) * env->used_map_cnt); in bpf_check()
2306 if (!env->prog->aux->used_maps) in bpf_check()
Dsyscall.c507 bpf_map_put(aux->used_maps[i]); in free_used_maps()
509 kfree(aux->used_maps); in free_used_maps()
Dcore.c680 struct bpf_map *map = aux->used_maps[i]; in bpf_check_tail_call()
/linux-4.4.14/include/linux/
Dbpf.h132 struct bpf_map **used_maps; member