/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | damap.c | 53 return (strcpy(mdb_alloc(strlen(s) + 1, UM_SLEEP), s)); in local_strdup() 81 bs = mdb_zalloc(sizeof (*bs), UM_SLEEP); in bitset_get() 89 bs->bs_set = mdb_alloc(bs->bs_words * sizeof (ulong_t), UM_SLEEP); in bitset_get() 184 kssarray = mdb_alloc(array_sz, UM_SLEEP); in damap_get() 197 dam = mdb_zalloc(sizeof (*dam), UM_SLEEP); in damap_get() 229 ss = mdb_zalloc(sizeof (struct i_ddi_soft_state), UM_SLEEP); in damap_get() 232 ss->array = mdb_zalloc(array_sz, UM_SLEEP); in damap_get() 237 da = ss->array[i] = mdb_zalloc(sizeof (*da), UM_SLEEP); in damap_get()
|
H A D | lgrp.c | 106 lcw = mdb_alloc(sizeof (lgrp_cpu_walk_t), UM_SLEEP | UM_GC); in lgrp_cpulist_walk_init() 354 UM_SLEEP | UM_GC); in lgrp() 356 UM_SLEEP | UM_GC); in lgrp() 358 UM_SLEEP | UM_GC); in lgrp() 361 UM_SLEEP | UM_GC); in lgrp() 363 UM_SLEEP | UM_GC); in lgrp() 430 lwd = mdb_zalloc(sizeof (lgrp_walk_data_t), UM_SLEEP | UM_GC); in lgrp_walk_init() 456 lwd->lwd_lgrp_tbl = mdb_alloc(sym.st_size, UM_SLEEP | UM_GC); in lgrp_walk_init() 606 lwsd = mdb_zalloc(sizeof (lgrp_set_walk_data_t), UM_SLEEP | UM_GC); in lgrp_set_walk_init() 639 lwsd->lwsd_lgrp_tbl = mdb_alloc(sym.st_size, UM_SLEEP | UM_GC); in lgrp_set_walk_init()
|
H A D | sysevent.c | 56 ev = mdb_alloc(size, UM_SLEEP | UM_GC); in sysevent_buf() 190 wsp->walk_data = mdb_alloc(sizeof (subclass_lst_t), UM_SLEEP); in sysevent_subclass_list_walk_init() 238 cl_walker = mdb_zalloc(sizeof (class_walk_data_t), UM_SLEEP); in sysevent_class_list_walk_init() 388 ch_walker = mdb_zalloc(sizeof (channel_walk_data_t), UM_SLEEP); in sysevent_channel_walk_init() 454 wsp->walk_data = mdb_alloc(sizeof (log_eventq_t), UM_SLEEP); in sysevent_pend_walk_init() 489 wsp->walk_data = mdb_alloc(sizeof (log_eventq_t), UM_SLEEP); in sysevent_sent_walk_init()
|
H A D | bio.c | 71 hbufs = mdb_alloc(nbytes, UM_SLEEP); in buf_walk_init() 79 bwp = mdb_alloc(sizeof (buf_walk_t), UM_SLEEP); in buf_walk_init() 85 bwp->bw_bufp = mdb_alloc(sizeof (buf_t), UM_SLEEP); in buf_walk_init()
|
/titanic_44/usr/src/cmd/mdb/common/modules/ipp/ |
H A D | ipp.c | 145 afp = mdb_zalloc(sizeof (afdata_t), UM_SLEEP); in action() 184 ap = mdb_alloc(sizeof (ipp_action_t), UM_SLEEP); in action_format() 260 imp = mdb_alloc(sizeof (ipp_mod_t), UM_SLEEP); in action_summary() 288 clp = mdb_alloc(sizeof (cfglock_t), UM_SLEEP); in cfglock() 322 mfp = mdb_zalloc(sizeof (mfdata_t), UM_SLEEP); in mod() 361 imp = mdb_alloc(sizeof (ipp_mod_t), UM_SLEEP); in mod_format() 444 ippo = mdb_alloc(sizeof (ipp_ops_t), UM_SLEEP); in ippops() 514 rp = mdb_alloc(sizeof (ipp_ref_t), UM_SLEEP); in ref_walk_step() 551 pp = mdb_alloc(sizeof (ipp_packet_t), UM_SLEEP); in packet() 578 array = mdb_alloc(sizeof (ipp_class_t) * nelt, UM_SLEEP); in dump_classes() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/modules/lofs/ |
H A D | lofs.c | 61 lwp = mdb_alloc(sizeof (lnode_walk_t), UM_SLEEP); in lnode_walk_init() 92 sizeof (struct lobucket), UM_SLEEP); in lnode_walk_init() 135 lwp = mdb_alloc(sizeof (lnode_walk_t), UM_SLEEP); in lnode_walk_init() 138 sizeof (struct lobucket), UM_SLEEP); in lnode_walk_init() 144 lwp->lw_lnode = mdb_alloc(sizeof (lnode_t), UM_SLEEP); in lnode_walk_init()
|
/titanic_44/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dof.c | 111 dvp = mdb_alloc(varsize, UM_SLEEP); in dis_varname() 131 str = mdb_zalloc(dp->dtdo_strlen + 1, UM_SLEEP | UM_GC); in dis_varname() 199 sizeof (uint64_t), UM_SLEEP | UM_GC); in dis_setx() 218 char *str = mdb_alloc(dp->dtdo_strlen, UM_SLEEP | UM_GC); in dis_sets() 443 dvp = mdb_alloc(varsize, UM_SLEEP | UM_GC); in difo() 450 str = mdb_alloc(dp->dtdo_strlen, UM_SLEEP | UM_GC); in difo() 654 hp = mdb_alloc(size, UM_SLEEP); in dof_sec_walk_init() 810 strtab = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_strtab() 850 strtab = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_provider() 862 args = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_provider() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/modules/qlc/ |
H A D | qlc.c | 282 sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlclinks_dcmd() 317 sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlclinks_dcmd() 409 if ((fwverptr = (uint8_t *)(mdb_alloc(50, UM_SLEEP))) == NULL) { in qlcver_dcmd() 426 sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlcver_dcmd() 578 UM_SLEEP)) == NULL) { in qlc_el_dcmd() 736 mdb_alloc(sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlc_osc_dcmd() 750 if ((qlsrb = (ql_srb_t *)mdb_alloc(sizeof (ql_srb_t), UM_SLEEP)) == in qlc_osc_dcmd() 822 mdb_alloc(sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlc_wdog_dcmd() 837 mdb_alloc(sizeof (ql_head_t) * DEVICE_HEAD_LIST_SIZE, UM_SLEEP); in qlc_wdog_dcmd() 847 tqlink = (ql_link_t *)mdb_alloc(sizeof (ql_link_t), UM_SLEEP); in qlc_wdog_dcmd() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_tab.c | 239 UM_SLEEP | UM_GC); in tab_parse_buf() 279 data = mdb_alloc(strlen(buf) + 1, UM_SLEEP | UM_GC); in mdb_tab_command() 349 UM_GC | UM_SLEEP); in mdb_tab_complete_dcmd() 369 UM_GC | UM_SLEEP); in mdb_tab_complete_walker() 379 mcp = mdb_zalloc(sizeof (mdb_tab_cookie_t), UM_SLEEP | UM_GC); in mdb_tab_init() 380 (void) mdb_nv_create(&mcp->mtc_nv, UM_SLEEP | UM_GC); in mdb_tab_init() 440 mdb_nv_sort_iter(&mcp->mtc_nv, tab_print_cb, NULL, UM_SLEEP | UM_GC); in mdb_tab_print()
|
H A D | mdb_gelf.c | 65 shstr->gs_data = mdb_zalloc(shstr->gs_shdr.sh_size + 1, UM_SLEEP); in gelf_sect_init() 101 gf->gf_phdrs = mdb_zalloc(sizeof (GElf_Phdr) * npbit, UM_SLEEP); in gelf_sect_init() 146 gsp->gs_data = mdb_alloc(gsp->gs_shdr.sh_size, UM_SLEEP); in mdb_gelf_sect_load() 250 shdrs = mdb_alloc(nbytes, UM_SLEEP); in gelf_shdrs_init() 259 UM_SLEEP); in gelf_shdrs_init() 372 phdrs = mdb_alloc(nbytes, UM_SLEEP); in gelf_phdrs_init() 380 gf->gf_phdrs = mdb_zalloc(sizeof (GElf_Phdr) * gf->gf_phnum, UM_SLEEP); in gelf_phdrs_init() 490 gf->gf_dyns = mdb_zalloc(sizeof (GElf_Dyn) * ndyns, UM_SLEEP); in mdb_gelf_dyns_set() 560 dyns = mdb_alloc(nbytes, UM_SLEEP); in gelf_dyns_init() 568 gf->gf_dyns = mdb_zalloc(sizeof (GElf_Dyn) * ndyns, UM_SLEEP); in gelf_dyns_init() [all …]
|
H A D | mdb_help.c | 95 mdb_nv_sort_iter(&mod->mod_dcmds, print_dcmd, NULL, UM_SLEEP | UM_GC); in print_dmod_long() 96 mdb_nv_sort_iter(&mod->mod_walkers, print_walk, NULL, UM_SLEEP | UM_GC); in print_dmod_long() 136 mdb_nv_sort_iter(&mdb.m_modules, func, NULL, UM_SLEEP | UM_GC); in cmd_dmods() 159 mdb_nv_sort_iter(&mdb.m_walkers, print_wdesc, NULL, UM_SLEEP | UM_GC); in cmd_walkers() 181 mdb_nv_sort_iter(&mdb.m_dcmds, print_ddesc, NULL, UM_SLEEP | UM_GC); in cmd_dcmds()
|
H A D | mdb_module.c | 116 mod = mdb_zalloc(sizeof (mdb_module_t), UM_SLEEP); in mdb_module_create() 117 mod->mod_info = mdb_alloc(sizeof (mdb_modinfo_t), UM_SLEEP); in mdb_module_create() 119 (void) mdb_nv_create(&mod->mod_dcmds, UM_SLEEP); in mdb_module_create() 120 (void) mdb_nv_create(&mod->mod_walkers, UM_SLEEP); in mdb_module_create() 223 dctp = mdb_zalloc(sizeof (mdb_dcmd_t) * (ii + 1), UM_SLEEP); in mdb_module_create() 443 idcp = mdb_alloc(sizeof (mdb_idcmd_t), UM_SLEEP); in mdb_module_add_dcmd() 531 iwp = mdb_alloc(sizeof (mdb_iwalker_t), UM_SLEEP); in mdb_module_add_walker()
|
H A D | mdb.c | 331 npath = mdb_zalloc(sizeof (char *) * (i + 1), UM_SLEEP); in mdb_path_dup() 333 npath[0] = mdb_alloc(pathlen, UM_SLEEP); in mdb_path_dup() 482 mdb.m_ipathstr = mdb_zalloc(MAXPATHLEN, UM_SLEEP); in mdb_create() 483 mdb.m_lpathstr = mdb_zalloc(MAXPATHLEN, UM_SLEEP); in mdb_create() 508 (void) mdb_nv_create(&mdb.m_rmod.mod_walkers, UM_SLEEP); in mdb_create() 509 (void) mdb_nv_create(&mdb.m_rmod.mod_dcmds, UM_SLEEP); in mdb_create() 514 (void) mdb_nv_create(&mdb.m_disasms, UM_SLEEP); in mdb_create() 515 (void) mdb_nv_create(&mdb.m_modules, UM_SLEEP); in mdb_create() 516 (void) mdb_nv_create(&mdb.m_dcmds, UM_SLEEP); in mdb_create() 517 (void) mdb_nv_create(&mdb.m_walkers, UM_SLEEP); in mdb_create() [all …]
|
H A D | mdb_typedef.c | 239 pn = mdb_zalloc(sizeof (parse_node_t), UM_SLEEP | UM_GC); in typedef_parse_member() 303 pr = mdb_zalloc(sizeof (parse_root_t), UM_SLEEP | UM_GC); in typedef_parse() 419 (void) mdb_nv_create(&nv, UM_SLEEP | UM_GC); in typedef_validate() 631 UM_GC | UM_SLEEP); in cmd_typedef() 649 src = typedef_join_strings(argc - 2, argv, UM_GC | UM_SLEEP); in cmd_typedef()
|
H A D | mdb_memio.c | 104 mdb_io_t *io = mdb_alloc(sizeof (mdb_io_t), UM_SLEEP); in mdb_memio_create() 105 mem_data_t *mdp = mdb_alloc(sizeof (mem_data_t), UM_SLEEP); in mdb_memio_create()
|
/titanic_44/usr/src/cmd/mdb/common/modules/fctl/ |
H A D | fctl.c | 80 wsp->walk_data = mdb_alloc(sizeof (fc_fca_port_t), UM_SLEEP); in port_walk_i() 207 wsp->walk_data = mdb_alloc(sizeof (fc_ulp_list_t), UM_SLEEP); in ulp_walk_i() 317 wsp->walk_data = mdb_alloc(sizeof (fc_ulp_module_t), UM_SLEEP); in ulpmod_walk_i() 590 PWWN_HASH_TABLE_SIZE, UM_SLEEP); in pd_by_pwwn_walk_i() 618 wsp->walk_data = mdb_alloc(sizeof (fc_remote_port_t), UM_SLEEP); in pd_by_pwwn_walk_i() 704 D_ID_HASH_TABLE_SIZE, UM_SLEEP); in pd_by_did_walk_i() 731 wsp->walk_data = mdb_alloc(sizeof (fc_remote_port_t), UM_SLEEP); in pd_by_did_walk_i() 985 buf = mdb_alloc(msg.id_size + 1, UM_SLEEP); in fc_dump_logmsg() 986 tmppkt = mdb_alloc(msg.id_size + 1, UM_SLEEP); in fc_dump_logmsg() 1048 buf = mdb_alloc(msg.id_size + 1, UM_SLEEP); in fc_dump_old_logmsg() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/modules/fcp/ |
H A D | fcp.c | 56 wsp->walk_data = mdb_alloc(sizeof (struct fcp_port), UM_SLEEP); in fcp_walk_i() 206 wsp->walk_data = mdb_alloc(sizeof (struct fcp_pkt), UM_SLEEP); in cmds_walk_i() 268 wsp->walk_data = mdb_alloc(sizeof (struct fcp_lun), UM_SLEEP); in luns_walk_i() 338 wsp->walk_data = mdb_alloc(sizeof (struct fcp_tgt), UM_SLEEP); in targets_walk_i() 425 wsp->walk_data = mdb_alloc(sizeof (struct fcp_ipkt), UM_SLEEP); in ipkt_walk_i() 489 wsp->walk_data = mdb_alloc(sizeof (struct fcp_pkt), UM_SLEEP); in pkt_walk_i()
|
/titanic_44/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_module_load.c | 86 kmc = mdb_zalloc(sizeof (kmdb_modctl_t), UM_SLEEP); in mdb_module_load() 98 dlr = mdb_zalloc(sizeof (kmdb_wr_load_t), UM_SLEEP); in mdb_module_load() 160 kmc = mdb_zalloc(sizeof (kmdb_modctl_t), UM_SLEEP); in kmdb_module_loaded() 213 wn = mdb_zalloc(sizeof (kmdb_wr_t), UM_SLEEP); in mdb_module_load_all() 228 kmdb_wr_unload_t *dur = mdb_zalloc(sizeof (kmdb_wr_unload_t), UM_SLEEP); in kmdb_module_request_unload()
|
/titanic_44/usr/src/cmd/mdb/sun4u/modules/unix/ |
H A D | unix.c | 484 setp = mdb_alloc(words * sizeof (ulong_t), UM_SLEEP | UM_GC); in cmd_cpuset() 524 ctls = mdb_alloc(sizeof (TRAP_TRACE_CTL) * ncpu, UM_SLEEP | UM_GC); in ttctl() 687 ctls = mdb_alloc(sizeof (TRAP_TRACE_CTL) * ncpu, UM_SLEEP); in ttrace_walk_init() 695 tw = mdb_zalloc(sizeof (ttrace_walk_data_t), UM_SLEEP); in ttrace_walk_init() 697 tw->tw_cpus = mdb_zalloc(sizeof (ttrace_cpu_data_t) * ncpu, UM_SLEEP); in ttrace_walk_init() 709 tc->tc_buf = buf = mdb_alloc(tc->tc_bufsiz, UM_SLEEP); in ttrace_walk_init() 871 ctls = mdb_alloc(sizeof (TRAP_TRACE_CTL) * ncpu, UM_SLEEP | UM_GC); in httctl() 976 ctls = mdb_alloc(sizeof (TRAP_TRACE_CTL) * ncpu, UM_SLEEP); in httrace_walk_init() 984 tw = mdb_zalloc(sizeof (httrace_walk_data_t), UM_SLEEP); in httrace_walk_init() 986 tw->tw_cpus = mdb_zalloc(sizeof (httrace_cpu_data_t) * ncpu, UM_SLEEP); in httrace_walk_init() [all …]
|
/titanic_44/usr/src/cmd/mdb/intel/modules/generic_cpu/ |
H A D | gcpu.c | 169 mdb_zalloc(sizeof (struct cmih_walk_state), UM_SLEEP); in cmih_walk_init() 205 pg = mdb_alloc(sz, UM_SLEEP); in cmih_walk_init() 289 cp = mdb_alloc(sizeof (cpu_t), UM_SLEEP); in cmihdl_cb() 398 cp = mdb_alloc(sizeof (cpu_t), UM_SLEEP); in cmihdl_disp() 460 buf = mdb_alloc(len + 1, UM_SLEEP); in cmihdl() 528 hdl = mdb_alloc(sizeof (cmi_hdl_impl_t), UM_SLEEP); in cmihdl() 618 mw = mdb_alloc(sizeof (mptwalk_data_t), UM_SLEEP); in gcpu_mptwalk_init() 622 mw->mw_trace = mdb_alloc(mw->mw_tracesz, UM_SLEEP); in gcpu_mptwalk_init()
|
/titanic_44/usr/src/cmd/mdb/common/modules/libuutil/ |
H A D | libuutil.c | 141 ulpw = mdb_alloc(sizeof (uutil_listpool_walk_t), UM_SLEEP); in uutil_listpool_walk_init() 200 ulw = mdb_alloc(sizeof (uutil_list_walk_t), UM_SLEEP); in uutil_list_walk_init() 265 ulnw = mdb_alloc(sizeof (uutil_list_node_walk_t), UM_SLEEP); in uutil_list_node_walk_init() 270 ulnw->ulnw_buf = mdb_alloc(ulp.ulp_objsize, UM_SLEEP); in uutil_list_node_walk_init()
|
/titanic_44/usr/src/cmd/mdb/common/modules/smbfs/ |
H A D | smbfs.c | 133 cbd = mdb_zalloc(sizeof (*cbd), UM_SLEEP | UM_GC); in smbfs_vfs_dcmd() 160 vfs = mdb_alloc(sizeof (*vfs), UM_SLEEP | UM_GC); in smbfs_vfs_dcmd() 227 cbd = mdb_zalloc(sizeof (*cbd), UM_SLEEP | UM_GC); in smbfs_node_dcmd()
|
/titanic_44/usr/src/cmd/mdb/common/modules/scsi_vhci/ |
H A D | scsi_vhci.c | 264 mdi_vhci_value = (mdi_vhci_t *)mdb_alloc(mdi_vhci_len, UM_SLEEP|UM_GC); in vhciguid() 271 class = (char *)mdb_alloc(len, UM_SLEEP|UM_GC); in vhciguid() 322 UM_SLEEP|UM_GC); in vhciguid() 339 UM_SLEEP|UM_GC); in vhciguid() 422 UM_SLEEP|UM_GC); in dump_states() 432 ss->array = mdb_alloc(array_size, UM_SLEEP|UM_GC); in dump_states()
|
/titanic_44/usr/src/cmd/mdb/common/modules/nsctl/ |
H A D | nsctl.c | 773 io = mdb_zalloc(sizeof (*io), UM_SLEEP | UM_GC); in nsc_io() 874 dev = mdb_zalloc(sizeof (*dev), UM_SLEEP | UM_GC); in nsc_dev() 913 dv = mdb_zalloc(sizeof (*dv), UM_SLEEP | UM_GC); in nsc_dev() 971 dv = mdb_zalloc(sizeof (*dv), UM_SLEEP | UM_GC); in nsc_devval() 1125 fd = mdb_zalloc(sizeof (*fd), UM_SLEEP | UM_GC); in nsc_fd() 1292 iodev = mdb_zalloc(sizeof (*iodev), UM_SLEEP | UM_GC); in nsc_iodev() 1394 service = mdb_zalloc(sizeof (*service), UM_SLEEP | UM_GC); in nsc_service() 1467 svc = mdb_zalloc(sizeof (*svc), UM_SLEEP | UM_GC); in nsc_svc() 1503 vp = mdb_zalloc(sizeof (*vp), UM_SLEEP | UM_GC); in nsc_val() 1555 set = mdb_zalloc(sizeof (*set), UM_SLEEP | UM_GC); in nstset() [all …]
|
/titanic_44/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | umem.c | 249 sizes = mdb_zalloc(sym.st_size + sizeof (int), UM_SLEEP | UM_GC); in umem_statechange_cb() 277 umem_error_buffer = mdb_alloc(bufsize+1, UM_SLEEP | UM_GC); in umem_abort_messages() 420 ucw = mdb_alloc(sizeof (umem_cache_walk_t), UM_SLEEP); in umem_cache_walk_init() 474 ucw = mdb_alloc(sizeof (*ucw), UM_SLEEP); in umem_cpu_walk_init() 722 umhw = mdb_zalloc(sizeof (umem_hash_walk_t), UM_SLEEP); in umem_hash_walk_init() 730 umhw->umhw_table = hash = mdb_alloc(hsize, UM_SLEEP); in umem_hash_walk_init() 940 maglist = mdb_alloc(magmax * sizeof (void *), UM_SLEEP); in umem_read_magazines() 941 mp = mdb_alloc(magbsize, UM_SLEEP); in umem_read_magazines() 1014 void **new = mdb_zalloc(nmax * sizeof (void *), UM_SLEEP); in umem_read_ptc_walk_buf() 1139 cp = mdb_alloc(csize, UM_SLEEP); in umem_walk_init_common() [all …]
|