Lines Matching refs:allocator
32 allocator::page_frame::{FrameAllocator, PageFrameCount},
614 allocator: &mut impl FrameAllocator, in clone()
618 let phys = allocator.allocate_one()?; in clone()
634 let phys = allocator.allocate_one()?; in clone()
663 let table = next_table.clone(allocator, copy_on_write)?; in clone()
725 super::allocator::page_frame::PhysPageFrame::from_ppn(ppn).phys_address() in address()
1118 pub unsafe fn new(table_kind: PageTableKind, table_paddr: PhysAddr, allocator: F) -> Self { in new()
1122 frame_allocator: allocator, in new()
1128 pub unsafe fn create(table_kind: PageTableKind, mut allocator: F) -> Option<Self> { in create()
1129 let table_paddr = allocator.allocate_one()?; in create()
1133 return Some(Self::new(table_kind, table_paddr, allocator)); in create()
1138 pub unsafe fn current(table_kind: PageTableKind, allocator: F) -> Self { in current()
1140 return Self::new(table_kind, table_paddr, allocator); in current()
1415 let allocator = self.allocator_mut(); in clone_user_mapping() localVariable
1419 let table = next_table.clone(allocator, copy_on_write).unwrap(); in clone_user_mapping()
1560 allocator: &mut impl FrameAllocator, in unmap_phys_inner()
1574 let result = unmap_phys_inner(vaddr, &subtable, unmap_parents, allocator)?; in unmap_phys_inner()
1589 allocator.free_one(subtable.phys()); in unmap_phys_inner()