* Query all available memory allocator sources. Currently this consists of * malloc(9) and UMA(9). */
| 42 | * malloc(9) and UMA(9). |
| 43 | */ |
| 44 | int |
| 45 | memstat_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 |
| 56 | int |
no test coverage detected