Lines Matching defs:instance

114  * Start up SCF and bind the requested instance alone.
194 * the specified instance. When this is done, the get_property() function
776 enable_instance(const char *service_name, const char *instance)
779 char *fmri = alloc_fmri(service_name, instance);
790 * Shut down a possibly-running service instance. If this is a permanent
794 shut_down_instance(const char *service_name, const char *instance,
798 char *fmri = alloc_fmri(service_name, instance);
839 bind_instance(service_name, instance, &sstate) == 0) {
848 disable_trill(const char *instance, uint32_t flags)
850 return (shut_down_instance(TRILL_SVC_NAME, instance, flags));
854 * To enable TRILL, we must create a new instance of the TRILL service, then
859 enable_trill(const char *instance)
882 if (scf_service_get_instance(sstate.ss_svc, instance, sstate.ss_inst) !=
884 if (scf_service_add_instance(sstate.ss_svc, instance,
902 if ((fmri = alloc_fmri(BRIDGE_SVC_NAME, instance)) == NULL)
950 * If we created an instance and then failed, then remove the instance
959 status = enable_instance(TRILL_SVC_NAME, instance);
1110 * If we created an instance and then failed, then remove the instance
1319 /* Disable or remove the SMF instance */
1428 /* Returns list of ports (datalink_id_t values) assigned to a bridge instance */
1445 * part of the bridge instance. First entry in the array is the
1706 * Bring up a persistent bridge. The bridge's SMF instance is created and
1708 * SMF instance. This allows the bridge to be profile-specific.
1801 * Add the SMF instance for this bridge. dladm_configure_bridge()
1802 * will add the instance only if DLADM_OPT_CREATE flag is passed, but
1804 * don't want that, we'll create the instance first and then configure
1866 * datalink-<profile>.conf from the SMF instance, which is then removed. This