Searched refs:deallocate (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/mm/allocator/ |
H A D | slab.rs | 48 pub(crate) unsafe fn deallocate( in deallocate() method 55 .deallocate(nptr, layout) in deallocate()
|
H A D | kernel_allocator.rs | 101 slab.deallocate(ptr, layout).unwrap() in local_dealloc()
|
/DragonOS/docs/kernel/memory_management/ |
H A D | allocate-memory.md | 19   当需要释放页帧的时候,使用`LockedFrameAllocator`的`deallocate()`函数,或者是`deallocate_page_frames()`函数,能够…
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | lib.rs | 68 fn deallocate(&mut self, ptr: NonNull<u8>, layout: Layout) -> Result<(), AllocationError>; in deallocate() method
|
H A D | zone.rs | 181 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 D | sc.rs | 307 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 D | pages.rs | 239 fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) -> Result<(), AllocationError> { in deallocate() method
|