Home
last modified time | relevance | path

Searched refs:d_rmod (Results 1 – 11 of 11) sorted by relevance

/titanic_50/usr/src/cmd/fm/fmd/common/
H A Dfmd.c510 dp->d_rmod = fmd_zalloc(sizeof (fmd_module_t), FMD_SLEEP); in fmd_create()
511 dp->d_rmod->mod_name = fmd_strdup(dp->d_pname, FMD_SLEEP); in fmd_create()
512 dp->d_rmod->mod_fmri = fmd_protocol_fmri_module(dp->d_rmod); in fmd_create()
514 fmd_list_append(&dp->d_mod_list, dp->d_rmod); in fmd_create()
515 fmd_module_hold(dp->d_rmod); in fmd_create()
517 (void) pthread_mutex_init(&dp->d_rmod->mod_lock, NULL); in fmd_create()
518 (void) pthread_cond_init(&dp->d_rmod->mod_cv, NULL); in fmd_create()
519 (void) pthread_mutex_init(&dp->d_rmod->mod_stats_lock, NULL); in fmd_create()
521 dp->d_rmod->mod_thread = fmd_thread_xcreate(dp->d_rmod, pthread_self()); in fmd_create()
522 dp->d_rmod->mod_stats = fmd_zalloc(sizeof (fmd_modstat_t), FMD_SLEEP); in fmd_create()
[all …]
H A Dfmd.h121 struct fmd_module *d_rmod; /* root module for fmd's main thread */ member
H A Dfmd_ctl.c91 (void) pthread_kill(fmd.d_rmod->mod_thread->thr_tid, SIGTERM); in fmd_ctl_addhrt()
H A Dfmd_rpc.c215 if (fmd_thread_create(fmd.d_rmod, (fmd_thread_f *)svc_run, 0) == NULL) in fmd_rpc_init()
H A Dfmd_timerq.c260 if ((tmq->tmq_thread = fmd_thread_create(fmd.d_rmod, in fmd_timerq_create()
H A Dfmd_case.c1380 if (mp == fmd.d_rmod) { in fmd_case_recreate()
1415 if (cip->ci_mod != fmd.d_rmod || xp != NULL) { in fmd_case_recreate()
1766 if (cip->ci_xprt == NULL && cip->ci_mod != fmd.d_rmod) in fmd_case_transition()
2227 cip->ci_mod = fmd.d_rmod; in fmd_case_delete()
2411 return (((fmd_case_impl_t *)cp)->ci_mod == fmd.d_rmod); in fmd_case_orphaned()
H A Dfmd_protocol.c102 } else if (mp == fmd.d_rmod) { in fmd_protocol_fmri_module()
H A Dfmd_asru.c495 fmd_module_lock(fmd.d_rmod); in fmd_asru_hash_recreate()
496 cp = fmd_case_recreate(fmd.d_rmod, NULL, faulty ? FMD_CASE_CLOSED : in fmd_asru_hash_recreate()
500 fmd_module_unlock(fmd.d_rmod); in fmd_asru_hash_recreate()
H A Dfmd_api.c253 if (tp->thr_mod == fmd.d_rmod && tp->thr_func == &fmd_door_server) in fmd_api_module()
2006 auth = (const nvlist_t *)fmd.d_rmod->mod_fmri; in fmd_hdl_fmauth()
H A Dfmd_module.c347 if (arg != NULL && mp != fmd.d_rmod) in fmd_module_untimeout()
H A Dfmd_xprt.c844 fmd_xprt_class_hash_create(&xip->xi_usub, fmd.d_rmod->mod_queue); in fmd_xprt_create()