Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/mm/
Dmod.rs416 const PAGE_ENTRY_SHIFT: usize; constant
463 const PAGE_ADDRESS_SHIFT: usize = Self::PAGE_LEVELS * Self::PAGE_ENTRY_SHIFT + Self::PAGE_SHIFT;
469 const PAGE_ENTRY_SIZE: usize = 1 << (Self::PAGE_SHIFT - Self::PAGE_ENTRY_SHIFT);
471 const PAGE_ENTRY_NUM: usize = 1 << Self::PAGE_ENTRY_SHIFT;
Dpage.rs86 let shift = self.level * Arch::PAGE_ENTRY_SHIFT + Arch::PAGE_SHIFT; in entry_base()
141 let shift = self.level * Arch::PAGE_ENTRY_SHIFT + Arch::PAGE_SHIFT; in index_of()
/DragonOS-0.1.9/kernel/src/arch/x86_64/mm/
Dmod.rs78 const PAGE_ENTRY_SHIFT: usize = 9; constant
251 const PAGE_ADDRESS_SHIFT: usize = Self::PAGE_LEVELS * Self::PAGE_ENTRY_SHIFT + Self::PAGE_SHIFT;
257 const PAGE_ENTRY_SIZE: usize = 1 << (Self::PAGE_SHIFT - Self::PAGE_ENTRY_SHIFT);
259 const PAGE_ENTRY_NUM: usize = 1 << Self::PAGE_ENTRY_SHIFT;
/DragonOS-0.1.9/kernel/src/arch/riscv64/mm/
Dmod.rs45 const PAGE_ENTRY_SHIFT: usize = 9; constant