Home
last modified time | relevance | path

Searched refs:page_flags (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dmmu.rs221 let page_flags = EntryFlags::from_prot_flags(ProtFlags::from_bits_truncate(0x7_u64), false); in __direct_map() localVariable
223 assert!(ept_mapper.walk(gpa, pfn << PAGE_SHIFT, page_flags).is_ok()); in __direct_map()
/DragonOS/kernel/src/ipc/
H A Dsyscall.rs327 let page_flags: EntryFlags<MMArch> = in shmat() localVariable
337 page_flags, in shmat()
362 let page_flags = address_write_guard in shmat() localVariable
381 page_flags, in shmat()
/DragonOS/kernel/src/driver/video/
H A Dmod.rs102 let page_flags: EntryFlags<MMArch> = EntryFlags::new().set_execute(true).set_write(true); in init_frame_buffer() localVariable
106 .map_phys_with_flags(paddr, page_align_up(buf_size), page_flags) in init_frame_buffer()
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dmod.rs245 fn make_entry(paddr: PhysAddr, page_flags: usize) -> usize { in make_entry()
247 let r = ((ppn & ((1 << 54) - 1)) << 10) | page_flags; in make_entry()
/DragonOS/kernel/src/mm/
H A Dfault.rs170 let page_flags = vma.lock_irqsave().flags(); in handle_normal_fault() localVariable
177 mapper.map_huge_page(address, page_flags); in handle_normal_fault()
H A Dmod.rs634 fn make_entry(paddr: PhysAddr, page_flags: usize) -> usize; in make_entry()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs315 fn make_entry(paddr: PhysAddr, page_flags: usize) -> usize { in make_entry()
316 return paddr.data() | page_flags; in make_entry()