Home
last modified time | relevance | path

Searched defs:P (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dsc.rs92 pub const fn new(size: usize) -> SCAllocator<'a, P> { in new() argument
97 pub fn new(size: usize) -> SCAllocator<'a, P> { in new() argument
107 fn insert_partial_slab(&mut self, new_head: &'a mut P) { in insert_partial_slab()
112 fn insert_empty(&mut self, new_head: &'a mut P) { in insert_empty()
143 fn move_to_empty(&mut self, page: &'a mut P) { in move_to_empty()
144 let page_ptr = page as *const P; in move_to_empty() constant
161 fn move_partial_to_full(&mut self, page: &'a mut P) { in move_partial_to_full()
162 let page_ptr = page as *const P; in move_partial_to_full() constant
175 fn move_full_to_partial(&mut self, page: &'a mut P) { in move_full_to_partial()
176 let page_ptr = page as *const P; in move_full_to_partial() constant
[all …]
H A Dpages.rs472 fn next(&mut self) -> Option<&'a mut P> { in next()