Home
last modified time | relevance | path

Searched refs:fmd_alloc (Results 1 – 25 of 27) sorted by relevance

12

/titanic_50/usr/src/cmd/fm/fmd/common/
H A Dfmd_alloc.c42 fmd_alloc(size_t size, int flags) in fmd_alloc() function
74 void *data = fmd_alloc(size, flags); in fmd_zalloc()
H A Dfmd_thread.c37 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 Dfmd_alloc.h41 extern void *fmd_alloc(size_t, int);
H A Dfmd_nv.c36 return (fmd_alloc(size, FMD_SLEEP)); in fmd_nv_alloc()
H A Dfmd_idspace.c37 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 Dfmd_fmri.c47 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 Dfmd_conf.c274 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 Dfmd_dispq.c45 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 Dfmd_rtld.c56 rp = mp->mod_data = fmd_alloc(sizeof (fmd_rtld_t), FMD_SLEEP); in rtld_init()
H A Dfmd_log.c174 void *buf = fmd_alloc(size, FMD_SLEEP); in fmd_log_write_hdr()
368 lp->log_name = fmd_alloc(len, FMD_SLEEP); in fmd_log_xopen()
529 nvbuf = fmd_alloc(nvsize, FMD_SLEEP); in fmd_log_append()
565 items = ip = fmd_alloc(itsize, FMD_SLEEP); in fmd_log_append()
615 eabuf = fmd_alloc(easize, FMD_SLEEP); in fmd_log_append()
990 buf = fmd_alloc(size, FMD_SLEEP); in fmd_log_update()
H A Dfmd_event.c79 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 Dfmd_ctl.c118 fmd_ctl_t *cp = fmd_alloc(sizeof (fmd_ctl_t), FMD_SLEEP); in fmd_ctl_init()
H A Dfmd_ustat.c195 sp = stats = fmd_alloc(sizeof (fmd_stat_t) * n, FMD_SLEEP); in fmd_ustat_insert()
256 ep = fmd_alloc(sizeof (fmd_ustat_elem_t), FMD_SLEEP); in fmd_ustat_insert()
H A Dfmd_eventq.c157 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 Dfmd_topo.c85 ftp = fmd_alloc(sizeof (fmd_topo_t), FMD_SLEEP); in fmd_topo_update()
H A Dfmd_scheme.c217 fmd_scheme_t *sp = fmd_alloc(sizeof (fmd_scheme_t), FMD_SLEEP); in fmd_scheme_create()
259 shp = fmd_alloc(sizeof (fmd_scheme_hash_t), FMD_SLEEP); in fmd_scheme_hash_create()
H A Dfmd_string.c40 p = fmd_alloc(strlen(s) + 1, flags); in fmd_strdup()
H A Dfmd_buf.c39 fmd_buf_t *bp = fmd_alloc(sizeof (fmd_buf_t), FMD_SLEEP); in fmd_buf_alloc()
H A Dfmd_asru.c343 *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 Dfmd_case.c161 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 Dfmd_api.c123 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 Dfmd_ckpt.c160 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 Dfmd_serd.c211 sep = fmd_alloc(sizeof (fmd_serd_elem_t), FMD_SLEEP); in fmd_serd_eng_record()
H A Dfmd_time.c226 fmd_timesim_t *fts = fmd_alloc(sizeof (fmd_timesim_t), FMD_SLEEP); in fmd_simulator_init()
/titanic_50/usr/src/cmd/fm/fmd/
H A DMakefile.fmd30 fmd_alloc.c \

12