Lines Matching refs:shmem_huge
536 static int shmem_huge __read_mostly = SHMEM_HUGE_NEVER;
547 if (shmem_huge == SHMEM_HUGE_DENY) in shmem_is_huge()
549 if (shmem_huge_force || shmem_huge == SHMEM_HUGE_FORCE) in shmem_is_huge()
743 #define shmem_huge SHMEM_HUGE_DENY macro
2280 if (shmem_huge == SHMEM_HUGE_DENY) in shmem_get_unmapped_area()
2295 if (shmem_huge != SHMEM_HUGE_FORCE) { in shmem_get_unmapped_area()
4640 if (has_transparent_hugepage() && shmem_huge > SHMEM_HUGE_DENY) in shmem_init()
4641 SHMEM_SB(shm_mnt->mnt_sb)->huge = shmem_huge; in shmem_init()
4643 shmem_huge = SHMEM_HUGE_NEVER; /* just in case it was patched */ in shmem_init()
4675 shmem_huge == values[i] ? "%s[%s]" : "%s%s", in shmem_enabled_show()
4705 shmem_huge = huge; in shmem_enabled_store()
4706 if (shmem_huge > SHMEM_HUGE_DENY) in shmem_enabled_store()
4707 SHMEM_SB(shm_mnt->mnt_sb)->huge = shmem_huge; in shmem_enabled_store()