Searched refs:env_info_ksp (Results 1 – 3 of 3) sorted by relevance
134 kstat_t *env_info_ksp; member
3133 kstat_t *env_info_ksp; in add_env_nodes() local3135 err = open_kstat(SG_ENV_INFO_KSTAT_NAME, (void **)&env_info_ksp, &kc); in add_env_nodes()3140 env = env_info_ksp->ks_data; in add_env_nodes()3141 for (i = 0; i < SGENV_NUM_ENV_READINGS(env_info_ksp); i++, env++) { in add_env_nodes()3404 kstat_t *env_info_ksp; in get_sensor_data() local3414 err = open_kstat(SG_ENV_INFO_KSTAT_NAME, (void **)&env_info_ksp, &kc); in get_sensor_data()3419 env = env_info_ksp->ks_data; in get_sensor_data()3420 for (i = 0; i < SGENV_NUM_ENV_READINGS(env_info_ksp); i++, env++) { in get_sensor_data()
686 softsp->env_info_ksp = ksp; in sgenv_add_kstats()733 ksp = softsp->env_info_ksp; in sgenv_remove_kstats()736 softsp->env_info_ksp = NULL; in sgenv_remove_kstats()