Searched refs:huge_page_mask (Results 1 – 15 of 15) sorted by relevance
67 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup()91 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()120 if (len & ~huge_page_mask(h)) in hugetlb_get_unmapped_area()134 addr &= huge_page_mask(h); in hugetlb_get_unmapped_area()
22 if (len & ~huge_page_mask(h)) in prepare_hugepage_range()24 if (addr & ~huge_page_mask(h)) in prepare_hugepage_range()
21 if (len & ~huge_page_mask(h)) in prepare_hugepage_range()23 if (addr & ~huge_page_mask(h)) in prepare_hugepage_range()
120 if (len & ~huge_page_mask(h)) in prepare_hugepage_range()122 if (addr & ~huge_page_mask(h)) in prepare_hugepage_range()
35 if (len & ~huge_page_mask(h)) in prepare_hugepage_range()37 if (addr & ~huge_page_mask(h)) in prepare_hugepage_range()
267 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup()284 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()312 if (len & ~huge_page_mask(h)) in hugetlb_get_unmapped_area()
155 if (vma->vm_pgoff & (~huge_page_mask(h) >> PAGE_SHIFT)) in hugetlbfs_file_mmap()208 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup()224 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()255 if (len & ~huge_page_mask(h)) in generic_hugetlb_get_unmapped_area()342 unsigned long offset = iocb->ki_pos & ~huge_page_mask(h); in hugetlbfs_read_iter()360 nr = ((isize - 1) & ~huge_page_mask(h)) + 1; in hugetlbfs_read_iter()407 offset &= ~huge_page_mask(h); in hugetlbfs_read_iter()735 BUG_ON(offset & ~huge_page_mask(h)); in hugetlb_vmtruncate()759 start = start & ~huge_page_mask(h); in hugetlbfs_zero_partial_page()760 end = end & ~huge_page_mask(h); in hugetlbfs_zero_partial_page()[all …]
43 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup()75 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()108 if (len & ~huge_page_mask(h)) in hugetlb_get_unmapped_area()
30 if (len & ~huge_page_mask(h)) in hugetlb_get_unmapped_area()
305 unsigned long boundary = (addr & huge_page_mask(h)) + huge_page_size(h); in hugetlb_entry_end()315 unsigned long hmask = huge_page_mask(h); in walk_hugetlb_range()
977 if (addr & ~huge_page_mask(h)) in SYSCALL_DEFINE5()979 if (new_addr & ~huge_page_mask(h)) in SYSCALL_DEFINE5()
4909 if (addr & ~(huge_page_mask(hstate_vma(vma)))) in hugetlb_vm_op_split()5332 BUG_ON(start & ~huge_page_mask(h)); in __unmap_hugepage_range()5333 BUG_ON(end & ~huge_page_mask(h)); in __unmap_hugepage_range()5523 address = address & huge_page_mask(h); in unmap_ref_private()5578 unsigned long haddr = address & huge_page_mask(h); in hugetlb_wp()5865 unsigned long haddr = address & huge_page_mask(h); in hugetlb_no_page()6099 unsigned long haddr = address & huge_page_mask(h); in hugetlb_fault()6501 unsigned long haddr = address & huge_page_mask(h); in hugetlb_follow_page_mask()6530 page = nth_page(page, ((address & ~huge_page_mask(h)) >> PAGE_SHIFT)); in hugetlb_follow_page_mask()
845 if (start & ~huge_page_mask(hstate_vma(vma))) in madvise_dontneed_free_valid_vma()
817 static inline unsigned long huge_page_mask(struct hstate *h) in huge_page_mask() function1105 static inline unsigned long huge_page_mask(struct hstate *h)
650 gfn = (gpa & huge_page_mask(hstate_vma(vma))) >> PAGE_SHIFT; in kvm_riscv_gstage_map()