Home
last modified time | relevance | path

Searched refs:fmd_hdl_t (Results 1 – 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_api.h56 typedef struct fmd_hdl fmd_hdl_t; typedef
104 void (*fmdo_recv)(fmd_hdl_t *, fmd_event_t *, nvlist_t *, const char *);
105 void (*fmdo_timeout)(fmd_hdl_t *, id_t, void *);
106 void (*fmdo_close)(fmd_hdl_t *, fmd_case_t *);
107 void (*fmdo_stats)(fmd_hdl_t *);
108 void (*fmdo_gc)(fmd_hdl_t *);
109 int (*fmdo_send)(fmd_hdl_t *, fmd_xprt_t *, fmd_event_t *, nvlist_t *);
110 void (*fmdo_topo)(fmd_hdl_t *, struct topo_hdl *);
124 extern void _fmd_init(fmd_hdl_t *);
125 extern void _fmd_fini(fmd_hdl_t *);
[all …]
H A Dfmd_api.c223 fmd_api_module(fmd_hdl_t *hdl) in fmd_api_module()
277 fmd_api_module_lock(fmd_hdl_t *hdl) in fmd_api_module_lock()
317 fmd_api_transport_impl(fmd_hdl_t *hdl, fmd_xprt_t *xp) in fmd_api_transport_impl()
354 fmd_hdl_register(fmd_hdl_t *hdl, int version, const fmd_hdl_info_t *mip) in fmd_hdl_register()
647 fmd_hdl_unregister(fmd_hdl_t *hdl) in fmd_hdl_unregister()
655 fmd_hdl_subscribe(fmd_hdl_t *hdl, const char *class) in fmd_hdl_subscribe()
670 fmd_hdl_unsubscribe(fmd_hdl_t *hdl, const char *class) in fmd_hdl_unsubscribe()
685 fmd_hdl_setspecific(fmd_hdl_t *hdl, void *spec) in fmd_hdl_setspecific()
694 fmd_hdl_getspecific(fmd_hdl_t *hdl) in fmd_hdl_getspecific()
704 fmd_hdl_opendict(fmd_hdl_t *hdl, const char *dict) in fmd_hdl_opendict()
[all …]
H A Dfmd_builtin.h47 void (*bltin_init)(fmd_hdl_t *);
48 void (*bltin_fini)(fmd_hdl_t *);
60 extern void self_init(fmd_hdl_t *); /* see fmd_self.c */
61 extern void self_fini(fmd_hdl_t *); /* see fmd_self.c */
63 extern void sysev_init(fmd_hdl_t *); /* see fmd_transport.c */
64 extern void sysev_fini(fmd_hdl_t *); /* see fmd_transport.c */
H A Dfmd_self.c49 self_case_create(fmd_hdl_t *hdl, int kind, const char *name) in self_case_create()
60 self_case_destroy(fmd_hdl_t *hdl, self_case_t *scp) in self_case_destroy()
67 self_case_lookup(fmd_hdl_t *hdl, int kind, const char *name) in self_case_lookup()
82 self_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in self_recv()
175 self_close(fmd_hdl_t *hdl, fmd_case_t *cp) in self_close()
189 self_init(fmd_hdl_t *hdl) in self_init()
217 self_fini(fmd_hdl_t *hdl) in self_fini()
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfabric-xlate.h168 int (*fab_prep)(fmd_hdl_t *, fab_data_t *, nvlist_t *,
175 extern void fab_xlate_pcie_erpts(fmd_hdl_t *, fab_data_t *);
176 extern void fab_xlate_fabric_erpts(fmd_hdl_t *, nvlist_t *, const char *);
177 extern void fab_xlate_fire_erpts(fmd_hdl_t *, nvlist_t *, const char *);
178 extern void fab_xlate_epkt_erpts(fmd_hdl_t *, nvlist_t *, const char *);
181 extern int fab_prep_basic_erpt(fmd_hdl_t *, nvlist_t *, nvlist_t *, boolean_t);
182 extern void fab_send_tgt_erpt(fmd_hdl_t *, fab_data_t *, const char *,
184 extern void fab_send_erpt(fmd_hdl_t *hdl, fab_data_t *data, fab_err_tbl_t *tbl);
187 extern void fab_pr(fmd_hdl_t *, fmd_event_t *, nvlist_t *);
188 extern boolean_t fab_get_hcpath(fmd_hdl_t *, nvlist_t *, char **, size_t *);
[all …]
H A Dfabric-xlate.c52 fab_update_topo(fmd_hdl_t *hdl) in fab_update_topo()
115 fab_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in fab_recv()
146 fab_topo(fmd_hdl_t *hdl, topo_hdl_t *topo) in fab_topo()
168 _fmd_init(fmd_hdl_t *hdl) in _fmd_init()
183 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini()
H A Dfx_subr.c45 fab_prep_basic_erpt(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *erpt, in fab_prep_basic_erpt()
92 fab_send_tgt_erpt(fmd_hdl_t *hdl, fab_data_t *data, const char *class, in fab_send_tgt_erpt()
185 fab_send_erpt(fmd_hdl_t *hdl, fab_data_t *data, fab_err_tbl_t *tbl) in fab_send_erpt()
235 fab_xpath_query(fmd_hdl_t *hdl, const char *query) in fab_xpath_query()
276 fab_hc2dev(fmd_hdl_t *hdl, const char *hc_path, char **dev_path) in fab_hc2dev()
295 fab_hc_path(fmd_hdl_t *hdl, nvlist_t *detector, char **hcpath, size_t *lenp) in fab_hc_path()
330 fab_hc2dev_nvl(fmd_hdl_t *hdl, nvlist_t *detector, char **dev_path) in fab_hc2dev_nvl()
346 fab_get_hcpath(fmd_hdl_t *hdl, nvlist_t *nvl, char **hcpath, size_t *len) in fab_get_hcpath()
360 fab_find_rppath_by_df(fmd_hdl_t *hdl, nvlist_t *nvl, uint8_t df) in fab_find_rppath_by_df()
400 fab_find_rppath_by_devbdf(fmd_hdl_t *hd in fab_find_rppath_by_devbdf()
[all...]
H A Dfx_fabric.c186 fab_pci_fabric_to_data(fmd_hdl_t *hdl, nvlist_t *nvl, fab_data_t *data) in fab_pci_fabric_to_data()
298 fab_prep_pci_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, in fab_prep_pci_erpt()
316 fab_prep_pci_bdg_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, in fab_prep_pci_bdg_erpt()
335 fab_prep_pci_bdg_ctl_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, in fab_prep_pci_bdg_ctl_erpt()
355 fab_prep_pcie_ce_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, in fab_prep_pcie_ce_erpt()
374 fab_prep_pcie_ue_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, in fab_prep_pcie_ue_erpt()
446 fab_prep_pcie_sue_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, in fab_prep_pcie_sue_erpt()
483 fab_prep_pcix_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, in fab_prep_pcix_erpt()
507 fab_send_pcix_ecc_erpt(fmd_hdl_t *hdl, fab_data_t *data) in fab_send_pcix_ecc_erpt()
582 fab_prep_pcix_bdg_sec_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, in fab_prep_pcix_bdg_sec_erpt()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/
H A Dsw.h75 typedef void sw_dispfunc_t(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
159 typedef void swsub_case_close_func_t(fmd_hdl_t *, fmd_case_t *);
160 typedef int sw_case_vrfy_func_t(fmd_hdl_t *, fmd_case_t *);
165 int (*swsub_init)(fmd_hdl_t *, id_t, const struct sw_disp **, int *);
166 void (*swsub_fini)(fmd_hdl_t *);
167 void (*swsub_timeout)(fmd_hdl_t *, id_t, void *);
184 extern id_t sw_timer_install(fmd_hdl_t *, id_t, void *, fmd_event_t *,
186 extern void sw_timer_remove(fmd_hdl_t *, id_t, id_t);
242 extern fmd_case_t *swde_case_open(fmd_hdl_t *, id_t, char *, uint32_t,
244 extern fmd_case_t *swde_case_first(fmd_hdl_t *, id_t);
[all …]
H A Dsw_impl.h55 extern swsub_case_close_func_t *sw_sub_case_close_func(fmd_hdl_t *,
57 extern sw_case_vrfy_func_t *sw_sub_case_vrfy_func(fmd_hdl_t *,
63 extern void swde_close(fmd_hdl_t *, fmd_case_t *);
91 extern int sw_fmd_init(fmd_hdl_t *, const fmd_hdl_info_t *,
93 extern void sw_fmd_fini(fmd_hdl_t *);
94 extern void sw_recv(fmd_hdl_t *, fmd_event_t *, nvlist_t *, const char *);
95 extern void sw_timeout(fmd_hdl_t *, id_t, void *);
96 extern void swde_case_init(fmd_hdl_t *);
97 extern void swde_case_fini(fmd_hdl_t *);
99 enum sw_casetype sw_id_to_casetype(fmd_hdl_t *, id_t);
H A Dsw_main_cmn.c71 sw_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in sw_recv()
116 sw_timer_install(fmd_hdl_t *hdl, id_t who, void *arg, fmd_event_t *ep, in sw_timer_install()
181 sw_timer_remove(fmd_hdl_t *hdl, id_t who, id_t timerid) in sw_timer_remove()
208 sw_timeout(fmd_hdl_t *hdl, id_t timerid, void *arg) in sw_timeout()
238 sw_id_to_casetype(fmd_hdl_t *hdl, id_t who) in sw_id_to_casetype()
264 sw_subinfo_bycase(fmd_hdl_t *hdl, enum sw_casetype type) in sw_subinfo_bycase()
287 sw_sub_case_close_func(fmd_hdl_t *hdl, enum sw_casetype type) in sw_sub_case_close_func()
302 sw_sub_case_vrfy_func(fmd_hdl_t *hdl, enum sw_casetype type) in sw_sub_case_vrfy_func()
321 sw_add_callbacks(fmd_hdl_t *hdl, const char *who, in sw_add_callbacks()
347 sw_fmd_init(fmd_hdl_t *hdl, const fmd_hdl_info_t *hdlinfo, in sw_fmd_init()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma.h110 extern int cma_cpu_cpu_retire(fmd_hdl_t *, nvlist_t *, nvlist_t *,
112 extern int cma_cpu_hc_retire(fmd_hdl_t *, nvlist_t *, nvlist_t *,
114 extern int cma_page_retire(fmd_hdl_t *, nvlist_t *, nvlist_t *,
116 extern void cma_page_retry(fmd_hdl_t *);
117 extern void cma_page_fini(fmd_hdl_t *);
120 extern int cma_cache_way_retire(fmd_hdl_t *, nvlist_t *, nvlist_t *,
125 extern int cma_cpu_blacklist(fmd_hdl_t *, nvlist_t *, nvlist_t *, boolean_t);
126 extern int cma_cpu_statechange(fmd_hdl_t *, nvlist_t *, const char *, int,
128 extern int cma_fmri_page_service_state(fmd_hdl_t *, nvlist_t *);
129 extern int cma_fmri_page_retire(fmd_hdl_t *, nvlist_t *);
[all …]
H A Dcma_cpu.c41 static int cpu_statechange(fmd_hdl_t *, nvlist_t *, nvlist_t *, const char *,
87 cma_cpu_hc_retire(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, in cma_cpu_hc_retire()
163 cma_cpu_hc_retire(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, in cma_cpu_hc_retire()
217 cpu_online(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, in cpu_online()
247 cpu_offline(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, in cpu_offline()
281 cpu_statechange(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid, in cpu_statechange()
315 cma_cpu_cpu_retire(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, in cma_cpu_cpu_retire()
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm_xport_api.h60 etm_xport_init(fmd_hdl_t *hdl, char *endpoint_id,
61 int (*cb_func)(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag,
72 etm_xport_cb_func(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag,
80 etm_xport_fini(fmd_hdl_t *hdl, etm_xport_hdl_t tlhdl);
87 etm_xport_open(fmd_hdl_t *hdl, etm_xport_hdl_t tlhdl);
94 etm_xport_close(fmd_hdl_t *hdl, etm_xport_conn_t conn);
105 etm_xport_read(fmd_hdl_t *hdl, etm_xport_conn_t conn, hrtime_t timeout,
113 etm_xport_write(fmd_hdl_t *hdl, etm_xport_conn_t conn, hrtime_t timeout,
130 etm_xport_send_filter(fmd_hdl_t *hdl, nvlist_t *event, const char *dest);
138 etm_xport_post_filter(fmd_hdl_t *hdl, nvlist_t *event, const char *src);
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt.h44 extern fmd_hdl_t *fmevt_hdl;
47 extern void fmevt_init_outbound(fmd_hdl_t *);
48 extern void fmevt_fini_outbound(fmd_hdl_t *);
50 extern void fmevt_init_inbound(fmd_hdl_t *);
51 extern void fmevt_fini_inbound(fmd_hdl_t *);
53 extern void fmevt_recv(fmd_hdl_t *, fmd_event_t *, nvlist_t *, const char *);
H A Dfmevt_main.c57 fmd_hdl_t *fmevt_hdl;
60 _fmd_init(fmd_hdl_t *hdl) in _fmd_init()
77 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.h93 void fme_receive_external_report(fmd_hdl_t *hdl, fmd_event_t *ffep,
96 void fme_receive_repair_list(fmd_hdl_t *hdl, fmd_event_t *ffep,
98 void fme_restart(fmd_hdl_t *hdl, fmd_case_t *inprogress);
99 void fme_istat_load(fmd_hdl_t *hdl);
100 void fme_serd_load(fmd_hdl_t *hdl);
101 void fme_close_case(fmd_hdl_t *hdl, fmd_case_t *fmcase);
118 fmd_hdl_t *hdl;
H A Deft.c55 fmd_hdl_t *Hdl; /* handle in global for platform.c */
77 void (*hdlr)(fmd_hdl_t *, fmd_event_t *, nvlist_t *, const char *);
86 eft_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in eft_recv()
107 eft_timeout(fmd_hdl_t *hdl, id_t tid, void *arg) in eft_timeout()
119 eft_close(fmd_hdl_t *hdl, fmd_case_t *fmcase) in eft_close()
147 eft_topo_change(fmd_hdl_t *hdl, topo_hdl_t *thp) in eft_topo_change()
256 _fmd_init(fmd_hdl_t *hdl) in _fmd_init()
351 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini()
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/software-diagnosis/
H A Dswde_case.c118 swde_case_associate(fmd_hdl_t *hdl, fmd_case_t *cp, swde_case_t *scp, in swde_case_associate()
127 swde_case_unserialize(fmd_hdl_t *hdl, fmd_case_t *cp) in swde_case_unserialize()
159 swde_subdata(fmd_hdl_t *hdl, fmd_case_t *cp, enum sw_casetype type, in swde_subdata()
178 swde_case_open(fmd_hdl_t *hdl, id_t who, char *req_uuid, in swde_case_open()
224 swde_close(fmd_hdl_t *hdl, fmd_case_t *cp) in swde_close()
249 swde_case_first(fmd_hdl_t *hdl, id_t who) in swde_case_first()
268 swde_case_next(fmd_hdl_t *hdl, fmd_case_t *lastcp) in swde_case_next()
291 swde_case_data(fmd_hdl_t *hdl, fmd_case_t *cp, uint32_t *svp) in swde_case_data()
303 swde_case_data_write(fmd_hdl_t *hdl, fmd_case_t *cp) in swde_case_data_write()
316 swde_case_data_upgrade(fmd_hdl_t *hdl, fmd_case_t *cp, uint32_t subdata_vers, in swde_case_data_upgrade()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-lights/
H A Ddisk_lights.c50 fmd_hdl_t *dl_fmd;
57 static void disklights_topo(fmd_hdl_t *, topo_hdl_t *);
58 static void disklights_recv(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
60 static void disklights_timeout(fmd_hdl_t *, id_t, void *);
264 disklights_timeout(fmd_hdl_t *hdl, id_t id, void *data) in disklights_timeout()
280 disklights_topo(fmd_hdl_t *hdl, topo_hdl_t *thp) in disklights_topo()
289 disklights_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, in disklights_recv()
298 _fmd_init(fmd_hdl_t *hdl) in _fmd_init()
323 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini()
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_response.c97 uuid_cache_grow(fmd_hdl_t *hdl) in uuid_cache_grow()
126 uuid_cache_persist(fmd_hdl_t *hdl) in uuid_cache_persist()
142 uuid_cache_gc(fmd_hdl_t *hdl) in uuid_cache_gc()
189 uuid_cache_restore(fmd_hdl_t *hdl) in uuid_cache_restore()
211 swrp_smf_cache_add(fmd_hdl_t *hdl, char *uuid, char *fmristr) in swrp_smf_cache_add()
272 swrp_smf_cache_mark(fmd_hdl_t *hdl, char *uuid, char *fmristr) in swrp_smf_cache_mark()
311 suspect_is_maint_defect(fmd_hdl_t *hdl, nvlist_t *nvl, in suspect_is_maint_defect()
344 swrp_smf_cacheuuid(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, in swrp_smf_cacheuuid()
374 swrp_smf2fmd(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, in swrp_smf2fmd()
424 swrp_fmd2smf(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, in swrp_fmd2smf()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddisk_monitor.c76 fmd_hdl_t *g_fm_hdl = NULL;
145 dm_fault_execute_actions(fmd_hdl_t *hdl, diskmon_t *diskp, nvlist_t *nvl) in dm_fault_execute_actions()
180 diskmon_agent_repair(fmd_hdl_t *hdl, nvlist_t *nvl, int repair) in diskmon_agent_repair()
221 diskmon_agent_suspect(fmd_hdl_t *hdl, nvlist_t *nvl) in diskmon_agent_suspect()
264 diskmon_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in diskmon_recv()
341 _fmd_init(fmd_hdl_t *hdl) in _fmd_init()
398 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini()
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c43 parse_exception_string(fmd_hdl_t *hdl, char *estr) in parse_exception_string()
90 fault_exception(fmd_hdl_t *hdl, nvlist_t *fault) in fault_exception()
106 free_exception_list(fmd_hdl_t *hdl) in free_exception_list()
121 rio_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in rio_recv()
323 _fmd_init(fmd_hdl_t *hdl) in _fmd_init()
345 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini()
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/
H A Dpanic_diag.c172 panic_sw_fmri(fmd_hdl_t *hdl, char *object) in panic_sw_fmri()
196 swde_panic_solve(fmd_hdl_t *hdl, fmd_case_t *cp, in swde_panic_solve()
315 swde_panic_timeout(fmd_hdl_t *hdl, id_t timerid, void *data) in swde_panic_timeout()
358 swde_panic_vrfy(fmd_hdl_t *hdl, fmd_case_t *cp) in swde_panic_vrfy()
400 swde_panic_detected(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, in swde_panic_detected()
496 swde_panic_savecore_done(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, in swde_panic_savecore_done()
554 swde_panic_init(fmd_hdl_t *hdl, id_t id, const struct sw_disp **dpp, in swde_panic_init()
576 swde_panic_fini(fmd_hdl_t *hdl) in swde_panic_fini()
/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/
H A Dfdd_msg.c140 get_cap_conf(fmd_hdl_t *hdl) in get_cap_conf()
180 send_fma_cap_to_ilom(fmd_hdl_t *hdl, uint32_t fma_cap) in send_fma_cap_to_ilom()
231 fma_cap_init(fmd_hdl_t *hdl, id_t id, void *data) in fma_cap_init()
266 _fmd_init(fmd_hdl_t *hdl) in _fmd_init()
290 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini()

123