Lines Matching refs:ctd_ctmpl
427 ctmpl_copy(&new->ctd_ctmpl, template); in ctmpl_device_dup()
429 new->ctd_ctmpl.ctmpl_data = new; in ctmpl_device_dup()
457 return (&new->ctd_ctmpl); in ctmpl_device_dup()
734 ctmpl_init(&new->ctd_ctmpl, &ctmpl_device_ops, device_type, new); in contract_device_default()
738 new->ctd_ctmpl.ctmpl_ev_info = CT_DEV_EV_DEGRADED; in contract_device_default()
739 new->ctd_ctmpl.ctmpl_ev_crit = CT_DEV_EV_OFFLINE; in contract_device_default()
741 return (&new->ctd_ctmpl); in contract_device_default()
1217 mutex_enter(&dtmpl->ctd_ctmpl.ctmpl_lock); in contract_device_create()
1220 mutex_exit(&dtmpl->ctd_ctmpl.ctmpl_lock); in contract_device_create()
1266 mutex_enter(&dtmpl->ctd_ctmpl.ctmpl_lock); in contract_device_create()
1274 if (contract_ctor(&ctd->cond_contract, device_type, &dtmpl->ctd_ctmpl, in contract_device_create()
1276 mutex_exit(&dtmpl->ctd_ctmpl.ctmpl_lock); in contract_device_create()
1295 mutex_exit(&dtmpl->ctd_ctmpl.ctmpl_lock); in contract_device_create()