Data Fields | |
link_t *(* | find_buddy )(buddy_system_t *, link_t *) |
link_t *(* | bisect )(buddy_system_t *, link_t *) |
link_t *(* | coalesce )(buddy_system_t *, link_t *, link_t *) |
void(* | set_order )(buddy_system_t *, link_t *, __u8) |
__u8(* | get_order )(buddy_system_t *, link_t *) |
void(* | mark_busy )(buddy_system_t *, link_t *) |
void(* | mark_available )(buddy_system_t *, link_t *) |
link_t *(* | find_block )(buddy_system_t *, link_t *, __u8) |
void(* | print_id )(buddy_system_t *, link_t *) |
Definition at line 44 of file buddy.h.
|
Bisect the block passed as argument and return pointer to the new right-side buddy. Referenced by buddy_system_alloc(), buddy_system_alloc_block(), and buddy_system_create(). |
|
Coalesce two buddies into a bigger block. Referenced by buddy_system_create(). |
|
Find parent of block that has given order Referenced by buddy_system_alloc_block(). |
|
Return pointer to left-side or right-side buddy for block passed as argument. Referenced by buddy_system_create(), and buddy_system_free(). |
|
Return order of block passed as argument. Referenced by buddy_system_alloc_block(), buddy_system_create(), and buddy_system_free(). |
|
Mark block as available. Referenced by buddy_system_alloc_block(). |
|
Mark block as busy. Referenced by buddy_system_alloc(), buddy_system_alloc_block(), and buddy_system_create(). |
|
|
|
Set order of block passed as argument. Referenced by buddy_system_alloc(), buddy_system_alloc_block(), and buddy_system_create(). |