Lines Matching defs:instances

115 	xmlNodePtr	instances;
563 * its instances. If one has a running snapshot with a service snaplevel, set
1578 * instances. fmri is used for messages. inst, iter, and name_buf are used
6961 * instances. Since the service is brand new, it should be empty, and if we
6965 * instances. Upgrade requires a last-import snapshot, though, which are
6966 * children of instances, so first we'll have to go through the instances
7304 goto instances;
7307 /* Clear sc_seen for the instances. */
7313 * Take previous snapshots for all instances. Even for ones not
7419 * Create the new instances and take previous snapshots of
7511 * the last-import snapshots of the instances should be the same.
7558 * import the properties. Unless one of the instances
7828 instances:
7829 /* import instances */
7863 "Could not delete svc:/%s (instances exist).\n"),
8254 * Clear the sc_import_state's of all services & instances so we can
8790 * instances of the service
8942 * - Children of services and instances must must be in the order set by the
10276 * Process template information for a service or instances.
10695 if (selts->instances == NULL)
10696 selts->instances = n;
10698 (void) xmlAddSibling(selts->instances, n);
10791 /* Iterate instances */
10810 (void) xmlAddChildList(snode, elts.instances);
10938 semerr(gettext("Failed to walk instances: %s\n"),
11394 uu_warn("Failed to walk instances: %s\n",
11564 semerr(gettext("Failed to walk instances: %s\n"),
11781 /* List the instances in this service. */
11961 /* return 1 if the service has no instances, else return 0 */
12122 * If the service has no more instances and pgs or we just deleted the
12480 * each of the instances and delete dependencies in other entities
12680 semerr(gettext("Failed to walk instances: %s\n"),
16239 * wohandcrafted flag is set, get only instances that have a last-import
16240 * snapshot, instances that were imported via svccfg.
16248 uu_list_t *instances;
16259 if ((instances = uu_list_create(string_pool, NULL, 0)) == NULL)
16260 return (instances);
16266 uu_list_destroy(instances);
16267 instances = NULL;
16282 "instances to create instance list : %s\n"),
16285 uu_list_destroy(instances);
16286 instances = NULL;
16311 uu_list_destroy(instances);
16312 instances = NULL;
16333 uu_list_destroy(instances);
16334 instances = NULL;
16346 add_string(instances, instname);
16356 return (instances);
16619 * Take down each of the instances in the service
16669 * any of the instances did not disable.
16678 * Get the list of instances supported by the manifest
16681 * Return 0 if there are no instances.
16683 * Return -1 if there are errors attempting to collect instances.
16685 * Return the count of instances found if there are no errors.
16690 uu_list_t *instances)
16706 * don't want to remove instances that could
16741 * Remove the instance from the instances list.
16742 * The unaccounted for instances will be removed
16746 (void) remove_string(instances,
16795 * services and instances that were delivered by Solaris before the introduction
16814 uu_list_t *instances;
16845 instances = create_instance_list(svc, 1);
16846 if (instances == NULL) {
16852 if (uu_list_numnodes(instances) == 0) {
16914 * there is continued support for the service and instances. If
16928 * file exists then verify that it supports the instances that are
16931 * Once all manifest files have been accounted for remove any instances
16954 uu_list_t *instances = NULL;
17109 * instances could be part of the non-supported manifest.
17244 * If the list of service instances is NULL then
17247 instances = create_instance_list(svc, 1);
17248 if (instances == NULL) {
17254 rminstct = uu_list_numnodes(instances);
17265 instances);
17281 * If there are instances left on the instance list, then
17284 if (instances != NULL && uu_list_numnodes(instances)) {
17287 insts = uu_list_walk_start(instances, 0);
17290 * Remove the instance from the instances list.