|
AquilaOS documentation
How it works, and its code
|
One order of a buddy allocator's zone (mm/buddy.c): a bitmap of its blocks, a set bit for a block that isn't free. More...
#include <buddy.h>
Data Fields | |
| size_t | first_free_idx |
| size_t | usable |
| struct bitmap | bitmap |
One order of a buddy allocator's zone (mm/buddy.c): a bitmap of its blocks, a set bit for a block that isn't free.
| struct bitmap buddy::bitmap |
Definition at line 12 of file buddy.h.
Referenced by buddy_recursive_alloc(), buddy_reserved_done(), buddy_set_unusable(), and buddy_setup().
| size_t buddy::first_free_idx |
Definition at line 10 of file buddy.h.
Referenced by buddy_recursive_alloc(), buddy_recursive_free(), buddy_set_unusable(), and buddy_setup().
| size_t buddy::usable |
Definition at line 11 of file buddy.h.
Referenced by buddy_recursive_alloc(), buddy_recursive_free(), buddy_set_unusable(), buddy_setup(), and procfs_buddyinfo().