Lines Matching refs:fmd

105 	(void) pthread_mutex_lock(&fmd.d_err_lock);  in fmd_api_vxerror()
106 fmd.d_errstats[EFMD_MODULE - EFMD_UNKNOWN].fmds_value.ui64++; in fmd_api_vxerror()
109 fmd.d_errstats[err - EFMD_UNKNOWN].fmds_value.ui64++; in fmd_api_vxerror()
111 (void) pthread_mutex_unlock(&fmd.d_err_lock); in fmd_api_vxerror()
135 if (mp != fmd.d_self && (raw_err != EFMD_HDL_ABORT || fmd.d_running)) { in fmd_api_vxerror()
147 (void) pthread_rwlock_rdlock(&fmd.d_log_lock); in fmd_api_vxerror()
148 fmd_log_append(fmd.d_errlog, e, NULL); in fmd_api_vxerror()
149 (void) pthread_rwlock_unlock(&fmd.d_log_lock); in fmd_api_vxerror()
154 fmd_dispq_dispatch(fmd.d_disp, e, class); in fmd_api_vxerror()
164 if (fmd.d_fg || (fmd.d_hdl_dbout & FMD_DBOUT_STDERR) || ( in fmd_api_vxerror()
165 raw_err == EFMD_HDL_ABORT && !fmd.d_running)) { in fmd_api_vxerror()
166 (void) pthread_mutex_lock(&fmd.d_err_lock); in fmd_api_vxerror()
168 fmd.d_pname, mp->mod_name, msg); in fmd_api_vxerror()
169 (void) pthread_mutex_unlock(&fmd.d_err_lock); in fmd_api_vxerror()
172 if (fmd.d_hdl_dbout & FMD_DBOUT_SYSLOG) { in fmd_api_vxerror()
174 fmd.d_pname, mp->mod_name, msg); in fmd_api_vxerror()
235 if ((tp = pthread_getspecific(fmd.d_key)) == NULL) { in fmd_api_module()
253 if (tp->thr_mod == fmd.d_rmod && tp->thr_func == &fmd_door_server) in fmd_api_module()
356 fmd_thread_t *tp = pthread_getspecific(fmd.d_key); in fmd_hdl_register()
474 fmd_conf_propagate(fmd.d_conf, mp->mod_conf, mp->mod_name); in fmd_hdl_register()
483 (void) fmd_conf_getprop(fmd.d_conf, "self.dict", &pap); in fmd_hdl_register()
523 fmd_dispq_insert(fmd.d_disp, mp->mod_queue, pap->cpa_argv[i]); in fmd_hdl_register()
619 fmd_dispq_delete(fmd.d_disp, mp->mod_queue, pap->cpa_argv[i]); in fmd_module_unregister()
661 fmd_dispq_insert(fmd.d_disp, mp->mod_queue, class); in fmd_hdl_subscribe()
677 fmd_dispq_delete(fmd.d_disp, mp->mod_queue, class); in fmd_hdl_unsubscribe()
889 if (!(fmd.d_hdl_debug)) { in fmd_hdl_vdebug()
908 if (fmd.d_hdl_dbout & FMD_DBOUT_STDERR) { in fmd_hdl_vdebug()
909 (void) pthread_mutex_lock(&fmd.d_err_lock); in fmd_hdl_vdebug()
911 fmd.d_pname, mp->mod_name, msg); in fmd_hdl_vdebug()
912 (void) pthread_mutex_unlock(&fmd.d_err_lock); in fmd_hdl_vdebug()
915 if (fmd.d_hdl_dbout & FMD_DBOUT_SYSLOG) { in fmd_hdl_vdebug()
917 fmd.d_pname, mp->mod_name, msg); in fmd_hdl_vdebug()
1076 (void) fmd_conf_getprop(fmd.d_conf, "uuidlen", &uuidlen); in fmd_case_open_uuid()
1088 if ((cp = fmd_case_hash_lookup(fmd.d_cases, uuidstr)) == NULL) { in fmd_case_open_uuid()
1155 fmd_case_t *cp = fmd_case_hash_lookup(fmd.d_cases, uuid); in fmd_case_uulookup()
1171 fmd_case_t *cp = fmd_case_hash_lookup(fmd.d_cases, uuid); in fmd_case_uuclose()
1185 fmd_case_t *cp = fmd_case_hash_lookup(fmd.d_cases, uuid); in fmd_case_uuclosed()
1202 fmd_case_t *cp = fmd_case_hash_lookup(fmd.d_cases, uuid); in fmd_case_uuresolved()
1224 fmd_case_t *cp = fmd_case_hash_lookup(fmd.d_cases, uuid); in fmd_case_uuisresolved()
1819 (void) pthread_kill(tid, fmd.d_thr_sig); in fmd_thr_signal()
1859 if ((old_tp = pthread_getspecific(fmd.d_key)) == NULL) in fmd_doorthr_create()
1916 if ((id = fmd_timerq_install(fmd.d_timers, mp->mod_timerids, in fmd_timer_install()
1948 if ((t = fmd_timerq_remove(fmd.d_timers, mp->mod_timerids, id)) != NULL) in fmd_timer_remove()
2006 auth = (const nvlist_t *)fmd.d_rmod->mod_fmri; in fmd_hdl_fmauth()
2203 fmd_asru_hash_t *ahp = fmd.d_asrus; in fmd_nvl_fmri_has_fault()
2386 fmd_asru_hash_apply_by_fru(fmd.d_asrus, (char *)fmri, in fmd_repair_fru()
2401 fmd_asru_hash_apply_by_asru(fmd.d_asrus, fmri, in fmd_repair_asru()
2492 (void) nvlist_xdup(nvl, &tmp, &fmd.d_nva); in fmd_xprt_post()
2573 (void) nvlist_xdup(nvl, &nvl, &fmd.d_nva); in fmd_xprt_xtranslate()