Lines Matching refs:table_kind
51 pub unsafe fn top_level_table(table_kind: PageTableKind) -> Self { in top_level_table()
54 Arch::table(table_kind), in top_level_table()
466 table_kind: PageTableKind, field
485 pub unsafe fn new(table_kind: PageTableKind, table_paddr: PhysAddr, allocator: F) -> Self { in new()
487 table_kind, in new()
495 pub unsafe fn create(table_kind: PageTableKind, mut allocator: F) -> Option<Self> { in create()
500 return Some(Self::new(table_kind, table_paddr, allocator)); in create()
505 pub unsafe fn current(table_kind: PageTableKind, allocator: F) -> Self { in current()
506 let table_paddr = Arch::table(table_kind); in current()
507 return Self::new(table_kind, table_paddr, allocator); in current()
513 return unsafe { self.table().phys() == Arch::table(self.table_kind) }; in is_current()
519 Arch::set_table(self.table_kind, self.table_paddr); in make_current()