Searched refs:from_usize (Results 1 – 4 of 4) sorted by relevance
136 <Self as FromPrimitive>::from_usize(value).ok_or(SystemError::EINVAL) in try_from()
95 let empty_entry = PageEntry::<MMArch>::from_usize(0); in riscv_mm_init()
547 return Some(PageEntry::from_usize(Arch::read::<usize>(entry_virt))); in entry()696 pub fn from_usize(data: usize) -> Self { in from_usize() method1568 table.set_entry(i, PageEntry::from_usize(0)); in unmap_phys_inner()1587 table.set_entry(i, PageEntry::from_usize(0)); in unmap_phys_inner()
490 let empty_entry = PageEntry::<MMArch>::from_usize(0); in allocator_init()