Searched refs:writable (Results 1 – 7 of 7) sorted by relevance
/mm/ |
D | khugepaged.c | 544 bool writable = false; in __collapse_huge_page_isolate() local 659 writable = true; in __collapse_huge_page_isolate() 662 if (unlikely(!writable)) { in __collapse_huge_page_isolate() 669 referenced, writable, result); in __collapse_huge_page_isolate() 675 referenced, writable, result); in __collapse_huge_page_isolate() 1260 bool writable = false; in hpage_collapse_scan_pmd() local 1325 writable = true; in hpage_collapse_scan_pmd() 1394 if (!writable) { in hpage_collapse_scan_pmd() 1412 trace_mm_khugepaged_scan_pmd(mm, &folio->page, writable, referenced, in hpage_collapse_scan_pmd()
|
D | rmap.c | 656 tlb_ubc->writable = false; in try_to_unmap_flush() 664 if (tlb_ubc->writable) in try_to_unmap_flush_dirty() 683 bool writable = pte_dirty(pteval); in set_tlb_ubc_flush_pending() local 715 if (writable) in set_tlb_ubc_flush_pending() 716 tlb_ubc->writable = true; in set_tlb_ubc_flush_pending()
|
D | internal.h | 156 bool writable, young, dirty; in folio_pte_batch() local 177 writable = !!pte_write(pte); in folio_pte_batch() 196 *any_writable |= writable; in folio_pte_batch()
|
D | huge_memory.c | 1748 bool migrated = false, writable = false; in do_huge_pmd_numa_page() local 1763 writable = pmd_write(pmd); in do_huge_pmd_numa_page() 1764 if (!writable && vma_wants_manual_pte_write_upgrade(vma) && in do_huge_pmd_numa_page() 1766 writable = true; in do_huge_pmd_numa_page() 1773 if (!writable) in do_huge_pmd_numa_page() 1790 writable = false; in do_huge_pmd_numa_page() 1810 if (writable) in do_huge_pmd_numa_page()
|
D | userfaultfd.c | 179 bool writable = dst_vma->vm_flags & VM_WRITE; in mfill_atomic_install_pte() local 188 writable = false; in mfill_atomic_install_pte() 189 if (writable) in mfill_atomic_install_pte()
|
D | memory.c | 5146 bool writable = false; in do_numa_page() local 5171 writable = pte_write(pte); in do_numa_page() 5172 if (!writable && vma_wants_manual_pte_write_upgrade(vma) && in do_numa_page() 5174 writable = true; in do_numa_page() 5192 if (!writable) in do_numa_page() 5218 writable = false; in do_numa_page() 5245 if (writable) in do_numa_page()
|
D | hugetlb.c | 4960 int writable) in make_huge_pte() argument 4965 if (writable) { in make_huge_pte() 6298 int writable; in hugetlb_mfill_atomic_pte() local 6446 writable = 0; in hugetlb_mfill_atomic_pte() 6448 writable = dst_vma->vm_flags & VM_WRITE; in hugetlb_mfill_atomic_pte() 6450 _dst_pte = make_huge_pte(dst_vma, &folio->page, writable); in hugetlb_mfill_atomic_pte()
|