Lines Matching defs:env_alarminfo
1929 #define env_alarminfo env_buf.u_env_alarminfo
2751 if (ddi_copyin((caddr_t)arg, (caddr_t)&env_alarminfo,
2762 env_alarminfo.next_id.name[0] = '\0';
2764 } else if (env_alarminfo.id.name[0] == '\0') {
2767 env_alarminfo.next_id.name[0] = '\0';
2769 env_alarminfo.next_id =
2774 env_alarminfo.id.name[ENVMON_MAXNAMELEN - 1] = '\0';
2775 if (get_sensor_by_name(section, env_alarminfo.id.name,
2777 env_alarminfo.next_id.name[0] = '\0';
2780 env_alarminfo.next_id =
2783 env_alarminfo.next_id.name[0] = '\0';
2800 if ((env_alarminfo.sensor_status = sensor_status) ==
2806 env_alarminfo.sensor_status = ENVMON_SENSOR_OK;
2807 env_alarminfo.alarm_state = ENVMON_ALARM_OFF;
2811 env_alarminfo.sensor_status =
2821 env_alarminfo.alarm_state =
2836 env_alarminfo.sensor_status = ENVMON_INACCESSIBLE;
2837 env_alarminfo.alarm_state = ENVMON_INACCESSIBLE;
2840 if (ddi_copyout((caddr_t)&env_alarminfo, (caddr_t)arg,