Searched refs:KERNEL_ALLOCATOR (Results 1 – 2 of 2) sorted by relevance
6 use crate::{arch::MMArch, mm::MemoryManagementArch, syscall::SystemError, KERNEL_ALLOCATOR};51 let ptr = unsafe { KERNEL_ALLOCATOR.alloc_zeroed(Self::LAYOUT) }; in new_zeroed()81 KERNEL_ALLOCATOR.dealloc(self.inner.as_ptr().cast(), Self::LAYOUT); in drop()
68 pub static KERNEL_ALLOCATOR: KernelAllocator = KernelAllocator; variable