Home
last modified time | relevance | path

Searched refs:snap (Results 1 – 25 of 70) sorted by relevance

123

/kernel/linux/linux-5.10/net/802/
Dhippi.c70 hip->snap.dsap = HIPPI_EXTENDED_SAP; in hippi_header()
71 hip->snap.ssap = HIPPI_EXTENDED_SAP; in hippi_header()
72 hip->snap.ctrl = HIPPI_UI_CMD; in hippi_header()
73 hip->snap.oui[0] = 0x00; in hippi_header()
74 hip->snap.oui[1] = 0x00; in hippi_header()
75 hip->snap.oui[2] = 0x00; in hippi_header()
76 hip->snap.ethertype = htons(type); in hippi_header()
110 return hip->snap.ethertype; in hippi_type_trans()
/kernel/linux/linux-5.10/drivers/md/
Ddm-snap.c214 struct dm_snapshot *snap; member
448 static int __find_snapshots_sharing_cow(struct dm_snapshot *snap, in __find_snapshots_sharing_cow() argument
458 o = __lookup_origin(snap->origin->bdev); in __find_snapshots_sharing_cow()
465 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
489 static int __validate_exception_handover(struct dm_snapshot *snap) in __validate_exception_handover() argument
495 if ((__find_snapshots_sharing_cow(snap, &snap_src, &snap_dest, in __validate_exception_handover()
498 snap->ti->error = "Snapshot cow pairing for exception " in __validate_exception_handover()
513 if (!dm_target_is_snapshot_merge(snap->ti)) in __validate_exception_handover()
520 snap->ti->error = "A snapshot is already merging."; in __validate_exception_handover()
526 snap->ti->error = "Snapshot exception store does not " in __validate_exception_handover()
[all …]
Ddm-exception-store.h118 struct dm_snapshot *snap; member
133 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap);
134 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap);
188 struct dm_snapshot *snap,
Ddm-exception-store.c172 (bdev_logical_block_size(dm_snap_cow(store->snap)->bdev) >> 9) || in dm_exception_store_set_chunk_size()
174 (bdev_logical_block_size(dm_snap_origin(store->snap)->bdev) >> 9)) { in dm_exception_store_set_chunk_size()
192 struct dm_snapshot *snap, in dm_exception_store_create() argument
230 tmp_store->snap = snap; in dm_exception_store_create()
Ddm-snap-transient.c43 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_prepare_exception()
69 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_usage()
DMakefile10 dm-snapshot-y += dm-snap.o dm-exception-store.o dm-snap-transient.o \
11 dm-snap-persistent.o
Ddm-snap-persistent.c233 .bdev = dm_snap_cow(ps->store->snap)->bdev, in chunk_io()
317 bdev_logical_block_size(dm_snap_cow(ps->store->snap)-> in read_header()
495 client = dm_bufio_client_create(dm_snap_cow(ps->store->snap)->bdev, in read_exceptions()
576 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_usage()
673 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_prepare_exception()
/kernel/linux/linux-5.10/drivers/usb/mon/
Dmon_stat.c22 struct snap { struct
30 struct snap *sp; in mon_stat_open() argument
32 sp = kmalloc(sizeof(struct snap), GFP_KERNEL); in mon_stat_open()
49 struct snap *sp = file->private_data; in mon_stat_read()
56 struct snap *sp = file->private_data; in mon_stat_release()
/kernel/linux/linux-5.10/include/linux/
Dpps_kernel.h102 struct system_time_snapshot snap; in pps_get_ts() local
104 ktime_get_snapshot(&snap); in pps_get_ts()
105 ts->ts_real = ktime_to_timespec64(snap.real); in pps_get_ts()
107 ts->ts_raw = ktime_to_timespec64(snap.raw); in pps_get_ts()
/kernel/linux/linux-5.10/scripts/
DMakefile.package91 PHONY += snap-pkg
92 snap-pkg:
93 rm -rf $(objtree)/snap
94 mkdir $(objtree)/snap
100 $(objtree)/snap/snapcraft.yaml
101 cd $(objtree)/snap && \
/kernel/linux/linux-5.10/fs/ceph/
Dexport.c131 vino.snap = CEPH_NOSNAP; in __lookup_inode()
212 vino.snap = CEPH_NOSNAP; in __snapfh_to_dentry()
214 vino.snap = CEPH_SNAPDIR; in __snapfh_to_dentry()
216 vino.snap = sfh->snapid; in __snapfh_to_dentry()
219 vino.snap = sfh->snapid; in __snapfh_to_dentry()
238 if (vino.snap < CEPH_NOSNAP) { in __snapfh_to_dentry()
239 req->r_args.lookupino.snapid = cpu_to_le64(vino.snap); in __snapfh_to_dentry()
253 if (vino.snap == CEPH_SNAPDIR) { in __snapfh_to_dentry()
257 } else if (ceph_snap(inode) == vino.snap) { in __snapfh_to_dentry()
269 vino.ino, vino.snap, err); in __snapfh_to_dentry()
[all …]
Dsnap.c944 .snap = CEPH_NOSNAP, in ceph_handle_snap()
1056 u64 snap) in ceph_get_snapid_map() argument
1067 if (snap > exist->snap) { in ceph_get_snapid_map()
1069 } else if (snap < exist->snap) { in ceph_get_snapid_map()
1080 dout("found snapid map %llx -> %x\n", exist->snap, exist->dev); in ceph_get_snapid_map()
1096 sm->snap = snap; in ceph_get_snapid_map()
1105 if (snap > exist->snap) in ceph_get_snapid_map()
1107 else if (snap < exist->snap) in ceph_get_snapid_map()
1124 dout("found snapid map %llx -> %x\n", exist->snap, exist->dev); in ceph_get_snapid_map()
1128 dout("create snapid map %llx -> %x\n", sm->snap, sm->dev); in ceph_get_snapid_map()
[all …]
DMakefile9 export.o caps.o snap.o xattr.o quota.o io.o \
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c117 struct libipw_snap_hdr *snap; in libipw_copy_snap() local
120 snap = (struct libipw_snap_hdr *)data; in libipw_copy_snap()
121 snap->dsap = 0xaa; in libipw_copy_snap()
122 snap->ssap = 0xaa; in libipw_copy_snap()
123 snap->ctrl = 0x03; in libipw_copy_snap()
129 snap->oui[0] = oui[0]; in libipw_copy_snap()
130 snap->oui[1] = oui[1]; in libipw_copy_snap()
131 snap->oui[2] = oui[2]; in libipw_copy_snap()
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Dsnapshot.rst106 lvcreate -L 100M --snapshot -n snap volumeGroup/base
113 volumeGroup-snap-cow: 0 204800 linear 8:19 2097536
114 volumeGroup-snap: 0 2097152 snapshot 254:11 254:12 P 16
119 brw------- 1 root root 254, 12 29 ago 18:15 /dev/mapper/volumeGroup-snap-cow
120 brw------- 1 root root 254, 13 29 ago 18:15 /dev/mapper/volumeGroup-snap
136 lvconvert --merge volumeGroup/snap
168 snap volumeGroup swi-a- 1.00g base 18.97
170 # dmsetup status volumeGroup-snap
174 # lvconvert --merge -b volumeGroup/snap
175 Merging of volume snap started.
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c143 struct ieee80211_snap_hdr *snap; in ieee80211_put_snap() local
146 snap = (struct ieee80211_snap_hdr *)data; in ieee80211_put_snap()
147 snap->dsap = 0xaa; in ieee80211_put_snap()
148 snap->ssap = 0xaa; in ieee80211_put_snap()
149 snap->ctrl = 0x03; in ieee80211_put_snap()
155 snap->oui[0] = oui[0]; in ieee80211_put_snap()
156 snap->oui[1] = oui[1]; in ieee80211_put_snap()
157 snap->oui[2] = oui[2]; in ieee80211_put_snap()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_tx.c136 struct rtllib_snap_hdr *snap; in rtllib_put_snap() local
139 snap = (struct rtllib_snap_hdr *)data; in rtllib_put_snap()
140 snap->dsap = 0xaa; in rtllib_put_snap()
141 snap->ssap = 0xaa; in rtllib_put_snap()
142 snap->ctrl = 0x03; in rtllib_put_snap()
148 snap->oui[0] = oui[0]; in rtllib_put_snap()
149 snap->oui[1] = oui[1]; in rtllib_put_snap()
150 snap->oui[2] = oui[2]; in rtllib_put_snap()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
D11n_aggr.c52 struct rfc_1042_hdr snap = { in mwifiex_11n_form_amsdu_pkt() local
72 snap.snap_type = ((struct ethhdr *)skb_src->data)->h_proto; in mwifiex_11n_form_amsdu_pkt()
76 memcpy(&tx_header->rfc1042_hdr, &snap, sizeof(struct rfc_1042_hdr)); in mwifiex_11n_form_amsdu_pkt()
/kernel/linux/linux-5.10/include/linux/ceph/
Dtypes.h20 u64 snap; member
/kernel/linux/linux-5.10/
D.gitignore81 # Snap directory (make snap-pkg)
83 /snap/
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl871x_xmit.c549 struct ieee80211_snap_hdr *snap; in r8712_put_snap() local
552 snap = (struct ieee80211_snap_hdr *)data; in r8712_put_snap()
553 snap->dsap = 0xaa; in r8712_put_snap()
554 snap->ssap = 0xaa; in r8712_put_snap()
555 snap->ctrl = 0x03; in r8712_put_snap()
560 snap->oui[0] = oui[0]; in r8712_put_snap()
561 snap->oui[1] = oui[1]; in r8712_put_snap()
562 snap->oui[2] = oui[2]; in r8712_put_snap()
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_vcap.h123 struct ocelot_vcap_u40 snap; member
292 struct ocelot_vcap_key_snap snap; member
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_api.c374 packed_record[6] = rec->snap[0] & 0xFFFF; in set_ingress_preclass_record()
375 packed_record[7] = (rec->snap[0] >> 16) & 0xFFFF; in set_ingress_preclass_record()
377 packed_record[8] = rec->snap[1] & 0xFF; in set_ingress_preclass_record()
488 rec->snap[0] = packed_record[6]; in get_ingress_preclass_record()
489 rec->snap[0] |= packed_record[7] << 16; in get_ingress_preclass_record()
491 rec->snap[1] = packed_record[8] & 0xFF; in get_ingress_preclass_record()
1275 packed_record[8] |= (rec->snap[0] & 0xFF) << 8; in set_egress_class_record()
1276 packed_record[9] = (rec->snap[0] >> 8) & 0xFFFF; in set_egress_class_record()
1277 packed_record[10] = (rec->snap[0] >> 24) & 0xFF; in set_egress_class_record()
1279 packed_record[10] |= (rec->snap[1] & 0xFF) << 8; in set_egress_class_record()
[all …]
Dmacsec_struct.h71 u32 snap[2]; member
370 u32 snap[2]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Datmsap.h89 unsigned char snap[5]; member

123