Home
last modified time | relevance | path

Searched refs:deallocate (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/mm/allocator/
H A Dslab.rs52 pub(crate) unsafe fn deallocate( in deallocate() method
59 .deallocate(nptr, layout, &SLAB_CALLBACK) in deallocate()
H A Dkernel_allocator.rs101 slab.deallocate(ptr, layout).unwrap() in local_dealloc()
/DragonOS/docs/kernel/memory_management/
H A Dallocate-memory.md19   当需要释放页帧的时候,使用`LockedFrameAllocator`的`deallocate()`函数,或者是`deallocate_page_frames()`函数,能够…
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dlib.rs68 unsafe fn deallocate( in deallocate() method
H A Dzone.rs173 unsafe fn deallocate( in deallocate() method
180 Slab::Base(idx) => self.small_slabs[idx].deallocate(ptr, layout, slab_callback), in deallocate()
H A Dsc.rs317 pub unsafe fn deallocate( in deallocate() method
340 let ret = slab_page.deallocate(ptr, new_layout); in deallocate()
H A Dpages.rs239 fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) -> Result<(), AllocationError> { in deallocate() method