Searched refs:env_cache_snapshot_size (Results 1 – 2 of 2) sorted by relevance
78 size_t env_cache_snapshot_size; in sgenv_variables() local110 rv = mdb_readvar(&env_cache_snapshot_size, "env_cache_snapshot_size"); in sgenv_variables()111 if (rv == sizeof (env_cache_snapshot_size)) { in sgenv_variables()113 env_cache_snapshot_size); in sgenv_variables()
208 static size_t env_cache_snapshot_size = 0; variable1129 (env_cache_snapshot_size > 0)) { in sgenv_env_info_kstat_update()1132 kmem_free(env_cache_snapshot, env_cache_snapshot_size); in sgenv_env_info_kstat_update()1138 env_cache_snapshot_size = ksp->ks_data_size; in sgenv_env_info_kstat_update()1140 env_cache_snapshot_size, KM_SLEEP); in sgenv_env_info_kstat_update()1204 if (env_cache_snapshot_size > 0) in sgenv_env_info_kstat_snapshot()1205 bcopy(env_cache_snapshot, buf, env_cache_snapshot_size); in sgenv_env_info_kstat_snapshot()1217 kmem_free(env_cache_snapshot, env_cache_snapshot_size); in sgenv_env_info_kstat_snapshot()1219 env_cache_snapshot_size = 0; in sgenv_env_info_kstat_snapshot()