Lines Matching defs:dur
228 kmdb_wr_unload_t *dur = mdb_zalloc(sizeof (kmdb_wr_unload_t), UM_SLEEP);
229 dur->dur_node.wn_task = WNTASK_DMOD_UNLOAD;
230 dur->dur_modname = strdup(modname);
231 dur->dur_modctl = kmc->kmc_modctl;
233 kmdb_wr_driver_notify(dur);
310 kmdb_module_unloaded(kmdb_wr_unload_t *dur)
314 if ((v = mdb_nv_lookup(&mdb.m_dmodctl, dur->dur_modname)) == NULL) {
316 dur->dur_modname);
320 if (dur->dur_errno != 0) {
321 mdb_warn("dmod %s failed to unload", dur->dur_modname);
332 kmdb_module_unload_ack(kmdb_wr_unload_t *dur)
334 if (dur->dur_modname != NULL)
335 strfree(dur->dur_modname);
336 mdb_free(dur, sizeof (kmdb_wr_unload_t));