Lines Matching refs:stats
86 struct stats { struct
122 static struct stats * stats; variable
156 stats = malloc((max_size+1) * sizeof (struct stats)); in meminit()
157 if (freelists == NULL || stats == NULL) { in meminit()
163 memset(stats, 0, (max_size + 1) * sizeof (struct stats)); in meminit()
213 stats[max_size].gets++; in __memget_record()
214 stats[max_size].totalgets++; in __memget_record()
290 stats[new_size].blocks++; in __memget_record()
291 stats[new_size].freefrags += frags; in __memget_record()
347 stats[size].gets++; in __memget_record()
348 stats[size].totalgets++; in __memget_record()
349 stats[new_size].freefrags--; in __memget_record()
432 INSIST(stats[max_size].gets != 0U); in __memput_record()
433 stats[max_size].gets--; in __memput_record()
470 INSIST(stats[size].gets != 0U); in __memput_record()
471 stats[size].gets--; in __memput_record()
472 stats[new_size].freefrags++; in __memput_record()
509 const struct stats *s = &stats[i]; in memstats()
542 if (stats == NULL) in memactive()
545 if (stats[i].gets != 0U) in memactive()