Lines Matching defs:vma
74 bool hugepage_vma_check(struct vm_area_struct *vma, unsigned long vm_flags, in hugepage_vma_check()
554 pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma) in maybe_pmd_mkwrite()
655 struct vm_area_struct *vma = vmf->vma; in __do_huge_pmd_anonymous_page() local
738 gfp_t vma_thp_gfp_mask(struct vm_area_struct *vma) in vma_thp_gfp_mask()
766 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_page()
781 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_anonymous_page() local
840 static void insert_pfn_pmd(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pmd()
904 struct vm_area_struct *vma = vmf->vma; in vmf_insert_pfn_pmd_prot() local
935 static pud_t maybe_pud_mkwrite(pud_t pud, struct vm_area_struct *vma) in maybe_pud_mkwrite()
942 static void insert_pfn_pud(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pud()
995 struct vm_area_struct *vma = vmf->vma; in vmf_insert_pfn_pud_prot() local
1019 static void touch_pmd(struct vm_area_struct *vma, unsigned long addr, in touch_pmd()
1032 struct page *follow_devmap_pmd(struct vm_area_struct *vma, unsigned long addr, in follow_devmap_pmd()
1177 static void touch_pud(struct vm_area_struct *vma, unsigned long addr, in touch_pud()
1190 struct page *follow_devmap_pud(struct vm_area_struct *vma, unsigned long addr, in follow_devmap_pud()
1237 struct vm_area_struct *vma) in copy_huge_pud()
1307 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_wp_page() local
1395 struct vm_area_struct *vma, in can_follow_write_pmd()
1431 struct page *follow_trans_huge_pmd(struct vm_area_struct *vma, in follow_trans_huge_pmd()
1477 struct vm_area_struct *vma = vmf->vma; in do_huge_pmd_numa_page() local
1557 bool madvise_free_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, in madvise_free_huge_pmd()
1636 int zap_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, in zap_huge_pmd()
1701 struct vm_area_struct *vma) in pmd_move_must_withdraw()
1724 bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr, in move_huge_pmd()
1779 int change_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, in change_huge_pmd()
1914 spinlock_t *__pmd_trans_huge_lock(pmd_t *pmd, struct vm_area_struct *vma) in __pmd_trans_huge_lock()
1931 spinlock_t *__pud_trans_huge_lock(pud_t *pud, struct vm_area_struct *vma) in __pud_trans_huge_lock()
1943 int zap_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, in zap_huge_pud()
1964 static void __split_huge_pud_locked(struct vm_area_struct *vma, pud_t *pud, in __split_huge_pud_locked()
1977 void __split_huge_pud(struct vm_area_struct *vma, pud_t *pud, in __split_huge_pud()
2002 static void __split_huge_zero_page_pmd(struct vm_area_struct *vma, in __split_huge_zero_page_pmd()
2036 static void __split_huge_pmd_locked(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd_locked()
2267 void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd()
2315 void split_huge_pmd_address(struct vm_area_struct *vma, unsigned long address, in split_huge_pmd_address()
2326 static inline void split_huge_pmd_if_needed(struct vm_area_struct *vma, unsigned long address) in split_huge_pmd_if_needed()
2338 void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
2955 static inline bool vma_not_suitable_for_thp_split(struct vm_area_struct *vma) in vma_not_suitable_for_thp_split()
3002 struct vm_area_struct *vma = vma_lookup(mm, addr); in split_huge_pages_pid() local
3195 struct vm_area_struct *vma = pvmw->vma; in set_pmd_migration_entry() local
3241 struct vm_area_struct *vma = pvmw->vma; in remove_migration_pmd() local