Lines Matching refs:huge
125 int huge; member
506 static const char *shmem_format_huge(int huge) in shmem_format_huge() argument
508 switch (huge) { in shmem_format_huge()
670 (shmem_huge == SHMEM_HUGE_FORCE || sbinfo->huge) && in is_huge_enabled()
1590 pgoff_t index, bool huge) in shmem_alloc_and_acct_page() argument
1598 huge = false; in shmem_alloc_and_acct_page()
1599 nr = huge ? HPAGE_PMD_NR : 1; in shmem_alloc_and_acct_page()
1604 if (huge) in shmem_alloc_and_acct_page()
1894 switch (sbinfo->huge) { in shmem_getpage_gfp()
2205 if (SHMEM_SB(sb)->huge == SHMEM_HUGE_NEVER) in shmem_get_unmapped_area()
3472 ctx->huge = result.uint_32; in shmem_parse_one()
3473 if (ctx->huge != SHMEM_HUGE_NEVER && in shmem_parse_one()
3598 sbinfo->huge = ctx->huge; in shmem_reconfigure()
3665 if (sbinfo->huge) in shmem_show_options()
3666 seq_printf(seq, ",huge=%s", shmem_format_huge(sbinfo->huge)); in shmem_show_options()
3732 sbinfo->huge = ctx->huge; in shmem_fill_super()
3984 SHMEM_SB(shm_mnt->mnt_sb)->huge = shmem_huge; in shmem_init()
4026 int huge; in shmem_enabled_store() local
4035 huge = shmem_parse_huge(tmp); in shmem_enabled_store()
4036 if (huge == -EINVAL) in shmem_enabled_store()
4039 huge != SHMEM_HUGE_NEVER && huge != SHMEM_HUGE_DENY) in shmem_enabled_store()
4042 shmem_huge = huge; in shmem_enabled_store()
4044 SHMEM_SB(shm_mnt->mnt_sb)->huge = shmem_huge; in shmem_enabled_store()
4066 switch (sbinfo->huge) { in shmem_huge_enabled()