Home
last modified time | relevance | path

Searched refs:UM_SLEEP (Results 1 – 25 of 170) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddamap.c53 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 Dlgrp.c104 lcw = mdb_alloc(sizeof (lgrp_cpu_walk_t), UM_SLEEP | UM_GC); in lgrp_cpulist_walk_init()
352 UM_SLEEP | UM_GC); in lgrp()
354 UM_SLEEP | UM_GC); in lgrp()
356 UM_SLEEP | UM_GC); in lgrp()
359 UM_SLEEP | UM_GC); in lgrp()
361 UM_SLEEP | UM_GC); in lgrp()
428 lwd = mdb_zalloc(sizeof (lgrp_walk_data_t), UM_SLEEP | UM_GC); in lgrp_walk_init()
454 lwd->lwd_lgrp_tbl = mdb_alloc(sym.st_size, UM_SLEEP | UM_GC); in lgrp_walk_init()
604 lwsd = mdb_zalloc(sizeof (lgrp_set_walk_data_t), UM_SLEEP | UM_GC); in lgrp_set_walk_init()
637 lwsd->lwsd_lgrp_tbl = mdb_alloc(sym.st_size, UM_SLEEP | UM_GC); in lgrp_set_walk_init()
H A Dsysevent.c54 ev = mdb_alloc(size, UM_SLEEP | UM_GC); in sysevent_buf()
188 wsp->walk_data = mdb_alloc(sizeof (subclass_lst_t), UM_SLEEP); in sysevent_subclass_list_walk_init()
236 cl_walker = mdb_zalloc(sizeof (class_walk_data_t), UM_SLEEP); in sysevent_class_list_walk_init()
386 ch_walker = mdb_zalloc(sizeof (channel_walk_data_t), UM_SLEEP); in sysevent_channel_walk_init()
452 wsp->walk_data = mdb_alloc(sizeof (log_eventq_t), UM_SLEEP); in sysevent_pend_walk_init()
487 wsp->walk_data = mdb_alloc(sizeof (log_eventq_t), UM_SLEEP); in sysevent_sent_walk_init()
H A Dbio.c69 hbufs = mdb_alloc(nbytes, UM_SLEEP); in buf_walk_init()
77 bwp = mdb_alloc(sizeof (buf_walk_t), UM_SLEEP); in buf_walk_init()
83 bwp->bw_bufp = mdb_alloc(sizeof (buf_t), UM_SLEEP); in buf_walk_init()
H A Drctl.c314 dicts = mdb_alloc(nlists * sizeof (rctl_dict_entry_t *), UM_SLEEP); in rctl_dict_walk_init()
317 dwd = mdb_alloc(sizeof (dict_walk_data_t), UM_SLEEP); in rctl_dict_walk_init()
392 rctls = mdb_alloc(hashsz * sizeof (rctl_t *), UM_SLEEP); in rctl_set_walk_init()
400 swd = mdb_alloc(sizeof (set_walk_data_t), UM_SLEEP); in rctl_set_walk_init()
589 sizeof (rctl_val_seen_t), UM_SLEEP | UM_GC); in rctl_val_validate()
626 UM_SLEEP | UM_GC); in rctl_validate()
/illumos-gate/usr/src/cmd/mdb/common/modules/nfs/
H A Dcommon.c94 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_mutex()
109 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_mutex()
131 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_rwlock()
142 in = mdb_alloc(nb->len + 1, UM_SLEEP | UM_GC); in common_netbuf_str()
160 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_netbuf_str()
176 s = mdb_alloc(sz, UM_SLEEP | UM_GC); in common_netbuf_str()
202 hash_table_walk_data_t *wd = mdb_alloc(sizeof (*wd), UM_SLEEP); in hash_table_walk_init()
207 wd->member = mdb_alloc(arg->member_size, UM_SLEEP); in hash_table_walk_init()
H A Dnfs.c531 in = mdb_alloc(addr->len + 1, UM_SLEEP | UM_GC); in nfs_addr_by_conf()
553 si = mdb_alloc(sizeof (*si), UM_SLEEP | UM_GC); in nfs_addr_by_servinfo4()
574 si = mdb_alloc(sizeof (*si), UM_SLEEP | UM_GC); in nfs_addr_by_servinfo()
597 s = mdb_alloc(MAXPATHLEN, UM_SLEEP | UM_GC); in nfs_queue_show_event()
607 s = mdb_alloc(MAXPATHLEN, UM_SLEEP | UM_GC); in nfs_queue_show_event()
741 s = mdb_alloc(MAXPATHLEN, UM_SLEEP | UM_GC); in nfs_queue_show_fact()
831 mi = mdb_alloc(sizeof (*mi), UM_SLEEP | UM_GC); in nfs_print_mi4()
885 mi = mdb_alloc(sizeof (*mi), UM_SLEEP | UM_GC); in nfs_print_mi()
926 vfs = mdb_alloc(sizeof (*vfs), UM_SLEEP | UM_GC); in nfs_vfs_dcmd()
1034 mi = mdb_alloc(sizeof (*mi), UM_SLEEP | UM_GC); in nfs4_diag_dcmd()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/ipp/
H A Dipp.c143 afp = mdb_zalloc(sizeof (afdata_t), UM_SLEEP); in action()
182 ap = mdb_alloc(sizeof (ipp_action_t), UM_SLEEP); in action_format()
258 imp = mdb_alloc(sizeof (ipp_mod_t), UM_SLEEP); in action_summary()
286 clp = mdb_alloc(sizeof (cfglock_t), UM_SLEEP); in cfglock()
320 mfp = mdb_zalloc(sizeof (mfdata_t), UM_SLEEP); in mod()
359 imp = mdb_alloc(sizeof (ipp_mod_t), UM_SLEEP); in mod_format()
442 ippo = mdb_alloc(sizeof (ipp_ops_t), UM_SLEEP); in ippops()
512 rp = mdb_alloc(sizeof (ipp_ref_t), UM_SLEEP); in ref_walk_step()
549 pp = mdb_alloc(sizeof (ipp_packet_t), UM_SLEEP); in packet()
576 array = mdb_alloc(sizeof (ipp_class_t) * nelt, UM_SLEEP); in dump_classes()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/lofs/
H A Dlofs.c59 lwp = mdb_alloc(sizeof (lnode_walk_t), UM_SLEEP); in lnode_walk_init()
90 sizeof (struct lobucket), UM_SLEEP); in lnode_walk_init()
133 lwp = mdb_alloc(sizeof (lnode_walk_t), UM_SLEEP); in lnode_walk_init()
136 sizeof (struct lobucket), UM_SLEEP); in lnode_walk_init()
142 lwp->lw_lnode = mdb_alloc(sizeof (lnode_t), UM_SLEEP); in lnode_walk_init()
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c109 dvp = mdb_alloc(varsize, UM_SLEEP); in dis_varname()
129 str = mdb_zalloc(dp->dtdo_strlen + 1, UM_SLEEP | UM_GC); in dis_varname()
197 sizeof (uint64_t), UM_SLEEP | UM_GC); in dis_setx()
216 char *str = mdb_alloc(dp->dtdo_strlen, UM_SLEEP | UM_GC); in dis_sets()
441 dvp = mdb_alloc(varsize, UM_SLEEP | UM_GC); in difo()
448 str = mdb_alloc(dp->dtdo_strlen, UM_SLEEP | UM_GC); in difo()
652 hp = mdb_alloc(size, UM_SLEEP); in dof_sec_walk_init()
808 strtab = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_strtab()
848 strtab = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_provider()
860 args = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_provider()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/
H A Dqlc.c300 sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlclinks_dcmd()
335 sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlclinks_dcmd()
427 if ((fwverptr = (uint8_t *)(mdb_alloc(50, UM_SLEEP))) == NULL) { in qlcver_dcmd()
444 sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlcver_dcmd()
596 UM_SLEEP)) == NULL) { in qlc_el_dcmd()
754 mdb_alloc(sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlc_osc_dcmd()
768 if ((qlsrb = (ql_srb_t *)mdb_alloc(sizeof (ql_srb_t), UM_SLEEP)) == in qlc_osc_dcmd()
840 mdb_alloc(sizeof (ql_adapter_state_t), UM_SLEEP)) == NULL) { in qlc_wdog_dcmd()
855 mdb_alloc(sizeof (ql_head_t) * DEVICE_HEAD_LIST_SIZE, UM_SLEEP); in qlc_wdog_dcmd()
865 tqlink = (ql_link_t *)mdb_alloc(sizeof (ql_link_t), UM_SLEEP); in qlc_wdog_dcmd()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/fctl/
H A Dfctl.c83 wsp->walk_data = mdb_alloc(sizeof (fc_fca_port_t), UM_SLEEP); in port_walk_i()
210 wsp->walk_data = mdb_alloc(sizeof (fc_ulp_list_t), UM_SLEEP); in ulp_walk_i()
320 wsp->walk_data = mdb_alloc(sizeof (fc_ulp_module_t), UM_SLEEP); in ulpmod_walk_i()
593 PWWN_HASH_TABLE_SIZE, UM_SLEEP); in pd_by_pwwn_walk_i()
621 wsp->walk_data = mdb_alloc(sizeof (fc_remote_port_t), UM_SLEEP); in pd_by_pwwn_walk_i()
707 D_ID_HASH_TABLE_SIZE, UM_SLEEP); in pd_by_did_walk_i()
734 wsp->walk_data = mdb_alloc(sizeof (fc_remote_port_t), UM_SLEEP); in pd_by_did_walk_i()
988 buf = mdb_alloc(msg.id_size + 1, UM_SLEEP); in fc_dump_logmsg()
989 tmppkt = mdb_alloc(msg.id_size + 1, UM_SLEEP); in fc_dump_logmsg()
1051 buf = mdb_alloc(msg.id_size + 1, UM_SLEEP); in fc_dump_old_logmsg()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_tab.c239 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()
439 mdb_nv_sort_iter(&mcp->mtc_nv, tab_print_cb, NULL, UM_SLEEP | UM_GC); in mdb_tab_print()
H A Dmdb_gelf.c65 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 Dmdb_help.c97 mdb_nv_sort_iter(&mod->mod_dcmds, print_dcmd, NULL, UM_SLEEP | UM_GC); in print_dmod_long()
98 mdb_nv_sort_iter(&mod->mod_walkers, print_walk, NULL, UM_SLEEP | UM_GC); in print_dmod_long()
138 mdb_nv_sort_iter(&mdb.m_modules, func, NULL, UM_SLEEP | UM_GC); in cmd_dmods()
270 buf = mdb_alloc(nbytes + 1, UM_SLEEP | UM_GC); in cmd_walkers()
281 mdb_nv_sort_iter(&mdb.m_walkers, print_wdesc, &f, UM_SLEEP | UM_GC); in cmd_walkers()
359 buf = mdb_alloc(nbytes + 1, UM_SLEEP | UM_GC); in cmd_dcmds()
370 mdb_nv_sort_iter(&mdb.m_dcmds, print_ddesc, &f, UM_SLEEP | UM_GC); in cmd_dcmds()
H A Dmdb_linkerset.c285 nv = mdb_zalloc(sizeof (*nv), UM_SLEEP | UM_GC); in ldsets_walk_init()
286 ret = ldsets_nv_init(nv, UM_SLEEP | UM_GC); in ldsets_walk_init()
318 ldsi = mdb_zalloc(sizeof (*ldsi), UM_SLEEP | UM_GC); in ldset_walk_init()
438 ret = ldsets_nv_init(&nv, UM_GC | UM_SLEEP); in ldset_tab_complete()
447 mdb_nv_sort_iter(&nv, ldset_complete, mcp, UM_GC | UM_SLEEP); in ldset_tab_complete()
H A Dmdb.c332 npath = mdb_zalloc(sizeof (char *) * (i + 1), UM_SLEEP); in mdb_path_dup()
334 npath[0] = mdb_alloc(pathlen, UM_SLEEP); in mdb_path_dup()
490 mdb.m_ipathstr = mdb_zalloc(MAXPATHLEN, UM_SLEEP); in mdb_create()
491 mdb.m_lpathstr = mdb_zalloc(MAXPATHLEN, UM_SLEEP); in mdb_create()
516 (void) mdb_nv_create(&mdb.m_rmod.mod_walkers, UM_SLEEP); in mdb_create()
517 (void) mdb_nv_create(&mdb.m_rmod.mod_dcmds, UM_SLEEP); in mdb_create()
522 (void) mdb_nv_create(&mdb.m_disasms, UM_SLEEP); in mdb_create()
523 (void) mdb_nv_create(&mdb.m_modules, UM_SLEEP); in mdb_create()
524 (void) mdb_nv_create(&mdb.m_dcmds, UM_SLEEP); in mdb_create()
525 (void) mdb_nv_create(&mdb.m_walkers, UM_SLEEP); in mdb_create()
[all …]
H A Dmdb_module.c116 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()
227 dctp = mdb_zalloc(sizeof (mdb_dcmd_t) * (ii + 1), UM_SLEEP); in mdb_module_create()
447 idcp = mdb_alloc(sizeof (mdb_idcmd_t), UM_SLEEP); in mdb_module_add_dcmd()
535 iwp = mdb_alloc(sizeof (mdb_iwalker_t), UM_SLEEP); in mdb_module_add_walker()
H A Dmdb_fdio.c203 blk = mdb_zalloc(blksize, UM_SLEEP | UM_GC); in fdio_bdev_read()
247 blk = mdb_zalloc(blksize, UM_SLEEP | UM_GC); in fdio_bdev_write()
290 mdb_io_t *io = mdb_alloc(sizeof (mdb_io_t), UM_SLEEP); in mdb_fdio_create()
291 fd_data_t *fdp = mdb_alloc(sizeof (fd_data_t), UM_SLEEP); in mdb_fdio_create()
/illumos-gate/usr/src/cmd/mdb/common/modules/fcp/
H A Dfcp.c56 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()
424 wsp->walk_data = mdb_alloc(sizeof (struct fcp_ipkt), UM_SLEEP); in ipkt_walk_i()
488 wsp->walk_data = mdb_alloc(sizeof (struct fcp_pkt), UM_SLEEP); in pkt_walk_i()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_module_load.c84 kmc = mdb_zalloc(sizeof (kmdb_modctl_t), UM_SLEEP); in mdb_module_load()
96 dlr = mdb_zalloc(sizeof (kmdb_wr_load_t), UM_SLEEP); in mdb_module_load()
158 kmc = mdb_zalloc(sizeof (kmdb_modctl_t), UM_SLEEP); in kmdb_module_loaded()
211 wn = mdb_zalloc(sizeof (kmdb_wr_t), UM_SLEEP); in mdb_module_load_all()
226 kmdb_wr_unload_t *dur = mdb_zalloc(sizeof (kmdb_wr_unload_t), UM_SLEEP); in kmdb_module_request_unload()
/illumos-gate/usr/src/cmd/mdb/intel/modules/generic_cpu/
H A Dgcpu.c169 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()
/illumos-gate/usr/src/cmd/mdb/common/modules/libuutil/
H A Dlibuutil.c139 ulpw = mdb_alloc(sizeof (uutil_listpool_walk_t), UM_SLEEP); in uutil_listpool_walk_init()
198 ulw = mdb_alloc(sizeof (uutil_list_walk_t), UM_SLEEP); in uutil_list_walk_init()
263 ulnw = mdb_alloc(sizeof (uutil_list_node_walk_t), UM_SLEEP); in uutil_list_node_walk_init()
268 ulnw->ulnw_buf = mdb_alloc(ulp.ulp_objsize, UM_SLEEP); in uutil_list_node_walk_init()
/illumos-gate/usr/src/cmd/mdb/common/modules/scsi_vhci/
H A Dscsi_vhci.c264 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()
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c249 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()
421 ucw = mdb_alloc(sizeof (umem_cache_walk_t), UM_SLEEP); in umem_cache_walk_init()
475 ucw = mdb_alloc(sizeof (*ucw), UM_SLEEP); in umem_cpu_walk_init()
723 umhw = mdb_zalloc(sizeof (umem_hash_walk_t), UM_SLEEP); in umem_hash_walk_init()
731 umhw->umhw_table = hash = mdb_alloc(hsize, UM_SLEEP); in umem_hash_walk_init()
941 maglist = mdb_alloc(magmax * sizeof (void *), UM_SLEEP); in umem_read_magazines()
942 mp = mdb_alloc(magbsize, UM_SLEEP); in umem_read_magazines()
1015 void **new = mdb_zalloc(nmax * sizeof (void *), UM_SLEEP); in umem_read_ptc_walk_buf()
1140 cp = mdb_alloc(csize, UM_SLEEP); in umem_walk_init_common()
[all …]

1234567