Go to the source code of this file.
◆ mmstat_inc()
Increment the memory usage statistics.
- Parameters
-
type | The type of memory. |
size | The size of memory. |
Definition at line 33 of file mmstat.c.
Referenced by slab_impl_new_page().
◆ mmstat_dec()
Decrement the memory usage statistics.
- Parameters
-
type | The type of memory. |
size | The size of memory. |
Definition at line 39 of file mmstat.c.
Referenced by slab_impl_free_page().
◆ mmstat_sysfs_stat()
◆ mmstat_sysfs_phyframe_stat_show()
◆ mmstat_sysfs_phyframe_stat_store()
◆ mmstat_sysfs_pagetable_show()
◆ mmstat_sysfs_vmaps_show()
◆ mmstat_sysfs_store_pid()
◆ SYSFS_AUTOREGISTER()
◆ stat
◆ mem_type_names
◆ mmstat_sysfs_items
Initial value:= {
}
static bool mmstat_sysfs_pagetable_show(sysfs_file_t *f)
static bool mmstat_sysfs_stat(sysfs_file_t *f)
static bool mmstat_sysfs_phyframe_stat_show(sysfs_file_t *f)
static bool mmstat_sysfs_vmaps_show(sysfs_file_t *f)
static size_t mmstat_sysfs_phyframe_stat_store(sysfs_file_t *f, const char *buf, size_t count, off_t offset)
static size_t mmstat_sysfs_store_pid(sysfs_file_t *f, const char *buf, size_t count, off_t offset)
#define SYSFS_RW_ITEM(_name, _show_fn, _store_fn)
#define SYSFS_RO_ITEM(_name, _show_fn)
Definition at line 182 of file mmstat.c.