/linux/include/linux/ |
H A D | hugetlb_inline.h | 9 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma) in is_vm_hugetlb_page() function 16 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma) in is_vm_hugetlb_page() function
|
H A D | userfaultfd_k.h | 221 (!is_vm_hugetlb_page(vma) && !vma_is_shmem(vma))) in vma_can_userfault() 242 return vma_is_anonymous(vma) || is_vm_hugetlb_page(vma) || in vma_can_userfault()
|
H A D | hugetlb.h | 257 if (is_vm_hugetlb_page(vma)) in hugetlb_zap_begin() 264 if (is_vm_hugetlb_page(vma)) in hugetlb_zap_end()
|
H A D | rmap.h | 956 if (pvmw->pte && !is_vm_hugetlb_page(pvmw->vma)) in page_vma_mapped_walk_done()
|
/linux/arch/s390/mm/ |
H A D | gmap_helpers.c | 56 if (!vma || is_vm_hugetlb_page(vma)) in gmap_helper_zap_one_page() 89 if (!is_vm_hugetlb_page(vma)) in gmap_helper_discard() 153 if ((vma->vm_flags & VM_PFNMAP) || is_vm_hugetlb_page(vma)) in __gmap_helper_unshare_zeropages()
|
H A D | pgtable.c | 1047 if (!vma || is_vm_hugetlb_page(vma)) in pgste_perform_essa() 1147 if (!vma || is_vm_hugetlb_page(vma)) in set_pgste_bits() 1178 if (!vma || is_vm_hugetlb_page(vma)) in get_pgste()
|
/linux/arch/powerpc/mm/nohash/ |
H A D | e500_hugetlbpage.c | 183 if (is_vm_hugetlb_page(vma)) in __update_mmu_cache()
|
/linux/arch/riscv/mm/ |
H A D | tlbflush.c | 175 if (!is_vm_hugetlb_page(vma)) { in flush_tlb_range()
|
/linux/mm/ |
H A D | userfaultfd.c | 545 if (!is_vm_hugetlb_page(dst_vma)) in mfill_atomic_hugetlb() 765 if (is_vm_hugetlb_page(dst_vma)) in mfill_atomic() 969 if (is_vm_hugetlb_page(dst_vma)) { in mwriteprotect_range() 2015 if (is_vm_hugetlb_page(vma) && uffd_disable_huge_pmd_share(vma)) in userfaultfd_register_range()
|
H A D | mremap.c | 802 if (is_vm_hugetlb_page(pmc->old)) in move_page_tables() 1646 if (is_vm_hugetlb_page(vma)) 1669 if (is_vm_hugetlb_page(vma) && !align_hugetlb(vrm)) in check_prep_vma()
|
H A D | vma.c | 557 if (is_vm_hugetlb_page(vma)) in __split_vma() 2069 if (vma_soft_dirty_enabled(vma) && !is_vm_hugetlb_page(vma)) in vma_wants_writenotify() 2188 is_vm_hugetlb_page(vma)) in mm_take_all_locks() 2197 !is_vm_hugetlb_page(vma)) in mm_take_all_locks() 2537 is_vm_hugetlb_page(vma) || in __mmap_complete()
|
H A D | hugetlb.c | 1180 VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma); in vma_resv_map() 1195 VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma); in set_vma_resv_map() 1203 VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma); in set_vma_resv_flags() 1211 VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma); in is_vma_resv_set() 1225 VM_BUG_ON_VMA(!is_vm_hugetlb_page(vma), vma); in hugetlb_dup_vma_private() 5858 WARN_ON(!is_vm_hugetlb_page(vma)); in __unmap_hugepage_range() 7963 if (is_vm_hugetlb_page(vma)) in fixup_hugetlb_reservations()
|
H A D | madvise.c | 882 if (!is_vm_hugetlb_page(vma)) { in madvise_dontneed_free_valid_vma() 1399 if ((!is_vm_hugetlb_page(vma) && (new_flags & VM_SPECIAL)) || in madvise_vma_behavior()
|
H A D | migrate_device.c | 542 if (!args->vma || is_vm_hugetlb_page(args->vma) || in migrate_vma_setup()
|
H A D | mprotect.c | 714 if (is_vm_hugetlb_page(vma)) in change_protection()
|
H A D | memory.c | 1377 if (is_vm_hugetlb_page(src_vma)) in copy_page_range() 1913 if (unlikely(is_vm_hugetlb_page(vma))) { in unmap_single_vma() 2015 if (is_vm_hugetlb_page(vma)) { in zap_page_range_single_batched() 6361 if (unlikely(is_vm_hugetlb_page(vma))) in handle_mm_fault() 7177 if (is_vm_hugetlb_page(vma)) in vma_pgtable_walk_begin() 7183 if (is_vm_hugetlb_page(vma)) in vma_pgtable_walk_end()
|
H A D | gup.c | 637 if (is_vm_hugetlb_page(vma)) { in no_page_table() 1234 if ((gup_flags & FOLL_SPLIT_PMD) && is_vm_hugetlb_page(vma)) in check_vma_flags()
|
H A D | mmap.c | 1803 if (is_vm_hugetlb_page(tmp)) in dup_mmap()
|
/linux/drivers/misc/sgi-gru/ |
H A D | grufault.c | 184 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in non_atomic_pte_lookup() 242 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in atomic_pte_lookup()
|
/linux/arch/powerpc/mm/book3s64/ |
H A D | radix_tlb.c | 632 if (is_vm_hugetlb_page(vma)) in radix__local_flush_tlb_page() 953 if (is_vm_hugetlb_page(vma)) in radix__flush_tlb_page() 1122 if (is_vm_hugetlb_page(vma)) in radix__flush_tlb_range()
|
/linux/arch/riscv/kvm/ |
H A D | mmu.c | 368 if (is_vm_hugetlb_page(vma)) in kvm_riscv_mmu_map()
|
/linux/arch/arm64/kvm/ |
H A D | mmu.c | 1432 if (is_vm_hugetlb_page(vma) && !(vma->vm_flags & VM_PFNMAP)) in get_vma_page_shift() 1438 VM_BUG_ON(is_vm_hugetlb_page(vma)); in get_vma_page_shift()
|
/linux/tools/testing/vma/ |
H A D | vma_internal.h | 1100 static inline bool is_vm_hugetlb_page(struct vm_area_struct *) in is_vm_hugetlb_page() function
|
/linux/drivers/gpu/drm/ |
H A D | drm_gpusvm.c | 985 vma_is_anonymous(vas) && !is_vm_hugetlb_page(vas); in drm_gpusvm_range_find_or_insert()
|
/linux/fs/ |
H A D | coredump.c | 1609 if (is_vm_hugetlb_page(vma)) { in vma_dump_size()
|