26#define mmstat_inc1(type) mmstat_inc(type, 1)
35#define mmstat_dec1(type) mmstat_dec(type, 1)
70#define vmap_stat_inc(vmap, type) (vmap)->stat.type += 1
71#define vmap_stat_dec(vmap, type) (vmap)->stat.type -= 1
void mmstat_dec(mmstat_type_t type, size_t size)
Decrement the memory usage statistics.
void mmstat_inc(mmstat_type_t type, size_t size)
Increment the memory usage statistics.
const char * mem_type_names[_MEM_MAX_TYPES]
Memory usage statistics for a specific vmap area.
size_t pagecache
pages that are in the page cache (file-backed only)
size_t cow
pages that are copy-on-write
size_t regular
regular pages with no special flags being set or unset