Home
last modified time | relevance | path

Searched refs:from_usize (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/process/
H A Dresource.rs136 <Self as FromPrimitive>::from_usize(value).ok_or(SystemError::EINVAL) in try_from()
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dinit.rs95 let empty_entry = PageEntry::<MMArch>::from_usize(0); in riscv_mm_init()
/DragonOS/kernel/src/mm/
H A Dpage.rs547 return Some(PageEntry::from_usize(Arch::read::<usize>(entry_virt))); in entry()
696 pub fn from_usize(data: usize) -> Self { in from_usize() method
1568 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()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs490 let empty_entry = PageEntry::<MMArch>::from_usize(0); in allocator_init()