Lines Matching refs:vm_area_struct
14 struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);
18 struct vm_area_struct *vma);
29 bool madvise_free_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma,
31 int zap_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, pmd_t *pmd,
33 int zap_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, pud_t *pud,
35 bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr,
37 int change_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma,
208 static inline bool thp_vma_suitable_order(struct vm_area_struct *vma, in thp_vma_suitable_order()
233 static inline unsigned long thp_vma_suitable_orders(struct vm_area_struct *vma, in thp_vma_suitable_orders()
256 static inline bool file_thp_enabled(struct vm_area_struct *vma) in file_thp_enabled()
269 unsigned long __thp_vma_allowable_orders(struct vm_area_struct *vma,
290 unsigned long thp_vma_allowable_orders(struct vm_area_struct *vma, in thp_vma_allowable_orders()
325 static inline bool vma_thp_disabled(struct vm_area_struct *vma, in vma_thp_disabled()
373 void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
386 void split_huge_pmd_address(struct vm_area_struct *vma, unsigned long address,
389 void __split_huge_pud(struct vm_area_struct *vma, pud_t *pud,
393 int change_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma,
398 change_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, in change_huge_pud()
411 int hugepage_madvise(struct vm_area_struct *vma, unsigned long *vm_flags,
413 int madvise_collapse(struct vm_area_struct *vma,
414 struct vm_area_struct **prev,
416 void vma_adjust_trans_huge(struct vm_area_struct *vma, unsigned long start,
418 spinlock_t *__pmd_trans_huge_lock(pmd_t *pmd, struct vm_area_struct *vma);
419 spinlock_t *__pud_trans_huge_lock(pud_t *pud, struct vm_area_struct *vma);
428 struct vm_area_struct *vma) in pmd_trans_huge_lock()
436 struct vm_area_struct *vma) in pud_trans_huge_lock()
453 struct page *follow_devmap_pmd(struct vm_area_struct *vma, unsigned long addr,
481 void split_huge_pmd_locked(struct vm_area_struct *vma, unsigned long address,
483 bool unmap_huge_pmd_locked(struct vm_area_struct *vma, unsigned long addr,
493 static inline bool thp_vma_suitable_order(struct vm_area_struct *vma, in thp_vma_suitable_order()
499 static inline unsigned long thp_vma_suitable_orders(struct vm_area_struct *vma, in thp_vma_suitable_orders()
505 static inline unsigned long thp_vma_allowable_orders(struct vm_area_struct *vma, in thp_vma_allowable_orders()
550 static inline void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd()
552 static inline void split_huge_pmd_address(struct vm_area_struct *vma, in split_huge_pmd_address()
554 static inline void split_huge_pmd_locked(struct vm_area_struct *vma, in split_huge_pmd_locked()
558 static inline bool unmap_huge_pmd_locked(struct vm_area_struct *vma, in unmap_huge_pmd_locked()
568 static inline int hugepage_madvise(struct vm_area_struct *vma, in hugepage_madvise()
574 static inline int madvise_collapse(struct vm_area_struct *vma, in madvise_collapse()
575 struct vm_area_struct **prev, in madvise_collapse()
581 static inline void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
592 struct vm_area_struct *vma) in pmd_trans_huge_lock()
597 struct vm_area_struct *vma) in pud_trans_huge_lock()
622 static inline struct page *follow_devmap_pmd(struct vm_area_struct *vma, in follow_devmap_pmd()
643 static inline void __split_huge_pud(struct vm_area_struct *vma, pud_t *pud, in __split_huge_pud()
649 struct vm_area_struct *vma, pud_t *pudp, in change_huge_pud()