Lines Matching defs:snapshot
111 static char *snapshot = "running"; /* Snapshot to use. */
146 "[-C | -c | -s snapshot] [-z zone] "
345 * Iterate the properties of a service or an instance when no snapshot
357 * lookup. (implicit cflag) However, if a snapshot
375 * Return a snapshot for the supplied instance and snapshot name.
378 get_snapshot(const scf_instance_t *inst, const char *snapshot)
385 if (scf_instance_get_snapshot(inst, snapshot, snap) == -1) {
388 die(gettext("Invalid snapshot name.\n"));
396 die(gettext("No such snapshot.\n"));
434 if (snapshot != NULL)
435 snap = get_snapshot(ent.u.inst, snapshot);
450 * In normal usage, i.e. against the running snapshot,
481 if (ent.type == ENT_INSTANCE && snapshot != NULL)
482 snap = get_snapshot(ent.u.inst, snapshot);
497 * If we didn't find it in the specified snapshot, use
521 * lookup. (implicit cflag) However, if a snapshot
1028 snapshot = NULL;
1035 snapshot = NULL;
1056 snapshot = optarg;