/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_module.h | 141 } fmd_module_t; typedef 155 fmd_module_t *mt_mod; /* module that installed this timer */ 169 extern fmd_module_t *fmd_module_create(const char *, const fmd_modops_t *); 170 extern void fmd_module_unload(fmd_module_t *); 171 extern void fmd_module_destroy(fmd_module_t *); 173 extern void fmd_module_dispatch(fmd_module_t *, fmd_event_t *); 174 extern int fmd_module_transport(fmd_module_t *, fmd_xprt_t *, fmd_event_t *); 176 extern void fmd_module_gc(fmd_module_t *); 177 extern void fmd_module_trygc(fmd_module_t *); 179 extern int fmd_module_contains(fmd_module_t *, fmd_event_t *); [all …]
|
H A D | fmd_api.c | 80 static void fmd_api_verror(fmd_module_t *, int, const char *, va_list) 82 static void fmd_api_error(fmd_module_t *, int, const char *, ...) __NORETURN; 92 fmd_api_vxerror(fmd_module_t *mp, int err, const char *format, va_list ap) in fmd_api_vxerror() 182 fmd_api_xerror(fmd_module_t *mp, int err, const char *format, ...) in fmd_api_xerror() 198 fmd_api_verror(fmd_module_t *mp, int err, const char *format, va_list ap) in fmd_api_verror() 209 fmd_api_error(fmd_module_t *mp, int err, const char *format, ...) in fmd_api_error() 222 static fmd_module_t * 226 fmd_module_t *mp; in fmd_api_module() 254 tp->thr_mod = (fmd_module_t *)hdl; in fmd_api_module() 256 if ((mp = tp->thr_mod) != (fmd_module_t *)hdl) { in fmd_api_module() [all …]
|
H A D | fmd_module.c | 100 fmd_module_t *mp = arg; in fmd_module_start() 174 fmd_module_t * 177 fmd_module_t *mp = fmd_zalloc(sizeof (fmd_module_t), FMD_SLEEP); in fmd_module_create() 338 fmd_module_untimeout(fmd_idspace_t *ids, id_t id, fmd_module_t *mp) in fmd_module_untimeout() 352 fmd_module_unload(fmd_module_t *mp) in fmd_module_unload() 416 fmd_module_destroy(fmd_module_t *mp) in fmd_module_destroy() 487 fmd_free(mp, sizeof (fmd_module_t)); in fmd_module_destroy() 497 fmd_module_error(fmd_module_t *mp, int err) in fmd_module_error() 528 fmd_module_dispatch(fmd_module_t *mp, fmd_event_t *e) in fmd_module_dispatch() 609 fmd_module_transport(fmd_module_t *mp, fmd_xprt_t *xp, fmd_event_t *e) in fmd_module_transport() [all …]
|
H A D | fmd_thread.c | 35 fmd_thread_xcreate(fmd_module_t *mp, pthread_t tid) in fmd_thread_xcreate() 73 fmd_thread_create_cmn(fmd_module_t *mp, fmd_thread_f *func, void *arg, in fmd_thread_create_cmn() 110 fmd_thread_create(fmd_module_t *mp, fmd_thread_f *func, void *arg) in fmd_thread_create() 116 fmd_doorthread_create(fmd_module_t *mp, fmd_thread_f *func, void *arg) in fmd_doorthread_create()
|
H A D | fmd_proc.c | 43 proc_init(fmd_module_t *mp) in proc_init() 50 proc_fini(fmd_module_t *mp) in proc_fini()
|
H A D | fmd_protocol.c | 86 fmd_protocol_fmri_module(fmd_module_t *mp) in fmd_protocol_fmri_module() 294 fmd_protocol_moderror(fmd_module_t *mp, int oserr, const char *msg) in fmd_protocol_moderror() 330 fmd_protocol_xprt_ctl(fmd_module_t *mp, const char *class, uint8_t version) in fmd_protocol_xprt_ctl() 349 fmd_protocol_xprt_sub(fmd_module_t *mp, in fmd_protocol_xprt_sub() 362 fmd_protocol_xprt_uuclose(fmd_module_t *mp, const char *class, uint8_t version, in fmd_protocol_xprt_uuclose() 375 fmd_protocol_xprt_uuresolved(fmd_module_t *mp, const char *class, in fmd_protocol_xprt_uuresolved() 388 fmd_protocol_xprt_updated(fmd_module_t *mp, const char *class, uint8_t version, in fmd_protocol_xprt_updated()
|
H A D | fmd_builtin.c | 42 bltin_init(fmd_module_t *mp) in bltin_init() 77 bltin_fini(fmd_module_t *mp) in bltin_fini()
|
H A D | fmd_rtld.c | 46 rtld_init(fmd_module_t *mp) in rtld_init() 90 rtld_fini(fmd_module_t *mp) in rtld_fini()
|
H A D | fmd_ckpt.c | 73 fmd_module_t *ckp_mp; /* checkpoint module */ 101 fmd_ckpt_create(fmd_ckpt_t *ckp, fmd_module_t *mp) in fmd_ckpt_create() 138 fmd_ckpt_open(fmd_ckpt_t *ckp, fmd_module_t *mp) in fmd_ckpt_open() 352 fmd_module_t *mp = ckp->ckp_mp; in fmd_ckpt_error() 696 fmd_ckpt_resv_module(fmd_ckpt_t *ckp, fmd_module_t *mp) in fmd_ckpt_resv_module() 721 fmd_ckpt_save_module(fmd_ckpt_t *ckp, fmd_module_t *mp) in fmd_ckpt_save_module() 764 fmd_ckpt_save(fmd_module_t *mp) in fmd_ckpt_save() 996 fmd_ckpt_restore_bufs(fmd_ckpt_t *ckp, fmd_module_t *mp, in fmd_ckpt_restore_bufs() 1031 fmd_ckpt_restore_case(fmd_ckpt_t *ckp, fmd_module_t *mp, const fcf_sec_t *sp) in fmd_ckpt_restore_case() 1084 fmd_ckpt_restore_serd(fmd_ckpt_t *ckp, fmd_module_t *mp, const fcf_sec_t *sp) in fmd_ckpt_restore_serd() [all …]
|
H A D | fmd_rpc_adm.c | 50 fmd_module_t *mp; in fmd_adm_modinfo_1_svc() 108 fmd_module_t *mp; in fmd_adm_modcstat_1_svc() 140 fmd_module_t *mp; in fmd_adm_moddstat_1_svc() 221 fmd_module_t *mp; in fmd_adm_modload_1_svc() 265 fmd_module_t *mp = NULL; in fmd_adm_modunload_1_svc() 287 fmd_module_t *mp = NULL; in fmd_adm_modreset_1_svc() 320 fmd_module_t *mp; in fmd_adm_modgc_1_svc() 575 fmd_module_t *mp; in fmd_adm_serdlist_1_svc() 647 fmd_module_t *mp; in fmd_adm_serdinfo_1_svc() 686 fmd_module_t *mp; in fmd_adm_serdreset_1_svc()
|
H A D | fmd_scheme.c | 61 fmd_module_t *mp; in fmd_scheme_fmd_present() 84 fmd_module_t *mp; in fmd_scheme_fmd_replaced() 107 fmd_module_t *mp; in fmd_scheme_fmd_service_state() 128 fmd_module_t *mp; in fmd_scheme_fmd_unusable()
|
H A D | fmd_self.c | 191 fmd_module_t *mp = (fmd_module_t *)hdl; /* see below */ in self_init()
|
H A D | fmd_mdb.c | 415 fmd_module_t *modp = (fmd_module_t *)data; in module_ustat() 455 fmd_module_t *modp = (fmd_module_t *)data; in module_stat() 740 fmd_module_t m; in mod_walk_step() 757 fmd_module_t mod; in fmd_module() 788 fmd_module_t mod; in case_walk_init() 959 fmd_module_t *modp = (fmd_module_t *)data; in module_serd() 962 modp = (fmd_module_t *)addr; in module_serd() 1442 fmd_module_t m; in xprt_walk_init() 1605 fmd_module_t m; in mq_walk_init()
|
H A D | fmd_xprt.h | 144 extern fmd_xprt_t *fmd_xprt_create(fmd_module_t *, uint_t, nvlist_t *, void *);
|
H A D | fmd.c | 510 dp->d_rmod = fmd_zalloc(sizeof (fmd_module_t), FMD_SLEEP); in fmd_create() 558 fmd_module_t *mp; in fmd_destroy() 575 fmd_module_t *self; in fmd_destroy() 746 fmd_module_t *mp; in fmd_err_replay()
|
H A D | fmd_xprt.c | 335 fmd_module_t *mp; in fmd_xprt_subscribe_modhash() 552 fmd_module_t *mp = arg; in fmd_xprt_send_case_ro() 759 fmd_xprt_create(fmd_module_t *mp, uint_t flags, nvlist_t *auth, void *data) in fmd_xprt_create() 926 fmd_module_t *mp = xip->xi_queue->eq_mod; in fmd_xprt_destroy() 1052 fmd_module_t *mp = xip->xi_queue->eq_mod; in fmd_xprt_send()
|
H A D | fmd_eventq.c | 35 fmd_eventq_create(fmd_module_t *mp, fmd_eventqstat_t *stats, in fmd_eventq_create()
|
H A D | fmd_case.c | 1249 fmd_case_create(fmd_module_t *mp, const char *uuidstr, void *data) in fmd_case_create() 1342 fmd_case_recreate(fmd_module_t *mp, fmd_xprt_t *xp, in fmd_case_recreate()
|