Lines Matching refs:fmd

164 	chp->ch_hashlen = fmd.d_str_buckets;  in fmd_case_hash_create()
262 fmd_case_hash_t *chp = fmd.d_cases; in fmd_case_mkcode()
289 (void) fmd_conf_getprop(fmd.d_conf, "nodiagcode", &s); in fmd_case_mkcode()
423 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_case_set_lst, &fcl); in fmd_case_mkevent()
432 (void) fmd_conf_getprop(fmd.d_conf, "repaircode", &code); in fmd_case_mkevent()
434 (void) fmd_conf_getprop(fmd.d_conf, "resolvecode", &code); in fmd_case_mkevent()
436 (void) fmd_conf_getprop(fmd.d_conf, "updatecode", &code); in fmd_case_mkevent()
742 fmd_asru_hash_apply_by_case(fmd.d_asrus, (fmd_case_t *)old_cip, in fmd_case_check_for_dups()
829 fmd_asru_hash_apply_by_case(fmd.d_asrus, old_cp, in fmd_case_check_for_dups()
839 fmd_asru_hash_apply_by_case(fmd.d_asrus, old_cp, in fmd_case_check_for_dups()
842 fmd_asru_hash_apply_by_case(fmd.d_asrus, old_cp, in fmd_case_check_for_dups()
850 fmd_asru_hash_apply_by_case(fmd.d_asrus, old_cp, in fmd_case_check_for_dups()
852 fmd_asru_hash_apply_by_case(fmd.d_asrus, old_cp, in fmd_case_check_for_dups()
866 fmd_asru_hash_apply_by_case(fmd.d_asrus, old_cp, in fmd_case_check_for_dups()
868 fmd_asru_hash_apply_by_case(fmd.d_asrus, old_cp, in fmd_case_check_for_dups()
912 fmd_asru_hash_t *ahp = fmd.d_asrus; in fmd_case_convict()
942 chp = fmd.d_cases; in fmd_case_convict()
969 fmd_case_code_hash_insert(fmd.d_cases, cip); in fmd_case_convict()
1030 fmd_asru_hash_apply_by_case(fmd.d_asrus, in fmd_case_convict()
1091 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, in fmd_case_publish()
1098 (void) pthread_rwlock_rdlock(&fmd.d_log_lock); in fmd_case_publish()
1099 fmd_log_append(fmd.d_fltlog, e, cp); in fmd_case_publish()
1100 (void) pthread_rwlock_unlock(&fmd.d_log_lock); in fmd_case_publish()
1101 fmd_dispq_dispatch(fmd.d_disp, e, class); in fmd_case_publish()
1124 fmd_dispq_dispatch(fmd.d_disp, e, class); in fmd_case_publish()
1131 (void) pthread_rwlock_rdlock(&fmd.d_log_lock); in fmd_case_publish()
1132 fmd_log_append(fmd.d_fltlog, e, cp); in fmd_case_publish()
1133 (void) pthread_rwlock_unlock(&fmd.d_log_lock); in fmd_case_publish()
1134 fmd_dispq_dispatch(fmd.d_disp, e, class); in fmd_case_publish()
1141 (void) pthread_rwlock_rdlock(&fmd.d_log_lock); in fmd_case_publish()
1142 fmd_log_append(fmd.d_fltlog, e, cp); in fmd_case_publish()
1143 (void) pthread_rwlock_unlock(&fmd.d_log_lock); in fmd_case_publish()
1144 fmd_dispq_dispatch(fmd.d_disp, e, class); in fmd_case_publish()
1271 (void) fmd_conf_getprop(fmd.d_conf, "uuidlen", &cip->ci_uuidlen); in fmd_case_create()
1286 } while ((eip = fmd_case_hash_insert(fmd.d_cases, cip)) != cip); in fmd_case_create()
1294 if (fmd_case_hash_insert(fmd.d_cases, cip) != cip) { in fmd_case_create()
1368 if ((eip = fmd_case_hash_insert(fmd.d_cases, cip)) != cip) { in fmd_case_recreate()
1380 if (mp == fmd.d_rmod) { in fmd_case_recreate()
1391 fmd_case_code_hash_insert(fmd.d_cases, in fmd_case_recreate()
1415 if (cip->ci_mod != fmd.d_rmod || xp != NULL) { in fmd_case_recreate()
1444 fmd_asru_hash_delete_case(fmd.d_asrus, in fmd_case_recreate()
1447 fmd_case_code_hash_delete(fmd.d_cases, cip); in fmd_case_recreate()
1463 fmd_case_code_hash_insert(fmd.d_cases, cip); in fmd_case_recreate()
1487 fmd_case_hash_delete(fmd.d_cases, cip); in fmd_case_destroy()
1766 if (cip->ci_xprt == NULL && cip->ci_mod != fmd.d_rmod) in fmd_case_transition()
1788 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, in fmd_case_transition()
1833 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, in fmd_case_transition()
1873 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, in fmd_case_transition()
1913 fmd_asru_hash_delete_case(fmd.d_asrus, cp); in fmd_case_transition()
1917 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, in fmd_case_transition()
1952 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, in fmd_case_discard_resolved()
1967 fmd_asru_hash_delete_case(fmd.d_asrus, cp); in fmd_case_discard_resolved()
1990 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_case_usable, &usable); in fmd_case_transition_update()
2068 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_case_set_lst, &fcl); in fmd_case_xprt_updated()
2097 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_asru_update_status, in fmd_case_update_status()
2113 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, in fmd_case_update_containees()
2135 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_asru_close_status, in fmd_case_close_status()
2166 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_case_faulty, &faulty); in fmd_case_update()
2178 (void) pthread_rwlock_rdlock(&fmd.d_log_lock); in fmd_case_update()
2179 fmd_log_append(fmd.d_fltlog, e, cp); in fmd_case_update()
2180 (void) pthread_rwlock_unlock(&fmd.d_log_lock); in fmd_case_update()
2181 fmd_dispq_dispatch(fmd.d_disp, e, class); in fmd_case_update()
2227 cip->ci_mod = fmd.d_rmod; in fmd_case_delete()
2274 fmd_asru_hash_delete_case(fmd.d_asrus, cp); in fmd_case_discard()
2311 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_asru_repaired, &fara); in fmd_case_repair()
2356 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_asru_repaired, &fara); in fmd_case_acquit()
2411 return (((fmd_case_impl_t *)cp)->ci_mod == fmd.d_rmod); in fmd_case_orphaned()
2466 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_case_faulty, &faulty); in fmd_case_repair_replay_case()
2467 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, fmd_case_not_faulty, in fmd_case_repair_replay_case()
2476 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, in fmd_case_repair_replay_case()
2487 fmd_dispq_dispatch(fmd.d_disp, e, class); in fmd_case_repair_replay_case()
2492 fmd_asru_hash_apply_by_case(fmd.d_asrus, cp, in fmd_case_repair_replay_case()
2502 fmd_dispq_dispatch(fmd.d_disp, e, class); in fmd_case_repair_replay_case()
2514 fmd_dispq_dispatch(fmd.d_disp, e, class); in fmd_case_repair_replay_case()
2521 fmd_case_hash_apply(fmd.d_cases, fmd_case_repair_replay_case, NULL); in fmd_case_repair_replay()