Searched refs:dealloc (Results 1 – 4 of 4) sorted by relevance
114 pub fn try_reclaim_base_pages<F>(&mut self, mut to_reclaim: usize, mut dealloc: F) in try_reclaim_base_pages()121 let just_reclaimed = slab.try_reclaim_pages(to_reclaim, &mut dealloc); in try_reclaim_base_pages()
223 pub fn try_reclaim_pages<F>(&mut self, to_reclaim: usize, dealloc: &mut F) -> usize in try_reclaim_pages()231 dealloc(page as *mut P); in try_reclaim_pages()
89 KERNEL_ALLOCATOR.dealloc(self.inner.as_ptr().cast(), Self::LAYOUT); in drop()
128 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { in dealloc() method