Home
last modified time | relevance | path

Searched refs:MAX_USED_MAPS (Results 1 – 3 of 3) sorted by relevance

/linux/tools/lib/bpf/
H A Dgen_loader.c18 #define MAX_USED_MAPS 64 macro
21 #define MAX_FD_ARRAY_SZ (MAX_USED_MAPS + MAX_KFUNC_DESCS)
180 if (gen->nr_maps == MAX_USED_MAPS) { in add_map_fd()
181 pr_warn("Total maps exceeds %d\n", MAX_USED_MAPS); in add_map_fd()
196 return MAX_USED_MAPS + gen->nr_fd_array++; in add_kfunc_btf_fd()
/linux/include/linux/
H A Dbpf_verifier.h604 #define MAX_USED_MAPS 64 /* max number of maps accessed by one eBPF program */ macro
717 struct bpf_map *used_maps[MAX_USED_MAPS]; /* array of map's used by eBPF program */
/linux/kernel/bpf/
H A Dverifier.c18950 if (env->used_map_cnt >= MAX_USED_MAPS) { in add_used_map_from_fd()
18952 MAX_USED_MAPS); in add_used_map_from_fd()