Lines Matching refs:contract
46 #include <sys/contract/device.h>
379 * contract's cookie field is still valid (it may have been freed by
488 ses_ct_print("start contract event thread");
520 ses_ct_print("read contract event");
529 "got contract event ctid=%d", ctid);
534 "bad contract event %x", event);
555 "contract already abandoned %x", event);
577 ses_ct_print("got contract offline event");
579 ses_ct_print("contract thread rele");
586 /* if this is the negend, then abandon the contract */
587 ses_ct_print("got contract negend");
590 "abandon old contract %d", stp->set_ctid);
723 /* set up template to create new contract */
728 /* strip "../../devices" off the front and create the contract */
750 /* check if already closed due to contract offline request */
761 topo_mod_dprintf(mod, "abandon old contract %d",
853 * contract (ie we've had the offline event but not yet the
863 * The device has been closed due to a contract offline
864 * request, then we need to reopen it and create a new contract.
879 topo_mod_dprintf(mod, "reopen contract");
4123 topo_mod_dprintf(mod, "open contract");