/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_ustat.c | 71 fmd_free(cp->usc_base, sizeof (fmd_stat_t) * cp->usc_len); in fmd_ustat_chunk_rele() 73 fmd_free(cp, sizeof (fmd_ustat_chunk_t)); in fmd_ustat_chunk_rele() 106 fmd_free(ep, sizeof (fmd_ustat_elem_t)); in fmd_ustat_destroy() 113 fmd_free(usp->us_hash, sizeof (void *) * usp->us_hashlen); in fmd_ustat_destroy() 114 fmd_free(usp, sizeof (fmd_ustat_t)); in fmd_ustat_destroy() 175 fmd_free(ep, sizeof (fmd_ustat_elem_t)); in fmd_ustat_delete_locked() 333 fmd_free(ep, sizeof (fmd_ustat_elem_t)); in fmd_ustat_delete_references()
|
H A D | fmd_dispq.c | 66 fmd_free(dlp, sizeof (fmd_dispqlist_t)); in fmd_dispqelem_destroy() 76 fmd_free(dep->dq_hash, sizeof (void *) * dep->dq_hashlen); in fmd_dispqelem_destroy() 79 fmd_free(dep, sizeof (fmd_dispqelem_t)); in fmd_dispqelem_destroy() 113 fmd_free(dqp, sizeof (fmd_dispq_t)); in fmd_dispq_destroy() 163 fmd_free(s, len + 1); in fmd_dispq_insert() 198 fmd_free(lp, sizeof (fmd_dispqlist_t)); in fmd_dispq_delete_one() 230 fmd_free(patv, sizeof (char *) * (len / 2 + 1)); in fmd_dispq_delete() 231 fmd_free(s, len + 1); in fmd_dispq_delete()
|
H A D | fmd_rtld.c | 62 fmd_free(rp, sizeof (fmd_rtld_t)); in rtld_init() 80 fmd_free(rp, sizeof (fmd_rtld_t)); in rtld_init() 109 fmd_free(rp, sizeof (fmd_rtld_t)); in rtld_fini()
|
H A D | fmd_eventq.c | 60 fmd_free(eqe, sizeof (fmd_eventqelem_t)); in fmd_eventq_destroy() 64 fmd_free(eq, sizeof (fmd_eventq_t)); in fmd_eventq_destroy() 75 fmd_free(eqe, sizeof (fmd_eventqelem_t)); in fmd_eventq_drop() 263 fmd_free(eqe, sizeof (fmd_eventqelem_t)); in fmd_eventq_delete() 340 fmd_free(eqe, sizeof (fmd_eventqelem_t)); in fmd_eventq_cancel() 374 fmd_free(eqe, sizeof (fmd_eventqelem_t)); in fmd_eventq_abort()
|
H A D | fmd_conf.c | 350 fmd_free(new_argv, sizeof (char *) * new_argc); in set_lst() 351 fmd_free(old->cpa_argv, sizeof (char *) * old->cpa_argc); in set_lst() 352 fmd_free(old, sizeof (fmd_conf_path_t)); in set_lst() 384 fmd_free(pap->cpa_argv, sizeof (char *) * pap->cpa_argc); in del_lst() 409 fmd_free(pap->cpa_argv, sizeof (char *) * pap->cpa_argc); in free_path() 410 fmd_free(pap, sizeof (fmd_conf_path_t)); in free_path() 573 fmd_free(s, len); in fmd_conf_mode_set() 579 fmd_free(s, len); in fmd_conf_mode_set() 873 fmd_free(cdp, sizeof (fmd_conf_defer_t)); in fmd_conf_close() 876 fmd_free(cfp->cf_parhash, in fmd_conf_close() [all …]
|
H A D | fmd_idspace.c | 85 fmd_free(ide, sizeof (fmd_idelem_t)); in fmd_idspace_destroy() 89 fmd_free(ids->ids_hash, sizeof (void *) * ids->ids_hashlen); in fmd_idspace_destroy() 90 fmd_free(ids, sizeof (fmd_idspace_t)); in fmd_idspace_destroy() 116 fmd_free(ida, sizeof (id_t) * count); in fmd_idspace_apply() 295 fmd_free(ide, sizeof (fmd_idelem_t)); in fmd_idspace_free()
|
H A D | fmd_buf.c | 52 fmd_free(bp->buf_data, bp->buf_size); in fmd_buf_free() 53 fmd_free(bp, sizeof (fmd_buf_t)); in fmd_buf_free() 79 fmd_free(bhp->bh_hash, sizeof (void *) * bhp->bh_hashlen); in fmd_buf_hash_destroy()
|
H A D | fmd_asru.c | 112 fmd_free(ap->asru_uuid, ap->asru_uuidlen + 1); in fmd_asru_destroy() 113 fmd_free(ap, sizeof (fmd_asru_t)); in fmd_asru_destroy() 295 fmd_free(alp->al_uuid, alp->al_uuidlen + 1); in fmd_asru_al_destroy() 303 fmd_free(alp, sizeof (fmd_asru_link_t)); in fmd_asru_al_destroy() 346 fmd_free(*name, *namelen + 1); in fmd_asru_get_namestr() 860 fmd_free(ahp->ah_hash, sizeof (void *) * ahp->ah_hashlen); in fmd_asru_hash_destroy() 861 fmd_free(ahp->ah_asru_hash, sizeof (void *) * ahp->ah_hashlen); in fmd_asru_hash_destroy() 862 fmd_free(ahp->ah_case_hash, sizeof (void *) * ahp->ah_hashlen); in fmd_asru_hash_destroy() 863 fmd_free(ahp->ah_fru_hash, sizeof (void *) * ahp->ah_hashlen); in fmd_asru_hash_destroy() 864 fmd_free(ahp->ah_label_hash, sizeof (void *) * ahp->ah_hashlen); in fmd_asru_hash_destroy() [all …]
|
H A D | fmd_xprt.c | 243 fmd_free(xcp, sizeof (fmd_xprt_class_t)); in fmd_xprt_class_hash_destroy() 247 fmd_free(xch->xch_hash, sizeof (void *) * xch->xch_hashlen); in fmd_xprt_class_hash_destroy() 313 fmd_free(xcp, sizeof (fmd_xprt_class_t)); in fmd_xprt_class_hash_delete() 996 fmd_free(sp, sizeof (_fmd_xprt_stat_tmpl)); in fmd_xprt_destroy() 998 fmd_free(xip->xi_stats, sizeof (fmd_xprt_stat_t)); in fmd_xprt_destroy() 1001 fmd_free(xip, sizeof (fmd_xprt_impl_t)); in fmd_xprt_destroy() 1312 fmd_free(proxy_asru, sizeof (uint8_t) * nelem); in fmd_xprt_list_suspect() 1313 fmd_free(diag_asru, sizeof (uint8_t) * nelem); in fmd_xprt_list_suspect() 1314 fmd_free(asrua, sizeof (nvlist_t *) * nelem); in fmd_xprt_list_suspect() 1328 fmd_free(proxy_asru, sizeof (uint8_t) * nelem); in fmd_xprt_list_suspect() [all …]
|
H A D | fmd_case.c | 182 fmd_free(chp->ch_hash, sizeof (void *) * chp->ch_hashlen); in fmd_case_hash_destroy() 183 fmd_free(chp->ch_code_hash, sizeof (void *) * chp->ch_hashlen); in fmd_case_hash_destroy() 184 fmd_free(chp, sizeof (fmd_case_hash_t)); in fmd_case_hash_destroy() 218 fmd_free(cps, cpc * sizeof (fmd_case_t *)); in fmd_case_hash_apply() 275 fmd_free(cip->ci_code, cip->ci_codelen); in fmd_case_mkcode() 290 fmd_free(cip->ci_code, cip->ci_codelen); in fmd_case_mkcode() 498 fmd_free(name, namelen + 1); in fmd_case_compare_elem() 500 fmd_free(new_name, new_namelen + 1); in fmd_case_compare_elem() 963 fmd_free(cps, cpc * sizeof (fmd_case_t *)); in fmd_case_convict() 1295 fmd_free(cip->ci_uuid, cip->ci_uuidlen + 1); in fmd_case_create() [all …]
|
H A D | fmd_topo.c | 58 fmd_free(ftp, sizeof (fmd_topo_t)); in fmd_topo_rele_locked() 174 fmd_free(ftp, sizeof (fmd_topo_t)); in fmd_topo_fini()
|
H A D | fmd_thread.c | 98 fmd_free(tp, sizeof (fmd_thread_t)); in fmd_thread_create_cmn() 135 fmd_free(tp, sizeof (fmd_thread_t)); in fmd_thread_destroy()
|
H A D | fmd_serd.c | 52 fmd_free(sgp, sizeof (fmd_serd_eng_t)); in fmd_serd_eng_free() 76 fmd_free(shp->sh_hash, sizeof (void *) * shp->sh_hashlen); in fmd_serd_hash_destroy() 172 fmd_free(sep, sizeof (fmd_serd_elem_t)); in fmd_serd_eng_discard()
|
H A D | fmd_timerq.c | 286 fmd_free(tmr, sizeof (fmd_timer_t)); in fmd_timerq_destroy() 292 fmd_free(tmr, sizeof (fmd_timer_t)); in fmd_timerq_destroy() 300 fmd_free(tmq, sizeof (fmd_timerq_t)); in fmd_timerq_destroy()
|
H A D | fmd_module.c | 348 fmd_free(arg, sizeof (fmd_modtimer_t)); in fmd_module_untimeout() 408 fmd_free(mtp, sizeof (fmd_modtopo_t)); in fmd_module_unload() 469 fmd_free(mp->mod_dictv, sizeof (struct fm_dc_handle *) * mp->mod_dictc); in fmd_module_destroy() 479 fmd_free(mp->mod_argv, sizeof (fmd_conf_formal_t) * mp->mod_argc); in fmd_module_destroy() 487 fmd_free(mp, sizeof (fmd_module_t)); in fmd_module_destroy() 990 fmd_free(mp->mod_dictv, sizeof (dcp) * mp->mod_dictc); in fmd_module_dc_opendict() 1046 fmd_free(mhp->mh_hash, sizeof (void *) * mhp->mh_hashlen); in fmd_modhash_destroy() 1048 fmd_free(mhp, sizeof (fmd_modhash_t)); in fmd_modhash_destroy() 1414 fmd_free(mtp, sizeof (fmd_modtopo_t)); in fmd_module_topo_rele()
|
H A D | fmd_log.c | 183 fmd_free(buf, size); in fmd_log_write_hdr() 466 fmd_free(lp->log_uuid, lp->log_uuidlen + 1); in fmd_log_close() 468 fmd_free(lp, sizeof (fmd_log_t)); in fmd_log_close() 665 fmd_free(eabuf, easize); in fmd_log_append() 675 fmd_free(fe, frsize); in fmd_log_append() 678 fmd_free(items, itsize); in fmd_log_append() 682 fmd_free(nvbuf, nvsize); in fmd_log_append() 1000 fmd_free(buf, size); in fmd_log_update()
|
H A D | fmd_trace.c | 86 fmd_free(tbp->tb_buf, tbp->tb_size * tbp->tb_recs); in fmd_trace_destroy() 87 fmd_free(tbp, sizeof (fmd_tracebuf_t)); in fmd_trace_destroy()
|
H A D | fmd_alloc.h | 41 extern void fmd_free(void *, size_t);
|
H A D | fmd_nv.c | 41 fmd_free(buf, size); in fmd_nv_free()
|
H A D | fmd_scheme.c | 266 fmd_free(sp, sizeof (fmd_scheme_t)); in fmd_scheme_destroy() 306 fmd_free(shp->sch_hash, sizeof (fmd_scheme_t *) * shp->sch_hashlen); in fmd_scheme_hash_destroy() 308 fmd_free(shp, sizeof (fmd_scheme_hash_t)); in fmd_scheme_hash_destroy()
|
H A D | fmd_alloc.c | 81 fmd_free(void *data, size_t size) in fmd_free() function
|
H A D | fmd_event.c | 209 fmd_free(ep->ev_data, sizeof (fmd_modtimer_t)); in fmd_event_destroy() 225 fmd_free(ep, sizeof (fmd_event_impl_t)); in fmd_event_destroy()
|
H A D | fmd_api.c | 177 fmd_free(msg, len1 + len2 + 1); in fmd_api_vxerror() 630 fmd_free(mp->mod_argv, sizeof (fmd_conf_formal_t) * mp->mod_argc); in fmd_module_unregister() 639 fmd_free((void *)mp->mod_info->fmdi_ops, sizeof (fmd_hdl_ops_t)); in fmd_module_unregister() 640 fmd_free(mp->mod_info, sizeof (fmd_hdl_info_t)); in fmd_module_unregister() 806 fmd_free(data, size); in fmd_hdl_free_locked() 920 fmd_free(msg, len + 2); in fmd_hdl_vdebug() 1918 fmd_free(t, sizeof (fmd_modtimer_t)); in fmd_timer_install() 1949 fmd_free(t, sizeof (fmd_modtimer_t)); in fmd_timer_remove() 2219 fmd_free(name, namelen + 1); in fmd_nvl_fmri_has_fault() 2237 fmd_free(name, namelen + 1); in fmd_nvl_fmri_has_fault() [all …]
|
H A D | fmd_ctl.c | 149 fmd_free(cp, sizeof (fmd_ctl_t)); in fmd_ctl_fini()
|
H A D | fmd_ckpt.c | 133 fmd_free(ckp->ckp_buf, ckp->ckp_size); in fmd_ckpt_inval() 167 fmd_free(ckp->ckp_buf, st.st_size); in fmd_ckpt_open() 336 fmd_free(ckp->ckp_buf, ckp->ckp_size); in fmd_ckpt_destroy() 645 fmd_free(bufs, size); in fmd_ckpt_save_case() 739 fmd_free(serds, size); in fmd_ckpt_save_module() 750 fmd_free(bufs, size); in fmd_ckpt_save_module()
|