Lines Matching refs:region
34 struct region struct
53 struct region *region; argument
54 struct region *last, *overflow;
61 static struct region default_overflow_region =
109 struct region *region, *r = prof_info.last; in profil_count() local
115 region = r; in profil_count()
124 r = prof_info.region + mid; in profil_count()
128 region = r; in profil_count()
140 region = prof_info.overflow; in profil_count()
143 i = pc_to_index (pc, region->offset, region->scale, prof_uint); in profil_count()
196 struct region *r; in insert()
205 r = realloc (prof_info.region, (prof_info.num_regions + 1) * sizeof (*r)); in insert()
220 prof_info.region = r; in insert()
254 if (start < prof_info.region[i].start) in add_region()
256 if (end < prof_info.region[i].start) in add_region()
258 else if (insert (i, start, prof_info.region[i].start, p, prof_uint) in add_region()
262 start = prof_info.region[i].end; in add_region()
306 free (prof_info.region); in __sprofil()
311 prof_info.region = NULL; in __sprofil()
324 free (prof_info.region); in __sprofil()
326 prof_info.region = NULL; in __sprofil()
333 prof_info.last = prof_info.region; in __sprofil()