/titanic_41/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_util.c | 50 fmristr = fmd_hdl_strdup(hdl, (const char *)topostr, FMD_SLEEP); in sw_smf_svcfmri2str() 73 bufp = fmd_hdl_alloc(hdl, len, FMD_SLEEP); in sw_smf_svcfmri2shortstr() 76 fullname = fmd_hdl_strdup(hdl, bufp, FMD_SLEEP); in sw_smf_svcfmri2shortstr()
|
/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_buf.c | 39 fmd_buf_t *bp = fmd_alloc(sizeof (fmd_buf_t), FMD_SLEEP); in fmd_buf_alloc() 41 bp->buf_name = fmd_strdup(name, FMD_SLEEP); in fmd_buf_alloc() 43 bp->buf_data = fmd_zalloc(size, FMD_SLEEP); in fmd_buf_alloc() 62 bhp->bh_hash = fmd_zalloc(sizeof (void *) * bhp->bh_hashlen, FMD_SLEEP); in fmd_buf_hash_create()
|
H A D | fmd_dispq.c | 45 fmd_dispqelem_t *dep = fmd_alloc(sizeof (fmd_dispqelem_t), FMD_SLEEP); in fmd_dispqelem_create() 47 dep->dq_name = fmd_strdup(name, FMD_SLEEP); in fmd_dispqelem_create() 50 dep->dq_hash = fmd_zalloc(sizeof (void *) * dep->dq_hashlen, FMD_SLEEP); in fmd_dispqelem_create() 98 fmd_dispq_t *dqp = fmd_alloc(sizeof (fmd_dispq_t), FMD_SLEEP); in fmd_dispq_create() 143 char *p, *q, *s = fmd_strdup(pattern, FMD_SLEEP); in fmd_dispq_insert() 146 fmd_dispqlist_t *dlp = fmd_alloc(sizeof (fmd_dispqlist_t), FMD_SLEEP); in fmd_dispq_insert() 215 char *p, *q, *s = fmd_strdup(pattern, FMD_SLEEP); in fmd_dispq_delete() 218 char **patv = fmd_zalloc(sizeof (char *) * (len / 2 + 1), FMD_SLEEP); in fmd_dispq_delete()
|
H A D | fmd_asru.c | 81 fmd_asru_t *ap = fmd_zalloc(sizeof (fmd_asru_t), FMD_SLEEP); in fmd_asru_create() 87 ap->asru_name = fmd_strdup(name, FMD_SLEEP); in fmd_asru_create() 90 ap->asru_root = fmd_strdup(ahp->ah_dirpath, FMD_SLEEP); in fmd_asru_create() 91 ap->asru_uuid = fmd_strdup(uuid, FMD_SLEEP); in fmd_asru_create() 343 *name = fmd_alloc(*namelen + 1, FMD_SLEEP); in fmd_asru_get_namestr() 387 alp = fmd_zalloc(sizeof (fmd_asru_link_t), FMD_SLEEP); in fmd_asru_al_create() 390 alp->al_uuid = fmd_strdup(al_uuid, FMD_SLEEP); in fmd_asru_al_create() 413 alp->al_asru_name = got_asru ? asru_name : fmd_strdup("", FMD_SLEEP); in fmd_asru_al_create() 415 alp->al_fru_name = got_fru ? fru_name : fmd_strdup("", FMD_SLEEP); in fmd_asru_al_create() 417 alp->al_rsrc_name = got_rsrc ? rsrc_name : fmd_strdup("", FMD_SLEEP); in fmd_asru_al_create() [all …]
|
H A D | fmd_ustat.c | 42 cp = fmd_zalloc(sizeof (fmd_ustat_chunk_t), FMD_SLEEP); in fmd_ustat_chunk_init() 82 fmd_ustat_t *usp = fmd_zalloc(sizeof (fmd_ustat_t), FMD_SLEEP); in fmd_ustat_create() 86 usp->us_hash = fmd_zalloc(sizeof (void *) * usp->us_hashlen, FMD_SLEEP); in fmd_ustat_create() 195 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() 292 sp->fmds_value.str, FMD_SLEEP); in fmd_ustat_insert()
|
H A D | fmd_conf.c | 223 pp->cp_value.cpv_str = fmd_strdup(s, FMD_SLEEP); in set_str() 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() 555 char *p, *q, *s = fmd_strdup(value, FMD_SLEEP); in fmd_conf_mode_set() 808 fmd_conf_t *cfp = fmd_alloc(sizeof (fmd_conf_t), FMD_SLEEP); in fmd_conf_open() 816 sizeof (fmd_conf_param_t) * (_fmd_conf_defc + argc), FMD_SLEEP); in fmd_conf_open() 820 sizeof (fmd_conf_param_t *) * cfp->cf_parhashlen, FMD_SLEEP); in fmd_conf_open() [all …]
|
H A D | fmd_fmri.c | 47 return (fmd_alloc(size, FMD_SLEEP)); in fmd_fmri_alloc() 53 return (fmd_zalloc(size, FMD_SLEEP)); in fmd_fmri_zalloc() 151 p = s = fmd_alloc(n, FMD_SLEEP); in fmd_fmri_auth2str() 188 s2 = fmd_alloc(n + 1, FMD_SLEEP); in fmd_fmri_strescape() 197 return (fmd_strdup(s, FMD_SLEEP)); in fmd_fmri_strdup()
|
H A D | fmd_scheme.c | 217 fmd_scheme_t *sp = fmd_alloc(sizeof (fmd_scheme_t), FMD_SLEEP); in fmd_scheme_create() 224 sp->sch_name = fmd_strdup(name, FMD_SLEEP); in fmd_scheme_create() 259 shp = fmd_alloc(sizeof (fmd_scheme_hash_t), FMD_SLEEP); in fmd_scheme_hash_create() 261 shp->sch_dirpath = fmd_strdup(path, FMD_SLEEP); in fmd_scheme_hash_create() 265 shp->sch_hashlen, FMD_SLEEP); in fmd_scheme_hash_create()
|
H A D | fmd_serd.c | 39 fmd_serd_eng_t *sgp = fmd_zalloc(sizeof (fmd_serd_eng_t), FMD_SLEEP); in fmd_serd_eng_alloc() 41 sgp->sg_name = fmd_strdup(name, FMD_SLEEP); in fmd_serd_eng_alloc() 61 shp->sh_hash = fmd_zalloc(sizeof (void *) * shp->sh_hashlen, FMD_SLEEP); in fmd_serd_hash_create() 211 sep = fmd_alloc(sizeof (fmd_serd_elem_t), FMD_SLEEP); in fmd_serd_eng_record()
|
H A D | fmd_log.c | 146 lp->log_uuid = fmd_zalloc(lp->log_uuidlen + 1, FMD_SLEEP); in fmd_log_write_hdr() 174 void *buf = fmd_alloc(size, FMD_SLEEP); in fmd_log_write_hdr() 289 FMD_SLEEP); in fmd_log_check_hdr() 354 fmd_log_t *lp = fmd_zalloc(sizeof (fmd_log_t), FMD_SLEEP); in fmd_log_xopen() 368 lp->log_name = fmd_alloc(len, FMD_SLEEP); in fmd_log_xopen() 370 lp->log_tag = fmd_strdup(tag, 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() 603 fe = fp = fmd_zalloc(frsize, FMD_SLEEP); in fmd_log_append() 615 eabuf = fmd_alloc(easize, FMD_SLEEP); in fmd_log_append() [all …]
|
H A D | fmd_idspace.c | 37 fmd_idspace_t *ids = fmd_alloc(sizeof (fmd_idspace_t), FMD_SLEEP); in fmd_idspace_create() 60 ids->ids_hash = fmd_zalloc(sizeof (void *) * hashlen, 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_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_case.c | 161 fmd_case_hash_t *chp = fmd_alloc(sizeof (fmd_case_hash_t), FMD_SLEEP); in fmd_case_hash_create() 165 chp->ch_hash = fmd_zalloc(sizeof (void *) * chp->ch_hashlen, FMD_SLEEP); in fmd_case_hash_create() 167 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() 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() 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() 1251 fmd_case_impl_t *cip = fmd_zalloc(sizeof (fmd_case_impl_t), FMD_SLEEP); in fmd_case_create() [all …]
|
/titanic_41/usr/src/cmd/fm/modules/common/ext-event-transport/ |
H A D | fmevt_inbound_smf.c | 84 fmristr = fmd_hdl_alloc(hdl, len, FMD_SLEEP); in shortfmri_to_fmristr() 116 if ((ret = fmd_nvl_dup(hdl, fmri, FMD_SLEEP)) == NULL) { in shortfmri_to_fmri() 175 if ((myattr = fmd_nvl_alloc(fmevt_hdl, FMD_SLEEP)) == NULL) in fmevt_pp_smf()
|
H A D | fmevt_inbound.c | 169 ns = fmd_hdl_alloc(hdl, len + 1, FMD_SLEEP); in fmevt_rs_burst() 224 obj = fmd_nvl_alloc(fmevt_hdl, FMD_SLEEP); in fmevt_detector() 225 dtcr = fmd_nvl_alloc(fmevt_hdl, FMD_SLEEP); in fmevt_detector() 226 site = fmd_nvl_alloc(fmevt_hdl, FMD_SLEEP); in fmevt_detector() 227 ctxt = fmd_nvl_alloc(fmevt_hdl, FMD_SLEEP); in fmevt_detector() 440 if ((nvl = fmd_nvl_alloc(fmevt_hdl, FMD_SLEEP)) == NULL) { in fmevt_postprocess()
|
/titanic_41/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_mem.c | 73 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in cmd_mem_serdnm_create() 85 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in cmd_page_serdnm_create() 97 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in cmd_mq_serdnm_create() 211 mn.m_name = fmd_hdl_alloc(hdl, mn.m_namelen, FMD_SLEEP); in cmd_mem_fmri_derive()
|
H A D | cmd_bank.c | 53 bm = fmd_hdl_zalloc(hdl, sizeof (cmd_bank_memb_t), FMD_SLEEP); in cmd_bank_add_dimm() 174 bank = fmd_hdl_zalloc(hdl, sizeof (cmd_bank_t), FMD_SLEEP); in cmd_bank_create() 228 new = fmd_hdl_zalloc(hdl, sizeof (cmd_bank_t), FMD_SLEEP); in bank_v0tov1() 248 bank = fmd_hdl_zalloc(hdl, sizeof (cmd_bank_t), FMD_SLEEP); in bank_wrapv1()
|
/titanic_41/usr/src/cmd/fm/modules/sun4v/generic-mem/ |
H A D | gmem_mem.c | 50 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in gmem_mem_serdnm_create() 62 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in gmem_page_serdnm_create() 74 char *nm = fmd_hdl_alloc(hdl, sz, FMD_SLEEP); in gmem_mq_serdnm_create()
|
/titanic_41/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_opl.c | 49 opl_cpu = fmd_hdl_alloc(hdl, sizeof (opl_cpu_t), FMD_SLEEP); in opl_cpulist_insert() 63 FMD_SLEEP); in opl_cpulist_insert() 85 sizeof (opl_cpu_t), FMD_SLEEP); in opl_cpulist_insert()
|
/titanic_41/usr/src/cmd/fm/modules/common/syslog-msgs/ |
H A D | syslog.c | 217 tmparr = fmd_hdl_alloc(hdl, nelem * sizeof (nvlist_t *), FMD_SLEEP); in get_notify_prefs() 224 FMD_SLEEP); in get_notify_prefs() 230 *pref_nvl = fmd_hdl_zalloc(hdl, sz, FMD_SLEEP); in get_notify_prefs() 363 (void) putenv(fmd_hdl_strdup(hdl, "TZ=GMT", FMD_SLEEP)); in _fmd_init()
|
/titanic_41/usr/src/cmd/fm/modules/common/sensor-transport/ |
H A D | sensor_transport.c | 220 FMD_SLEEP); in st_check_component() 221 sfp->sf_fru = fmd_hdl_strdup(hdl, fmri, FMD_SLEEP); in st_check_component() 246 event = fmd_nvl_alloc(hdl, FMD_SLEEP); in st_check_component() 397 stp = fmd_hdl_zalloc(hdl, sizeof (sensor_transport_t), FMD_SLEEP); in _fmd_init()
|
/titanic_41/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_cpu_arch.c | 415 return (fmd_hdl_strdup(hdl, frustr, FMD_SLEEP)); in cmd_cpu_getfrustr() 427 s1 = fmd_hdl_alloc(hdl, frustrlen, FMD_SLEEP); in cmd_cpu_getfrustr() 444 return (fmd_hdl_strdup(hdl, partstr, FMD_SLEEP)); in cmd_cpu_getpartstr() 455 return (fmd_hdl_strdup(hdl, serialstr, FMD_SLEEP)); in cmd_cpu_getserialstr()
|
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | util.c | 176 return (fmd_hdl_alloc(g_fm_hdl, sz, FMD_SLEEP)); in dmalloc() 182 return (fmd_hdl_zalloc(g_fm_hdl, sz, FMD_SLEEP)); in dzmalloc() 189 return (fmd_hdl_strdup(g_fm_hdl, s, FMD_SLEEP)); in dstrdup()
|
/titanic_41/usr/src/cmd/fm/modules/common/io-retire/ |
H A D | rio_main.c | 66 sizeof (struct except_list), FMD_SLEEP); in parse_exception_string() 67 elem->el_fault = fmd_hdl_strdup(hdl, p, FMD_SLEEP); in parse_exception_string() 337 estrdup = fmd_hdl_strdup(hdl, estr, FMD_SLEEP); in _fmd_init()
|
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | alloc.c | 96 retval = fmd_hdl_alloc(Hdl, nbytes + HDRSIZ, FMD_SLEEP); in alloc_malloc() 195 retval = fmd_hdl_alloc(Hdl, nbytes, FMD_SLEEP); in alloc_xmalloc()
|