/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_alloc.c | 40 fmd_alloc(size_t size, int flags) in fmd_alloc() function 72 void *data = fmd_alloc(size, flags); in fmd_zalloc()
|
H A D | fmd_thread.c | 37 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP); in fmd_thread_xcreate() 76 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP); in fmd_thread_create_cmn()
|
H A D | fmd_conf.c | 274 pap = fmd_alloc(sizeof (fmd_conf_path_t), FMD_SLEEP); in set_path() 275 pap->cpa_argv = fmd_alloc(sizeof (char *) * patc, FMD_SLEEP); in set_path() 292 pap->cpa_argv[i] = q = fmd_alloc(len + 1, FMD_SLEEP); in set_path() 340 new->cpa_argv = fmd_alloc(sizeof (char *) * totc, FMD_SLEEP); in set_lst() 377 new_argv = fmd_alloc(sizeof (char *) * (pap->cpa_argc - 1), FMD_SLEEP); in del_lst() 808 fmd_conf_t *cfp = fmd_alloc(sizeof (fmd_conf_t), FMD_SLEEP); in fmd_conf_open() 987 cdp = fmd_alloc(sizeof (fmd_conf_defer_t), FMD_SLEEP); in fmd_conf_setdefer()
|
H A D | fmd_fmri.c | 47 return (fmd_alloc(size, FMD_SLEEP)); in fmd_fmri_alloc() 151 p = s = fmd_alloc(n, FMD_SLEEP); in fmd_fmri_auth2str() 188 s2 = fmd_alloc(n + 1, FMD_SLEEP); in fmd_fmri_strescape()
|
H A D | fmd_idspace.c | 37 fmd_idspace_t *ids = fmd_alloc(sizeof (fmd_idspace_t), FMD_SLEEP); in fmd_idspace_create() 103 ida = idp = fmd_alloc(sizeof (id_t) * count, FMD_SLEEP); in fmd_idspace_apply() 201 ide = fmd_alloc(sizeof (fmd_idelem_t), FMD_SLEEP); in fmd_idspace_xalloc_locked()
|
H A D | fmd_alloc.h | 39 extern void *fmd_alloc(size_t, int);
|
H A D | fmd_nv.c | 34 return (fmd_alloc(size, FMD_SLEEP)); in fmd_nv_alloc()
|
H A D | fmd_dispq.c | 45 fmd_dispqelem_t *dep = fmd_alloc(sizeof (fmd_dispqelem_t), FMD_SLEEP); in fmd_dispqelem_create() 98 fmd_dispq_t *dqp = fmd_alloc(sizeof (fmd_dispq_t), FMD_SLEEP); in fmd_dispq_create() 146 fmd_dispqlist_t *dlp = fmd_alloc(sizeof (fmd_dispqlist_t), FMD_SLEEP); in fmd_dispq_insert()
|
H A D | fmd_log.c | 172 void *buf = fmd_alloc(size, FMD_SLEEP); in fmd_log_write_hdr() 366 lp->log_name = fmd_alloc(len, FMD_SLEEP); in fmd_log_xopen() 527 nvbuf = fmd_alloc(nvsize, FMD_SLEEP); in fmd_log_append() 563 items = ip = fmd_alloc(itsize, FMD_SLEEP); in fmd_log_append() 613 eabuf = fmd_alloc(easize, FMD_SLEEP); in fmd_log_append() 988 buf = fmd_alloc(size, FMD_SLEEP); in fmd_log_update()
|
H A D | fmd_rtld.c | 54 rp = mp->mod_data = fmd_alloc(sizeof (fmd_rtld_t), FMD_SLEEP); in rtld_init()
|
H A D | fmd_event.c | 79 fmd_event_impl_t *ep = fmd_alloc(sizeof (fmd_event_impl_t), FMD_SLEEP); in fmd_event_recreate() 127 fmd_event_impl_t *ep = fmd_alloc(sizeof (fmd_event_impl_t), FMD_SLEEP); in fmd_event_create()
|
H A D | fmd_eventq.c | 157 eqe = fmd_alloc(sizeof (fmd_eventqelem_t), FMD_SLEEP); in fmd_eventq_insert_at_head() 196 eqe = fmd_alloc(sizeof (fmd_eventqelem_t), FMD_SLEEP); in fmd_eventq_insert_at_time()
|
H A D | fmd_ustat.c | 193 sp = stats = fmd_alloc(sizeof (fmd_stat_t) * n, FMD_SLEEP); in fmd_ustat_insert() 254 ep = fmd_alloc(sizeof (fmd_ustat_elem_t), FMD_SLEEP); in fmd_ustat_insert()
|
H A D | fmd_ctl.c | 116 fmd_ctl_t *cp = fmd_alloc(sizeof (fmd_ctl_t), FMD_SLEEP); in fmd_ctl_init()
|
H A D | fmd_topo.c | 85 ftp = fmd_alloc(sizeof (fmd_topo_t), FMD_SLEEP); in fmd_topo_update()
|
H A D | fmd_string.c | 38 p = fmd_alloc(strlen(s) + 1, flags); in fmd_strdup()
|
H A D | fmd_scheme.c | 234 fmd_scheme_t *sp = fmd_alloc(sizeof (fmd_scheme_t), FMD_SLEEP); in fmd_scheme_create() 276 shp = fmd_alloc(sizeof (fmd_scheme_hash_t), FMD_SLEEP); in fmd_scheme_hash_create()
|
H A D | fmd_buf.c | 37 fmd_buf_t *bp = fmd_alloc(sizeof (fmd_buf_t), FMD_SLEEP); in fmd_buf_alloc()
|
H A D | fmd_case.c | 161 fmd_case_hash_t *chp = fmd_alloc(sizeof (fmd_case_hash_t), FMD_SLEEP); in fmd_case_hash_create() 200 cps = cpp = fmd_alloc(chp->ch_count * sizeof (fmd_case_t *), FMD_SLEEP); in fmd_case_hash_apply() 480 name = fmd_alloc(namelen + 1, FMD_SLEEP); in fmd_case_compare_elem() 489 new_name = fmd_alloc(new_namelen + 1, FMD_SLEEP); in fmd_case_compare_elem() 944 cps = cpp = fmd_alloc(chp->ch_count * sizeof (fmd_case_t *), FMD_SLEEP); in fmd_case_convict() 1646 cit = fmd_alloc(sizeof (fmd_case_item_t), FMD_SLEEP); in fmd_case_insert_event() 1672 fmd_case_susp_t *cis = fmd_alloc(sizeof (fmd_case_susp_t), FMD_SLEEP); in fmd_case_insert_suspect() 1693 fmd_case_susp_t *cis = fmd_alloc(sizeof (fmd_case_susp_t), FMD_SLEEP); in fmd_case_recreate_suspect()
|
H A D | fmd_asru.c | 343 *name = fmd_alloc(*namelen + 1, FMD_SLEEP); in fmd_asru_get_namestr() 816 ahp = fmd_alloc(sizeof (fmd_asru_hash_t), FMD_SLEEP); in fmd_asru_hash_create() 883 aps = app = fmd_alloc(ahp->ah_count * sizeof (fmd_asru_t *), FMD_SLEEP); in fmd_asru_hash_apply() 912 alps = alpp = fmd_alloc(ahp->ah_al_count * sizeof (fmd_asru_link_t *), in fmd_asru_al_hash_apply() 954 alps = alpp = fmd_alloc(alpc * sizeof (fmd_asru_link_t *), FMD_SLEEP); in fmd_asru_do_hash_apply() 1135 (name = fmd_alloc(namelen + 1, FMD_SLEEP)) != NULL) { in fmd_asru_do_hash_delete()
|
H A D | fmd_api.c | 123 msg = fmd_alloc(len1 + len2 + 1, FMD_SLEEP); in fmd_api_vxerror() 497 mp->mod_info = fmd_alloc(sizeof (fmd_hdl_info_t), FMD_SLEEP); in fmd_hdl_register() 500 mp->mod_info->fmdi_ops = fmd_alloc(sizeof (fmd_hdl_ops_t), FMD_SLEEP); in fmd_hdl_register() 774 if ((data = fmd_alloc(size, flags)) != NULL) in fmd_hdl_alloc_locked() 897 if ((msg = fmd_alloc(len + 2, FMD_NOSLEEP)) == NULL) { in fmd_hdl_vdebug() 1911 t = fmd_alloc(sizeof (fmd_modtimer_t), FMD_SLEEP); in fmd_timer_install() 2216 name = fmd_alloc(namelen + 1, FMD_SLEEP); in fmd_nvl_fmri_has_fault() 2614 b = fmd_alloc(sizeof (nvlist_t *) * n, FMD_SLEEP); in fmd_xprt_xtranslate()
|
H A D | fmd_ckpt.c | 160 ckp->ckp_buf = fmd_alloc(st.st_size, FMD_SLEEP); in fmd_ckpt_open() 639 fcf_buf_t *bufs = ckp->ckp_arg = fmd_alloc(size, FMD_SLEEP); in fmd_ckpt_save_case() 733 fcf_serd_t *serds = ckp->ckp_arg = fmd_alloc(size, FMD_SLEEP); in fmd_ckpt_save_module() 744 fcf_buf_t *bufs = ckp->ckp_arg = fmd_alloc(size, FMD_SLEEP); in fmd_ckpt_save_module()
|
H A D | fmd_serd.c | 210 sep = fmd_alloc(sizeof (fmd_serd_elem_t), FMD_SLEEP); in fmd_serd_eng_record()
|
H A D | fmd_time.c | 226 fmd_timesim_t *fts = fmd_alloc(sizeof (fmd_timesim_t), FMD_SLEEP); in fmd_simulator_init()
|
/illumos-gate/usr/src/cmd/fm/fmd/ |
H A D | Makefile.fmd | 31 fmd_alloc.c \
|