Lines Matching defs:vma
86 static inline bool file_thp_enabled(struct vm_area_struct *vma) in file_thp_enabled()
101 unsigned long __thp_vma_allowable_orders(struct vm_area_struct *vma, in __thp_vma_allowable_orders()
1053 pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma) in maybe_pmd_mkwrite()
1158 static struct folio *vma_alloc_anon_folio_pmd(struct vm_area_struct *vma, in vma_alloc_anon_folio_pmd()
1202 struct vm_area_struct *vma, unsigned long haddr) in map_anon_folio_pmd()
1221 struct vm_area_struct *vma = vmf->vma; in __do_huge_pmd_anonymous_page() local
1280 gfp_t vma_thp_gfp_mask(struct vm_area_struct *vma) in vma_thp_gfp_mask()
1308 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_folio()
1323 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_anonymous_page() local
1378 static void insert_pfn_pmd(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pmd()
1440 struct vm_area_struct *vma = vmf->vma; in vmf_insert_pfn_pmd() local
1472 static pud_t maybe_pud_mkwrite(pud_t pud, struct vm_area_struct *vma) in maybe_pud_mkwrite()
1479 static void insert_pfn_pud(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pud()
1529 struct vm_area_struct *vma = vmf->vma; in vmf_insert_pfn_pud() local
1554 void touch_pmd(struct vm_area_struct *vma, unsigned long addr, in touch_pmd()
1567 struct page *follow_devmap_pmd(struct vm_area_struct *vma, unsigned long addr, in follow_devmap_pmd()
1731 void touch_pud(struct vm_area_struct *vma, unsigned long addr, in touch_pud()
1746 struct vm_area_struct *vma) in copy_huge_pud()
1810 struct vm_area_struct *vma = vmf->vma; in do_huge_zero_wp_pmd() local
1842 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_wp_page() local
1933 static inline bool can_change_pmd_writable(struct vm_area_struct *vma, in can_change_pmd_writable()
1966 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_numa_page() local
2044 bool madvise_free_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, in madvise_free_huge_pmd()
2123 int zap_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, in zap_huge_pmd()
2192 struct vm_area_struct *vma) in pmd_move_must_withdraw()
2225 bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr, in move_huge_pmd()
2283 int change_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, in change_huge_pmd()
2422 int change_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, in change_huge_pud()
2607 spinlock_t *__pmd_trans_huge_lock(pmd_t *pmd, struct vm_area_struct *vma) in __pmd_trans_huge_lock()
2624 spinlock_t *__pud_trans_huge_lock(pud_t *pud, struct vm_area_struct *vma) in __pud_trans_huge_lock()
2636 int zap_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, in zap_huge_pud()
2659 static void __split_huge_pud_locked(struct vm_area_struct *vma, pud_t *pud, in __split_huge_pud_locked()
2672 void __split_huge_pud(struct vm_area_struct *vma, pud_t *pud, in __split_huge_pud()
2692 void __split_huge_pud(struct vm_area_struct *vma, pud_t *pud, in __split_huge_pud()
2698 static void __split_huge_zero_page_pmd(struct vm_area_struct *vma, in __split_huge_zero_page_pmd()
2739 static void __split_huge_pmd_locked(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd_locked()
2959 void split_huge_pmd_locked(struct vm_area_struct *vma, unsigned long address, in split_huge_pmd_locked()
2980 void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd()
2996 void split_huge_pmd_address(struct vm_area_struct *vma, unsigned long address, in split_huge_pmd_address()
3007 static inline void split_huge_pmd_if_needed(struct vm_area_struct *vma, unsigned long address) in split_huge_pmd_if_needed()
3019 void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
3065 static bool __discard_anon_folio_pmd_locked(struct vm_area_struct *vma, in __discard_anon_folio_pmd_locked()
3117 bool unmap_huge_pmd_locked(struct vm_area_struct *vma, unsigned long addr, in unmap_huge_pmd_locked()
3971 static inline bool vma_not_suitable_for_thp_split(struct vm_area_struct *vma) in vma_not_suitable_for_thp_split()
4013 struct vm_area_struct *vma = vma_lookup(mm, addr); in split_huge_pages_pid() local
4248 struct vm_area_struct *vma = pvmw->vma; in set_pmd_migration_entry() local
4297 struct vm_area_struct *vma = pvmw->vma; in remove_migration_pmd() local