Home
last modified time | relevance | path

Searched refs:FAULT_FLAG_WRITE (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/mm/
H A Dfault.rs30 const FAULT_FLAG_WRITE = 1 << 0; constant
134 flags.contains(FaultFlags::FAULT_FLAG_WRITE), in handle_mm_fault()
213 if flags.intersects(FaultFlags::FAULT_FLAG_WRITE | FaultFlags::FAULT_FLAG_UNSHARE) { in handle_pte_fault()
274 if !pfm.flags().contains(FaultFlags::FAULT_FLAG_WRITE) { in do_fault()
703 let page_to_map = if flags.contains(FaultFlags::FAULT_FLAG_WRITE) in finish_fault()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dfault.rs219 flags |= FaultFlags::FAULT_FLAG_WRITE; in do_user_addr_fault()
222 flags |= FaultFlags::FAULT_FLAG_WRITE; in do_user_addr_fault()