|
AquilaOS documentation
How it works, and its code
|
A malloc type: what an allocation is for, which /proc/kvmem counts by. More...
#include <kvmem.h>
Data Fields | |
| const char * | name |
| const char * | desc |
| size_t | nr |
| size_t | total |
| struct qnode * | qnode |
| struct slab * | slabs [SLAB_CLASSES] |
A malloc type: what an allocation is for, which /proc/kvmem counts by.
| const char* malloc_type::name |
Definition at line 15 of file kvmem.h.
Referenced by procfs_kvmem().
| size_t malloc_type::nr |
Definition at line 17 of file kvmem.h.
Referenced by kfree(), kvmem_alloc(), procfs_kvmem(), slab_alloc(), and slab_free().
| struct slab* malloc_type::slabs[SLAB_CLASSES] |
Definition at line 22 of file kvmem.h.
Referenced by slab_alloc(), and slab_free().
| size_t malloc_type::total |
Definition at line 18 of file kvmem.h.
Referenced by kfree(), kvmem_alloc(), procfs_kvmem(), slab_alloc(), and slab_free().