Lines Matching refs:huge_page_shift
181 len >> huge_page_shift(h), vma, in hugetlbfs_file_mmap()
327 unsigned long index = iocb->ki_pos >> huge_page_shift(h); in hugetlbfs_read_iter()
342 end_index = (isize - 1) >> huge_page_shift(h); in hugetlbfs_read_iter()
376 index += offset >> huge_page_shift(h); in hugetlbfs_read_iter()
379 iocb->ki_pos = ((loff_t)index << huge_page_shift(h)) + offset; in hugetlbfs_read_iter()
469 const pgoff_t start = lstart >> huge_page_shift(h); in remove_inode_hugepages()
470 const pgoff_t end = lend >> huge_page_shift(h); in remove_inode_hugepages()
637 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate()
1003 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options()
1209 size_opt <<= huge_page_shift(h); in hugetlbfs_size_to_hpages()
1214 size_opt >>= huge_page_shift(h); in hugetlbfs_size_to_hpages()
1358 sb->s_blocksize_bits = huge_page_shift(ctx->hstate); in hugetlbfs_fill_super()
1487 size >> huge_page_shift(hstate_inode(inode)), NULL, in hugetlb_file_setup()