Lines Matching refs:huge_page_shift
157 len >> huge_page_shift(h), vma, in hugetlbfs_file_mmap()
316 unsigned long index = iocb->ki_pos >> huge_page_shift(h); in hugetlbfs_read_iter()
331 end_index = (isize - 1) >> huge_page_shift(h); in hugetlbfs_read_iter()
381 index += offset >> huge_page_shift(h); in hugetlbfs_read_iter()
384 iocb->ki_pos = ((loff_t)index << huge_page_shift(h)) + offset; in hugetlbfs_read_iter()
682 lstart >> huge_page_shift(h), in remove_inode_hugepages()
728 pgoff_t idx = start >> huge_page_shift(h); in hugetlbfs_zero_partial_page()
809 unsigned long hpage_shift = huge_page_shift(h); in hugetlbfs_fallocate()
1154 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options()
1350 size_opt <<= huge_page_shift(h); in hugetlbfs_size_to_hpages()
1355 size_opt >>= huge_page_shift(h); in hugetlbfs_size_to_hpages()
1497 sb->s_blocksize_bits = huge_page_shift(ctx->hstate); in hugetlbfs_fill_super()
1629 size >> huge_page_shift(hstate_inode(inode)), NULL, in hugetlb_file_setup()