| /onnv/onnv-gate/usr/src/uts/common/io/ |
| devpool.c | 47 * snapshot of the current configuration. Only one process on the system 56 * the snapshot taken at the beginning of that transaction. 221 int snapshot = 0; local 302 * Return last snapshot if some 311 snapshot = 1; 345 if (snapshot == 0)
|
| openprom.c | 62 #define IOC_IDLE 0 /* snapshot ioctl states */ 63 #define IOC_SNAP 1 /* snapshot in progress */ 64 #define IOC_DONE 2 /* snapshot done, but not copied out */ 73 int16_t ioc_state; /* snapshot ioctl state */ 74 char *snapshot; /* snapshot of all prom nodes */ member in struct:oprom_state 75 size_t size; /* size of snapshot */ 270 ASSERT(st->snapshot == NULL && st->size == 0); 305 if (st->snapshot) { 306 kmem_free(st->snapshot, st->size) [all...] |
| fssnap.c | 54 * This module implements the file system snapshot code, which provides a 58 * "fssnap" that represents the snapshot. Each snapshot is assigned a 60 * device with a high minor number is used to initiate snapshot creation and 63 * file system at the time the snapshot was created. 70 * When a snapshot is to be created, the user utility will send an ioctl to 73 * hold old data before it is overwritten, and other snapshot parameters. 77 * no changes occur while the snapshot is being created. It then calls 78 * fssnap_create() to create state for a new snapshot, from which an opaque 79 * handle is returned with the snapshot locked. Next, the file system mus 139 static struct snapshot_id *snapshot = NULL; variable in typeref:struct:snapshot_id [all...] |
| /onnv/onnv-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
| ses.c | 195 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...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/ |
| dsl_prop.c | 74 int intsz, int numints, void *buf, char *setpoint, boolean_t snapshot) 102 if (dd != target || snapshot) { 167 boolean_t snapshot; local 172 snapshot = (ds->ds_phys != NULL && dsl_dataset_is_snapshot(ds)); 179 ASSERT(snapshot); 219 intsz, numints, buf, setpoint, snapshot)); 679 * It's a snapshot; nothing can inherit this 877 DSL_PROP_GET_SNAPSHOT = 0x2, /* snapshot dataset */
|
| /onnv/onnv-gate/usr/src/cmd/svc/svcprop/ |
| svcprop.c | 108 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) 382 if (scf_instance_get_snapshot(inst, snapshot, snap) == -1) { 385 die(gettext("Invalid snapshot name.\n")) [all...] |
| /onnv/onnv-gate/usr/src/cmd/zoneadm/ |
| zfs.c | 67 time_t origin_creation; /* snapshot creation time of clone */ 68 const char *snapshot; /* snapshot of dataset being demoted */ member in struct:clone_data 206 * Run the brand's pre-snapshot hook before we take a ZFS snapshot of the zone. 227 * Run the brand's post-snapshot hook after we take a ZFS snapshot of the zone. 248 * This is a ZFS snapshot iterator call-back function which returns the 281 * Take a ZFS snapshot to be used for cloning the zone. 293 * zone snapshot. Look through the list of zones snapshots fo [all...] |
| zoneadm.c | 134 #define SHELP_CLONE "clone [-m method] [-s <ZFS snapshot>] "\ 270 "can be used to specify the name of a ZFS snapshot " 272 "snapshot will be used as the source\n\tinstead of " 273 "creating a new ZFS snapshot. All other arguments are " 3538 char *snapshot = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/stat/common/ |
| statcommon.h | 185 /* time at which iodev snapshot was taken */ 213 /* The primary structure of a system snapshot. */ 214 struct snapshot { struct 264 int nr_active_cpus(struct snapshot *ss); 278 * Return a struct snapshot based on the snapshot_types parameter 282 struct snapshot *acquire_snapshot(kstat_ctl_t *, int, struct iodev_filter *); 284 /* free a snapshot */ 285 void free_snapshot(struct snapshot *ss); 297 int snapshot_walk(enum snapshot_types type, struct snapshot *old, 298 struct snapshot *new, snapshot_cb cb, void *data) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/ib/ibnex/ |
| ibnex_ioctl.c | 175 * IBNEX_GET_SNAPSHOT Gets the "snapshot" back to user-land 176 * IBNEX_SNAPSHOT_SIZE What is "snapshot" size 198 char *snapshot = NULL; local 401 if (ibnex_get_snapshot(&snapshot, &snapshot_sz, 429 } else if (ddi_copyout(snapshot, ioc.buf, 437 kmem_free(snapshot, snapshot_sz); 524 IBTL_IBNEX_LIST_CLNTS_FLAG, &snapshot, &snapshot_sz, 548 } else if (ddi_copyout(snapshot, ioc.buf, 556 kmem_free(snapshot, snapshot_sz); 588 IBTL_IBNEX_UNCFG_CLNTS_FLAG, &snapshot, [all...] |
| /onnv/onnv-gate/usr/src/uts/common/inet/ip/ |
| sadb.c | 3694 time_t snapshot = gethrestime_sec(); local [all...] |