Home
last modified time | relevance | path

Searched refs:vma_hpagesize (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/mm/
Duserfaultfd.c168 unsigned long vma_hpagesize; in __mcopy_atomic_hugetlb() local
188 vma_hpagesize = vma_kernel_pagesize(dst_vma); in __mcopy_atomic_hugetlb()
194 if (dst_start & (vma_hpagesize - 1) || len & (vma_hpagesize - 1)) in __mcopy_atomic_hugetlb()
219 if (vma_hpagesize != vma_kernel_pagesize(dst_vma)) in __mcopy_atomic_hugetlb()
225 if (WARN_ON(dst_addr & (vma_hpagesize - 1) || in __mcopy_atomic_hugetlb()
226 (len - copied) & (vma_hpagesize - 1))) in __mcopy_atomic_hugetlb()
296 dst_addr += vma_hpagesize; in __mcopy_atomic_hugetlb()
297 src_addr += vma_hpagesize; in __mcopy_atomic_hugetlb()
298 copied += vma_hpagesize; in __mcopy_atomic_hugetlb()
/Linux-v4.19/fs/
Duserfaultfd.c1343 unsigned long vma_hpagesize = vma_kernel_pagesize(vma); in userfaultfd_register() local
1345 if (start & (vma_hpagesize - 1)) in userfaultfd_register()
1370 unsigned long vma_hpagesize = vma_kernel_pagesize(cur); in userfaultfd_register() local
1374 if (end & (vma_hpagesize - 1)) in userfaultfd_register()
1516 unsigned long vma_hpagesize = vma_kernel_pagesize(vma); in userfaultfd_unregister() local
1518 if (start & (vma_hpagesize - 1)) in userfaultfd_unregister()