4 #include <stddef.h> /* for size_t */
11 size_t capacity
, available
, n_blocks
, n_cores
, largest
;
14 void *kmalloc(void *km
, size_t size
);
15 void *krealloc(void *km
, void *ptr
, size_t size
);
16 void *kcalloc(void *km
, size_t count
, size_t size
);
17 void kfree(void *km
, void *ptr
);
20 void km_destroy(void *km
);
21 void km_stat(const void *_km
, km_stat_t
*s
);