Searched refs:max_hpages (Results 1 – 2 of 2) sorted by relevance
50 long max_hpages; member931 if (spool->max_hpages != -1) in hugetlbfs_show_options()933 (unsigned long long)spool->max_hpages << hpage_shift); in hugetlbfs_show_options()956 buf->f_blocks = sbinfo->spool->max_hpages; in hugetlbfs_statfs()957 free_pages = sbinfo->spool->max_hpages in hugetlbfs_statfs()1219 pconfig->max_hpages = hugetlbfs_size_to_hpages(pconfig->hstate, in hugetlbfs_parse_options()1228 pconfig->min_hpages > pconfig->max_hpages) { in hugetlbfs_parse_options()1247 config.max_hpages = -1; /* No limit on size by default */ in hugetlbfs_fill_super()1276 if (config.max_hpages != -1 || config.min_hpages != -1) { in hugetlbfs_fill_super()1278 config.max_hpages, in hugetlbfs_fill_super()
52 long max_hpages; /* Maximum huge pages or -1 if no maximum. */ member77 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,