Searched refs:snapshot (Results 1 - 25 of 42) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/cmd/stat/common/
H A Dstatcommon.h181 /* time at which iodev snapshot was taken */
209 /* The primary structure of a system snapshot. */
210 struct snapshot { struct
259 int nr_active_cpus(struct snapshot *ss);
273 * Return a struct snapshot based on the snapshot_types parameter
277 struct snapshot *acquire_snapshot(kstat_ctl_t *, int, struct iodev_filter *);
279 /* free a snapshot */
280 void free_snapshot(struct snapshot *ss);
292 int snapshot_walk(enum snapshot_types type, struct snapshot *old,
293 struct snapshot *ne
[all...]
H A Dwalkers.c40 cpu_walk(struct snapshot *old, struct snapshot *new,
73 pset_walk(struct snapshot *old, struct snapshot *new,
155 snapshot_walk(enum snapshot_types type, struct snapshot *old,
156 struct snapshot *new, snapshot_cb cb, void *data)
332 snapshot_report_changes(struct snapshot *old, struct snapshot *new)
373 snapshot_has_changed(struct snapshot *old, struct snapshot *ne
[all...]
H A Dacquire.c69 acquire_cpus(struct snapshot *ss, kstat_ctl_t *kc)
117 acquire_psets(struct snapshot *ss)
183 acquire_intrs(struct snapshot *ss, kstat_ctl_t *kc)
242 acquire_sys(struct snapshot *ss, kstat_ctl_t *kc)
297 struct snapshot *
300 struct snapshot *ss = NULL;
308 ss = safe_alloc(sizeof (struct snapshot));
310 (void) memset(ss, 0, sizeof (struct snapshot));
349 fail(1, "acquiring snapshot failed");
356 free_snapshot(struct snapshot *s
[all...]
H A Dacquire_iodevs.c37 static void insert_iodev(struct snapshot *ss, struct iodev_snapshot *iodev);
97 find_parent(struct snapshot *ss, struct iodev_snapshot *iodev)
329 insert_iodev(struct snapshot *ss, struct iodev_snapshot *iodev)
403 choose_iodevs(struct snapshot *ss, struct iodev_snapshot *iodevs,
535 acquire_iodev_errors(struct snapshot *ss, kstat_ctl_t *kc)
883 create_li_delete_lti(struct snapshot *ss, struct iodev_snapshot *list)
947 create_lt(struct snapshot *ss, struct iodev_snapshot *list)
1014 acquire_iodevs(struct snapshot *ss, kstat_ctl_t *kc, struct iodev_filter *df)
1026 * lookup_ks_name() will result in a fresh snapshot.
/opensolaris-onvv-gate/usr/src/lib/libsecdb/
H A Duser_attr.txt35 zfssnap::::type=role;auths=solaris.smf.manage.zfs-auto-snapshot;profiles=ZFS File System Management
/opensolaris-onvv-gate/usr/src/cmd/svc/shell/
H A Dmfsthistory496 svc:/system/filesystem/zfs/auto-snapshot:daily var/svc/manifest/system/filesystem/auto-snapshot-daily.xml
497 svc:/system/filesystem/zfs/auto-snapshot:default var/svc/manifest/system/filesystem/auto-snapshot-daily.xml
498 svc:/system/filesystem/zfs/auto-snapshot var/svc/manifest/system/filesystem/auto-snapshot-daily.xml
499 svc:/system/filesystem/zfs/auto-snapshot:frequent var/svc/manifest/system/filesystem/auto-snapshot-frequent.xml
500 svc:/system/filesystem/zfs/auto-snapshot:default var/svc/manifest/system/filesystem/auto-snapshot
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dses.c195 ses_snap_t *snapshot; local
245 snapshot = ses_snap_hold(ses_target);
247 if ((targetnode = ses_snap_primary_enclosure(snapshot)) == NULL) {
267 ses_snap_rele(snapshot);
299 ses_snap_t *snapshot; local
424 snapshot = ses_snap_hold(ses_target);
425 rootnodep = ses_root_node(snapshot);
434 ses_snap_rele(snapshot);
451 ses_snap_rele(snapshot);
461 nodep = ses_snap_primary_enclosure(snapshot);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/svc/svcprop/
H A Dsvcprop.c108 static char *snapshot = "running"; /* Snapshot to use. */ variable
143 "[-C | -c | -s snapshot] "
342 * Iterate the properties of a service or an instance when no snapshot
354 * lookup. (implicit cflag) However, if a snapshot
372 * Return a snapshot for the supplied instance and snapshot name.
375 get_snapshot(const scf_instance_t *inst, const char *snapshot) argument
382 if (scf_instance_get_snapshot(inst, snapshot, snap) == -1) {
385 die(gettext("Invalid snapshot name.\n"));
393 die(gettext("No such snapshot
[all...]
/opensolaris-onvv-gate/usr/src/cmd/stat/mpstat/
H A Dmpstat.c64 static void show_cpu_usage(struct snapshot *, struct snapshot *, int);
77 struct snapshot *old = NULL;
78 struct snapshot *new = NULL;
486 show_cpu_usage(struct snapshot *old, struct snapshot *new, int display_agg)
/opensolaris-onvv-gate/usr/src/uts/common/io/
H A Dopenprom.c65 #define IOC_IDLE 0 /* snapshot ioctl states */
66 #define IOC_SNAP 1 /* snapshot in progress */
67 #define IOC_DONE 2 /* snapshot done, but not copied out */
76 int16_t ioc_state; /* snapshot ioctl state */
77 char *snapshot; /* snapshot of all prom nodes */ member in struct:oprom_state
78 size_t size; /* size of snapshot */
273 ASSERT(st->snapshot == NULL && st->size == 0);
308 if (st->snapshot) {
309 kmem_free(st->snapshot, s
[all...]
/opensolaris-onvv-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c43 static struct snapshot *ss;
51 static void dovmstats(struct snapshot *old, struct snapshot *new);
54 static void dointr(struct snapshot *ss);
60 struct snapshot *old = NULL;
242 dovmstats(struct snapshot *old, struct snapshot *new)
482 dointr(struct snapshot *ss)
/opensolaris-onvv-gate/usr/src/cmd/svc/configd/
H A DMakefile35 snapshot.o
/opensolaris-onvv-gate/usr/src/lib/libbe/common/
H A Dlibbe_priv.h74 char *obe_snap_name; /* Original BE snapshot name */
103 time_t origin_creation; /* snapshot creation time of clone */
104 const char *snapshot; /* snapshot of dataset being demoted */ member in struct:be_demote_data
H A Dbe_list.c85 * Also data, such as dataset and snapshot properties,
484 * new snapshot.
633 /* build array of linked list snapshot struct ptrs */
1004 * zhp - Handle to the zfs snapshot whose information we're
1006 * name - The name of the snapshot we're processing.
1009 * node - The node structure that this snapshot belongs to.
1020 be_snapshot_list_t *snapshot,
1028 if (zfshp == NULL || name == NULL || snapshot == NULL || node == NULL) {
1036 snapshot->be_snapshot_name = strdup(name);
1042 snapshot
1017 be_get_ss_data( zfs_handle_t *zfshp, char *name, be_snapshot_list_t *snapshot, be_node_list_t *node) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_prop.h86 boolean_t snapshot);
/opensolaris-onvv-gate/usr/src/cmd/mdb/tools/scripts/
H A Dmdb.sh30 mdb_ws=/net/mdb.eng/mdb/snapshot/latest # Snapshot of latest workspace
/opensolaris-onvv-gate/usr/src/lib/brand/solaris10/zone/
H A Dclone.ksh87 # make snapshot
91 zfs snapshot $ACTIVE_SRC@$SNAPNAME
/opensolaris-onvv-gate/usr/src/lib/libdladm/common/
H A Dlibdlmgmt.c361 * Get the handle of a local snapshot of the link configuration. Note that
369 dlmgmt_door_getconfsnapshot_t snapshot; local
380 snapshot.ld_linkid = linkid;
381 snapshot.ld_cmd = DLMGMT_CMD_GETCONFSNAPSHOT;
386 if ((status = dladm_door_call(handle, &snapshot, sizeof (snapshot),
434 * If the specified dladm_conf_t is a read-only snapshot of the configuration,
435 * get a specific link propertie from that snapshot (nvl), otherwise, get
/opensolaris-onvv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/
H A DLgrp.pod179 The function initializes the lgroup interface and takes a snapshot of the lgroup
181 representing this snapshot of the lgroup hierarchy. This cookie should be used
194 The function takes a cookie, frees the snapshot of the lgroup hierarchy created
206 The function takes a cookie representing the snapshot of the lgroup hierarchy
207 and returns the snapshot's view of the lgroup hierarchy.
209 If the given view is C<LGRP_VIEW_CALLER>, the snapshot contains only the
211 processor sets). When the view is C<LGRP_VIEW_OS>, the snapshot contains what
214 Upon succesful completion, the function returns the view for the snapshot of the
246 The function takes a cookie representing a snapshot of the lgroup hierarchy and
274 The function takes a cookie representing a snapshot o
[all...]
/opensolaris-onvv-gate/usr/src/lib/brand/shared/zone/
H A Duninstall.ksh56 f_user_snap=$(gettext "Error: user snapshot(s) detected.")
57 f_stray_snap=$(gettext "Error: uncloned snapshot(s) detected.")
59 f_rm_snap=$(gettext "Error: please delete snapshot(s) and retry uninstall.")
119 # first figure out if the target fs has an origin snapshot
131 # descendants (filesystems and snapshot) of the specified
289 c=`/sbin/zfs list -H -t snapshot -o name -r $fs | grep "^$fs@" |
309 # - find the oldest clone of the youngest origin snapshot (which
354 # snapshot of a zone filesystem to a location outside of that
385 /sbin/zfs list -H -t snapshot -s creation -o name -r $fs |
408 # this snapshot ha
[all...]
/opensolaris-onvv-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.c83 zjni_get_dataset_from_snapshot(const char *snapshot, char *dataset, argument
87 (void) strncpy(dataset, snapshot, len);
/opensolaris-onvv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Pg/pod/
H A DPg.pod126 generation number for the whole snapshot. Different generation number means that
157 snapshot. Relationships are sorted by the level in the hierarchy If any PGs are
167 Update utilization and generation data in the PG snapshot.
/opensolaris-onvv-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_prop.c73 int intsz, int numints, void *buf, char *setpoint, boolean_t snapshot)
101 if (dd != target || snapshot) {
166 boolean_t snapshot; local
171 snapshot = (ds->ds_phys != NULL && dsl_dataset_is_snapshot(ds));
178 ASSERT(snapshot);
218 intsz, numints, buf, setpoint, snapshot));
674 * It's a snapshot; nothing can inherit this
872 DSL_PROP_GET_SNAPSHOT = 0x2, /* snapshot dataset */
72 dsl_prop_get_dd(dsl_dir_t *dd, const char *propname, int intsz, int numints, void *buf, char *setpoint, boolean_t snapshot) argument
/opensolaris-onvv-gate/usr/src/lib/libscf/common/
H A Dscf_tmpl.c891 * Gets the specified snapshot. If "snapshot" isn't defined, use the
892 * running snapshot. If the snapshot isn't found, that may or may
902 * The handle argument is NULL, or snaphot is not a valid snapshot name
909 _get_snapshot(scf_instance_t *inst, const char *snapshot, argument
923 /* Use running snapshot by default. */
924 if (snapshot == NULL)
927 err = scf_instance_get_snapshot(inst, snapshot, *snap);
1649 * The snaphot is not a valid snapshot nam
1933 scf_tmpl_get_by_pg_name(const char *fmri, const char *snapshot, const char *pg_name, const char *pg_type, scf_pg_tmpl_t *pg_tmpl, int flags) argument
2110 _get_next_iterator(scf_handle_t *h, scf_pg_tmpl_t *t, const char *snapshot, int exact) argument
2292 scf_tmpl_iter_pgs(scf_pg_tmpl_t *t, const char *fmri, const char *snapshot, const char *type, int flags) argument
6525 scf_tmpl_validate_fmri(scf_handle_t *h, const char *fmri, const char *snapshot, scf_tmpl_errors_t **errs, int flags) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c176 * IBNEX_GET_SNAPSHOT Gets the "snapshot" back to user-land
177 * IBNEX_SNAPSHOT_SIZE What is "snapshot" size
199 char *snapshot = NULL; local
403 if (ibnex_get_snapshot(&snapshot, &snapshot_sz,
431 } else if (ddi_copyout(snapshot, ioc.buf,
439 kmem_free(snapshot, snapshot_sz);
526 IBTL_IBNEX_LIST_CLNTS_FLAG, &snapshot, &snapshot_sz,
550 } else if (ddi_copyout(snapshot, ioc.buf,
558 kmem_free(snapshot, snapshot_sz);
590 IBTL_IBNEX_UNCFG_CLNTS_FLAG, &snapshot,
[all...]

Completed in 179 milliseconds

12