Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.c38 static struct stats *Malloctotal; variable
44 Malloctotal = stats_new_counter("alloc.total", "bytes allocated", 1); in alloc_init()
53 mt = Malloctotal; in alloc_fini()
56 Malloctotal = NULL; in alloc_fini()
77 if (Malloctotal) in alloc_malloc()
78 stats_counter_add(Malloctotal, nbytes); in alloc_malloc()
142 if (Malloctotal) in alloc_xmalloc()
143 stats_counter_add(Malloctotal, nbytes); in alloc_xmalloc()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dalloc.c46 static struct stats *Malloctotal; variable
56 Malloctotal = stats_new_counter("alloc.total", "bytes allocated", 1); in alloc_init()
67 mt = Malloctotal; in alloc_fini()
72 Malloctotal = NULL; in alloc_fini()
103 if (Malloctotal) in alloc_malloc()
104 stats_counter_add(Malloctotal, nbytes); in alloc_malloc()
196 if (Malloctotal) in alloc_xmalloc()
197 stats_counter_add(Malloctotal, nbytes); in alloc_xmalloc()