Lines Matching refs:huge
120 int huge; member
552 switch (SHMEM_SB(inode->i_sb)->huge) { in shmem_is_huge()
590 static const char *shmem_format_huge(int huge) in shmem_format_huge() argument
592 switch (huge) { in shmem_format_huge()
1665 pgoff_t index, bool huge) in shmem_alloc_and_acct_folio() argument
1673 huge = false; in shmem_alloc_and_acct_folio()
1674 nr = huge ? HPAGE_PMD_NR : 1; in shmem_alloc_and_acct_folio()
1680 if (huge) in shmem_alloc_and_acct_folio()
2293 if (SHMEM_SB(sb)->huge == SHMEM_HUGE_NEVER) in shmem_get_unmapped_area()
3955 ctx->huge = result.uint_32; in shmem_parse_one()
3956 if (ctx->huge != SHMEM_HUGE_NEVER && in shmem_parse_one()
4167 sbinfo->huge = ctx->huge; in shmem_reconfigure()
4239 if (sbinfo->huge) in shmem_show_options()
4240 seq_printf(seq, ",huge=%s", shmem_format_huge(sbinfo->huge)); in shmem_show_options()
4315 sbinfo->huge = ctx->huge; in shmem_fill_super()
4624 SHMEM_SB(shm_mnt->mnt_sb)->huge = shmem_huge; in shmem_init()
4672 int huge; in shmem_enabled_store() local
4681 huge = shmem_parse_huge(tmp); in shmem_enabled_store()
4682 if (huge == -EINVAL) in shmem_enabled_store()
4685 huge != SHMEM_HUGE_NEVER && huge != SHMEM_HUGE_DENY) in shmem_enabled_store()
4688 shmem_huge = huge; in shmem_enabled_store()
4690 SHMEM_SB(shm_mnt->mnt_sb)->huge = shmem_huge; in shmem_enabled_store()