Searched refs:deallocate (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/mm/allocator/ |
H A D | slab.rs | 52 pub(crate) unsafe fn deallocate( in deallocate() method 59 .deallocate(nptr, layout, &SLAB_CALLBACK) 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 unsafe fn deallocate( in deallocate() method
|
H A D | zone.rs | 173 unsafe fn deallocate( in deallocate() method 180 Slab::Base(idx) => self.small_slabs[idx].deallocate(ptr, layout, slab_callback), in deallocate()
|
H A D | sc.rs | 320 pub unsafe fn deallocate( in deallocate() method 343 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
|