Lines Matching refs:hstate

50 	struct hstate		*hstate;
125 struct hstate *h = hstate_file(file);
201 struct hstate *h = hstate_file(file);
217 struct hstate *h = hstate_file(file);
252 struct hstate *h = hstate_file(file);
338 struct hstate *h = hstate_file(file);
494 static void hugetlb_unmap_file_folio(struct hstate *h,
613 static bool remove_inode_single_folio(struct hstate *h, struct inode *inode,
673 struct hstate *h = hstate_inode(inode);
733 struct hstate *h = hstate_inode(inode);
747 static void hugetlbfs_zero_partial_page(struct hstate *h,
774 struct hstate *h = hstate_inode(inode);
829 struct hstate *h = hstate_inode(inode);
956 struct hstate *h = hstate_inode(inode);
1181 unsigned long hpage_size = huge_page_size(sbinfo->hstate);
1182 unsigned hpage_shift = huge_page_shift(sbinfo->hstate);
1217 struct hstate *h = hstate_inode(d_inode(dentry));
1377 * in the pool specified by hstate. Size option could be in bytes
1381 hugetlbfs_size_to_hpages(struct hstate *h, unsigned long long size_opt,
1404 struct hstate *h;
1454 ctx->hstate = h;
1484 * Use huge page pool size (in hstate) to convert the size
1487 ctx->max_hpages = hugetlbfs_size_to_hpages(ctx->hstate,
1490 ctx->min_hpages = hugetlbfs_size_to_hpages(ctx->hstate,
1517 sbinfo->hstate = ctx->hstate;
1531 sbinfo->spool = hugepage_new_subpool(ctx->hstate,
1538 sb->s_blocksize = huge_page_size(ctx->hstate);
1539 sb->s_blocksize_bits = huge_page_shift(ctx->hstate);
1591 ctx->hstate = &default_hstate;
1618 struct hstate *h = hstate_sizelog(page_size_log);
1682 static struct vfsmount *__init mount_one_hugetlbfs(struct hstate *h)
1692 ctx->hstate = h;
1705 struct hstate *h;
1725 /* default hstate mount is required */