/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_buf.c | 41 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 D | fmd_trace.c | 44 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 D | fmd_ustat.c | 40 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 D | fmd_alloc.h | 40 extern void *fmd_zalloc(size_t, int);
|
H A D | fmd_alloc.c | 70 fmd_zalloc(size_t size, int flags) in fmd_zalloc() function
|
H A D | fmd_asru.c | 81 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 D | fmd_serd.c | 37 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 D | fmd_timerq.c | 59 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 D | fmd_dispq.c | 50 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 D | fmd.c | 510 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 D | fmd_case.c | 165 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 D | fmd_xprt.c | 225 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 D | fmd_log.c | 144 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 D | fmd_module.c | 177 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 D | fmd_eventq.c | 38 fmd_eventq_t *eq = fmd_zalloc(sizeof (fmd_eventq_t), FMD_SLEEP); in fmd_eventq_create()
|
H A D | fmd_fmri.c | 53 return (fmd_zalloc(size, FMD_SLEEP)); in fmd_fmri_zalloc()
|
H A D | fmd_idspace.c | 60 ids->ids_hash = fmd_zalloc(sizeof (void *) * hashlen, FMD_SLEEP); in fmd_idspace_create()
|
H A D | fmd_conf.c | 815 cfp->cf_params = fmd_zalloc( in fmd_conf_open() 819 cfp->cf_parhash = fmd_zalloc( in fmd_conf_open()
|
H A D | fmd_scheme.c | 281 shp->sch_hash = fmd_zalloc(sizeof (fmd_scheme_t *) * in fmd_scheme_hash_create()
|
H A D | fmd_ckpt.c | 424 ckp->ckp_buf = fmd_zalloc(ckp->ckp_size, FMD_NOSLEEP); in fmd_ckpt_alloc()
|
H A D | fmd_api.c | 443 mp->mod_argv = fmd_zalloc(sizeof (fmd_conf_formal_t) * i, FMD_SLEEP); in fmd_hdl_register()
|