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
10263 * Process template information for a service or instances.
10682 if (selts->instances == NULL)
10683 selts->instances = n;
10685 (void) xmlAddSibling(selts->instances, n);
10778 /* Iterate instances */
10797 (void) xmlAddChildList(snode, elts.instances);
10925 semerr(gettext("Failed to walk instances: %s\n"),
11381 uu_warn("Failed to walk instances: %s\n",
11551 semerr(gettext("Failed to walk instances: %s\n"),
11768 /* List the instances in this service. */
11948 /* return 1 if the service has no instances, else return 0 */
12109 * If the service has no more instances and pgs or we just deleted the
12467 * each of the instances and delete dependencies in other entities
12667 semerr(gettext("Failed to walk instances: %s\n"),
16226 * wohandcrafted flag is set, get only instances that have a last-import
16227 * snapshot, instances that were imported via svccfg.
16235 uu_list_t *instances;
16246 if ((instances = uu_list_create(string_pool, NULL, 0)) == NULL)
16247 return (instances);
16253 uu_list_destroy(instances);
16254 instances = NULL;
16269 "instances to create instance list : %s\n"),
16272 uu_list_destroy(instances);
16273 instances = NULL;
16298 uu_list_destroy(instances);
16299 instances = NULL;
16320 uu_list_destroy(instances);
16321 instances = NULL;
16333 add_string(instances, instname);
16343 return (instances);
16606 * Take down each of the instances in the service
16656 * any of the instances did not disable.
16665 * Get the list of instances supported by the manifest
16668 * Return 0 if there are no instances.
16670 * Return -1 if there are errors attempting to collect instances.
16672 * Return the count of instances found if there are no errors.
16677 uu_list_t *instances)
16693 * don't want to remove instances that could
16728 * Remove the instance from the instances list.
16729 * The unaccounted for instances will be removed
16733 (void) remove_string(instances,
16782 * services and instances that were delivered by Solaris before the introduction
16801 uu_list_t *instances;
16832 instances = create_instance_list(svc, 1);
16833 if (instances == NULL) {
16839 if (uu_list_numnodes(instances) == 0) {
16901 * there is continued support for the service and instances. If
16915 * file exists then verify that it supports the instances that are
16918 * Once all manifest files have been accounted for remove any instances
16941 uu_list_t *instances = NULL;
17096 * instances could be part of the non-supported manifest.
17231 * If the list of service instances is NULL then
17234 instances = create_instance_list(svc, 1);
17235 if (instances == NULL) {
17241 rminstct = uu_list_numnodes(instances);
17252 instances);
17268 * If there are instances left on the instance list, then
17271 if (instances != NULL && uu_list_numnodes(instances)) {
17274 insts = uu_list_walk_start(instances, 0);
17277 * Remove the instance from the instances list.