Home
last modified time | relevance | path

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

/drivers/md/
Ddm-snap.c189 struct dm_snapshot *snap; member
422 static int __find_snapshots_sharing_cow(struct dm_snapshot *snap, in __find_snapshots_sharing_cow() argument
432 o = __lookup_origin(snap->origin->bdev); in __find_snapshots_sharing_cow()
439 if (!bdev_equal(s->cow->bdev, snap->cow->bdev)) in __find_snapshots_sharing_cow()
463 static int __validate_exception_handover(struct dm_snapshot *snap) in __validate_exception_handover() argument
469 if ((__find_snapshots_sharing_cow(snap, &snap_src, &snap_dest, in __validate_exception_handover()
472 snap->ti->error = "Snapshot cow pairing for exception " in __validate_exception_handover()
487 if (!dm_target_is_snapshot_merge(snap->ti)) in __validate_exception_handover()
494 snap->ti->error = "A snapshot is already merging."; in __validate_exception_handover()
500 snap->ti->error = "Snapshot exception store does not " in __validate_exception_handover()
[all …]
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-exception-store.h117 struct dm_snapshot *snap; member
132 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap);
133 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap);
211 struct dm_snapshot *snap,
DMakefile9 dm-snapshot-y += dm-snap.o dm-exception-store.o dm-snap-transient.o \
10 dm-snap-persistent.o
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()
Ddm-snap-persistent.c233 .bdev = dm_snap_cow(ps->store->snap)->bdev, in chunk_io()
324 bdev_logical_block_size(dm_snap_cow(ps->store->snap)-> in read_header()
502 client = dm_bufio_client_create(dm_snap_cow(ps->store->snap)->bdev, in read_exceptions()
583 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_usage()
680 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in persistent_prepare_exception()
Ddm-era-target.c1107 dm_block_t snap; member
1131 s->snap = md->metadata_snap; in metadata_get_stats()
1621 if (stats.snap != SUPERBLOCK_LOCATION) in era_status()
1622 DMEMIT(" %llu", stats.snap); in era_status()
Ddm-thin-metadata.c1033 struct dm_thin_device *snap, in __set_snapshot_details() argument
1046 snap->mapped_blocks = td->mapped_blocks; in __set_snapshot_details()
1047 snap->snapshotted_time = time; in __set_snapshot_details()
/drivers/usb/mon/
Dmon_stat.c21 struct snap { struct
29 struct snap *sp; in mon_stat_open() argument
31 sp = kmalloc(sizeof(struct snap), GFP_KERNEL); in mon_stat_open()
48 struct snap *sp = file->private_data; in mon_stat_read()
55 struct snap *sp = file->private_data; in mon_stat_release()
/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c131 struct libipw_snap_hdr *snap; in libipw_copy_snap() local
134 snap = (struct libipw_snap_hdr *)data; in libipw_copy_snap()
135 snap->dsap = 0xaa; in libipw_copy_snap()
136 snap->ssap = 0xaa; in libipw_copy_snap()
137 snap->ctrl = 0x03; in libipw_copy_snap()
143 snap->oui[0] = oui[0]; in libipw_copy_snap()
144 snap->oui[1] = oui[1]; in libipw_copy_snap()
145 snap->oui[2] = oui[2]; in libipw_copy_snap()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c159 struct ieee80211_snap_hdr *snap; in ieee80211_put_snap() local
162 snap = (struct ieee80211_snap_hdr *)data; in ieee80211_put_snap()
163 snap->dsap = 0xaa; in ieee80211_put_snap()
164 snap->ssap = 0xaa; in ieee80211_put_snap()
165 snap->ctrl = 0x03; in ieee80211_put_snap()
171 snap->oui[0] = oui[0]; in ieee80211_put_snap()
172 snap->oui[1] = oui[1]; in ieee80211_put_snap()
173 snap->oui[2] = oui[2]; in ieee80211_put_snap()
Dieee80211.h1199 u8 snap[6]; member
/drivers/staging/rtl8192e/
Drtllib_tx.c152 struct rtllib_snap_hdr *snap; in rtllib_put_snap() local
155 snap = (struct rtllib_snap_hdr *)data; in rtllib_put_snap()
156 snap->dsap = 0xaa; in rtllib_put_snap()
157 snap->ssap = 0xaa; in rtllib_put_snap()
158 snap->ctrl = 0x03; in rtllib_put_snap()
164 snap->oui[0] = oui[0]; in rtllib_put_snap()
165 snap->oui[1] = oui[1]; in rtllib_put_snap()
166 snap->oui[2] = oui[2]; in rtllib_put_snap()
Drtllib.h1061 u8 snap[6]; member
/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()
/drivers/staging/rtl8712/
Drtl871x_xmit.c564 struct ieee80211_snap_hdr *snap; in r8712_put_snap() local
567 snap = (struct ieee80211_snap_hdr *)data; in r8712_put_snap()
568 snap->dsap = 0xaa; in r8712_put_snap()
569 snap->ssap = 0xaa; in r8712_put_snap()
570 snap->ctrl = 0x03; in r8712_put_snap()
575 snap->oui[0] = oui[0]; in r8712_put_snap()
576 snap->oui[1] = oui[1]; in r8712_put_snap()
577 snap->oui[2] = oui[2]; in r8712_put_snap()
Dieee80211.h181 u8 snap[6]; member
/drivers/media/dvb-core/
Ddvb_net.c785 int snap = 0; local
814 snap = 8;
826 if (!(skb = dev_alloc_skb(pkt_len - 4 - 12 + 14 + 2 - snap))) {
835 eth = (u8 *) skb_put(skb, pkt_len - 12 - 4 + 14 - snap);
836 memcpy(eth + 14, pkt + 12 + snap, pkt_len - 12 - 4 - snap);
848 if (snap) {
/drivers/staging/rtl8188eu/core/
Drtw_xmit.c1118 struct ieee80211_snap_hdr *snap; in rtw_put_snap() local
1122 snap = (struct ieee80211_snap_hdr *)data; in rtw_put_snap()
1123 snap->dsap = 0xaa; in rtw_put_snap()
1124 snap->ssap = 0xaa; in rtw_put_snap()
1125 snap->ctrl = 0x03; in rtw_put_snap()
1132 snap->oui[0] = oui[0]; in rtw_put_snap()
1133 snap->oui[1] = oui[1]; in rtw_put_snap()
1134 snap->oui[2] = oui[2]; in rtw_put_snap()
/drivers/net/wireless/cisco/
Dairo.c832 u8 snap[8]; member
1412 memcpy(&mic->u.snap, micsnap, sizeof(micsnap)); // Add Snap in encapsulate()
1473 if (memcmp (mic->u.snap, micsnap, sizeof(micsnap)) != 0) { in decapsulate()
1508 emmh32_update(&context->seed, (u8 *)&mic->typelen, sizeof(mic->typelen)+sizeof(mic->u.snap)); in decapsulate()