Searched refs:ZoneAllocator (Results 1 – 2 of 2) sorted by relevance
14 ZoneAllocator {41 pub struct ZoneAllocator<'a> { struct42 small_slabs: [SCAllocator<'a, ObjectPage<'a>>; ZoneAllocator::MAX_BASE_SIZE_CLASSES], argument46 impl<'a> Default for ZoneAllocator<'a> { implementation47 fn default() -> ZoneAllocator<'a> { in default()57 impl<'a> ZoneAllocator<'a> { implementation67 pub const fn new() -> ZoneAllocator<'a> { in new()72 pub fn new() -> ZoneAllocator<'a> { in new()119 for i in 0..ZoneAllocator::MAX_BASE_SIZE_CLASSES { in try_reclaim_base_pages()136 for count in 0..ZoneAllocator::MAX_BASE_SIZE_CLASSES { in free_space()[all …]
16 zone: ZoneAllocator<'static>,24 zone: ZoneAllocator::new(), in new()