Searched refs:new_flags (Results 1 – 4 of 4) sorted by relevance
16 let mut new_flags = *vma.vm_flags(); in do_madvise() localVariable43 new_flags = new_flags & !VmFlags::VM_RAND_READ & !VmFlags::VM_SEQ_READ in do_madvise()47 new_flags = (new_flags & !VmFlags::VM_RAND_READ) | VmFlags::VM_SEQ_READ in do_madvise()50 new_flags = (new_flags & !VmFlags::VM_SEQ_READ) | VmFlags::VM_RAND_READ in do_madvise()53 MadvFlags::MADV_DONTFORK => new_flags |= VmFlags::VM_DONTCOPY, in do_madvise()59 new_flags &= !VmFlags::VM_DONTCOPY; in do_madvise()64 new_flags |= VmFlags::VM_WIPEONFORK; in do_madvise()67 MadvFlags::MADV_KEEPONFORK => new_flags &= !VmFlags::VM_WIPEONFORK, in do_madvise()69 MadvFlags::MADV_DONTDUMP => new_flags |= VmFlags::VM_DONTDUMP, in do_madvise()72 MadvFlags::MADV_DODUMP => new_flags &= !VmFlags::VM_DONTDUMP, in do_madvise()[all …]
446 let new_flags = entry.flags().set_write(true).set_dirty(true); in do_wp_page() localVariable452 entry.set_flags(new_flags); in do_wp_page()463 entry.set_flags(new_flags); in do_wp_page()466 } else if let Some(flush) = mapper.map(address, new_flags) { in do_wp_page()489 if let Some(flush) = mapper.map(address, new_flags) { in do_wp_page()
627 let mut new_flags = entry.flags().set_write(false); in clone() localVariable628 entry.set_flags(new_flags); in clone()630 new_flags = new_flags.set_dirty(false); in clone()631 entry.set_flags(new_flags); in clone()
664 let new_flags: EntryFlags<MMArch> = r_guard in mprotect() localVariable669 r_guard.remap(new_flags, mapper, &mut *flusher)?; in mprotect()