Searched refs:fmd_hdl_t (Results 1 - 25 of 138) sorted by relevance

123456

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_api.h56 typedef struct fmd_hdl fmd_hdl_t; typedef in typeref:struct:fmd_hdl
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_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 */
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/
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_
[all...]
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_
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_hc_sun4v.h42 extern nvlist_t *cmd_fault_add_location(fmd_hdl_t *, nvlist_t *, const char *);
43 extern nvlist_t *cmd_boardfru_create_fault(fmd_hdl_t *, nvlist_t *,
45 extern nvlist_t *init_mb(fmd_hdl_t *);
46 extern nvlist_t *cmd_find_dimm_by_sn(fmd_hdl_t *, char *, char *);
47 extern char *cmd_getfru_loc(fmd_hdl_t *, nvlist_t *);
50 extern nvlist_t *cmd_mkboard_fru(fmd_hdl_t *, char *, char *, char *);
H A Dcmd_branch.h103 extern cmd_branch_t *cmd_branch_lookup(fmd_hdl_t *, nvlist_t *);
104 extern cmd_branch_t *cmd_branch_create(fmd_hdl_t *, nvlist_t *);
105 extern cmd_branch_t *cmd_branch_lookup_by_unum(fmd_hdl_t *, const char *);
107 extern void cmd_branch_create_fault(fmd_hdl_t *, cmd_branch_t *,
109 extern void cmd_branch_add_dimm(fmd_hdl_t *, cmd_branch_t *, cmd_dimm_t *);
110 extern void cmd_branch_remove_dimm(fmd_hdl_t *, cmd_branch_t *, cmd_dimm_t *);
113 extern void *cmd_branch_restore(fmd_hdl_t *, fmd_case_t *, cmd_case_ptr_t *);
114 extern void cmd_branch_destroy(fmd_hdl_t *, cmd_branch_t *);
115 extern void cmd_branch_validate(fmd_hdl_t *);
116 extern void cmd_branch_gc(fmd_hdl_t *);
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf.h37 extern char *sw_smf_svcfmri2str(fmd_hdl_t *, nvlist_t *);
38 extern char *sw_smf_svcfmri2shortstr(fmd_hdl_t *, nvlist_t *);
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_mem.h80 extern gmem_evdisp_t gmem_ce(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
82 extern void gmem_dimm_close(fmd_hdl_t *, void *);
84 extern void gmem_mem_case_restore(fmd_hdl_t *, gmem_case_t *, fmd_case_t *,
86 extern char *gmem_mem_serdnm_create(fmd_hdl_t *, const char *, const char *);
87 extern char *gmem_page_serdnm_create(fmd_hdl_t *, const char *, uint64_t);
88 extern char *gmem_mq_serdnm_create(fmd_hdl_t *, const char *, uint64_t,
90 extern void gmem_page_serd_create(fmd_hdl_t *, gmem_page_t *, nvlist_t *);
92 extern int gmem_serd_record(fmd_hdl_t *, const char *, uint32_t, fmd_event_t *);
93 extern void gmem_mem_retirestat_create(fmd_hdl_t *, fmd_stat_t *, const char *,
96 extern void gmem_mem_gc(fmd_hdl_t *);
[all...]
H A Dgmem_fmri.h69 extern void gmem_fmri_init(fmd_hdl_t *, gmem_fmri_t *, nvlist_t *,
71 extern void gmem_fmri_fini(fmd_hdl_t *, gmem_fmri_t *, int);
73 extern void gmem_fmri_restore(fmd_hdl_t *, gmem_fmri_t *);
74 extern void gmem_fmri_write(fmd_hdl_t *, gmem_fmri_t *);
H A Dgmem_dimm.h142 extern gmem_dimm_t *gmem_dimm_lookup(fmd_hdl_t *, nvlist_t *);
143 extern gmem_dimm_t *gmem_dimm_create(fmd_hdl_t *, nvlist_t *, nvlist_t *);
145 extern int gmem_dimm_thresh_reached(fmd_hdl_t *, gmem_dimm_t *, uint64_t,
147 extern nvlist_t *gmem_find_dimm_fru(fmd_hdl_t *, char *);
148 extern nvlist_t *gmem_find_dimm_rsc(fmd_hdl_t *, char *);
149 extern nvlist_t *gmem_find_dimm_asru(fmd_hdl_t *, char *);
150 extern int gmem_dimm_present(fmd_hdl_t *, nvlist_t *asru);
151 extern void gmem_dimm_dirty(fmd_hdl_t *, gmem_dimm_t *);
152 extern void *gmem_dimm_restore(fmd_hdl_t *, fmd_case_t *, gmem_case_ptr_t *);
153 extern void gmem_dimm_destroy(fmd_hdl_t *, gmem_dimm_
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_dp_page.h46 extern void cmd_dp_page_defer(fmd_hdl_t *, nvlist_t *, fmd_event_t *,
48 extern void cmd_dp_page_replay(fmd_hdl_t *);
49 extern void cmd_dp_page_restore(fmd_hdl_t *, cmd_page_t *);
50 extern void cmd_dp_page_validate(fmd_hdl_t *);
51 extern int cmd_dp_page_isdeferred(fmd_hdl_t *, cmd_page_t *);
H A Dcmd_opl.h45 extern cmd_evdisp_t cmd_oplinv_urg(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
47 extern cmd_evdisp_t cmd_oplcre(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
49 extern cmd_evdisp_t cmd_opltsb_ctx(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
51 extern cmd_evdisp_t cmd_opltsbp(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
53 extern cmd_evdisp_t cmd_oplpstate(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
55 extern cmd_evdisp_t cmd_opltstate(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
57 extern cmd_evdisp_t cmd_opliug_f(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
59 extern cmd_evdisp_t cmd_opliug_r(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
61 extern cmd_evdisp_t cmd_oplsdc(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
63 extern cmd_evdisp_t cmd_oplwdt(fmd_hdl_t *, fmd_event_
[all...]
H A Dcmd_dp.h105 extern cmd_evdisp_t cmd_dp_cds(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
108 extern cmd_evdisp_t cmd_dp_dx(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
111 extern cmd_evdisp_t cmd_dp_ex(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
114 extern cmd_evdisp_t cmd_dp_cp(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
117 extern void cmd_dp_close(fmd_hdl_t *, void *);
118 extern void cmd_dp_timeout(fmd_hdl_t *, id_t);
119 extern cmd_dp_t *cmd_dp_lookup_fault(fmd_hdl_t *, uint32_t);
120 extern void *cmd_dp_restore(fmd_hdl_t *, fmd_case_t *, cmd_case_ptr_t *);
121 extern void cmd_dp_validate(fmd_hdl_t *);
122 extern void cmd_dp_destroy(fmd_hdl_t *, cmd_dp_
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_mem.h111 typedef cmd_evdisp_t cmd_xe_handler_f(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
117 extern cmd_evdisp_t cmd_ce(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
119 extern cmd_evdisp_t cmd_ue(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
121 extern cmd_evdisp_t cmd_ce_common(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
124 extern cmd_evdisp_t cmd_ue_common(fmd_hdl_t *, fmd_event_t *, nvlist_t *,
127 extern cmd_evdisp_t cmd_mem_synd_check(fmd_hdl_t *, uint64_t, uint8_t,
129 extern void cmd_dimm_close(fmd_hdl_t *, void *);
130 extern void cmd_bank_close(fmd_hdl_t *, void *);
132 extern void cmd_gen_datapath_fault(fmd_hdl_t *, cmd_dimm_t *, cmd_dimm_t *,
137 extern char *cmd_cpu_getfrustr_by_id(fmd_hdl_t *, uint32_
[all...]
H A Dcmd_fmri.h72 extern void cmd_fmri_init(fmd_hdl_t *, cmd_fmri_t *, nvlist_t *,
74 extern void cmd_fmri_fini(fmd_hdl_t *, cmd_fmri_t *, int);
76 extern void cmd_fmri_restore(fmd_hdl_t *, cmd_fmri_t *);
77 extern void cmd_fmri_write(fmd_hdl_t *, cmd_fmri_t *);
H A Dcmd_cpu.h180 extern const char *cmd_cpu_type2name(fmd_hdl_t *, cmd_cpu_type_t);
181 extern void cmd_cpu_uec_add(fmd_hdl_t *, cmd_cpu_t *, uint64_t);
183 extern void cmd_cpu_uec_clear(fmd_hdl_t *, cmd_cpu_t *);
184 extern void cmd_cpu_uec_set_allmatch(fmd_hdl_t *, cmd_cpu_t *);
229 extern void cmd_trw_restore(fmd_hdl_t *);
230 extern void cmd_trw_write(fmd_hdl_t *);
231 extern void cmd_trw_ref(fmd_hdl_t *, cmd_xxcu_trw_t *, cmd_errcl_t);
232 extern void cmd_trw_deref(fmd_hdl_t *, cmd_xxcu_trw_t *);
253 typedef void cmd_xr_hdlr_f(fmd_hdl_t *, cmd_xr_t *, fmd_event_t *);
293 extern cmd_xr_t *cmd_xr_create(fmd_hdl_t *, fmd_event_
[all...]
H A Dcmd_bank.h143 extern cmd_bank_t *cmd_bank_lookup(fmd_hdl_t *, nvlist_t *);
144 extern cmd_bank_t *cmd_bank_create(fmd_hdl_t *, nvlist_t *);
147 extern nvlist_t *cmd_bank_create_fault(fmd_hdl_t *, cmd_bank_t *, const char *,
150 extern void cmd_bank_add_dimm(fmd_hdl_t *, cmd_bank_t *, cmd_dimm_t *);
151 extern void cmd_bank_remove_dimm(fmd_hdl_t *, cmd_bank_t *, cmd_dimm_t *);
153 extern void cmd_bank_dirty(fmd_hdl_t *, cmd_bank_t *);
154 extern void *cmd_bank_restore(fmd_hdl_t *, fmd_case_t *, cmd_case_ptr_t *);
155 extern void cmd_bank_destroy(fmd_hdl_t *, cmd_bank_t *);
156 extern void cmd_bank_validate(fmd_hdl_t *);
157 extern void cmd_bank_gc(fmd_hdl_t *);
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm_xport_api.h81 etm_xport_init(fmd_hdl_t *hdl);
90 etm_xport_open(fmd_hdl_t *hdl, etm_xport_addr_t addr);
115 etm_xport_accept(fmd_hdl_t *hdl, etm_xport_addr_t *addrp);
124 etm_xport_close(fmd_hdl_t *hdl, etm_xport_conn_t conn);
141 etm_xport_get_ev_addrv(fmd_hdl_t *hdl, nvlist_t *ev);
149 etm_xport_free_addrv(fmd_hdl_t *hdl, etm_xport_addr_t *addrv);
162 etm_xport_get_addr_conn(fmd_hdl_t *hdl, etm_xport_conn_t *connv,
183 etm_xport_get_any_lcc(fmd_hdl_t *hdl, etm_xport_lcc_t *lccp);
192 etm_xport_fini(fmd_hdl_t *hdl);
206 etm_xport_read(fmd_hdl_t *hd
[all...]
H A Detm_filter.h55 void etm_filter_init(fmd_hdl_t *hdl);
56 void etm_filter_fini(fmd_hdl_t *hdl);
58 int etm_filter_find_ldom_id(fmd_hdl_t *hdl, nvlist_t *erpt, char *name,
60 int etm_filter_find_ldom_name(fmd_hdl_t *hdl, uint64_t did, char *name,
62 void etm_filter_handle_ldom_event(fmd_hdl_t *hdl, etm_async_event_type_t event,
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm_xport_api.h62 etm_xport_init(fmd_hdl_t *hdl, char *endpoint_id,
63 int (*cb_func)(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag,
74 etm_xport_cb_func(fmd_hdl_t *hdl, etm_xport_conn_t conn, etm_cb_flag_t flag,
82 etm_xport_fini(fmd_hdl_t *hdl, etm_xport_hdl_t tlhdl);
89 etm_xport_open(fmd_hdl_t *hdl, etm_xport_hdl_t tlhdl);
96 etm_xport_close(fmd_hdl_t *hdl, etm_xport_conn_t conn);
107 etm_xport_read(fmd_hdl_t *hdl, etm_xport_conn_t conn, hrtime_t timeout,
115 etm_xport_write(fmd_hdl_t *hdl, etm_xport_conn_t conn, hrtime_t timeout,
132 etm_xport_send_filter(fmd_hdl_t *hdl, nvlist_t *event, const char *dest);
140 etm_xport_post_filter(fmd_hdl_t *hd
[all...]
/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 *);
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddisk_monitor.h48 extern fmd_hdl_t *g_fm_hdl;
H A Dtopo_gather.h56 int update_configuration_from_topo(fmd_hdl_t *, diskmon_t *diskp);
59 diskmon_t *dm_fmri_to_diskmon(fmd_hdl_t *hdl, nvlist_t *fmri);
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/
H A Dpanic.h39 extern char *sw_panic_fmri2str(fmd_hdl_t *, nvlist_t *);
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfabric-xlate.h143 int (*fab_prep)(fmd_hdl_t *, fab_data_t *, nvlist_t *,
150 extern void fab_xlate_pcie_erpts(fmd_hdl_t *, fab_data_t *);
151 extern void fab_xlate_fabric_erpts(fmd_hdl_t *, nvlist_t *, const char *);
152 extern void fab_xlate_fire_erpts(fmd_hdl_t *, nvlist_t *, const char *);
153 extern void fab_xlate_epkt_erpts(fmd_hdl_t *, nvlist_t *, const char *);
156 extern int fab_prep_basic_erpt(fmd_hdl_t *, nvlist_t *, nvlist_t *, boolean_t);
157 extern void fab_send_tgt_erpt(fmd_hdl_t *, fab_data_t *, const char *,
159 extern void fab_send_erpt(fmd_hdl_t *hdl, fab_data_t *data, fab_err_tbl_t *tbl);
162 extern void fab_pr(fmd_hdl_t *, fmd_event_t *, nvlist_t *);
163 extern boolean_t fab_get_hcpath(fmd_hdl_t *, nvlist_
[all...]

Completed in 134 milliseconds

123456