Lines Matching refs:mm
17 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount};
18 use crate::mm::mmio_buddy::mmio_init;
21 mm::allocator::{buddy::BuddyAllocator, bump::BumpAllocator},
24 use crate::mm::kernel_mapper::KernelMapper;
25 use crate::mm::page::{PageEntry, PageFlags};
26 use crate::mm::{MemoryManagementArch, PageTableKind, PhysAddr, PhysMemoryArea, VirtAddr};
38 crate::mm::page::PageMapper<crate::arch::x86_64::mm::X86_64MMArch, LockedFrameAllocator>;
126 unsafe fn init() -> &'static [crate::mm::PhysMemoryArea] { in init()
204 fn setup_new_usermapper() -> Result<crate::mm::ucontext::UserMapper, SystemError> { in setup_new_usermapper()
205 let new_umapper: crate::mm::page::PageMapper<X86_64MMArch, LockedFrameAllocator> = unsafe { in setup_new_usermapper()
224 return Ok(crate::mm::ucontext::UserMapper::new(new_umapper)); in setup_new_usermapper()
344 let mut mapper: crate::mm::page::PageMapper<MMArch, &mut BumpAllocator<MMArch>> = in allocator_init()
345 crate::mm::page::PageMapper::<MMArch, _>::create( in allocator_init()
408 let mapper = crate::mm::page::PageMapper::<MMArch, _>::new( in allocator_init()
531 count: crate::mm::allocator::page_frame::PageFrameCount, in allocate()
542 address: crate::mm::PhysAddr, in free()
543 count: crate::mm::allocator::page_frame::PageFrameCount, in free()
551 unsafe fn usage(&self) -> crate::mm::allocator::page_frame::PageFrameUsage { in usage()
592 mapper: &mut crate::mm::page::PageMapper<MMArch, &mut BumpAllocator<MMArch>>, in remap_at_low_address()