Home
last modified time | relevance | path

Searched refs:fmd_zalloc (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_buf.c41 bp->buf_data = fmd_zalloc(size, FMD_SLEEP); in fmd_buf_alloc()
60 bhp->bh_hash = fmd_zalloc(sizeof (void *) * bhp->bh_hashlen, FMD_SLEEP); in fmd_buf_hash_create()
H A Dfmd_trace.c44 fmd_tracebuf_t *tbp = fmd_zalloc(sizeof (fmd_tracebuf_t), FMD_SLEEP); in fmd_trace_create()
76 tbp->tb_buf = fmd_zalloc(bufsize, FMD_SLEEP); in fmd_trace_create()
H A Dfmd_ustat.c40 cp = fmd_zalloc(sizeof (fmd_ustat_chunk_t), FMD_SLEEP); in fmd_ustat_chunk_init()
80 fmd_ustat_t *usp = fmd_zalloc(sizeof (fmd_ustat_t), FMD_SLEEP); in fmd_ustat_create()
84 usp->us_hash = fmd_zalloc(sizeof (void *) * usp->us_hashlen, FMD_SLEEP); in fmd_ustat_create()
H A Dfmd_alloc.h40 extern void *fmd_zalloc(size_t, int);
H A Dfmd_alloc.c70 fmd_zalloc(size_t size, int flags) in fmd_zalloc() function
H A Dfmd_asru.c81 fmd_asru_t *ap = fmd_zalloc(sizeof (fmd_asru_t), FMD_SLEEP); in fmd_asru_create()
387 alp = fmd_zalloc(sizeof (fmd_asru_link_t), FMD_SLEEP); in fmd_asru_al_create()
819 ahp->ah_hash = fmd_zalloc(sizeof (void *) * ahp->ah_hashlen, FMD_SLEEP); in fmd_asru_hash_create()
820 ahp->ah_asru_hash = fmd_zalloc(sizeof (void *) * ahp->ah_hashlen, in fmd_asru_hash_create()
822 ahp->ah_case_hash = fmd_zalloc(sizeof (void *) * ahp->ah_hashlen, in fmd_asru_hash_create()
824 ahp->ah_fru_hash = fmd_zalloc(sizeof (void *) * ahp->ah_hashlen, in fmd_asru_hash_create()
826 ahp->ah_label_hash = fmd_zalloc(sizeof (void *) * ahp->ah_hashlen, in fmd_asru_hash_create()
828 ahp->ah_rsrc_hash = fmd_zalloc(sizeof (void *) * ahp->ah_hashlen, in fmd_asru_hash_create()
1068 parsed_uuid = fmd_zalloc(uuidlen + 1, FMD_SLEEP); in fmd_asru_hash_create_entry()
H A Dfmd_serd.c37 fmd_serd_eng_t *sgp = fmd_zalloc(sizeof (fmd_serd_eng_t), FMD_SLEEP); in fmd_serd_eng_alloc()
59 shp->sh_hash = fmd_zalloc(sizeof (void *) * shp->sh_hashlen, FMD_SLEEP); in fmd_serd_hash_create()
H A Dfmd_timerq.c59 tp = fmd_zalloc(sizeof (fmd_timer_t), FMD_SLEEP); in fmd_timerq_install()
247 fmd_timerq_t *tmq = fmd_zalloc(sizeof (fmd_timerq_t), FMD_SLEEP); in fmd_timerq_create()
H A Dfmd_dispq.c50 dep->dq_hash = fmd_zalloc(sizeof (void *) * dep->dq_hashlen, FMD_SLEEP); in fmd_dispqelem_create()
218 char **patv = fmd_zalloc(sizeof (char *) * (len / 2 + 1), FMD_SLEEP); in fmd_dispq_delete()
H A Dfmd.c510 dp->d_rmod = fmd_zalloc(sizeof (fmd_module_t), FMD_SLEEP); in fmd_create()
522 dp->d_rmod->mod_stats = fmd_zalloc(sizeof (fmd_modstat_t), FMD_SLEEP); in fmd_create()
542 dp->d_errstats = sp = fmd_zalloc(sizeof (fmd_stat_t) * in fmd_create()
H A Dfmd_case.c165 chp->ch_hash = fmd_zalloc(sizeof (void *) * chp->ch_hashlen, FMD_SLEEP); in fmd_case_hash_create()
166 chp->ch_code_hash = fmd_zalloc(sizeof (void *) * chp->ch_hashlen, in fmd_case_hash_create()
277 cip->ci_code = fmd_zalloc(cip->ci_codelen, FMD_SLEEP); in fmd_case_mkcode()
292 cip->ci_code = fmd_zalloc(cip->ci_codelen, FMD_SLEEP); in fmd_case_mkcode()
1251 fmd_case_impl_t *cip = fmd_zalloc(sizeof (fmd_case_impl_t), FMD_SLEEP); in fmd_case_create()
1272 cip->ci_uuid = fmd_zalloc(cip->ci_uuidlen + 1, FMD_SLEEP); in fmd_case_create()
1344 fmd_case_impl_t *cip = fmd_zalloc(sizeof (fmd_case_impl_t), FMD_SLEEP); in fmd_case_recreate()
H A Dfmd_xprt.c225 xch->xch_hash = fmd_zalloc(sizeof (void *) * hashlen, FMD_SLEEP); in fmd_xprt_class_hash_create()
761 fmd_xprt_impl_t *xip = fmd_zalloc(sizeof (fmd_xprt_impl_t), FMD_SLEEP); in fmd_xprt_create()
1243 asrua = fmd_zalloc(sizeof (nvlist_t *) * nelem, FMD_SLEEP); in fmd_xprt_list_suspect()
1244 proxy_asru = fmd_zalloc(sizeof (uint8_t) * nelem, FMD_SLEEP); in fmd_xprt_list_suspect()
1245 diag_asru = fmd_zalloc(sizeof (uint8_t) * nelem, FMD_SLEEP); in fmd_xprt_list_suspect()
H A Dfmd_log.c144 lp->log_uuid = fmd_zalloc(lp->log_uuidlen + 1, FMD_SLEEP); in fmd_log_write_hdr()
352 fmd_log_t *lp = fmd_zalloc(sizeof (fmd_log_t), FMD_SLEEP); in fmd_log_xopen()
601 fe = fp = fmd_zalloc(frsize, FMD_SLEEP); in fmd_log_append()
H A Dfmd_module.c177 fmd_module_t *mp = fmd_zalloc(sizeof (fmd_module_t), FMD_SLEEP); in fmd_module_create()
1026 mhp->mh_hash = fmd_zalloc(sizeof (void *) * mhp->mh_hashlen, FMD_SLEEP); in fmd_modhash_create()
1388 mtp = fmd_zalloc(sizeof (fmd_modtopo_t), FMD_SLEEP); in fmd_module_topo_hold()
H A Dfmd_eventq.c38 fmd_eventq_t *eq = fmd_zalloc(sizeof (fmd_eventq_t), FMD_SLEEP); in fmd_eventq_create()
H A Dfmd_fmri.c53 return (fmd_zalloc(size, FMD_SLEEP)); in fmd_fmri_zalloc()
H A Dfmd_idspace.c60 ids->ids_hash = fmd_zalloc(sizeof (void *) * hashlen, FMD_SLEEP); in fmd_idspace_create()
H A Dfmd_conf.c815 cfp->cf_params = fmd_zalloc( in fmd_conf_open()
819 cfp->cf_parhash = fmd_zalloc( in fmd_conf_open()
H A Dfmd_scheme.c281 shp->sch_hash = fmd_zalloc(sizeof (fmd_scheme_t *) * in fmd_scheme_hash_create()
H A Dfmd_ckpt.c424 ckp->ckp_buf = fmd_zalloc(ckp->ckp_size, FMD_NOSLEEP); in fmd_ckpt_alloc()
H A Dfmd_api.c443 mp->mod_argv = fmd_zalloc(sizeof (fmd_conf_formal_t) * i, FMD_SLEEP); in fmd_hdl_register()