Searched refs:nr_maps (Results 1 – 1 of 1) sorted by relevance
202 size_t nr_maps; member519 size_t nr_maps; in bpf_object__init_maps() local522 nr_maps = size / sizeof(struct bpf_map_def); in bpf_object__init_maps()523 if (!data || !nr_maps) { in bpf_object__init_maps()531 obj->maps = calloc(nr_maps, sizeof(obj->maps[0])); in bpf_object__init_maps()536 obj->nr_maps = nr_maps; in bpf_object__init_maps()538 for (i = 0; i < nr_maps; i++) { in bpf_object__init_maps()577 if (map_idx >= obj->nr_maps) { in bpf_object__init_maps_name()579 map_name, map_idx, obj->nr_maps); in bpf_object__init_maps_name()722 size_t nr_maps, GElf_Shdr *shdr, in bpf_program__collect_reloc() argument[all …]