Lines Matching refs:tmpl
353 int tmpl, err, istrans, iswait, ret; in method_ready_contract() local
367 tmpl = open64(CTFS_ROOT "/process/template", O_RDWR); in method_ready_contract()
368 if (tmpl == -1) in method_ready_contract()
376 err = ct_pr_tmpl_set_param(tmpl, CT_PR_INHERIT | CT_PR_REGENT | in method_ready_contract()
392 err = ct_tmpl_set_critical(tmpl, cevents); in method_ready_contract()
395 err = ct_tmpl_set_informative(tmpl, 0); in method_ready_contract()
397 err = ct_pr_tmpl_set_fatal(tmpl, fevents); in method_ready_contract()
400 err = ct_tmpl_set_cookie(tmpl, istrans ? METHOD_OTHER_COOKIE : in method_ready_contract()
405 ret = ct_pr_tmpl_set_transfer(tmpl, inst->ri_i.i_primary_ctid); in method_ready_contract()
427 err = ct_pr_tmpl_set_svc_fmri(tmpl, inst->ri_i.i_fmri); in method_ready_contract()
429 err = ct_pr_tmpl_set_svc_aux(tmpl, method_names[type]); in method_ready_contract()
432 err = ct_tmpl_activate(tmpl); in method_ready_contract()
438 err = close(tmpl); in method_ready_contract()