Searched refs:maps__nr_maps (Results 1 – 5 of 5) sorted by relevance
23 if (maps__nr_maps(maps) != size) { in check_maps()24 pr_debug("Expected %d maps, got %d", size, maps__nr_maps(maps)); in check_maps()
29 for (unsigned int i = 0; i < maps__nr_maps(maps); i++) in __maps__free_maps_by_name()91 if (maps__nr_maps(maps) > RC_CHK_ACCESS(maps)->nr_maps_allocated) { in maps__insert()92 int nr_allocate = maps__nr_maps(maps) * 2; in maps__insert()105 maps__maps_by_name(maps)[maps__nr_maps(maps) - 1] = map__get(map); in maps__insert()
94 static inline unsigned int maps__nr_maps(const struct maps *maps) in maps__nr_maps() function
2098 qsort(maps__maps_by_name(maps), maps__nr_maps(maps), sizeof(struct map *), map__strcmp); in __maps__sort_by_name()2105 maps__nr_maps(maps) * sizeof(struct map *)); in map__groups__sort_by_name_from_rbtree()2115 RC_CHK_ACCESS(maps)->nr_maps_allocated = maps__nr_maps(maps); in map__groups__sort_by_name_from_rbtree()2136 mapp = bsearch(name, maps__maps_by_name(maps), maps__nr_maps(maps), in __maps__find_by_name()
444 if (maps__nr_maps(thread__maps(thread))) in findnew_guest_code()