Lines Matching refs:ct
92 contract_t *ct = ctlnode->ctfs_ctl_contract;
97 mutex_enter(&ct->ct_lock);
98 if ((curproc == ct->ct_owner) ||
99 (ct->ct_owner == NULL && ct->ct_regent != NULL &&
100 ct->ct_regent->ct_data == curproc->p_ct_process)) {
101 mutex_exit(&ct->ct_lock);
105 mutex_exit(&ct->ct_lock);
116 ctfs_ctl_open(vnode_t **vpp, int flag, cred_t *cr, caller_context_t *ct)
121 return (ctfs_ctl_access(*vpp, VWRITE, 0, cr, ct));
153 cred_t *cr, caller_context_t *ct)
166 caller_context_t *ct)
190 contract_t *ct = ctlnode->ctfs_ctl_contract;
197 error = contract_abandon(ct, curproc, 1);
205 error = contract_ack(ct, event, ack);
209 error = contract_newct(ct);
215 error = contract_qack(ct, event);
219 error = contract_adopt(ct, curproc);
283 contract_t *ct = statnode->ctfs_ctl_contract;
284 ct_type_t *type = ct->ct_type;
301 mutex_enter(&ct->ct_lock);
302 contract_status_common(ct, VTOZONE(vp), STRUCT_BUF(st), mdl);
303 mutex_exit(&ct->ct_lock);
306 type->ct_type_ops->contop_status(ct, VTOZONE(vp), detail, foo,