Lines Matching defs:tmpl
498 ctmpl_device_set(struct ct_template *tmpl, ct_kparam_t *kparam,
501 ctmpl_device_t *dtmpl = tmpl->ctmpl_data;
509 ASSERT(MUTEX_HELD(&tmpl->ctmpl_lock));
583 tmpl->ctmpl_ev_crit = param_value;
1191 * create a device contract given template "tmpl" and the "owner" process.
1327 ct_template_t *tmpl;
1345 tmpl = ctmpl_dup(lwp->lwp_ct_active[device_type->ct_type_index]);
1346 if (tmpl == NULL) {
1349 dtmpl = tmpl->ctmpl_data;
1355 mutex_enter(&tmpl->ctmpl_lock);
1368 mutex_exit(&tmpl->ctmpl_lock);
1376 ctmpl_free(tmpl);
1381 mutex_enter(&tmpl->ctmpl_lock);
1384 mutex_exit(&tmpl->ctmpl_lock);
1388 mutex_enter(&tmpl->ctmpl_lock);
1391 mutex_exit(&tmpl->ctmpl_lock);
1392 ctmpl_free(tmpl);