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()
/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()
1034 mi = mdb_alloc(sizeof (*mi), UM_SLEEP | UM_GC); in nfs4_diag_dcmd()
1085 vp = mdb_alloc(sizeof (*vp), UM_SLEEP | UM_GC); in nfs_rnode4_cb()
[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()
609 array = mdb_alloc(sizeof (ipp_log_t) * nelt, UM_SLEEP); in dump_log()
[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()
197 sizeof (uint64_t), UM_SLEEP | UM_GC); in dis_setx()
441 dvp = mdb_alloc(varsize, 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()
869 offs = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_provider()
880 enoffs = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_provider()
889 p = mdb_alloc(sz, UM_SLEEP | UM_GC); in dof_sect_provider()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/
H A Dqlc.c596 UM_SLEEP)) == NULL) { in qlc_el_dcmd()
1184 UM_SLEEP); in qlstates_walk_init()
1503 UM_SLEEP); in qltgtq_dcmd()
1618 UM_SLEEP)) == NULL) {
1764 UM_SLEEP)) == NULL) { in qlc_getdump_dcmd()
1925 fw = mdb_alloc(ha->ql_dump_size, UM_SLEEP); in ql_8300_dump_dcmd()
1927 sizeof (ql_response_q_t *), UM_SLEEP); in ql_8300_dump_dcmd()
3000 sizeof (ql_response_q_t *), UM_SLEEP); in ql_25xx_dump_dcmd()
3424 sizeof (ql_response_q_t *), UM_SLEEP); in ql_81xx_dump_dcmd()
3865 UM_SLEEP)) == NULL) { in qlc_gettrace_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.c146 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()
560 dyns = mdb_alloc(nbytes, UM_SLEEP); in gelf_dyns_init()
1143 (void) mdb_nv_create(&gst->gst_nv, UM_SLEEP); in mdb_gelf_symtab_create_file_by_name()
1198 (void) mdb_nv_create(&gst->gst_nv, UM_SLEEP); in mdb_gelf_symtab_create_raw()
1304 (void) mdb_nv_create(&gst->gst_nv, UM_SLEEP); in mdb_gelf_symtab_create_dynamic()
1351 (void) mdb_nv_create(&gst->gst_nv, UM_SLEEP); in mdb_gelf_symtab_create_mutable()
1797 char *s = mdb_alloc(strlen(name) + 1, UM_SLEEP); in mdb_gelf_symtab_insert()
[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.c334 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()
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()
526 (void) mdb_nv_create(&mdb.m_nv, UM_SLEEP); in mdb_create()
577 (void) mdb_nv_create(&mdb.m_dmodctl, 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()
H A Dmdb_memio.c102 mdb_io_t *io = mdb_alloc(sizeof (mdb_io_t), UM_SLEEP); in mdb_memio_create()
103 mem_data_t *mdp = mdb_alloc(sizeof (mem_data_t), UM_SLEEP); in mdb_memio_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.c475 ucw = mdb_alloc(sizeof (*ucw), UM_SLEEP); in umem_cpu_walk_init()
942 mp = mdb_alloc(magbsize, UM_SLEEP); in umem_read_magazines()
1140 cp = mdb_alloc(csize, UM_SLEEP); in umem_walk_init_common()
1248 sizeof (umem_bufctl_t), UM_SLEEP); in umem_walk_init_common()
1649 bhw = mdb_zalloc(sizeof (*bhw), UM_SLEEP); in bufctl_history_walk_init()
1770 sizeof (umem_bufctl_audit_t *), UM_SLEEP); in umem_log_walk_init()
1843 buf = mdb_zalloc(oldsize << 1, UM_SLEEP); in allocdby_walk_bufctl()
2401 UM_SLEEP | UM_GC); in umem_log()
2526 UM_SLEEP | UM_GC); in bufctl()
4097 UM_SLEEP | UM_GC); in umem_malloc_dist()
[all …]

1234567