Lines Matching refs:hstate
50 struct hstate *hstate; member
125 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap()
190 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
206 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
241 struct hstate *h = hstate_file(file); in generic_hugetlb_get_unmapped_area()
292 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter()
438 static void hugetlb_unmap_file_folio(struct hstate *h, in hugetlb_unmap_file_folio()
557 static bool remove_inode_single_folio(struct hstate *h, struct inode *inode, in remove_inode_single_folio()
617 struct hstate *h = hstate_inode(inode); in remove_inode_hugepages()
677 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate()
691 static void hugetlbfs_zero_partial_page(struct hstate *h, in hugetlbfs_zero_partial_page()
718 struct hstate *h = hstate_inode(inode); in hugetlbfs_punch_hole()
773 struct hstate *h = hstate_inode(inode); in hugetlbfs_fallocate()
905 struct hstate *h = hstate_inode(inode); in hugetlbfs_setattr()
1130 unsigned long hpage_size = huge_page_size(sbinfo->hstate); in hugetlbfs_show_options()
1131 unsigned hpage_shift = huge_page_shift(sbinfo->hstate); in hugetlbfs_show_options()
1166 struct hstate *h = hstate_inode(d_inode(dentry)); in hugetlbfs_statfs()
1330 hugetlbfs_size_to_hpages(struct hstate *h, unsigned long long size_opt, in hugetlbfs_size_to_hpages()
1397 ctx->hstate = size_to_hstate(ps); in hugetlbfs_parse_param()
1398 if (!ctx->hstate) { in hugetlbfs_parse_param()
1434 ctx->max_hpages = hugetlbfs_size_to_hpages(ctx->hstate, in hugetlbfs_validate()
1437 ctx->min_hpages = hugetlbfs_size_to_hpages(ctx->hstate, in hugetlbfs_validate()
1464 sbinfo->hstate = ctx->hstate; in hugetlbfs_fill_super()
1478 sbinfo->spool = hugepage_new_subpool(ctx->hstate, in hugetlbfs_fill_super()
1485 sb->s_blocksize = huge_page_size(ctx->hstate); in hugetlbfs_fill_super()
1486 sb->s_blocksize_bits = huge_page_shift(ctx->hstate); in hugetlbfs_fill_super()
1538 ctx->hstate = &default_hstate; in hugetlbfs_init_fs_context()
1565 struct hstate *h = hstate_sizelog(page_size_log); in get_hstate_idx()
1629 static struct vfsmount *__init mount_one_hugetlbfs(struct hstate *h) in mount_one_hugetlbfs()
1639 ctx->hstate = h; in mount_one_hugetlbfs()
1652 struct hstate *h; in init_hugetlbfs_fs()