Lines Matching refs:vm_area_struct

107 	struct vm_area_struct *vma;
122 void hugetlb_dup_vma_private(struct vm_area_struct *vma);
123 void clear_vma_resv_huge_pages(struct vm_area_struct *vma);
124 int move_hugetlb_page_tables(struct vm_area_struct *vma,
125 struct vm_area_struct *new_vma,
129 struct vm_area_struct *, struct vm_area_struct *);
130 void unmap_hugepage_range(struct vm_area_struct *,
134 struct vm_area_struct *vma,
141 vm_fault_t hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma,
145 struct vm_area_struct *dst_vma,
152 struct vm_area_struct *vma,
166 pte_t *huge_pmd_share(struct mm_struct *mm, struct vm_area_struct *vma,
169 struct vm_area_struct *vma,
199 pte_t *huge_pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma,
241 int huge_pmd_unshare(struct mm_struct *mm, struct vm_area_struct *vma,
243 void adjust_range_if_pmd_sharing_possible(struct vm_area_struct *vma,
246 extern void __hugetlb_zap_begin(struct vm_area_struct *vma,
248 extern void __hugetlb_zap_end(struct vm_area_struct *vma,
251 static inline void hugetlb_zap_begin(struct vm_area_struct *vma, in hugetlb_zap_begin()
258 static inline void hugetlb_zap_end(struct vm_area_struct *vma, in hugetlb_zap_end()
265 void hugetlb_vma_lock_read(struct vm_area_struct *vma);
266 void hugetlb_vma_unlock_read(struct vm_area_struct *vma);
267 void hugetlb_vma_lock_write(struct vm_area_struct *vma);
268 void hugetlb_vma_unlock_write(struct vm_area_struct *vma);
269 int hugetlb_vma_trylock_write(struct vm_area_struct *vma);
270 void hugetlb_vma_assert_locked(struct vm_area_struct *vma);
272 long hugetlb_change_protection(struct vm_area_struct *vma,
277 void hugetlb_unshare_all_pmds(struct vm_area_struct *vma);
278 void fixup_hugetlb_reservations(struct vm_area_struct *vma);
282 static inline void hugetlb_dup_vma_private(struct vm_area_struct *vma) in hugetlb_dup_vma_private()
286 static inline void clear_vma_resv_huge_pages(struct vm_area_struct *vma) in clear_vma_resv_huge_pages()
302 struct vm_area_struct *vma, in huge_pmd_unshare()
309 struct vm_area_struct *vma, in adjust_range_if_pmd_sharing_possible()
315 struct vm_area_struct *vma, in hugetlb_zap_begin()
321 struct vm_area_struct *vma, in hugetlb_zap_end()
328 struct vm_area_struct *dst_vma, in copy_hugetlb_page_range()
329 struct vm_area_struct *src_vma) in copy_hugetlb_page_range()
335 static inline int move_hugetlb_page_tables(struct vm_area_struct *vma, in move_hugetlb_page_tables()
336 struct vm_area_struct *new_vma, in move_hugetlb_page_tables()
364 static inline void hugetlb_vma_lock_read(struct vm_area_struct *vma) in hugetlb_vma_lock_read()
368 static inline void hugetlb_vma_unlock_read(struct vm_area_struct *vma) in hugetlb_vma_unlock_read()
372 static inline void hugetlb_vma_lock_write(struct vm_area_struct *vma) in hugetlb_vma_lock_write()
376 static inline void hugetlb_vma_unlock_write(struct vm_area_struct *vma) in hugetlb_vma_unlock_write()
380 static inline int hugetlb_vma_trylock_write(struct vm_area_struct *vma) in hugetlb_vma_trylock_write()
385 static inline void hugetlb_vma_assert_locked(struct vm_area_struct *vma) in hugetlb_vma_assert_locked()
404 struct vm_area_struct *dst_vma, in hugetlb_mfill_atomic_pte()
447 struct vm_area_struct *vma, unsigned long address, in hugetlb_change_protection()
455 struct vm_area_struct *vma, unsigned long start, in __unmap_hugepage_range()
463 struct vm_area_struct *vma, unsigned long address, in hugetlb_fault()
470 static inline void hugetlb_unshare_all_pmds(struct vm_area_struct *vma) { } in hugetlb_unshare_all_pmds()
472 static inline void fixup_hugetlb_reservations(struct vm_area_struct *vma) in fixup_hugetlb_reservations()
706 struct folio *alloc_hugetlb_folio(struct vm_area_struct *vma,
716 void restore_reserve_on_error(struct hstate *h, struct vm_area_struct *vma,
764 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
774 extern unsigned long vma_kernel_pagesize(struct vm_area_struct *vma);
776 extern unsigned long vma_mmu_pagesize(struct vm_area_struct *vma);
1036 static inline pte_t huge_ptep_modify_prot_start(struct vm_area_struct *vma, in huge_ptep_modify_prot_start()
1047 static inline void huge_ptep_modify_prot_commit(struct vm_area_struct *vma, in huge_ptep_modify_prot_commit()
1107 static inline struct folio *alloc_hugetlb_folio(struct vm_area_struct *vma,
1144 static inline struct hstate *hstate_vma(struct vm_area_struct *vma)
1169 static inline unsigned long vma_kernel_pagesize(struct vm_area_struct *vma)
1174 static inline unsigned long vma_mmu_pagesize(struct vm_area_struct *vma)
1263 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma,
1287 struct hstate *h, struct vm_area_struct *vma, unsigned long address)
1332 bool want_pmd_share(struct vm_area_struct *vma, unsigned long addr);
1342 static inline bool __vma_shareable_lock(struct vm_area_struct *vma) in __vma_shareable_lock()
1347 bool __vma_private_lock(struct vm_area_struct *vma);
1354 hugetlb_walk(struct vm_area_struct *vma, unsigned long addr, unsigned long sz) in hugetlb_walk()