Lines Matching defs:vma

486 static int break_ksm(struct vm_area_struct *vma, unsigned long addr, bool lock_vma)  in break_ksm()
533 static bool vma_ksm_compatible(struct vm_area_struct *vma) in vma_ksm_compatible()
558 struct vm_area_struct *vma; in find_mergeable_vma() local
571 struct vm_area_struct *vma; in break_cow() local
590 struct vm_area_struct *vma; in get_mergeable_page() local
887 static int unmerge_ksm_pages(struct vm_area_struct *vma, in unmerge_ksm_pages()
1019 struct vm_area_struct *vma; in unmerge_and_remove_all_rmap_items() local
1095 static int write_protect_page(struct vm_area_struct *vma, struct page *page, in write_protect_page()
1186 static int replace_page(struct vm_area_struct *vma, struct page *page, in replace_page()
1288 static int try_to_merge_one_page(struct vm_area_struct *vma, in try_to_merge_one_page()
1357 struct vm_area_struct *vma; in try_to_merge_with_ksm_page() local
2190 struct vm_area_struct *vma; in cmp_and_merge_page() local
2312 struct vm_area_struct *vma; in scan_get_next_rmap_item() local
2534 static void __ksm_add_vma(struct vm_area_struct *vma) in __ksm_add_vma()
2545 static int __ksm_del_vma(struct vm_area_struct *vma) in __ksm_del_vma()
2566 void ksm_add_vma(struct vm_area_struct *vma) in ksm_add_vma()
2576 struct vm_area_struct *vma; in ksm_add_vmas() local
2585 struct vm_area_struct *vma; in ksm_del_vmas() local
2664 int ksm_madvise(struct vm_area_struct *vma, unsigned long start, in ksm_madvise()
2791 struct vm_area_struct *vma, unsigned long address) in ksm_might_need_to_copy()
2856 struct vm_area_struct *vma; in rmap_walk_ksm() local
2915 struct vm_area_struct *vma; in collect_procs_ksm() local