Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dlibbpf.c245 size_t nr_maps; member
784 if (obj->nr_maps < obj->maps_cap) in bpf_object__add_map()
785 return &obj->maps[obj->nr_maps++]; in bpf_object__add_map()
798 memset(obj->maps + obj->nr_maps, 0, in bpf_object__add_map()
799 (obj->maps_cap - obj->nr_maps) * sizeof(*obj->maps)); in bpf_object__add_map()
804 for (i = obj->nr_maps; i < obj->maps_cap; i++) { in bpf_object__add_map()
809 return &obj->maps[obj->nr_maps++]; in bpf_object__add_map()
895 int i, map_def_sz = 0, nr_maps = 0, nr_syms; in bpf_object__init_user_maps() local
929 nr_maps++; in bpf_object__init_user_maps()
933 obj->path, nr_maps, data->d_size); in bpf_object__init_user_maps()
[all …]