Home
last modified time | relevance | path

Searched refs:mdb_alloc (Results 1 – 25 of 150) sorted by relevance

123456

/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 …]
H A Dnfssrv.c120 s = mdb_alloc(PATH_MAX, UM_SLEEP | UM_GC); in nfs_expvis_dcmd()
188 path = mdb_alloc(exi.exi_export.ex_pathlen + 1, UM_SLEEP | UM_GC); in nfs_expinfo_dcmd()
450 s = mdb_alloc(PATH_MAX, UM_SLEEP | UM_GC); in nfs_nstree_dcmd()
476 table = mdb_alloc(arg->size * sizeof (struct exportinfo *), in calc_hashdist()
589 arg = mdb_alloc(sizeof (hash_table_walk_arg_t), UM_SLEEP); in nfs_expinfo_walk_init()
/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()
89 lwp->lw_table = mdb_alloc(lwp->lw_tabsz * in lnode_walk_init()
133 lwp = mdb_alloc(sizeof (lnode_walk_t), UM_SLEEP); in lnode_walk_init()
135 lwp->lw_table = mdb_alloc(lwp->lw_tabsz * 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/ipp/
H A Dipp.c182 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()
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()
609 array = mdb_alloc(sizeof (ipp_log_t) * nelt, UM_SLEEP); in dump_log()
669 ap = mdb_alloc(sizeof (ipp_action_t), UM_SLEEP); in aid2aname()
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/
H A Dqlc.c299 if ((qlstate = (ql_adapter_state_t *)mdb_alloc( in qlclinks_dcmd()
334 if ((vqlstate = (ql_adapter_state_t *)mdb_alloc( in qlclinks_dcmd()
443 if ((qlstate = (ql_adapter_state_t *)mdb_alloc( in qlcver_dcmd()
595 if ((qlstate = (ql_adapter_state_t *)mdb_alloc(qlsize, in qlc_el_dcmd()
1617 if ((qlstate = (ql_adapter_state_t *)mdb_alloc(qlsize,
1925 fw = mdb_alloc(ha->ql_dump_size, UM_SLEEP); in ql_8300_dump_dcmd()
1926 rsp_queues = mdb_alloc(ha->rsp_queues_cnt * in ql_8300_dump_dcmd()
1928 rsp_q = mdb_alloc(sizeof (ql_response_q_t), UM_SLEEP); in ql_8300_dump_dcmd()
2999 rsp_queues = mdb_alloc(ha->rsp_queues_cnt * in ql_25xx_dump_dcmd()
3423 rsp_queues = mdb_alloc(ha->rsp_queues_cnt * in ql_81xx_dump_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()
592 fp_pwwn_table = mdb_alloc(sizeof (struct pwwn_hash) * 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()
706 fp_did_table = mdb_alloc(sizeof (struct d_id_hash) * 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/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/modules/genunix/
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 Dgroup.c105 gw = mdb_alloc(sizeof (group_walk_t), UM_SLEEP | UM_GC); in group_walk_init()
127 gw->gw_set = mdb_alloc(group.grp_size * sizeof (uintptr_t), in group_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()
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 Ddist.c42 int *out = mdb_alloc((buckets + 1) * sizeof (*out), UM_SLEEP | UM_GC); in dist_linear()
84 int *out = mdb_alloc((buckets + 1) * sizeof (*out), UM_SLEEP | UM_GC); in dist_geometric()
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c109 dvp = mdb_alloc(varsize, UM_SLEEP); in dis_varname()
196 uint64_t *ip = mdb_alloc(dp->dtdo_intlen * in dis_setx()
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()
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()
[all …]
/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()
321 ct_hash_val = (struct client_hash *)mdb_alloc(ct_hash_len, in vhciguid()
338 mdi_client_value = (mdi_client_t *)mdb_alloc(mdi_client_len, in vhciguid()
421 ss = (struct i_ddi_soft_state *)mdb_alloc(sizeof (*ss), in dump_states()
432 ss->array = mdb_alloc(array_size, UM_SLEEP|UM_GC); in dump_states()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_umem.c136 mdb_mblk_t *blkp = mdb_alloc(sizeof (mdb_mblk_t), UM_SLEEP); in mdb_umem_gc_enter()
199 mdb_alloc(size_t nbytes, uint_t flags) in mdb_alloc() function
207 void *ptr = mdb_alloc(nbytes, flags); in mdb_zalloc()
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()
H A Dmdb_cmdbuf.c63 newhistory = mdb_alloc(newhalloc * sizeof (char *), UM_SLEEP); in mdb_cmdbuf_allocchunk()
67 newhistory[i] = mdb_alloc(CMDBUF_LINELEN, UM_SLEEP); in mdb_cmdbuf_allocchunk()
80 cmd->cmd_history = mdb_alloc(cmd->cmd_halloc * sizeof (char *), in mdb_cmdbuf_create()
82 cmd->cmd_linebuf = mdb_alloc(CMDBUF_LINELEN, UM_SLEEP); in mdb_cmdbuf_create()
85 cmd->cmd_history[i] = mdb_alloc(CMDBUF_LINELEN, UM_SLEEP); in mdb_cmdbuf_create()
/illumos-gate/usr/src/cmd/mdb/common/modules/cpc/
H A Dcpc.c85 reqs = mdb_alloc(set.ks_nreqs * sizeof (*reqs), UM_GC); in cpc()
86 data = mdb_alloc(set.ks_nreqs * sizeof (*data), UM_GC); in cpc()
121 attr = mdb_alloc(reqs[i].kr_nattrs * sizeof (*attr), in cpc()
/illumos-gate/usr/src/cmd/mdb/common/libstandctf/
H A Dctf_subr.c94 void *buf = mdb_alloc(size, UM_NOSLEEP); in ctf_data_alloc()
118 return (mdb_alloc(size, UM_NOSLEEP)); in ctf_alloc()
/illumos-gate/usr/src/cmd/mdb/intel/modules/generic_cpu/
H A Dgcpu.c205 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/usba/
H A Dusb.c248 wsp->walk_data = mdb_alloc((sizeof (usba_ph_impl_t)) * USBA_N_ENDPOINTS, in usb_pipe_handle_walk_init()
607 string_descr = (char *)mdb_alloc(USB_MAXSTRINGLEN, UM_GC); in usba_device()
669 config_cloud = (char **)mdb_alloc(sizeof (void *) * in usba_device()
672 conf_str_descr = (char **)mdb_alloc(sizeof (void *) * in usba_device()
778 local_debug_buf = (char *)mdb_alloc(debug_buf_size, UM_SLEEP | UM_GC); in usba_debug_buf()
/illumos-gate/usr/src/cmd/mdb/intel/modules/i40e/
H A Di40e.c87 buf = mdb_alloc(s + 1, UM_GC | UM_SLEEP); in i40e_switch_rsrcs_dcmd()
203 descring = mdb_alloc(ringsz, UM_SLEEP); in i40e_tx_ring_dcmd()
211 wklist = mdb_alloc(wklistsz, UM_SLEEP); in i40e_tx_ring_dcmd()
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.startd/
H A Dstartd.c235 iname = mdb_alloc(1024, UM_SLEEP | UM_GC); in pr_instance()
286 vname = mdb_alloc(1024, UM_SLEEP | UM_GC); in pr_vertex()
348 buf = mdb_alloc(sym.st_size, UM_SLEEP | UM_GC); in logbuf()
/illumos-gate/usr/src/cmd/mdb/common/modules/uhci/
H A Duhci.c456 wsp->walk_data = mdb_alloc(sizeof (uhci_td_t), UM_SLEEP | UM_GC); in uhci_td_walk_init()
457 wsp->walk_arg = mdb_alloc(sizeof (uhci_state_t), UM_SLEEP | UM_GC); in uhci_td_walk_init()
534 wsp->walk_data = mdb_alloc(sizeof (queue_head_t), UM_SLEEP | UM_GC); in uhci_qh_walk_init()
535 wsp->walk_arg = mdb_alloc(sizeof (uhci_state_t), UM_SLEEP | UM_GC); in uhci_qh_walk_init()

123456