Lines Matching refs:shmem_huge
475 static int shmem_huge __read_mostly = SHMEM_HUGE_NEVER;
482 if (shmem_huge == SHMEM_HUGE_DENY) in shmem_is_huge()
487 if (shmem_huge == SHMEM_HUGE_FORCE) in shmem_is_huge()
680 #define shmem_huge SHMEM_HUGE_DENY macro
2153 if (shmem_huge == SHMEM_HUGE_DENY) in shmem_get_unmapped_area()
2168 if (shmem_huge != SHMEM_HUGE_FORCE) { in shmem_get_unmapped_area()
3980 if (has_transparent_hugepage() && shmem_huge > SHMEM_HUGE_DENY) in shmem_init()
3981 SHMEM_SB(shm_mnt->mnt_sb)->huge = shmem_huge; in shmem_init()
3983 shmem_huge = SHMEM_HUGE_NEVER; /* just in case it was patched */ in shmem_init()
4012 shmem_huge == values[i] ? "%s[%s]" : "%s%s", in shmem_enabled_show()
4042 shmem_huge = huge; in shmem_enabled_store()
4043 if (shmem_huge > SHMEM_HUGE_DENY) in shmem_enabled_store()
4044 SHMEM_SB(shm_mnt->mnt_sb)->huge = shmem_huge; in shmem_enabled_store()