Home
last modified time | relevance | path

Searched refs:ZoneAllocator (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dzone.rs14 ZoneAllocator {
41 pub struct ZoneAllocator<'a> { struct
42 small_slabs: [SCAllocator<'a, ObjectPage<'a>>; ZoneAllocator::MAX_BASE_SIZE_CLASSES], argument
46 impl<'a> Default for ZoneAllocator<'a> { implementation
47 fn default() -> ZoneAllocator<'a> { in default()
57 impl<'a> ZoneAllocator<'a> { implementation
67 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 …]
/DragonOS/kernel/src/mm/allocator/
H A Dslab.rs16 zone: ZoneAllocator<'static>,
24 zone: ZoneAllocator::new(), in new()