Struct buddy_alloc::fast_alloc::FastAlloc
source · pub struct FastAlloc { /* private fields */ }Implementations§
source§impl FastAlloc
impl FastAlloc
sourcepub unsafe fn new(param: FastAllocParam) -> Self
pub unsafe fn new(param: FastAllocParam) -> Self
Safety
The base_addr..(base_addr + len) must be allocated before using,
and must guarantee no others write to the memory range, otherwise behavior is undefined.