Home
last modified time | relevance | path

Searched refs:ObjectPage (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dpages.rs285 pub struct ObjectPage<'a> { struct
291 next: Rawlink<ObjectPage<'a>>, argument
293 prev: Rawlink<ObjectPage<'a>>, argument
299 impl<'a> ObjectPage<'a> { impl
300 pub fn new() -> Box<ObjectPage<'a>> { in new()
306 unsafe impl Send for ObjectPage<'_> {} implementation
307 unsafe impl Sync for ObjectPage<'_> {} implementation
309 impl AllocablePage for ObjectPage<'_> { implementation
328 impl<'a> Default for ObjectPage<'a> { implementation
329 fn default() -> ObjectPage<'a> { in default()
[all …]
H A Dzone.rs41 small_slabs: [SCAllocator<'a, ObjectPage<'a>>; ZoneAllocator::MAX_BASE_SIZE_CLASSES],
116 F: Fn(*mut ObjectPage), in try_reclaim_base_pages() argument
192 new_page: &'a mut ObjectPage<'a>, in refill()
H A Dlib.rs82 new_page: &'a mut ObjectPage<'a>, in refill()
/DragonOS/kernel/src/mm/allocator/
H A Dslab.rs37 let boxed_page = ObjectPage::new(); in allocate()