Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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]
48 pci/0000:00:05.0/fw-health: size 64 snapshot [1 2]
[all …]
Dice.rst139 Users can request an immediate capture of a snapshot via the
144 $ devlink region new pci/0000:01:00.0/nvm-flash snapshot 1
145 $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1
147 $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1
153 $ devlink region read pci/0000:01:00.0/nvm-flash snapshot 1 address 0 length 16
156 $ devlink region delete pci/0000:01:00.0/nvm-flash snapshot 1
158 $ devlink region new pci/0000:01:00.0/device-caps snapshot 1
159 $ devlink region dump pci/0000:01:00.0/device-caps snapshot 1
195 $ devlink region delete pci/0000:01:00.0/device-caps snapshot 1
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/00basic/
Dsnapshot.tc10 echo 1 > snapshot
13 grep -q "Snapshot is allocated" snapshot
22 echo 1 > snapshot
/kernel/linux/linux-5.10/kernel/power/
Dswap.c539 struct snapshot_handle *snapshot, in save_image() argument
560 ret = snapshot_read_next(snapshot); in save_image()
563 ret = swap_write_page(handle, data_of(*snapshot), &hb); in save_image()
676 struct snapshot_handle *snapshot, in save_image_lzo() argument
781 ret = snapshot_read_next(snapshot); in save_image_lzo()
789 data_of(*snapshot), PAGE_SIZE); in save_image_lzo()
914 struct snapshot_handle snapshot; in swsusp_write() local
932 memset(&snapshot, 0, sizeof(struct snapshot_handle)); in swsusp_write()
933 error = snapshot_read_next(&snapshot); in swsusp_write()
940 header = (struct swsusp_info *)data_of(snapshot); in swsusp_write()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh150 check_region_snapshot_count dummy post-first-snapshot 1
154 check_region_snapshot_count dummy post-second-snapshot 2
158 check_region_snapshot_count dummy post-third-snapshot 3
160 devlink region del $DL_HANDLE/dummy snapshot 1
165 devlink region new $DL_HANDLE/dummy snapshot 25
170 devlink region dump $DL_HANDLE/dummy snapshot 25 >> /dev/null
173 devlink region read $DL_HANDLE/dummy snapshot 25 addr 0 len 1 >> /dev/null
176 devlink region read $DL_HANDLE/dummy snapshot 25 addr 128 len 128 >> /dev/null
179 devlink region read $DL_HANDLE/dummy snapshot 25 addr 128 len $((1<<32)) >> /dev/null
182 devlink region read $DL_HANDLE/dummy snapshot 25 addr $((1<<32)) len 128 >> /dev/null 2>&1
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c130 struct rmnet_vnd_stats snapshot; in rmnet_get_stats64() local
138 snapshot = pcpu_ptr->stats; /* struct assignment */ in rmnet_get_stats64()
141 total_stats.rx_pkts += snapshot.rx_pkts; in rmnet_get_stats64()
142 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64()
143 total_stats.tx_pkts += snapshot.tx_pkts; in rmnet_get_stats64()
144 total_stats.tx_bytes += snapshot.tx_bytes; in rmnet_get_stats64()
145 total_stats.tx_drops += snapshot.tx_drops; in rmnet_get_stats64()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/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()
232 if (!buf->snapshot) in __bts_event_start()
318 if (buf->snapshot) in bts_event_stop()
376 if (buf->snapshot) in bts_buffer_reset()
476 if (buf->snapshot) in intel_bts_interrupt()
Dpt.c755 if (!buf->snapshot && in topa_insert_pages()
846 if (buf->snapshot) { in pt_update_head()
916 !buf->snapshot && in pt_handle_status()
1152 if (buf->snapshot) in pt_buffer_reset_offsets()
1238 if (!buf->snapshot) in pt_buffer_try_single()
1280 int nr_pages, bool snapshot) in pt_buffer_setup_aux() argument
1292 if (event->attr.aux_sample_size && !snapshot) in pt_buffer_setup_aux()
1303 buf->snapshot = snapshot; in pt_buffer_setup_aux()
1571 if (!buf->snapshot) { in pt_event_start()
1622 if (buf->snapshot) in pt_event_stop()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c43 bool snapshot; member
1223 int nr_pages, void **pages, bool snapshot) in alloc_etr_buf() argument
1262 void **pages, bool snapshot) in get_perf_etr_buf_cpu_wide() argument
1298 etr_buf = alloc_etr_buf(drvdata, event, nr_pages, pages, snapshot); in get_perf_etr_buf_cpu_wide()
1326 void **pages, bool snapshot) in get_perf_etr_buf_per_thread() argument
1332 return alloc_etr_buf(drvdata, event, nr_pages, pages, snapshot); in get_perf_etr_buf_per_thread()
1337 int nr_pages, void **pages, bool snapshot) in get_perf_etr_buf() argument
1341 pages, snapshot); in get_perf_etr_buf()
1344 pages, snapshot); in get_perf_etr_buf()
1349 int nr_pages, void **pages, bool snapshot) in tmc_etr_setup_perf_buf() argument
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/bootconfig/scripts/
Dftrace.sh106 [ -f snapshot ] && echo 0 > snapshot
/kernel/linux/linux-5.10/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::
/kernel/linux/linux-5.10/tools/perf/util/
Dpmu.h55 bool snapshot; member
71 bool snapshot; member
/kernel/linux/linux-5.10/drivers/pwm/
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()

123456