Home
last modified time | relevance | path

Searched refs:Malloctotal (Results 1 – 2 of 2) sorted by last modified time

/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dalloc.c44 static struct stats *Malloctotal; variable
54 Malloctotal = stats_new_counter("alloc.total", "bytes allocated", 1); in alloc_init()
65 mt = Malloctotal; in alloc_fini()
70 Malloctotal = NULL; in alloc_fini()
101 if (Malloctotal) in alloc_malloc()
102 stats_counter_add(Malloctotal, nbytes); in alloc_malloc()
194 if (Malloctotal) in alloc_xmalloc()
195 stats_counter_add(Malloctotal, nbytes); in alloc_xmalloc()
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.c36 static struct stats *Malloctotal; variable
42 Malloctotal = stats_new_counter("alloc.total", "bytes allocated", 1); in alloc_init()
51 mt = Malloctotal; in alloc_fini()
54 Malloctotal = NULL; in alloc_fini()
75 if (Malloctotal) in alloc_malloc()
76 stats_counter_add(Malloctotal, nbytes); in alloc_malloc()
140 if (Malloctotal) in alloc_xmalloc()
141 stats_counter_add(Malloctotal, nbytes); in alloc_xmalloc()