MCPcopy Create free account
hub / github.com/F-Stack/f-stack / memstat_sysctl_all

Function memstat_sysctl_all

tools/libmemstat/memstat_all.c:44–53  ·  view source on GitHub ↗

* Query all available memory allocator sources. Currently this consists of * malloc(9) and UMA(9). */

Source from the content-addressed store, hash-verified

42 * malloc(9) and UMA(9).
43 */
44int
45memstat_sysctl_all(struct memory_type_list *mtlp, int flags)
46{
47
48 if (memstat_sysctl_malloc(mtlp, flags) < 0)
49 return (-1);
50 if (memstat_sysctl_uma(mtlp, flags) < 0)
51 return (-1);
52 return (0);
53}
54
55#ifndef FSTACK
56int

Callers 1

mbprFunction · 0.85

Calls 2

memstat_sysctl_mallocFunction · 0.85
memstat_sysctl_umaFunction · 0.85

Tested by

no test coverage detected