Home
last modified time | relevance | path

Searched refs:mod_thread (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c282 mp->mod_thread = fmd_thread_create(mp, fmd_module_start, mp); in fmd_module_create()
284 if (mp->mod_thread == NULL) { in fmd_module_create()
363 ASSERT(mp->mod_thread != NULL); in fmd_module_unload()
380 fmd_thread_destroy(mp->mod_thread, FMD_THREAD_JOIN); in fmd_module_unload()
381 mp->mod_thread = NULL; in fmd_module_unload()
423 if (mp->mod_thread != NULL) { in fmd_module_destroy()
429 ASSERT(mp->mod_thread == NULL); in fmd_module_destroy()
897 if (tid != mp->mod_thread->thr_tid) { in fmd_module_abort()
H A Dfmd_ctl.c89 (void) pthread_kill(fmd.d_rmod->mod_thread->thr_tid, SIGTERM); in fmd_ctl_addhrt()
H A Dfmd_module.h129 struct fmd_thread *mod_thread; /* thread associated with module (ro) */ member
H A Dfmd.c521 dp->d_rmod->mod_thread = fmd_thread_xcreate(dp->d_rmod, pthread_self()); in fmd_create()
525 if (pthread_setspecific(dp->d_key, dp->d_rmod->mod_thread) != 0) in fmd_create()
H A Dfmd_api.c388 if (pthread_self() != mp->mod_thread->thr_tid) in fmd_hdl_register()
1813 if (tid != mp->mod_thread->thr_tid && in fmd_thr_signal()
1829 if (tid == mp->mod_thread->thr_tid || in fmd_thr_checkpoint()
2504 (pthread_self() == xip->xi_queue->eq_mod->mod_thread->thr_tid)) { in fmd_xprt_post()
2524 (pthread_self() == xip->xi_queue->eq_mod->mod_thread->thr_tid)) { in fmd_xprt_log()