Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 – 25 of 155) sorted by relevance

1234567

/linux/Documentation/admin-guide/device-mapper/
A Dsnapshot.rst2 Device-mapper snapshot support
12 - To merge a snapshot of a block device back into the snapshot's origin
24 snapshot, snapshot-origin, and snapshot-merge.
26 - snapshot-origin <origin>
55 snapshot-origin or snapshot-merge target must be suspended. A failure to
66 copy-out to the snapshot exception store because the snapshot-origin
78 "snapshot-origin" target and must not be loaded if the "snapshot-origin"
97 3) a "snapshot" device, combining #1 and #2, which is the visible snapshot
126 A merging snapshot assumes the role of the "snapshot-origin" while
130 merging snapshot after it completes. The "snapshot" that hands over its
[all …]
A Dera.rst16 coherency after rolling back a vendor snapshot.
50 Drop the metadata snapshot.
73 snapshot was the primary use case when developing this target:
75 Taking a vendor snapshot
80 - Take vendor snapshot (the era and snapshot should be forever
83 Rolling back to an vendor snapshot
88 - Take metadata snapshot
89 - Ascertain which blocks have been written since the snapshot was taken
A Ddm-init.rst54 `snapshot` constrained, userspace should verify src/dst device
55 `snapshot-origin` allowed
56 `snapshot-merge` constrained, userspace should verify src/dst device
111 "snapshot-origin"::
113 dm-snap-orig,,4,ro,0 409600 snapshot-origin 8:2
A Dzero.rst12 conjunction with dm-snapshot. A sparse device reports a device-size larger
27 Then create a snapshot of the zero device, using any available block-device as
32 echo "0 $TEN_TERABYTES snapshot /dev/mapper/zero1 /dev/sdb1 p 128" | \
A Dthin-provisioning.rst182 i) Creating an internal snapshot.
186 N.B. If the origin device that you wish to snapshot is active, you
187 must suspend it before creating the snapshot to avoid corruption.
199 ii) Using an internal snapshot.
202 between the origin and the snapshot. Indeed the snapshot is no
229 i) Creating a snapshot of an external device
238 ii) Using a snapshot of an external device.
365 Create a new snapshot of another thinly-provisioned device.
369 of which the new device will be a snapshot.
387 get the root block associated with the metadata snapshot.
[all …]
/linux/Documentation/networking/devlink/
A Ddevlink-region.rst18 All snapshots with the same snapshot id within a devlink instance
32 the snapshot information to user space.
41 $ devlink region del DEV/REGION snapshot SNAPSHOT_ID
42 $ devlink region dump DEV/REGION [ snapshot SNAPSHOT_ID ]
48 pci/0000:00:05.0/fw-health: size 64 snapshot [1 2] max 8
50 # Delete a snapshot using:
51 $ devlink region del pci/0000:00:05.0/cr-space snapshot 1
53 # Request an immediate snapshot, if supported by the region
55 pci/0000:00:05.0/cr-space: snapshot 5
57 # Dump a snapshot:
[all …]
A Diosm.rst130 $ devlink region dump pci/0000:02:00.0/report.json snapshot 0
132 $ devlink region del pci/0000:02:00.0/report.json snapshot 0
136 $ devlink region dump pci/0000:02:00.0/coredump.fcd snapshot 1
138 $ devlink region del pci/0000:02:00.0/coredump.fcd snapshot 1
142 $ devlink region dump pci/0000:02:00.0/cdd.log snapshot 2
144 $ devlink region del pci/0000:02:00.0/cdd.log snapshot 2
148 $ devlink region dump pci/0000:02:00.0/eeprom.bin snapshot 3
150 $ devlink region del pci/0000:02:00.0/eeprom.bin snapshot 3
154 $ devlink region dump pci/0000:02:00.0/bootcore_trace.bin snapshot 4
156 $ devlink region del pci/0000:02:00.0/bootcore_trace.bin snapshot 4
[all …]
A Dice.rst140 Users can request an immediate capture of a snapshot via the
146 pci/0000:01:00.0/nvm-flash: size 10485760 snapshot [] max 1
147 pci/0000:01:00.0/device-caps: size 4096 snapshot [] max 10
149 $ devlink region new pci/0000:01:00.0/nvm-flash snapshot 1
150 $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1
152 $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1
158 $ devlink region read pci/0000:01:00.0/nvm-flash snapshot 1 address 0 length 16
161 $ devlink region delete pci/0000:01:00.0/nvm-flash snapshot 1
163 $ devlink region new pci/0000:01:00.0/device-caps snapshot 1
164 $ devlink region dump pci/0000:01:00.0/device-caps snapshot 1
[all …]
/linux/Documentation/power/
A Duserland-swsusp.rst13 utilities that will read/write the system memory snapshot from/to the
22 be read from /sys/class/misc/snapshot/dev.
45 create a snapshot of the system memory; the
50 SNAPSHOT_CREATE_IMAGE ioctl() again); after the snapshot
56 uploaded snapshot image; before calling it you should transfer
57 the system memory snapshot back to the kernel using the write()
58 operation; this call will not succeed if the snapshot
62 free memory allocated for the snapshot image
170 (a) The suspending utility MUST NOT close the snapshot device
175 system MUST be powered off or rebooted after the snapshot
[all …]
/linux/kernel/power/
A Dswap.c560 ret = snapshot_read_next(snapshot); in save_image()
778 ret = snapshot_read_next(snapshot); in save_image_lzo()
911 struct snapshot_handle snapshot; in swsusp_write() local
930 error = snapshot_read_next(&snapshot); in swsusp_write()
1078 ret = snapshot_write_next(snapshot); in load_image()
1084 if (snapshot->sync_read) in load_image()
1100 snapshot_write_finalize(snapshot); in load_image()
1292 ret = snapshot_write_next(snapshot); in load_image_lzo()
1410 memcpy(data_of(*snapshot), in load_image_lzo()
1441 snapshot_write_finalize(snapshot); in load_image_lzo()
[all …]
/linux/tools/testing/selftests/ftrace/test.d/trigger/
A Dtrigger-snapshot.tc11 FEATURE=`grep snapshot events/sched/sched_process_fork/trigger`
18 echo 0 > snapshot
23 grep sched_process_fork snapshot > /dev/null || \
27 echo 0 > snapshot
A Dtrigger-trace-marker-snapshot.tc36 grep -q 'Snapshot is allocated' snapshot
41 test_trace snapshot 2
/linux/tools/testing/selftests/ftrace/test.d/00basic/
A Dsnapshot.tc10 echo 1 > snapshot
13 grep -q "Snapshot is allocated" snapshot
22 echo 1 > snapshot
/linux/tools/testing/selftests/drivers/net/netdevsim/
A Ddevlink.sh151 check_region_snapshot_count dummy post-first-snapshot 1
155 check_region_snapshot_count dummy post-second-snapshot 2
159 check_region_snapshot_count dummy post-third-snapshot 3
161 devlink region del $DL_HANDLE/dummy snapshot 1
166 devlink region new $DL_HANDLE/dummy snapshot 25
171 devlink region dump $DL_HANDLE/dummy snapshot 25 >> /dev/null
174 devlink region read $DL_HANDLE/dummy snapshot 25 addr 0 len 1 >> /dev/null
177 devlink region read $DL_HANDLE/dummy snapshot 25 addr 128 len 128 >> /dev/null
186 devlink region del $DL_HANDLE/dummy snapshot 25
196 devlink region dump $DL_HANDLE/dummy snapshot $sid >> /dev/null
[all …]
/linux/drivers/net/ethernet/qualcomm/rmnet/
A Drmnet_vnd.c131 struct rmnet_vnd_stats snapshot; in rmnet_get_stats64() local
139 snapshot = pcpu_ptr->stats; /* struct assignment */ in rmnet_get_stats64()
142 total_stats.rx_pkts += snapshot.rx_pkts; in rmnet_get_stats64()
143 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64()
144 total_stats.tx_pkts += snapshot.tx_pkts; in rmnet_get_stats64()
145 total_stats.tx_bytes += snapshot.tx_bytes; in rmnet_get_stats64()
146 total_stats.tx_drops += snapshot.tx_drops; in rmnet_get_stats64()
/linux/kernel/
A Dtracepoint.c49 struct tp_transition_snapshot *snapshot = &tp_transition_snapshot[sync]; in tp_rcu_get_state() local
52 snapshot->rcu = get_state_synchronize_rcu(); in tp_rcu_get_state()
53 snapshot->srcu = start_poll_synchronize_srcu(&tracepoint_srcu); in tp_rcu_get_state()
54 snapshot->ongoing = true; in tp_rcu_get_state()
59 struct tp_transition_snapshot *snapshot = &tp_transition_snapshot[sync]; in tp_rcu_cond_sync() local
61 if (!snapshot->ongoing) in tp_rcu_cond_sync()
63 cond_synchronize_rcu(snapshot->rcu); in tp_rcu_cond_sync()
64 if (!poll_state_synchronize_srcu(&tracepoint_srcu, snapshot->srcu)) in tp_rcu_cond_sync()
66 snapshot->ongoing = false; in tp_rcu_cond_sync()
/linux/arch/x86/events/intel/
A Dbts.c56 bool snapshot; member
110 buf->snapshot = overwrite; in bts_buffer_setup_aux()
154 if (!buf->snapshot) { in bts_config_buffer()
171 ds->bts_interrupt_threshold = !buf->snapshot in bts_config_buffer()
196 if (!buf->snapshot) { in bts_update()
238 if (!buf->snapshot) in __bts_event_start()
324 if (buf->snapshot) in bts_event_stop()
382 if (buf->snapshot) in bts_buffer_reset()
482 if (buf->snapshot) in intel_bts_interrupt()
/linux/Documentation/userspace-api/media/drivers/
A Dmeye-uapi.rst22 agc, video framerate), the snapshot and the MJPEG capture facilities.
48 Takes a snapshot in an uncompressed or compressed jpeg format.
49 This ioctl blocks until the snapshot is done and returns (for
50 jpeg snapshot) the size of the image. The image data is
/linux/fs/nilfs2/
A Dsysfs.h89 NILFS_CP_ATTR_STRUCT(snapshot);
132 NILFS_INFO_ATTR(snapshot, name)
134 NILFS_RO_ATTR(snapshot, name)
136 NILFS_RW_ATTR(snapshot, name)
/linux/drivers/hwtracing/coresight/
A Dcoresight-tmc-etr.c42 bool snapshot; member
1279 void **pages, bool snapshot) in get_perf_etr_buf_cpu_wide() argument
1343 void **pages, bool snapshot) in get_perf_etr_buf_per_thread() argument
1354 int nr_pages, void **pages, bool snapshot) in get_perf_etr_buf() argument
1358 pages, snapshot); in get_perf_etr_buf()
1361 pages, snapshot); in get_perf_etr_buf()
1399 int nr_pages, bool snapshot) in tmc_alloc_etr_buffer() argument
1405 nr_pages, pages, snapshot); in tmc_alloc_etr_buffer()
1412 etr_perf->snapshot = snapshot; in tmc_alloc_etr_buffer()
1580 if (etr_perf->snapshot) in tmc_update_etr_buffer()
[all …]
/linux/tools/testing/selftests/kvm/
A Drseq_test.c208 int r, i, snapshot; in main() local
252 snapshot = atomic_read(&seq_cnt) & ~1; in main()
263 } while (snapshot != atomic_read(&seq_cnt)); in main()
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dsharedbuffer.sh109 devlink sb occupancy snapshot $DEVLINK_DEV
137 devlink sb occupancy snapshot $DEVLINK_DEV
168 devlink sb occupancy snapshot $DEVLINK_DEV
/linux/Documentation/filesystems/
A Dnilfs2.rst21 full. Each snapshot is mountable as a read-only file system
61 cp=n Specify the checkpoint-number of the snapshot to be
63 user command. Only the checkpoints marked as snapshot
101 checkpoint and snapshot state. This ioctl is
170 mkcp make a checkpoint or a snapshot.
171 chcp change an existing checkpoint to a snapshot or vice versa.
175 To mount a snapshot::
179 where <cno> is the checkpoint number of the snapshot.
181 To unmount the NILFS2 mount point or snapshot, simply::
/linux/drivers/pwm/
A Dpwm-sti.c70 u32 snapshot[3]; member
368 high = ddata->snapshot[1] - ddata->snapshot[0]; in sti_pwm_capture()
369 low = ddata->snapshot[2] - ddata->snapshot[1]; in sti_pwm_capture()
440 &ddata->snapshot[ddata->index]); in sti_pwm_interrupt()
/linux/drivers/net/dsa/mv88e6xxx/
A Ddevlink.c580 .snapshot = mv88e6xxx_region_global_snapshot,
591 .snapshot = mv88e6xxx_region_global_snapshot,
598 .snapshot = mv88e6xxx_region_atu_snapshot,
604 .snapshot = mv88e6xxx_region_vtu_snapshot,
610 .snapshot = mv88e6xxx_region_pvt_snapshot,
616 .snapshot = mv88e6xxx_region_port_snapshot,

Completed in 80 milliseconds

1234567