Lines Matching refs:hstate
52 struct hstate *hstate;
137 struct hstate *h = hstate_file(file);
203 struct hstate *h = hstate_file(file);
219 struct hstate *h = hstate_file(file);
253 struct hstate *h = hstate_file(file);
325 struct hstate *h = hstate_file(file);
468 struct hstate *h = hstate_inode(inode);
580 struct hstate *h = hstate_inode(inode);
596 struct hstate *h = hstate_inode(inode);
638 struct hstate *h = hstate_inode(inode);
764 struct hstate *h = hstate_inode(inode);
1014 unsigned long hpage_size = huge_page_size(sbinfo->hstate);
1015 unsigned hpage_shift = huge_page_shift(sbinfo->hstate);
1050 struct hstate *h = hstate_inode(d_inode(dentry));
1210 * in the pool specified by hstate. Size option could be in bytes
1214 hugetlbfs_size_to_hpages(struct hstate *h, unsigned long long size_opt,
1281 ctx->hstate = size_to_hstate(ps);
1282 if (!ctx->hstate) {
1315 * Use huge page pool size (in hstate) to convert the size
1318 ctx->max_hpages = hugetlbfs_size_to_hpages(ctx->hstate,
1321 ctx->min_hpages = hugetlbfs_size_to_hpages(ctx->hstate,
1348 sbinfo->hstate = ctx->hstate;
1362 sbinfo->spool = hugepage_new_subpool(ctx->hstate,
1369 sb->s_blocksize = huge_page_size(ctx->hstate);
1370 sb->s_blocksize_bits = huge_page_shift(ctx->hstate);
1422 ctx->hstate = &default_hstate;
1449 struct hstate *h = hstate_sizelog(page_size_log);
1520 static struct vfsmount *__init mount_one_hugetlbfs(struct hstate *h)
1530 ctx->hstate = h;
1543 struct hstate *h;
1563 /* default hstate mount is required */