Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dpage.rs527 if i < Arch::PAGE_ENTRY_NUM { in entry_base()
537 if i < Arch::PAGE_ENTRY_NUM { in entry_virt()
585 let mask = (MMArch::PAGE_ENTRY_NUM << shift) - 1; in index_of()
623 for i in 0..Arch::PAGE_ENTRY_NUM { in clone()
661 for i in 0..MMArch::PAGE_ENTRY_NUM { in clone()
1227 assert!(i < Arch::PAGE_ENTRY_NUM); in map_phys()
1276 assert!(i < Arch::PAGE_ENTRY_NUM); in map_huge_page()
1291 Arch::PAGE_ENTRY_NUM.pow(table.level as u32), in map_huge_page()
1357 assert!(i < Arch::PAGE_ENTRY_NUM); in get_table()
1582 let x = (0..Arch::PAGE_ENTRY_NUM) in unmap_phys_inner()
H A Dmod.rs508 const PAGE_ENTRY_NUM: usize = 1 << Self::PAGE_ENTRY_SHIFT; constant
510 const PAGE_ENTRY_MASK: usize = Self::PAGE_ENTRY_NUM - 1;
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs250 for pml4_entry_no in MMArch::PAGE_KERNEL_INDEX..MMArch::PAGE_ENTRY_NUM { in setup_new_usermapper()
271 const PAGE_ENTRY_NUM: usize = 1 << Self::PAGE_ENTRY_SHIFT; constant
273 const PAGE_ENTRY_MASK: usize = Self::PAGE_ENTRY_NUM - 1;
491 for i in 0..MMArch::PAGE_ENTRY_NUM { in allocator_init()
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dinit.rs96 for i in 0..MMArch::PAGE_ENTRY_NUM { in riscv_mm_init()