Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/riscv64/mm/
H A Dmod.rs300 map[VmFlags::VM_SHARED.bits()] = MMArch::PAGE_NONE;
301 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_READ.bits()] = MMArch::PAGE_READONLY;
302 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_WRITE.bits()] = MMArch::PAGE_SHARED;
303 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] =
305 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits()] = MMArch::PAGE_READONLY_EXEC;
306 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_READ.bits()] =
308 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] =
310 map[VmFlags::VM_SHARED.bits()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs398 map[VmFlags::VM_SHARED.bits()] = EntryFlags::from_data(MMArch::PAGE_NONE);
399 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_READ.bits()] =
401 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_WRITE.bits()] =
403 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_WRITE.bits() | VmFlags::VM_READ.bits()] =
405 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits()] =
407 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_READ.bits()] =
409 map[VmFlags::VM_SHARED.bits() | VmFlags::VM_EXEC.bits() | VmFlags::VM_WRITE.bits()] =
411 map[VmFlags::VM_SHARED.bits()
/DragonOS/kernel/src/mm/
H A Dmm.h129 #define VM_SHARED (1 << 3) macro
H A Dfault.rs280 .contains(VmFlags::VM_SHARED) in do_fault()
448 if vma.lock().vm_flags().contains(VmFlags::VM_SHARED) { in do_wp_page()
704 && !vma_guard.vm_flags().contains(VmFlags::VM_SHARED) in finish_fault()
H A Dsyscall.rs159 vm_flags |= VmFlags::VM_SHARED; in from()
619 if flags.contains(MsFlags::MS_SYNC) && vm_flags.contains(VmFlags::VM_SHARED) { in msync()
H A Dmod.rs50 const VM_SHARED = 0x00000008; constant
685 VmFlags::VM_READ | VmFlags::VM_WRITE | VmFlags::VM_EXEC | VmFlags::VM_SHARED, in vm_get_page_prot()
H A Ducontext.rs1192 .contains(VmFlags::VM_SHARED | VmFlags::VM_WRITE) in unmap()