Searched refs:fault_state (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | littleneck.c | 647 char fault_state[PICL_PROPNAMELEN_MAX]; in lneck_env_print_ps() local 668 fault_state, PICL_PROPNAMELEN_MAX); in lneck_env_print_ps() 670 if ((strlen(fault_state) == 0) || in lneck_env_print_ps() 671 (strcmp(fault_state, "NO_FAULT") == 0)) { in lneck_env_print_ps() 672 strcpy(fault_state, "OK"); in lneck_env_print_ps() 680 fault_state); in lneck_env_print_ps() 734 char fault_state[PICL_PROPNAMELEN_MAX]; in lneck_env_print_fans() local 767 &fault_state, PICL_PROPNAMELEN_MAX); in lneck_env_print_fans() 771 fault_state); in lneck_env_print_fans() 790 char fault_state[PICL_PROPNAMELEN_MAX]; in lneck_env_print_disk() local [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | cherrystone.c | 485 char fault_state[PICL_PROPNAMELEN_MAX]; in print_ps() local 507 fault_state, PICL_PROPNAMELEN_MAX); in print_ps() 512 log_printf(dgettext(TEXT_DOMAIN, " [%-12s]"), fault_state); in print_ps() 513 if (strcmp(fault_state, "NO AC POWER") == 0) { in print_ps() 528 "State", fault_state, PICL_PROPNAMELEN_MAX); in print_ps() 537 log_printf(dgettext(TEXT_DOMAIN, "%-10s"), fault_state); in print_ps() 660 char fault_state[PICL_PROPNAMELEN_MAX]; in print_FSP_LEDS() local 670 err = picl_get_propval_by_name(fsp_led[0], "State", &fault_state, in print_FSP_LEDS() 677 if (strcmp(fault_state, PSVC_LED_ON) == 0) in print_FSP_LEDS() 692 locate_state, fault_state); in print_FSP_LEDS()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | daktari.c | 686 char fault_state in dak_env_print_ps() local 763 fault_state[r], PICL_PROPNAMELEN_MAX); in dak_env_print_ps() 766 strcmp(fault_state[r], "OFF") in dak_env_print_ps() 809 fault_state[r]); in dak_env_print_ps()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/ |
H A D | psvcpolicy.c | 1980 int32_t dev_count, fault_state = 0; in psvc_update_FSP_fault_led_policy_0() local 1990 fault_state = 0; in psvc_update_FSP_fault_led_policy_0() 2011 fault_state = 1; in psvc_update_FSP_fault_led_policy_0() 2014 if (fault_state == 1) { in psvc_update_FSP_fault_led_policy_0() 2045 int32_t led_count, fault_state; in update_gen_fault_led() local 2054 fault_state = 0; in update_gen_fault_led() 2067 fault_state = 1; in update_gen_fault_led() 2071 if (fault_state == 1) { in update_gen_fault_led()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/ |
H A D | psvcpolicy.c | 382 char fault_state[PSVC_MAX_STR_LEN]; in check_fan() local 407 strlcpy(fault_state, "DEVICE_FAIL", in check_fan() 408 sizeof (fault_state)); in check_fan() 412 strlcpy(fault_state, PSVC_NO_FAULT, in check_fan() 413 sizeof (fault_state)); in check_fan() 421 status = psvc_set_attr(hdlp, fan_id, PSVC_FAULTID_ATTR, fault_state); in check_fan()
|