Lines Matching refs:us
552 int us; in fmd_asru_hash_recreate() local
566 us = fmd_fmri_unusable(asru); in fmd_asru_hash_recreate()
567 if (us > 0) in fmd_asru_hash_recreate()
569 else if (us == 0) in fmd_asru_hash_recreate()
1662 int us, st = (alp->al_flags & (FMD_ASRU_FAULTY | FMD_ASRU_UNUSABLE)); in fmd_asru_al_getstate() local
1699 us = fmd_fmri_service_state(asru); in fmd_asru_al_getstate()
1700 if (us == -1 || us == FMD_SERVICE_STATE_UNKNOWN) { in fmd_asru_al_getstate()
1702 us = fmd_fmri_unusable(asru); in fmd_asru_al_getstate()
1703 if (us > 0) in fmd_asru_al_getstate()
1705 else if (us == 0) in fmd_asru_al_getstate()
1708 if (us == FMD_SERVICE_STATE_UNUSABLE) { in fmd_asru_al_getstate()
1711 } else if (us == FMD_SERVICE_STATE_OK) { in fmd_asru_al_getstate()
1713 } else if (us == FMD_SERVICE_STATE_ISOLATE_PENDING) { in fmd_asru_al_getstate()
1715 } else if (us == FMD_SERVICE_STATE_DEGRADED) { in fmd_asru_al_getstate()
1735 int us, st, p = -1; in fmd_asru_getstate() local
1767 us = fmd_fmri_unusable(ap->asru_fmri); in fmd_asru_getstate()
1768 if (us > 0) in fmd_asru_getstate()
1770 else if (us == 0) in fmd_asru_getstate()