/Linux-v6.6/Documentation/admin-guide/device-mapper/ |
D | snapshot.rst | 2 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 …]
|
D | era.rst | 16 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
|
D | dm-init.rst | 54 `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
|
D | zero.rst | 12 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" | \
|
/Linux-v6.6/Documentation/networking/devlink/ |
D | devlink-region.rst | 18 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. 35 snapshot. Direct read requests are not atomic. In particular a read request 37 access is required, use a snapshot. A driver wishing to enable this for a 40 ``DEVLINK_ATTR_REGION_DIRECT`` attribute instead of specifying a snapshot 50 $ devlink region del DEV/REGION snapshot SNAPSHOT_ID 51 $ devlink region dump DEV/REGION [ snapshot SNAPSHOT_ID ] [all …]
|
D | iosm.rst | 100 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 …]
|
D | ice.rst | 217 snapshot. The ``device-caps`` region requires a snapshot as the contents are 220 Users can request an immediate capture of a snapshot for all three regions 226 pci/0000:01:00.0/nvm-flash: size 10485760 snapshot [] max 1 227 pci/0000:01:00.0/device-caps: size 4096 snapshot [] max 10 229 $ devlink region new pci/0000:01:00.0/nvm-flash snapshot 1 230 $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1 232 $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1 238 $ devlink region read pci/0000:01:00.0/nvm-flash snapshot 1 address 0 length 16 241 $ devlink region delete pci/0000:01:00.0/nvm-flash snapshot 1 243 $ devlink region new pci/0000:01:00.0/device-caps snapshot 1 [all …]
|
/Linux-v6.6/net/devlink/ |
D | region.c | 62 struct devlink_snapshot *snapshot; in devlink_region_snapshot_get_by_id() local 64 list_for_each_entry(snapshot, ®ion->snapshot_list, list) in devlink_region_snapshot_get_by_id() 65 if (snapshot->id == id) in devlink_region_snapshot_get_by_id() 66 return snapshot; in devlink_region_snapshot_get_by_id() 73 struct devlink_snapshot *snapshot) in devlink_nl_region_snapshot_id_put() argument 82 err = nla_put_u32(msg, DEVLINK_ATTR_REGION_SNAPSHOT_ID, snapshot->id); in devlink_nl_region_snapshot_id_put() 98 struct devlink_snapshot *snapshot; in devlink_nl_region_snapshots_id_put() local 107 list_for_each_entry(snapshot, ®ion->snapshot_list, list) { in devlink_nl_region_snapshots_id_put() 108 err = devlink_nl_region_snapshot_id_put(msg, devlink, snapshot); in devlink_nl_region_snapshots_id_put() 173 struct devlink_snapshot *snapshot, in devlink_nl_region_notify_build() argument [all …]
|
/Linux-v6.6/Documentation/power/ |
D | userland-swsusp.rst | 13 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.6/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-snapshot.tc | 11 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
|
D | trigger-trace-marker-snapshot.tc | 36 grep -q 'Snapshot is allocated' snapshot 41 test_trace snapshot 2
|
/Linux-v6.6/kernel/power/ |
D | swap.c | 541 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.6/tools/testing/selftests/ftrace/test.d/00basic/ |
D | snapshot.tc | 10 echo 1 > snapshot 13 grep -q "Snapshot is allocated" snapshot 22 echo 1 > snapshot
|
/Linux-v6.6/tools/testing/selftests/drivers/net/netdevsim/ |
D | devlink.sh | 163 check_region_snapshot_count dummy post-first-snapshot 1 167 check_region_snapshot_count dummy post-second-snapshot 2 171 check_region_snapshot_count dummy post-third-snapshot 3 173 devlink region del $DL_HANDLE/dummy snapshot 1 178 devlink region new $DL_HANDLE/dummy snapshot 25 183 devlink region dump $DL_HANDLE/dummy snapshot 25 >> /dev/null 186 devlink region read $DL_HANDLE/dummy snapshot 25 addr 0 len 1 >> /dev/null 189 devlink region read $DL_HANDLE/dummy snapshot 25 addr 128 len 128 >> /dev/null 192 devlink region read $DL_HANDLE/dummy snapshot 25 addr 128 len $((1<<32)) >> /dev/null 195 devlink region read $DL_HANDLE/dummy snapshot 25 addr $((1<<32)) len 128 >> /dev/null 2>&1 [all …]
|
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 552 struct stmmac_txq_stats snapshot; in stmmac_get_per_qstats() local 557 snapshot = *txq_stats; in stmmac_get_per_qstats() 560 p = (char *)&snapshot + offsetof(struct stmmac_txq_stats, tx_pkt_n); in stmmac_get_per_qstats() 570 struct stmmac_rxq_stats snapshot; in stmmac_get_per_qstats() local 575 snapshot = *rxq_stats; in stmmac_get_per_qstats() 578 p = (char *)&snapshot + offsetof(struct stmmac_rxq_stats, rx_pkt_n); in stmmac_get_per_qstats() 641 struct stmmac_rxq_stats snapshot; in stmmac_get_ethtool_stats() local 646 snapshot = *rxq_stats; in stmmac_get_ethtool_stats() 649 data[j++] += snapshot.rx_pkt_n; in stmmac_get_ethtool_stats() 650 data[j++] += snapshot.rx_normal_irq_n; in stmmac_get_ethtool_stats() [all …]
|
/Linux-v6.6/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_vnd.c | 136 struct rmnet_vnd_stats snapshot; in rmnet_get_stats64() local 144 snapshot = pcpu_ptr->stats; /* struct assignment */ in rmnet_get_stats64() 147 total_stats.rx_pkts += snapshot.rx_pkts; in rmnet_get_stats64() 148 total_stats.rx_bytes += snapshot.rx_bytes; in rmnet_get_stats64() 149 total_stats.tx_pkts += snapshot.tx_pkts; in rmnet_get_stats64() 150 total_stats.tx_bytes += snapshot.tx_bytes; in rmnet_get_stats64() 151 total_stats.tx_drops += snapshot.tx_drops; in rmnet_get_stats64()
|
/Linux-v6.6/kernel/ |
D | tracepoint.c | 49 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.6/fs/nilfs2/ |
D | sysfs.h | 89 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.6/arch/x86/events/intel/ |
D | bts.c | 56 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.6/tools/testing/selftests/kvm/ |
D | rseq_test.c | 191 int r, i, snapshot; in main() local 232 snapshot = atomic_read(&seq_cnt) & ~1; in main() 245 } while (snapshot != atomic_read(&seq_cnt)); in main()
|
/Linux-v6.6/drivers/hwtracing/coresight/ |
D | coresight-tmc-etr.c | 42 bool snapshot; member 1262 int nr_pages, void **pages, bool snapshot) in alloc_etr_buf() argument 1301 void **pages, bool snapshot) in get_perf_etr_buf_cpu_wide() argument 1337 etr_buf = alloc_etr_buf(drvdata, event, nr_pages, pages, snapshot); in get_perf_etr_buf_cpu_wide() 1365 void **pages, bool snapshot) in get_perf_etr_buf_per_thread() argument 1371 return alloc_etr_buf(drvdata, event, nr_pages, pages, snapshot); in get_perf_etr_buf_per_thread() 1376 int nr_pages, void **pages, bool snapshot) in get_perf_etr_buf() argument 1380 pages, snapshot); in get_perf_etr_buf() 1383 pages, snapshot); in get_perf_etr_buf() 1388 int nr_pages, void **pages, bool snapshot) in tmc_etr_setup_perf_buf() argument [all …]
|
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/ |
D | sharedbuffer.sh | 109 devlink sb occupancy snapshot $DEVLINK_DEV 137 devlink sb occupancy snapshot $DEVLINK_DEV 164 devlink sb occupancy snapshot $DEVLINK_DEV
|
/Linux-v6.6/drivers/net/dsa/mv88e6xxx/ |
D | devlink.c | 659 .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.6/tools/bootconfig/scripts/ |
D | ftrace.sh | 106 [ -f snapshot ] && echo 0 > snapshot
|
/Linux-v6.6/Documentation/filesystems/ |
D | nilfs2.rst | 21 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::
|