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
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 *);
124 extern void _fmd_init(fmd_hdl_t *);
125 extern void _fmd_fini(fmd_hdl_t *);
128 extern void fmd_hdl_unregister(fmd_hdl_t *);
134 extern void *fmd_hdl_getspecific(fmd_hdl_t *);
148 extern void fmd_hdl_strfree(fmd_hdl_t *, char *);
[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()
647 fmd_hdl_unregister(fmd_hdl_t *hdl) in fmd_hdl_unregister()
694 fmd_hdl_getspecific(fmd_hdl_t *hdl) in fmd_hdl_getspecific()
732 fmd_hdl_topo_hold(fmd_hdl_t *hdl, int v) in fmd_hdl_topo_hold()
837 fmd_hdl_strfree(fmd_hdl_t *hdl, char *s) in fmd_hdl_strfree()
1824 fmd_thr_checkpoint(fmd_hdl_t *hdl) in fmd_thr_checkpoint()
2001 fmd_hdl_fmauth(fmd_hdl_t *hdl) in fmd_hdl_fmauth()
2014 fmd_hdl_modauth(fmd_hdl_t *hdl) in fmd_hdl_modauth()
2331 fmd_nvl_alloc(fmd_hdl_t *hdl, int flags) in fmd_nvl_alloc()
[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 *);
187 extern void fab_pr(fmd_hdl_t *, fmd_event_t *, nvlist_t *);
189 extern boolean_t fab_get_rcpath(fmd_hdl_t *, nvlist_t *, char *);
190 extern char *fab_find_rppath_by_df(fmd_hdl_t *, nvlist_t *, uint8_t);
192 extern char *fab_find_rppath_by_devpath(fmd_hdl_t *, const char *);
195 extern boolean_t fab_hc2dev(fmd_hdl_t *, const char *, char **);
196 extern boolean_t fab_hc2dev_nvl(fmd_hdl_t *, nvlist_t *, char **);
197 extern char *fab_get_rpdev(fmd_hdl_t *);
198 extern void fab_set_fake_rp(fmd_hdl_t *);
[all …]
H A Dfabric-xlate.c52 fab_update_topo(fmd_hdl_t *hdl) in fab_update_topo()
114 fab_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in fab_recv()
145 fab_topo(fmd_hdl_t *hdl, topo_hdl_t *topo) in fab_topo()
167 _fmd_init(fmd_hdl_t *hdl) in _fmd_init()
182 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini()
H A Dfx_subr.c44 fab_prep_basic_erpt(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *erpt, in fab_prep_basic_erpt()
234 fab_xpath_query(fmd_hdl_t *hdl, const char *query) in fab_xpath_query()
272 fab_hc2dev(fmd_hdl_t *hdl, const char *hc_path, char **dev_path) in fab_hc2dev()
356 fab_find_rppath_by_df(fmd_hdl_t *hdl, nvlist_t *nvl, uint8_t df) in fab_find_rppath_by_df()
512 fab_find_rppath_by_devpath(fmd_hdl_t *hdl, const char *devpath) in fab_find_rppath_by_devpath()
535 fab_get_rcpath(fmd_hdl_t *hdl, nvlist_t *nvl, char *rcpath) in fab_get_rcpath()
582 fab_find_bdf(fmd_hdl_t *hdl, nvlist_t *nvl, pcie_req_id_t bdf) in fab_find_bdf()
628 fab_find_addr(fmd_hdl_t *hdl, nvlist_t *nvl, uint64_t addr) in fab_find_addr()
734 fab_pr(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl) in fab_pr()
871 fab_get_rpdev(fmd_hdl_t *hdl) in fab_get_rpdev()
[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()
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()
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()
620 fab_send_pcix_bdg_ecc_erpt(fmd_hdl_t *hdl, fab_data_t *data) in fab_send_pcix_bdg_ecc_erpt()
720 fab_prep_pcie_rc_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, in fab_prep_pcie_rc_erpt()
826 fab_xlate_pcie_erpts(fmd_hdl_t *hdl, fab_data_t *data) in fab_xlate_pcie_erpts()
[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 *);
186 extern void sw_timer_remove(fmd_hdl_t *, id_t, id_t);
244 extern fmd_case_t *swde_case_first(fmd_hdl_t *, id_t);
245 extern fmd_case_t *swde_case_next(fmd_hdl_t *, fmd_case_t *);
246 extern void *swde_case_data(fmd_hdl_t *, fmd_case_t *, uint32_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 *,
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 *);
130 extern int cma_fmri_page_unretire(fmd_hdl_t *, nvlist_t *);
135 extern void cma_cpu_fini(fmd_hdl_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()
H A Dcma_page_arch.c33 cma_fmri_page_service_state(fmd_hdl_t *hdl, nvlist_t *nvl) in cma_fmri_page_service_state()
55 cma_fmri_page_retire(fmd_hdl_t *hdl, nvlist_t *nvl) in cma_fmri_page_retire()
71 cma_fmri_page_unretire(fmd_hdl_t *hdl, nvlist_t *nvl) in cma_fmri_page_unretire()
/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.c127 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()
341 swde_case_verify(fmd_hdl_t *hdl, fmd_case_t *cp) in swde_case_verify()
354 swde_case_init(fmd_hdl_t *hdl) in swde_case_init()
[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/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