Home
last modified time | relevance | path

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

1234567

/Linux-v6.1/Documentation/admin-guide/device-mapper/
Dsnapshot.rst2 Device-mapper snapshot support
12 - To merge a snapshot of a block device back into the snapshot's origin
19 For snapshot merge the contents of the COW storage are merged back into
24 snapshot, snapshot-origin, and snapshot-merge.
26 - snapshot-origin <origin>
30 original data will be saved in the <COW device> of each snapshot to keep
34 - snapshot <origin> <COW device> <persistent?> <chunksize>
37 A snapshot of the <origin> block device is created. Changed chunks of
41 smaller than the origin and if it fills up the snapshot will become
48 snapshot status. So supported store types are "P", "PO" and "N".
[all …]
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
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
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" | \
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.
244 N.B. All descendants (internal snapshots) of this snapshot require the
365 Create a new snapshot of another thinly-provisioned device.
369 of which the new device will be a snapshot.
[all …]
/Linux-v6.1/Documentation/networking/devlink/
Ddevlink-region.rst18 All snapshots with the same snapshot id within a devlink instance
27 Regions may optionally support capturing a snapshot on demand via the
29 requested snapshots must implement the ``.snapshot`` callback for the region
30 in its ``devlink_region_ops`` structure. If snapshot id is not set in
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 ]
43 $ devlink region read DEV/REGION [ snapshot SNAPSHOT_ID ] address ADDRESS length length
47 pci/0000:00:05.0/cr-space: size 1048576 snapshot [1 2] max 8
48 pci/0000:00:05.0/fw-health: size 64 snapshot [1 2] max 8
[all …]
Diosm.rst100 In case a firmware encounters an exception, a snapshot will be taken by the
130 $ 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
[all …]
Dice.rst196 Users can request an immediate capture of a snapshot via the
202 pci/0000:01:00.0/nvm-flash: size 10485760 snapshot [] max 1
203 pci/0000:01:00.0/device-caps: size 4096 snapshot [] max 10
205 $ devlink region new pci/0000:01:00.0/nvm-flash snapshot 1
206 $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1
208 $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1
214 $ devlink region read pci/0000:01:00.0/nvm-flash snapshot 1 address 0 length 16
217 $ devlink region delete pci/0000:01:00.0/nvm-flash snapshot 1
219 $ devlink region new pci/0000:01:00.0/device-caps snapshot 1
220 $ devlink region dump pci/0000:01:00.0/device-caps snapshot 1
[all …]
/Linux-v6.1/Documentation/power/
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
48 creating the snapshot (1) or after restoring the system memory state
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
118 The device's read() operation can be used to transfer the snapshot image from
[all …]
/Linux-v6.1/tools/testing/selftests/ftrace/test.d/trigger/
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
Dtrigger-trace-marker-snapshot.tc36 grep -q 'Snapshot is allocated' snapshot
41 test_trace snapshot 2
/Linux-v6.1/kernel/power/
Dswap.c541 struct snapshot_handle *snapshot, in save_image() argument
562 ret = snapshot_read_next(snapshot); in save_image()
565 ret = swap_write_page(handle, data_of(*snapshot), &hb); in save_image()
678 struct snapshot_handle *snapshot, in save_image_lzo() argument
780 ret = snapshot_read_next(snapshot); in save_image_lzo()
788 data_of(*snapshot), PAGE_SIZE); in save_image_lzo()
913 struct snapshot_handle snapshot; in swsusp_write() local
931 memset(&snapshot, 0, sizeof(struct snapshot_handle)); in swsusp_write()
932 error = snapshot_read_next(&snapshot); in swsusp_write()
939 header = (struct swsusp_info *)data_of(snapshot); in swsusp_write()
[all …]
/Linux-v6.1/tools/testing/selftests/ftrace/test.d/00basic/
Dsnapshot.tc10 echo 1 > snapshot
13 grep -q "Snapshot is allocated" snapshot
22 echo 1 > snapshot
/Linux-v6.1/tools/testing/selftests/drivers/net/netdevsim/
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
180 devlink region read $DL_HANDLE/dummy snapshot 25 addr 128 len $((1<<32)) >> /dev/null
183 devlink region read $DL_HANDLE/dummy snapshot 25 addr $((1<<32)) len 128 >> /dev/null 2>&1
[all …]
/Linux-v6.1/drivers/net/ethernet/qualcomm/rmnet/
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-v6.1/kernel/
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-v6.1/Documentation/userspace-api/media/drivers/
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-v6.1/fs/nilfs2/
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-v6.1/arch/x86/events/intel/
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-v6.1/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c42 bool snapshot; member
1240 int nr_pages, void **pages, bool snapshot) in alloc_etr_buf() argument
1279 void **pages, bool snapshot) in get_perf_etr_buf_cpu_wide() argument
1315 etr_buf = alloc_etr_buf(drvdata, event, nr_pages, pages, snapshot); in get_perf_etr_buf_cpu_wide()
1343 void **pages, bool snapshot) in get_perf_etr_buf_per_thread() argument
1349 return alloc_etr_buf(drvdata, event, nr_pages, pages, snapshot); in get_perf_etr_buf_per_thread()
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()
1366 int nr_pages, void **pages, bool snapshot) in tmc_etr_setup_perf_buf() argument
[all …]
/Linux-v6.1/tools/testing/selftests/kvm/
Drseq_test.c203 int r, i, snapshot; in main() local
248 snapshot = atomic_read(&seq_cnt) & ~1; in main()
259 } while (snapshot != atomic_read(&seq_cnt)); in main()
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer.sh109 devlink sb occupancy snapshot $DEVLINK_DEV
137 devlink sb occupancy snapshot $DEVLINK_DEV
168 devlink sb occupancy snapshot $DEVLINK_DEV
/Linux-v6.1/tools/bootconfig/scripts/
Dftrace.sh106 [ -f snapshot ] && echo 0 > snapshot
/Linux-v6.1/drivers/net/dsa/mv88e6xxx/
Ddevlink.c659 .snapshot = mv88e6xxx_region_global_snapshot,
670 .snapshot = mv88e6xxx_region_global_snapshot,
677 .snapshot = mv88e6xxx_region_atu_snapshot,
683 .snapshot = mv88e6xxx_region_vtu_snapshot,
689 .snapshot = mv88e6xxx_region_stu_snapshot,
695 .snapshot = mv88e6xxx_region_pvt_snapshot,
701 .snapshot = mv88e6xxx_region_port_snapshot,
/Linux-v6.1/Documentation/filesystems/
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::

1234567