Lines Matching defs:snap
380 scf_snapshot_t *snap = scf_snapshot_create(hndl);
382 if (snap == NULL)
385 if (scf_instance_get_snapshot(inst, snapshot, snap) == -1) {
393 scf_snapshot_destroy(snap);
394 snap = NULL;
404 return (snap);
415 scf_snapshot_t *snap = NULL;
435 snap = get_snapshot(ent.u.inst, snapshot);
438 snap) == -1)
440 if (snap)
441 scf_snapshot_destroy(snap);
454 if (sflag == 0 && snap != NULL) {
482 snap = get_snapshot(ent.u.inst, snapshot);
493 snap, spn->spn_comp1, pg);
500 if (ret == -1 && !Cflag &&snap != NULL && err ==
592 if (snap)
593 scf_snapshot_destroy(snap);