Lines Matching refs:map_cnt
851 codegen_maps_skeleton(struct bpf_object *obj, size_t map_cnt, bool mmaped, bool populate_links)
857 if (!map_cnt)
880 s->map_cnt = %zu; \n\
882 s->maps = (struct bpf_map_skeleton *)calloc(s->map_cnt,\n\
889 map_cnt, map_sz, map_sz, map_sz
1168 size_t map_cnt = 0, prog_cnt = 0, attach_map_cnt = 0, file_sz, mmap_sz;
1256 map_cnt++;
1301 if (map_cnt) {
1498 codegen_maps_skeleton(obj, map_cnt, true /*mmaped*/, true /*links*/);
1573 size_t i, len, file_sz, map_cnt = 0, prog_cnt = 0, mmap_sz, var_cnt = 0, var_idx = 0;
1679 map_cnt++;
1721 if (map_cnt) {
1837 codegen_maps_skeleton(obj, map_cnt, false /*mmaped*/, false /*links*/);