Home
last modified time | relevance | path

Searched refs:mdb_zalloc (Results 1 – 25 of 101) sorted by relevance

12345

/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddamap.c81 bs = mdb_zalloc(sizeof (*bs), UM_SLEEP); in bitset_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.c351 lcc.lcc_cpucnt = mdb_zalloc(sizeof (uint_t) * lcpu, in lgrp()
353 lcc.lcc_psrsetid = mdb_zalloc(sizeof (uint_t) * lcpu, in lgrp()
355 lcc.lcc_cpuset = mdb_zalloc(sizeof (uintptr_t) * lcpu, in lgrp()
358 lcc.lcc_cpuset[i] = mdb_zalloc(cpusetsize, in lgrp()
360 lcc.lcc_loadavg = mdb_zalloc(sizeof (int) * lcpu, in lgrp()
428 lwd = mdb_zalloc(sizeof (lgrp_walk_data_t), 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()
H A Dtaskq.c169 tqi.tqi_array = mdb_zalloc( in taskq()
215 taskq_bucket_t *b = mdb_zalloc(bsize, UM_SLEEP | UM_GC); in taskq()
402 tti = wsp->walk_data = mdb_zalloc(sizeof (*tti), UM_SLEEP); in taskq_thread_walk_init()
H A Davl.c96 wsp->walk_data = aw = mdb_zalloc(sizeof (struct aw_info), UM_SLEEP); in avl_walk_init_range()
116 aw->aw_buff = mdb_zalloc(tree->avl_size, UM_SLEEP); in avl_walk_init_range()
H A Ddnlc.c39 dwp = mdb_zalloc(sizeof (dnlc_walk_t), UM_SLEEP); in dnlc_walk_init()
H A Dfindstack.c402 nsep = mdb_zalloc(STACKS_ENTRY_SIZE(depth), UM_SLEEP); in stacks_thread_cb()
473 mdb_zalloc(STACKS_HSIZE * sizeof (*si.si_hash), UM_SLEEP); in stacks_run()
501 mdb_zalloc(si.si_entries * sizeof (*stacks_array), UM_SLEEP); in stacks_run()
749 seen = mdb_zalloc(p.pipe_len, UM_SLEEP | UM_GC); in stacks()
/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()
H A Dkmdb_promio.c195 io = mdb_zalloc(sizeof (mdb_io_t), UM_SLEEP); in kmdb_promio_create()
196 pdp = mdb_zalloc(sizeof (pio_data_t), UM_SLEEP); in kmdb_promio_create()
H A Dkmdb_context.c56 mdb_context_t *c = mdb_zalloc(sizeof (mdb_context_t), UM_NOSLEEP); in mdb_context_create()
/illumos-gate/usr/src/cmd/mdb/common/modules/libmlsvc/
H A Dmlsvc.c118 args = mdb_zalloc(sizeof (*args), UM_SLEEP | UM_GC); in smb_shr_cache_dcmd()
137 ssc = mdb_zalloc(sizeof (*ssc), UM_SLEEP | UM_GC); in smb_shr_cache_dcmd()
H A Dsmb_ht.c53 wsp->walk_data = hw = mdb_zalloc(sizeof (*hw), UM_GC|UM_SLEEP); in smb_ht_walk_init()
/illumos-gate/usr/src/cmd/mdb/common/modules/mm/
H A Dmm.c39 kw = mdb_zalloc(sizeof (kmemlog_walk_t), UM_SLEEP); in kmemlog_walk_init()
40 kw->kmlw_entries = mdb_zalloc(sym.st_size, UM_SLEEP); in kmemlog_walk_init()
/illumos-gate/usr/src/cmd/mdb/common/modules/ufs/
H A Dufs_log.c56 uw = mdb_zalloc(sizeof (ufslogmap_walk_data_t), UM_SLEEP | UM_GC); in ufslogmap_walk_init()
214 msp = mdb_zalloc(sizeof (mapstats_t), UM_SLEEP | UM_GC); in mapstats_dcmd()
/illumos-gate/usr/src/lib/libdisasm/common/
H A Dlinktest_stand.c35 void mdb_zalloc(void) {} in mdb_zalloc() function
/illumos-gate/usr/src/cmd/mdb/common/mdb/
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()
258 gf->gf_sects = mdb_zalloc(sizeof (mdb_gelf_sect_t) * gf->gf_shnum, in gelf_shdrs_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()
568 gf->gf_dyns = mdb_zalloc(sizeof (GElf_Dyn) * ndyns, UM_SLEEP); in gelf_dyns_init()
768 mdb_gelf_file_t *gf = mdb_zalloc(sizeof (mdb_gelf_file_t), UM_SLEEP); in mdb_gelf_create()
1208 gst->gst_dsect = mdb_zalloc(sizeof (mdb_gelf_sect_t), UM_SLEEP); in mdb_gelf_symtab_create_raw()
1212 gst->gst_ssect = mdb_zalloc(sizeof (mdb_gelf_sect_t), UM_SLEEP); in mdb_gelf_symtab_create_raw()
1303 gst = mdb_zalloc(sizeof (mdb_gelf_symtab_t), UM_SLEEP); in mdb_gelf_symtab_create_dynamic()
[all …]
H A Dmdb_whatis.c423 wcp = mdb_zalloc(sizeof (*wcp), UM_SLEEP); in mdb_whatis_register()
445 whatis_callback_t **narray = mdb_zalloc(nbytes, UM_SLEEP); in mdb_whatis_register()
566 w.w_addrfound = mdb_zalloc(w.w_naddrs * sizeof (*w.w_addrfound), in cmd_whatis()
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()
H A Dmdb_callb.c42 mdb_callb_t *new = mdb_zalloc(sizeof (mdb_callb_t), UM_SLEEP); in mdb_callb_add()
H A Dmdb_linkerset.c285 nv = mdb_zalloc(sizeof (*nv), UM_SLEEP | UM_GC); in ldsets_walk_init()
318 ldsi = mdb_zalloc(sizeof (*ldsi), UM_SLEEP | UM_GC); in ldset_walk_init()
/illumos-gate/usr/src/cmd/mdb/common/modules/smbfs/
H A Dsmbfs.c139 cbd = mdb_zalloc(sizeof (*cbd), UM_SLEEP | UM_GC); in smbfs_vfs_dcmd()
233 cbd = mdb_zalloc(sizeof (*cbd), UM_SLEEP | UM_GC); in smbfs_node_dcmd()
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c690 sv = mdb_zalloc(sizeof (*sv), UM_SLEEP | UM_GC); in smbsrv_dcmd()
885 se = mdb_zalloc(sizeof (*se), UM_SLEEP | UM_GC); in smbsess_dcmd()
1013 sr = mdb_zalloc(sizeof (*sr), UM_SLEEP | UM_GC); in smbreq_dcmd()
1205 sr = mdb_zalloc(sizeof (*sr), UM_SLEEP | UM_GC); in smbreq_dump_dcmd()
1216 ssn = mdb_zalloc(sizeof (*ssn), UM_SLEEP | UM_GC); in smbreq_dump_dcmd()
1455 user = mdb_zalloc(sizeof (*user), UM_SLEEP | UM_GC); in smbuser_dcmd()
1461 account = mdb_zalloc(user->u_domain_len + user->u_name_len + 2, in smbuser_dcmd()
1677 tree = mdb_zalloc(sizeof (*tree), UM_SLEEP | UM_GC); in smbtree_dcmd()
1754 od = mdb_zalloc(sizeof (*od), UM_SLEEP | UM_GC); in smbodir_dcmd()
1874 of = mdb_zalloc(sizeof (*of), UM_SLEEP | UM_GC); in smbofile_dcmd()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/
H A Demlxs.c461 bptr = (uint8_t *)mdb_zalloc(size, UM_SLEEP|UM_GC); in emlxs_dump()
508 bptr = (uint8_t *)mdb_zalloc(size, UM_SLEEP|UM_GC); in emlxs_dump()
591 bptr = (uint8_t *)mdb_zalloc(size, UM_SLEEP|UM_GC); in emlxs_dump()
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dkvm_ia32dep.c202 kt->k_regs = mdb_zalloc(sizeof (mdb_tgt_gregset_t), UM_SLEEP); in kt_ia32_init()
249 panic_data_t *pdp = mdb_zalloc(pd_size, UM_SLEEP); in kt_ia32_init()
H A Dkvm_amd64dep.c207 kt->k_regs = mdb_zalloc(sizeof (mdb_tgt_gregset_t), UM_SLEEP); in kt_amd64_init()
253 panic_data_t *pdp = mdb_zalloc(pd_size, UM_SLEEP); in kt_amd64_init()
/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()
723 umhw = mdb_zalloc(sizeof (umem_hash_walk_t), UM_SLEEP); in umem_hash_walk_init()
1015 void **new = mdb_zalloc(nmax * sizeof (void *), UM_SLEEP); in umem_read_ptc_walk_buf()
1207 wsp->walk_data = umw = mdb_zalloc(sizeof (umem_walk_t), UM_SLEEP); in umem_walk_init_common()
1649 bhw = mdb_zalloc(sizeof (*bhw), UM_SLEEP); in bufctl_history_walk_init()
1748 ulw = mdb_zalloc(sizeof (umem_log_walk_t), UM_SLEEP); in umem_log_walk_init()
1843 buf = mdb_zalloc(oldsize << 1, UM_SLEEP); in allocdby_walk_bufctl()
1892 abw = mdb_zalloc(sizeof (allocdby_walk_t), UM_SLEEP); in allocdby_walk_init_common()
1898 mdb_zalloc(abw->abw_size * sizeof (allocdby_bufctl_t), UM_SLEEP); in allocdby_walk_init_common()
2400 umc = mdb_zalloc(sizeof (umem_log_cpu_t) * umem_max_ncpus, in umem_log()
[all …]

12345