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.rs48 pub(crate) unsafe fn deallocate( in deallocate() method
55 .deallocate(nptr, layout) 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 fn deallocate(&mut self, ptr: NonNull<u8>, layout: Layout) -> Result<(), AllocationError>; in deallocate() method
H A Dzone.rs181 fn deallocate(&mut self, ptr: NonNull<u8>, layout: Layout) -> Result<(), AllocationError> { in deallocate() method
183 Slab::Base(idx) => self.small_slabs[idx].deallocate(ptr, layout), in deallocate()
H A Dsc.rs307 pub fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) -> Result<(), AllocationError> { in deallocate() method
325 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