Lines Matching defs:vma
218 static inline struct hugepage_subpool *subpool_vma(struct vm_area_struct *vma) in subpool_vma()
624 struct vm_area_struct *vma, unsigned long address) in vma_hugecache_offset()
630 pgoff_t linear_hugepage_index(struct vm_area_struct *vma, in linear_hugepage_index()
641 unsigned long vma_kernel_pagesize(struct vm_area_struct *vma) in vma_kernel_pagesize()
655 __weak unsigned long vma_mmu_pagesize(struct vm_area_struct *vma) in vma_mmu_pagesize()
688 static unsigned long get_vma_private_data(struct vm_area_struct *vma) in get_vma_private_data()
693 static void set_vma_private_data(struct vm_area_struct *vma, in set_vma_private_data()
756 static struct resv_map *vma_resv_map(struct vm_area_struct *vma) in vma_resv_map()
771 static void set_vma_resv_map(struct vm_area_struct *vma, struct resv_map *map) in set_vma_resv_map()
780 static void set_vma_resv_flags(struct vm_area_struct *vma, unsigned long flags) in set_vma_resv_flags()
788 static int is_vma_resv_set(struct vm_area_struct *vma, unsigned long flag) in is_vma_resv_set()
796 void reset_vma_resv_huge_pages(struct vm_area_struct *vma) in reset_vma_resv_huge_pages()
804 static bool vma_has_reserves(struct vm_area_struct *vma, long chg) in vma_has_reserves()
940 struct vm_area_struct *vma, in dequeue_huge_page_vma()
1738 struct vm_area_struct *vma, unsigned long addr) in alloc_buddy_huge_page_with_mpol()
1795 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma, in alloc_huge_page_vma()
1986 struct vm_area_struct *vma, unsigned long addr, in __vma_reservation_common()
2047 struct vm_area_struct *vma, unsigned long addr) in vma_needs_reservation()
2053 struct vm_area_struct *vma, unsigned long addr) in vma_commit_reservation()
2059 struct vm_area_struct *vma, unsigned long addr) in vma_end_reservation()
2065 struct vm_area_struct *vma, unsigned long addr) in vma_add_reservation()
2082 struct vm_area_struct *vma, unsigned long address, in restore_reserve_on_error()
2114 struct page *alloc_huge_page(struct vm_area_struct *vma, in alloc_huge_page()
3279 static void hugetlb_vm_op_open(struct vm_area_struct *vma) in hugetlb_vm_op_open()
3295 static void hugetlb_vm_op_close(struct vm_area_struct *vma) in hugetlb_vm_op_close()
3323 static int hugetlb_vm_op_split(struct vm_area_struct *vma, unsigned long addr) in hugetlb_vm_op_split()
3330 static unsigned long hugetlb_vm_op_pagesize(struct vm_area_struct *vma) in hugetlb_vm_op_pagesize()
3364 static pte_t make_huge_pte(struct vm_area_struct *vma, struct page *page, in make_huge_pte()
3383 static void set_huge_ptep_writable(struct vm_area_struct *vma, in set_huge_ptep_writable()
3420 struct vm_area_struct *vma) in copy_hugetlb_page_range()
3519 void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma, in __unmap_hugepage_range()
3623 struct vm_area_struct *vma, unsigned long start, in __unmap_hugepage_range_final()
3641 void unmap_hugepage_range(struct vm_area_struct *vma, unsigned long start, in unmap_hugepage_range()
3671 static void unmap_ref_private(struct mm_struct *mm, struct vm_area_struct *vma, in unmap_ref_private()
3727 static vm_fault_t hugetlb_cow(struct mm_struct *mm, struct vm_area_struct *vma, in hugetlb_cow()
3853 struct vm_area_struct *vma, unsigned long address) in hugetlbfs_pagecache_page()
3869 struct vm_area_struct *vma, unsigned long address) in hugetlbfs_pagecache_present()
3908 struct vm_area_struct *vma, in hugetlb_no_page()
4119 vm_fault_t hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma, in hugetlb_fault()
4387 long follow_hugetlb_page(struct mm_struct *mm, struct vm_area_struct *vma, in follow_hugetlb_page()
4550 #define flush_hugetlb_tlb_range(vma, addr, end) flush_tlb_range(vma, addr, end) argument
4553 unsigned long hugetlb_change_protection(struct vm_area_struct *vma, in hugetlb_change_protection()
4647 struct vm_area_struct *vma, in hugetlb_reserve_pages()
4804 struct vm_area_struct *vma, in page_table_shareable()
4828 static bool vma_shareable(struct vm_area_struct *vma, unsigned long addr) in vma_shareable()
4846 void adjust_range_if_pmd_sharing_possible(struct vm_area_struct *vma, in adjust_range_if_pmd_sharing_possible()
4881 struct vm_area_struct *vma = find_vma(mm, addr); in huge_pmd_share() local
4968 void adjust_range_if_pmd_sharing_possible(struct vm_area_struct *vma, in adjust_range_if_pmd_sharing_possible()
5060 follow_huge_pd(struct vm_area_struct *vma, in follow_huge_pd()