Searched refs:fmd_alloc (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_nv.c30 #include <fmd_alloc.h>
36 return (fmd_alloc(size, FMD_SLEEP));
H A Dfmd_alloc.h41 extern void *fmd_alloc(size_t, int);
H A Dfmd_string.h39 #include <fmd_alloc.h>
H A Dfmd_alloc.c35 #include <fmd_alloc.h>
42 fmd_alloc(size_t size, int flags) function
74 void *data = fmd_alloc(size, flags);
H A Dfmd_thread.c27 #include <fmd_alloc.h>
37 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP);
76 fmd_thread_t *tp = fmd_alloc(sizeof (fmd_thread_t), FMD_SLEEP);
H A Dfmd_rtld.c34 #include <fmd_alloc.h>
56 rp = mp->mod_data = fmd_alloc(sizeof (fmd_rtld_t), FMD_SLEEP);
H A Dfmd_ctl.c68 #include <fmd_alloc.h>
118 fmd_ctl_t *cp = fmd_alloc(sizeof (fmd_ctl_t), FMD_SLEEP);
H A Dfmd_topo.c38 #include <fmd_alloc.h>
85 ftp = fmd_alloc(sizeof (fmd_topo_t), FMD_SLEEP);
H A Dfmd_buf.c30 #include <fmd_alloc.h>
39 fmd_buf_t *bp = fmd_alloc(sizeof (fmd_buf_t), FMD_SLEEP);
H A Dfmd_fmri.c31 #include <fmd_alloc.h>
47 return (fmd_alloc(size, FMD_SLEEP));
151 p = s = fmd_alloc(n, FMD_SLEEP);
188 s2 = fmd_alloc(n + 1, FMD_SLEEP);
H A Dfmd_idspace.c26 #include <fmd_alloc.h>
37 fmd_idspace_t *ids = fmd_alloc(sizeof (fmd_idspace_t), FMD_SLEEP);
103 ida = idp = fmd_alloc(sizeof (id_t) * count, FMD_SLEEP);
201 ide = fmd_alloc(sizeof (fmd_idelem_t), FMD_SLEEP);
H A Dfmd_eventq.c26 #include <fmd_alloc.h>
157 eqe = fmd_alloc(sizeof (fmd_eventqelem_t), FMD_SLEEP);
196 eqe = fmd_alloc(sizeof (fmd_eventqelem_t), FMD_SLEEP);
H A Dfmd_ustat.c31 #include <fmd_alloc.h>
195 sp = stats = fmd_alloc(sizeof (fmd_stat_t) * n, FMD_SLEEP);
256 ep = fmd_alloc(sizeof (fmd_ustat_elem_t), FMD_SLEEP);
H A Dfmd_event.c30 #include <fmd_alloc.h>
79 fmd_event_impl_t *ep = fmd_alloc(sizeof (fmd_event_impl_t), FMD_SLEEP);
127 fmd_event_impl_t *ep = fmd_alloc(sizeof (fmd_event_impl_t), FMD_SLEEP);
H A Dfmd_dispq.c34 #include <fmd_alloc.h>
45 fmd_dispqelem_t *dep = fmd_alloc(sizeof (fmd_dispqelem_t), FMD_SLEEP);
98 fmd_dispq_t *dqp = fmd_alloc(sizeof (fmd_dispq_t), FMD_SLEEP);
146 fmd_dispqlist_t *dlp = fmd_alloc(sizeof (fmd_dispqlist_t), FMD_SLEEP);
H A Dfmd_string.c40 p = fmd_alloc(strlen(s) + 1, flags);
H A Dfmd_conf.c37 #include <fmd_alloc.h>
274 pap = fmd_alloc(sizeof (fmd_conf_path_t), FMD_SLEEP);
275 pap->cpa_argv = fmd_alloc(sizeof (char *) * patc, FMD_SLEEP);
292 pap->cpa_argv[i] = q = fmd_alloc(len + 1, FMD_SLEEP);
340 new->cpa_argv = fmd_alloc(sizeof (char *) * totc, FMD_SLEEP);
377 new_argv = fmd_alloc(sizeof (char *) * (pap->cpa_argc - 1), FMD_SLEEP);
808 fmd_conf_t *cfp = fmd_alloc(sizeof (fmd_conf_t), FMD_SLEEP);
987 cdp = fmd_alloc(sizeof (fmd_conf_defer_t), FMD_SLEEP);
H A Dfmd_serd.c29 #include <fmd_alloc.h>
211 sep = fmd_alloc(sizeof (fmd_serd_elem_t), FMD_SLEEP);
H A Dfmd_log.c82 #include <fmd_alloc.h>
174 void *buf = fmd_alloc(size, FMD_SLEEP);
368 lp->log_name = fmd_alloc(len, FMD_SLEEP);
529 nvbuf = fmd_alloc(nvsize, FMD_SLEEP);
565 items = ip = fmd_alloc(itsize, FMD_SLEEP);
615 eabuf = fmd_alloc(easize, FMD_SLEEP);
990 buf = fmd_alloc(size, FMD_SLEEP);
H A Dfmd_scheme.c31 #include <fmd_alloc.h>
217 fmd_scheme_t *sp = fmd_alloc(sizeof (fmd_scheme_t), FMD_SLEEP);
259 shp = fmd_alloc(sizeof (fmd_scheme_hash_t), FMD_SLEEP);
H A Dfmd_trace.c36 #include <fmd_alloc.h>
H A Dfmd_time.c33 #include <fmd_alloc.h>
226 fmd_timesim_t *fts = fmd_alloc(sizeof (fmd_timesim_t), FMD_SLEEP);
H A Dfmd_timerq.c33 #include <fmd_alloc.h>
H A Dfmd_asru.c37 #include <fmd_alloc.h>
343 *name = fmd_alloc(*namelen + 1, FMD_SLEEP);
816 ahp = fmd_alloc(sizeof (fmd_asru_hash_t), FMD_SLEEP);
883 aps = app = fmd_alloc(ahp->ah_count * sizeof (fmd_asru_t *), FMD_SLEEP);
912 alps = alpp = fmd_alloc(ahp->ah_al_count * sizeof (fmd_asru_link_t *),
954 alps = alpp = fmd_alloc(alpc * sizeof (fmd_asru_link_t *), FMD_SLEEP);
1135 (name = fmd_alloc(namelen + 1, FMD_SLEEP)) != NULL) {
H A Dfmd_ckpt.c38 #include <fmd_alloc.h>
160 ckp->ckp_buf = fmd_alloc(st.st_size, FMD_SLEEP);
639 fcf_buf_t *bufs = ckp->ckp_arg = fmd_alloc(size, FMD_SLEEP);
733 fcf_serd_t *serds = ckp->ckp_arg = fmd_alloc(size, FMD_SLEEP);
744 fcf_buf_t *bufs = ckp->ckp_arg = fmd_alloc(size, FMD_SLEEP);

Completed in 97 milliseconds

12