Home
last modified time | relevance | path

Searched refs:hdl (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/illumos-gate/usr/src/lib/libtnfctl/
H A Dopen.c70 hdl = calloc(1, sizeof (*hdl)); in tnfctl_exec_open()
118 free(hdl); in tnfctl_exec_open()
145 hdl = calloc(1, sizeof (*hdl)); in tnfctl_pid_open()
205 free(hdl); in tnfctl_pid_open()
222 hdl = calloc(1, sizeof (*hdl)); in tnfctl_indirect_open()
240 free(hdl); in tnfctl_indirect_open()
246 free(hdl); in tnfctl_indirect_open()
264 hdl = calloc(1, sizeof (*hdl)); in tnfctl_kernel_open()
279 &hdl->rollbackfunc, &hdl->endfunc); in tnfctl_kernel_open()
510 prbstat = hdl->p_read(hdl->proc_p, targ_symbol_ptr, in _tnfctl_external_getlock()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_main.c469 cmd_cpu_gc(hdl); in cmd_gc()
470 cmd_mem_gc(hdl); in cmd_gc()
611 cmd_cpu_fini(hdl); in _fmd_fini()
612 cmd_mem_fini(hdl); in _fmd_fini()
613 cmd_page_fini(hdl); in _fmd_fini()
615 cmd_dp_fini(hdl); in _fmd_fini()
819 _fmd_fini(hdl); in _fmd_init()
826 _fmd_fini(hdl); in _fmd_init()
870 _fmd_fini(hdl); in _fmd_init()
875 init_hdl = hdl; in _fmd_init()
[all …]
H A Dcmd_bank.c125 bank_dimmlist_free(hdl, bank); in bank_free()
191 cmd_bank_dirty(hdl, bank); in cmd_bank_create()
211 cmd_bank_destroy(hdl, bank); in cmd_bank_lookup()
234 fmd_hdl_free(hdl, old, oldsz); in bank_v0tov1()
250 fmd_hdl_free(hdl, pers, psz); in bank_wrapv1()
274 fmd_case_uuid(hdl, cp)); in cmd_bank_restore()
311 cmd_bank_dirty(hdl, bank); in cmd_bank_restore()
354 cmd_bank_destroy(hdl, bank); in cmd_bank_validate()
371 cmd_bank_gc(fmd_hdl_t *hdl) in cmd_bank_gc() argument
373 cmd_bank_validate(hdl); in cmd_bank_gc()
[all …]
H A Dcmd_dimm.c266 cmd_dimm_dirty(hdl, dimm); in cmd_dimm_create()
294 cmd_dimm_destroy(hdl, dimm); in cmd_dimm_lookup()
320 fmd_hdl_free(hdl, old, oldsz); in dimm_v0tov2()
345 fmd_hdl_free(hdl, old, oldsz); in dimm_v1tov2()
361 fmd_hdl_free(hdl, pers, psz); in dimm_wrapv2()
385 fmd_case_uuid(hdl, cp)); in cmd_dimm_restore()
388 fmd_hdl_abort(hdl, in cmd_dimm_restore()
427 cmd_dimm_dirty(hdl, dimm); in cmd_dimm_restore()
487 cmd_dimm_gc(fmd_hdl_t *hdl) in cmd_dimm_gc() argument
489 cmd_dimm_validate(hdl); in cmd_dimm_gc()
[all …]
H A Dcmd_page.c126 page_write(hdl, page); in cmd_page_create()
154 fmd_hdl_free(hdl, old, oldsz); in page_v0tov1()
170 fmd_hdl_free(hdl, pers, psz); in page_wrapv1()
192 if (fmd_case_solved(hdl, cp) || in cmd_page_restore()
193 fmd_case_closed(hdl, cp)) { in cmd_page_restore()
201 fmd_case_uuid(hdl, cp)); in cmd_page_restore()
239 cmd_page_dirty(hdl, page); in cmd_page_restore()
260 cmd_dp_page_restore(hdl, page); in cmd_page_restore()
274 cmd_page_validate(fmd_hdl_t *hdl) in cmd_page_validate() argument
287 cmd_page_destroy(hdl, page); in cmd_page_validate()
[all …]
H A Dcmd_state.c127 cp = fmd_case_open(hdl, cl); in cmd_case_create()
168 fmd_case_close(hdl, cp); in cmd_case_fini()
208 fmd_buf_read(hdl, cp, fmd_case_uuid(hdl, cp), &ptr, in cmd_state_restore()
228 cmd_trw_restore(hdl); in cmd_state_restore()
230 cmd_cpu_validate(hdl); in cmd_state_restore()
231 cmd_bank_validate(hdl); in cmd_state_restore()
232 cmd_dimm_validate(hdl); in cmd_state_restore()
238 cmd_dp_page_validate(hdl); in cmd_state_restore()
239 cmd_dp_validate(hdl); in cmd_state_restore()
241 cmd_page_validate(hdl); in cmd_state_restore()
[all …]
H A Dcmd_cpuerr.c84 fmd_hdl_debug(hdl, in cmd_cpuerr_common()
91 fmd_case_reset(hdl, cc->cc_cp); in cmd_cpuerr_common()
97 fmd_case_solve(hdl, cc->cc_cp); in cmd_cpuerr_common()
199 fmd_hdl_debug(hdl, \
339 fmd_case_solve(hdl, cc->cc_cp); in cmd_xxu_hdlr()
436 hdlr(hdl, xr, ep); in cmd_xxcu_resolve()
449 hdlr(hdl, xr, ep); in cmd_xxcu_resolve()
453 cmd_trw_deref(hdl, trw); in cmd_xxcu_resolve()
531 cmd_trw_ref(hdl, trw, clcode); in cmd_xxcu_initial()
540 cmd_trw_deref(hdl, trw); in cmd_xxcu_initial()
[all …]
H A Dcmd_memerr.c204 fmd_hdl_debug(hdl, in bad_reader_writer_check()
244 cmd_dimm_dirty(hdl, dimm); in ce_thresh_check()
250 fmd_case_solve(hdl, cp); in ce_thresh_check()
282 fmd_case_solve(hdl, cp); in mq_5b_check()
283 fmd_hdl_debug(hdl, in mq_5b_check()
597 if (cmd_dp_error(hdl) || cmd_dp_fault(hdl, afar)) { in cmd_ce_common()
645 mq_check(hdl, dimm); in cmd_ce_common()
646 mq_5b_check(hdl, dimm); in cmd_ce_common()
755 cmd_dimm_dirty(hdl, dimm); in cmd_ce_common()
798 fmd_case_solve(hdl, cp); in cmd_bank_fault()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_util.c686 free(hdl); in libzfs_init()
692 free(hdl); in libzfs_init()
699 free(hdl); in libzfs_init()
710 free(hdl); in libzfs_init()
730 free(hdl); in libzfs_init()
757 free(hdl); in libzfs_fini()
1193 if (hdl) in zfs_nicestrtonum()
1208 if (hdl) in zfs_nicestrtonum()
1227 if (hdl) in zfs_nicestrtonum()
1240 if (hdl) in zfs_nicestrtonum()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcmi_hw.c98 #define HDLOPS(hdl) ((hdl)->cmih_ops) argument
578 #define HDLPRIV(hdl) ((cpu_t *)(hdl)->cmih_hdlpriv) argument
978 xpv_model(hdl), xpv_stepping(hdl))); in xpv_chiprev()
987 xpv_model(hdl), xpv_stepping(hdl))); in xpv_chiprevstr()
996 xpv_model(hdl), xpv_stepping(hdl))); in xpv_getsockettype()
1005 xpv_model(hdl), xpv_stepping(hdl))); in xpv_getsocketstr()
1290 hdl = kmem_zalloc(sizeof (*hdl), KM_SLEEP); in cmi_hdl_create()
1330 kmem_free(hdl, sizeof (*hdl)); in cmi_hdl_create()
1473 kmem_free(hdl, sizeof (*hdl)); in cmi_hdl_destroy()
1801 cr4 = HDLOPS(hdl)->cmio_getcr4(hdl); in cmi_hdl_enable_mce()
[all …]
H A Dcmi.c114 #define HDL2CMI(hdl) cmi_hdl_getcmi(hdl) argument
377 cmi_hdl_chipid(hdl), cmi_hdl_coreid(hdl), in cmi_load_specific()
385 cmi_hdl_chipid(hdl), cmi_hdl_coreid(hdl), in cmi_load_specific()
443 cmi_hdl_t hdl; in cmi_init() local
474 cms_init(hdl); in cmi_init()
480 return (hdl); in cmi_init()
508 cmi_hdl_t hdl; in cmi_post_startup() local
532 cmi_hdl_t hdl; in cmi_post_mpstartup() local
831 cmi_hdl_t hdl; in cmi_mc_patounum() local
865 cmi_hdl_t hdl; in cmi_mc_unumtopa() local
[all …]
H A Dcms.c62 #define HDL2CMS(hdl) cms_hdl_getcms(hdl) argument
102 cms_hdl_getcms(cmi_hdl_t hdl) in cms_hdl_getcms() argument
326 s[1] = cmi_hdl_model(hdl); in cms_load_module()
379 cmi_hdl_chipid(hdl), cmi_hdl_coreid(hdl), in cms_load_specific()
387 cmi_hdl_chipid(hdl), cmi_hdl_coreid(hdl), in cms_load_specific()
404 cms_init(cmi_hdl_t hdl) in cms_init() argument
429 cms_fini(cmi_hdl_t hdl) in cms_fini() argument
431 cms_t *cms = HDL2CMS(hdl); in cms_fini()
448 cms_present(cmi_hdl_t hdl) in cms_present() argument
456 cms_t *cms = HDL2CMS(hdl); in cms_post_startup()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/software-diagnosis/
H A Dswde_case.c123 fmd_case_setspecific(hdl, cp, scp); in swde_case_associate()
231 closefunc(hdl, cp); in swde_close()
258 for (cp = fmd_case_next(hdl, NULL); cp; cp = fmd_case_next(hdl, cp)) { in swde_case_first()
259 scp = fmd_case_getspecific(hdl, cp); in swde_case_first()
348 if (vrfy_func(hdl, cp) == 0) in swde_case_verify()
349 fmd_case_close(hdl, cp); in swde_case_verify()
354 swde_case_init(fmd_hdl_t *hdl) in swde_case_init() argument
358 for (cp = fmd_case_next(hdl, NULL); cp; cp = fmd_case_next(hdl, cp)) { in swde_case_init()
359 swde_case_unserialize(hdl, cp); in swde_case_init()
360 swde_case_verify(hdl, cp); in swde_case_init()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_page.c58 fmd_hdl_strfree(hdl, cc->cc_serdnm); in gmem_page_free()
142 page_write(hdl, page); in gmem_page_create()
167 fmd_hdl_free(hdl, pers, psz); in page_wrapv0()
188 if (fmd_case_solved(hdl, cp) || in gmem_page_restore()
189 fmd_case_closed(hdl, cp)) { in gmem_page_restore()
197 fmd_case_uuid(hdl, cp)); in gmem_page_restore()
282 gmem_page_validate(fmd_hdl_t *hdl) in gmem_page_validate() argument
289 if (gmem_page_unusable(hdl, page)) in gmem_page_validate()
290 gmem_page_destroy(hdl, page); in gmem_page_validate()
307 gmem_page_fini(fmd_hdl_t *hdl) in gmem_page_fini() argument
[all …]
H A Dgmem_dimm.c175 gmem_dimm_dirty(hdl, dimm); in gmem_dimm_create()
217 fmd_hdl_free(hdl, old, oldsz); in gmem_dimm_v0tov1()
233 fmd_hdl_free(hdl, pers, psz); in gmem_dimm_wrapv1()
257 fmd_case_uuid(hdl, cp)); in gmem_dimm_restore()
296 gmem_dimm_dirty(hdl, dimm); in gmem_dimm_restore()
303 fmd_hdl_abort(hdl, in gmem_dimm_restore()
353 gmem_dimm_gc(fmd_hdl_t *hdl) in gmem_dimm_gc() argument
355 gmem_dimm_validate(hdl); in gmem_dimm_gc()
359 gmem_dimm_fini(fmd_hdl_t *hdl) in gmem_dimm_fini() argument
433 fmd_hdl_topo_rele(hdl, thp); in gmem_find_dimm_by_sn()
[all …]
H A Dgmem_state.c58 cp = fmd_case_open(hdl, cl); in gmem_case_create()
64 *uuidp = fmd_case_uuid(hdl, cp); in gmem_case_create()
92 if (fmd_serd_exists(hdl, uuid)) in gmem_case_fini()
93 fmd_serd_destroy(hdl, uuid); in gmem_case_fini()
96 fmd_buf_destroy(hdl, cp, uuid); in gmem_case_fini()
99 fmd_case_close(hdl, cp); in gmem_case_fini()
114 gmem_state_restore(fmd_hdl_t *hdl) in gmem_state_restore() argument
130 fmd_buf_read(hdl, cp, fmd_case_uuid(hdl, cp), &ptr, in gmem_state_restore()
150 gmem_dimm_validate(hdl); in gmem_state_restore()
151 gmem_page_validate(hdl); in gmem_state_restore()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c96 #define FREE_BUF(hdl, buf, size) fmd_hdl_free((hdl), (buf), (size)); argument
685 etm_reinit(hdl, mp); in etm_recv()
743 etm_reinit(hdl, mp); in etm_recv()
881 etm_reinit(hdl, mp); in etm_cb_func()
1341 hdl, mp, NULL, 0); in etm_send()
1416 etm_reconnect(hdl, mp); in etm_timeout()
1452 _fmd_init(fmd_hdl_t *hdl) in _fmd_init() argument
1479 fmd_hdl_unregister(hdl); in _fmd_init()
1488 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini() argument
1500 etm_free_epmap(hdl, mp); in _fmd_fini()
[all …]
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_patounum.c63 if (!mcamd_get_numprops(hdl, in iaddr_gen()
158 if (!mcamd_get_numprops(hdl, in cs_match()
192 if (!mcamd_get_numprops(hdl, in cs_sparedto()
246 !mcamd_get_numprops(hdl, in unum_fill()
361 if (!mcamd_get_numprops(hdl, in mc_whichdimm()
465 if (!mcamd_get_numprops(hdl, in mc_bkdg_patounum()
518 return (mcamd_set_errno(hdl, in mc_bkdg_patounum()
539 if (!mcamd_get_cfgregs(hdl, in mc_bkdg_patounum()
543 !mcamd_get_numprops(hdl, in mc_bkdg_patounum()
637 if (cs_match(hdl, iaddr, cs)) in mc_patounum()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_branch.c108 fmd_hdl_abort(hdl, in cmd_branch_remove_dimm()
221 fmd_hdl_topo_rele(hdl, thp); in branch_dimmlist_create()
224 br_hdl = hdl; in branch_dimmlist_create()
227 fmd_hdl_topo_rele(hdl, thp); in branch_dimmlist_create()
266 br_hdl = hdl; in fru_by_label()
270 fmd_hdl_topo_rele(hdl, thp); in fru_by_label()
370 cmd_dimm_dirty(hdl, dimm); in cmd_branch_create_fault()
494 fmd_hdl_abort(hdl, in cmd_branch_restore()
576 fmd_serd_destroy(hdl, in branch_free()
578 fmd_hdl_strfree(hdl, in branch_free()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_oplerr.c147 fmd_hdl_debug(hdl, in cmd_opl_ue_cpu()
172 fmd_hdl_debug(hdl, in cmd_opl_ue_cpu()
183 fmd_hdl_debug(hdl, in cmd_opl_ue_cpu()
205 fmd_hdl_debug(hdl, in cmd_opl_ue_cpu()
224 fmd_hdl_debug(hdl, in cmd_opl_ue_cpu()
250 fmd_hdl_debug(hdl, in opl_ce_thresh_check()
265 fmd_case_solve(hdl, cp); in opl_ce_thresh_check()
378 fmd_hdl_debug(hdl, in cmd_opl_mac_ce()
413 (void) opl_scf_log(hdl, nvl); in cmd_opl_mac_ce()
420 cmd_dimm_dirty(hdl, dimm); in cmd_opl_mac_ce()
[all …]
H A Dcmd_dp_page.c94 dp_page_defer_data_write(hdl, dpage); in dp_page_defer_add_data()
110 dp_page_defer_add_data(hdl, dpage, afar); in dp_page_defer_create()
176 cmd_dp_page_replay(fmd_hdl_t *hdl) in cmd_dp_page_replay() argument
190 if (cmd_dp_page_check(hdl, dpage)) { in cmd_dp_page_replay()
197 cmd_page_destroy(hdl, page); in cmd_dp_page_replay()
203 bank = cmd_bank_lookup(hdl, nvl); in cmd_dp_page_replay()
210 cmd_bank_dirty(hdl, bank); in cmd_dp_page_replay()
217 cmd_bank_fault(hdl, bank); in cmd_dp_page_replay()
235 dp_page_defer_data_restore(hdl, dpage); in cmd_dp_page_restore()
241 cmd_dp_page_validate(fmd_hdl_t *hdl) in cmd_dp_page_validate() argument
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm_ckpt.c222 fmd_hdl_free(hdl, il2, sz2); in etm_ckpt_il_resize()
227 fmd_hdl_free(hdl, il1, sz1); in etm_ckpt_il_resize()
284 etm_ckpt_il_resize(hdl, 1); in etm_ckpt_il_add()
435 etm_ckpt_il_restore(hdl); in etm_ckpt_recover()
453 fmd_thr_checkpoint(hdl); in etm_ckpt_recover()
489 fmd_hdl_free(hdl, ep, sz); in etm_ckpt_recover()
492 fmd_hdl_free(hdl, ep, sz); in etm_ckpt_recover()
523 fmd_thr_checkpoint(hdl); in etm_ckpt_recover()
580 fmd_hdl_free(hdl, hdr, sz); in etm_ckpt_add_entry()
594 fmd_thr_checkpoint(hdl); in etm_ckpt_add_entry()
[all …]
/illumos-gate/usr/src/lib/fm/libfmd_agent/common/
H A Dfmd_agent.c51 return (hdl->agent_errno); in fmd_agent_errno()
57 hdl->agent_errno = err; in fmd_agent_seterrno()
165 fmd_agent_hdl_t *hdl; in fmd_agent_open_dev() local
180 hdl->agent_devfd = fd; in fmd_agent_open_dev()
181 hdl->agent_version = ver; in fmd_agent_open_dev()
194 hdl->agent_ioc_versions = nvl; in fmd_agent_open_dev()
195 return (hdl); in fmd_agent_open_dev()
211 (void) close(hdl->agent_devfd); in fmd_agent_close()
270 int err = fmd_agent_errno(hdl); in fmd_agent_page_retire()
295 int err = fmd_agent_errno(hdl); in fmd_agent_page_unretire()
[all …]
/illumos-gate/usr/src/lib/libpool/common/
H A Ddict.c261 free((*hdl)); in dict_free()
262 *hdl = NULL; in dict_free()
273 dict_hdl_t *hdl; in dict_new() local
280 free(hdl); in dict_new()
285 return (hdl); in dict_new()
298 i = (*hdl->dh_hash)(key)%hdl->dh_size; in dict_get()
317 i = (*hdl->dh_hash)(key)%hdl->dh_size; in dict_put()
329 hdl->dh_length++; in dict_put()
331 hdl->dh_change++; in dict_put()
346 hdl->dh_change++; in dict_remove()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c65 elem = fmd_hdl_alloc(hdl, in parse_exception_string()
106 free_exception_list(fmd_hdl_t *hdl) in free_exception_list() argument
150 drt.rt_hdl = hdl; in rio_recv()
211 fmd_hdl_debug(hdl, "rio_recv:" in rio_recv()
291 fmd_case_uuclose(hdl, uuid); in rio_recv()
301 fmd_case_uuresolved(hdl, uuid); in rio_recv()
323 _fmd_init(fmd_hdl_t *hdl) in _fmd_init() argument
338 fmd_prop_free_string(hdl, estr); in _fmd_init()
340 fmd_hdl_strfree(hdl, estrdup); in _fmd_init()
345 _fmd_fini(fmd_hdl_t *hdl) in _fmd_fini() argument
[all …]

12345678910>>...19