Lines Matching refs:snap
1293 scf_snapshot_t *snap;
1331 snap = handle->rh_snapshot;
1355 if (snap != NULL)
1356 scf_snapshot_destroy(snap);
2550 const scf_snapshot_t *snap)
2552 if (snap != NULL && inst->rd_d.rd_handle != snap->rd_d.rd_handle)
2555 return (datael_setup_iter(iter, snap ? &snap->rd_d : &inst->rd_d,
2561 const scf_instance_t *inst, const scf_snapshot_t *snap, const char *type)
2563 if (snap != NULL && inst->rd_d.rd_handle != snap->rd_d.rd_handle)
2567 snap ? &snap->rd_d : &inst->rd_d, type, 1));
2749 _scf_snapshot_delete(scf_snapshot_t *snap)
2751 return (datael_delete(&snap->rd_d));
2854 const scf_snapshot_t *snap, const char *name, scf_propertygroup_t *pg)
2856 if (snap != NULL && inst->rd_d.rd_handle != snap->rd_d.rd_handle)
2859 return (datael_get_child(snap ? &snap->rd_d : &inst->rd_d, name,
3050 scf_snaplevel_get_pg(const scf_snaplevel_t *snap, const char *name,
3053 return (datael_get_child(&snap->rd_d, name,
3240 scf_snapshot_update(scf_snapshot_t *snap)
3242 return (datael_update(&snap->rd_d));
3388 scf_snapshot_t *snap, int flags)
3397 if (h != snap->rd_d.rd_handle)
3407 request.rpr_entityid_dest = snap->rd_d.rd_entity;
3411 datael_finish_reset(&snap->rd_d);
3429 scf_snapshot_t *snap)
3438 if (h != snap->rd_d.rd_handle)
3456 request.rpr_entityid_dest = snap->rd_d.rd_entity;
3459 datael_finish_reset(&snap->rd_d);
3479 scf_snapshot_t *snap)
3481 return (_scf_snapshot_take(inst, name, snap, REP_SNAPSHOT_NEW));
3485 _scf_snapshot_take_attach(scf_instance_t *inst, scf_snapshot_t *snap)
3487 return (_scf_snapshot_take(inst, NULL, snap, REP_SNAPSHOT_ATTACH));
5849 scf_snapshot_t *snap = HANDLE_HOLD_SNAPSHOT(h);
5855 r = datael_get_parent(&level->rd_d, &snap->rd_d);
5858 r = datael_get_parent(&snap->rd_d, &inst->rd_d);