Lines Matching refs:huge_page_mask
154 if (vma->vm_pgoff & (~huge_page_mask(h) >> PAGE_SHIFT)) in hugetlbfs_file_mmap()
197 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_bottomup()
213 info.align_mask = PAGE_MASK & ~huge_page_mask(h); in hugetlb_get_unmapped_area_topdown()
244 if (len & ~huge_page_mask(h)) in generic_hugetlb_get_unmapped_area()
296 unsigned long offset = iocb->ki_pos & ~huge_page_mask(h); in hugetlbfs_read_iter()
314 nr = ((isize - 1) & ~huge_page_mask(h)) + 1; in hugetlbfs_read_iter()
351 offset &= ~huge_page_mask(h); in hugetlbfs_read_iter()
679 BUG_ON(offset & ~huge_page_mask(h)); in hugetlb_vmtruncate()
703 start = start & ~huge_page_mask(h); in hugetlbfs_zero_partial_page()
704 end = end & ~huge_page_mask(h); in hugetlbfs_zero_partial_page()
918 if (newsize & ~huge_page_mask(h)) in hugetlbfs_setattr()