Searched refs:KERNEL_ALLOCATOR (Results 1 – 2 of 2) sorted by relevance
8 use crate::{arch::MMArch, mm::MemoryManagementArch, KERNEL_ALLOCATOR};53 let ptr = unsafe { KERNEL_ALLOCATOR.alloc_zeroed(Self::LAYOUT) }; in new_zeroed()89 KERNEL_ALLOCATOR.dealloc(self.inner.as_ptr().cast(), Self::LAYOUT); in drop()
103 pub static KERNEL_ALLOCATOR: KernelAllocator = KernelAllocator; constant