Home
last modified time | relevance | path

Searched refs:mi_dcmds (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_module.c198 if (mod->mod_info->mi_dcmds == NULL) in mdb_module_create()
199 mod->mod_info->mi_dcmds = empty_dcmd_list; in mdb_module_create()
223 for (dcop = (mdb_dcmd_v3_t *)&mod->mod_info->mi_dcmds[0]; in mdb_module_create()
229 for (dcop = (mdb_dcmd_v3_t *)&mod->mod_info->mi_dcmds[0]; in mdb_module_create()
238 mod->mod_info->mi_dcmds = dctp; in mdb_module_create()
245 for (dcp = &mod->mod_info->mi_dcmds[0]; dcp->dc_name != NULL; dcp++) { in mdb_module_create()
292 for (dcp = &mod->mod_info->mi_dcmds[0]; dcp->dc_name != NULL; dcp++) { in mdb_module_create()
419 for (dcp = &mod->mod_info->mi_dcmds[0]; dcp->dc_name != NULL; in mdb_module_unload_common()
423 mdb_free((void *)mod->mod_info->mi_dcmds, in mdb_module_unload_common()
H A Dmdb_modapi.h159 const mdb_dcmd_t *mi_dcmds; /* NULL-terminated list of dcmds */ member
H A Dmdb.c513 mdb.m_rminfo.mi_dcmds = mdb_dcmd_builtins; in mdb_create()
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c1083 modinfo.mi_dcmds = mdb_zalloc(sizeof (*dp) * (d + kd + 1), UM_SLEEP); in _mdb_init()
1086 bcopy(common_dcmds, (void *)modinfo.mi_dcmds, sizeof (*dp) * d); in _mdb_init()
1091 (modinfo.mi_dcmds + d), sizeof (*dp) * kd); in _mdb_init()
1105 for (dp = modinfo.mi_dcmds; dp->dc_name != NULL; dp++) in _mdb_fini()
1111 mdb_free((void *)modinfo.mi_dcmds, sizeof (*dp) * (d + 1)); in _mdb_fini()