Lines Matching defs:contract
33 #include <sys/contract.h>
58 * (only) by the 64-bit kernel. See sys/contract.h for the normal versions.
141 uint64_t ctmpl_cookie; /* term: contract cookie */
155 CTQ_DEAD = 1, /* contract explicitly cancelled */
199 struct contract *cte_contract; /* contract */
215 * destroy - when contract is to be completely destroyed
219 void (*contop_free)(struct contract *);
220 void (*contop_abandon)(struct contract *);
221 void (*contop_destroy)(struct contract *);
222 void (*contop_status)(struct contract *, zone_t *, int, nvlist_t *,
224 int (*contop_ack)(struct contract *, uint_t evtype,
226 int (*contop_nack)(struct contract *, uint_t evtype,
228 int (*contop_qack)(struct contract *, uint_t, uint64_t);
229 int (*contop_newct)(struct contract *);
243 timestruc_t ct_type_timestruc; /* time last contract was written */
261 typedef struct contract {
268 uid_t ct_cuid; /* uid of contract author */
272 ct_type_t *ct_type; /* contract type information */
273 void *ct_data; /* contract type data */
274 ctid_t ct_id; /* contract ID */
275 uint64_t ct_cookie; /* term: contract cookie */
286 ctstate_t ct_state; /* contract's state */
288 ctflags_t ct_flags; /* contract flags */
289 ct_equeue_t ct_events; /* contract event queue */
290 struct proc *ct_owner; /* contract owner (if owned) */
291 struct contract *ct_regent; /* [prospective] regent contract */