Lines Matching refs:vm_area_struct
137 static inline struct hugepage_subpool *subpool_vma(struct vm_area_struct *vma) in subpool_vma()
327 struct vm_area_struct *vma, unsigned long address) in vma_hugecache_offset()
333 pgoff_t linear_hugepage_index(struct vm_area_struct *vma, in linear_hugepage_index()
343 unsigned long vma_kernel_pagesize(struct vm_area_struct *vma) in vma_kernel_pagesize()
363 unsigned long vma_mmu_pagesize(struct vm_area_struct *vma) in vma_mmu_pagesize()
397 static unsigned long get_vma_private_data(struct vm_area_struct *vma) in get_vma_private_data()
402 static void set_vma_private_data(struct vm_area_struct *vma, in set_vma_private_data()
435 static struct resv_map *vma_resv_map(struct vm_area_struct *vma) in vma_resv_map()
450 static void set_vma_resv_map(struct vm_area_struct *vma, struct resv_map *map) in set_vma_resv_map()
459 static void set_vma_resv_flags(struct vm_area_struct *vma, unsigned long flags) in set_vma_resv_flags()
467 static int is_vma_resv_set(struct vm_area_struct *vma, unsigned long flag) in is_vma_resv_set()
475 void reset_vma_resv_huge_pages(struct vm_area_struct *vma) in reset_vma_resv_huge_pages()
483 static int vma_has_reserves(struct vm_area_struct *vma, long chg) in vma_has_reserves()
553 struct vm_area_struct *vma, in dequeue_huge_page_vma()
1358 struct vm_area_struct *vma, unsigned long addr) in vma_needs_reservation()
1377 struct vm_area_struct *vma, unsigned long addr) in vma_commit_reservation()
1390 static struct page *alloc_huge_page(struct vm_area_struct *vma, in alloc_huge_page()
1453 struct page *alloc_huge_page_noerr(struct vm_area_struct *vma, in alloc_huge_page_noerr()
2464 static void hugetlb_vm_op_open(struct vm_area_struct *vma) in hugetlb_vm_op_open()
2480 static void hugetlb_vm_op_close(struct vm_area_struct *vma) in hugetlb_vm_op_close()
2509 static int hugetlb_vm_op_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in hugetlb_vm_op_fault()
2521 static pte_t make_huge_pte(struct vm_area_struct *vma, struct page *page, in make_huge_pte()
2540 static void set_huge_ptep_writable(struct vm_area_struct *vma, in set_huge_ptep_writable()
2577 struct vm_area_struct *vma) in copy_hugetlb_page_range()
2650 void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma, in __unmap_hugepage_range()
2748 struct vm_area_struct *vma, unsigned long start, in __unmap_hugepage_range_final()
2766 void unmap_hugepage_range(struct vm_area_struct *vma, unsigned long start, in unmap_hugepage_range()
2785 static void unmap_ref_private(struct mm_struct *mm, struct vm_area_struct *vma, in unmap_ref_private()
2789 struct vm_area_struct *iter_vma; in unmap_ref_private()
2841 static int hugetlb_cow(struct mm_struct *mm, struct vm_area_struct *vma, in hugetlb_cow()
2963 struct vm_area_struct *vma, unsigned long address) in hugetlbfs_pagecache_page()
2979 struct vm_area_struct *vma, unsigned long address) in hugetlbfs_pagecache_present()
2994 static int hugetlb_no_page(struct mm_struct *mm, struct vm_area_struct *vma, in hugetlb_no_page()
3128 struct vm_area_struct *vma, in fault_mutex_hash()
3153 struct vm_area_struct *vma, in fault_mutex_hash()
3161 int hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma, in hugetlb_fault()
3297 long follow_hugetlb_page(struct mm_struct *mm, struct vm_area_struct *vma, in follow_hugetlb_page()
3298 struct page **pages, struct vm_area_struct **vmas, in follow_hugetlb_page()
3397 unsigned long hugetlb_change_protection(struct vm_area_struct *vma, in hugetlb_change_protection()
3466 struct vm_area_struct *vma, in hugetlb_reserve_pages()
3563 static unsigned long page_table_shareable(struct vm_area_struct *svma, in page_table_shareable()
3564 struct vm_area_struct *vma, in page_table_shareable()
3588 static int vma_shareable(struct vm_area_struct *vma, unsigned long addr) in vma_shareable()
3613 struct vm_area_struct *vma = find_vma(mm, addr); in huge_pmd_share()
3617 struct vm_area_struct *svma; in huge_pmd_share()