Lines Matching refs:huge_page_mask
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()
969 if (newsize & ~huge_page_mask(h)) in hugetlbfs_setattr()