Barrelfish
|
internal functions More...
Functions | |
errval_t | two_level_alloc (struct slot_allocator *ca, struct capref *ret) |
slot allocator More... | |
errval_t | two_level_free (struct slot_allocator *ca, struct capref cap) |
Free an allocated slot. More... | |
internal functions
errval_t two_level_alloc | ( | struct slot_allocator * | ca, |
struct capref * | ret | ||
) |
slot allocator
ca | Instance of the allocator |
ret | Pointer to return the allocated slot |
errval_t two_level_free | ( | struct slot_allocator * | ca, |
struct capref | cap | ||
) |
Free an allocated slot.
ca | Instance of the allocator |
cap | The slot to free |
Walks the list of single slot allocators trying to free the slot.