Home
last modified time | relevance | path

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

123

/linux/drivers/net/ethernet/intel/ice/
A Dice_sriov.c242 snap->mbx_vf.vf_cntr[vf_id]++; in ice_mbx_detect_malvf()
263 if (!snap || !snap->mbx_vf.vf_cntr) in ice_mbx_reset_snapshot()
269 memset(snap->mbx_vf.vf_cntr, 0, in ice_mbx_reset_snapshot()
273 memset(&snap->mbx_buf, 0, sizeof(snap->mbx_buf)); in ice_mbx_reset_snapshot()
335 snap_buf = &snap->mbx_buf; in ice_mbx_vf_state_handler()
340 ice_mbx_reset_snapshot(snap); in ice_mbx_vf_state_handler()
448 if (!snap || !all_malvfs) in ice_mbx_clear_malvf()
499 if (!snap->mbx_vf.vf_cntr) in ice_mbx_init_snapshot()
510 memset(&snap->mbx_buf, 0, sizeof(snap->mbx_buf)); in ice_mbx_init_snapshot()
528 snap->mbx_vf.vfcntr_len = 0; in ice_mbx_deinit_snapshot()
[all …]
/linux/drivers/md/
A Ddm-snap.c214 struct dm_snapshot *snap; member
748 pe->snap = s; in alloc_pending_exception()
2348 if (!snap->valid) in snapshot_status()
2358 snap->store->type->usage(snap->store, in snapshot_status()
2381 DMEMIT("%s %s", snap->origin->name, snap->cow->name); in snapshot_status()
2382 sz += snap->store->type->status(snap->store, type, result + sz, in snapshot_status()
2384 num_features = snap->discard_zeroes_cow + snap->discard_passdown_origin; in snapshot_status()
2415 r = fn(ti, snap->cow, 0, get_dev_size(snap->cow->bdev), data); in snapshot_iterate_devices()
2431 snap = snap_src; in snapshot_io_hints()
2491 if (!snap->valid || !snap->active) in __origin_write()
[all …]
A 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()
A 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,
A 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()
A DMakefile15 dm-snapshot-y += dm-snap.o dm-exception-store.o dm-snap-transient.o \
16 dm-snap-persistent.o
A 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()
/linux/net/802/
A 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()
/linux/drivers/usb/mon/
A 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()
/linux/include/linux/
A 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()
/linux/scripts/
A 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 && \
/linux/fs/ceph/
A Dexport.c131 vino.snap = CEPH_NOSNAP; in __lookup_inode()
217 vino.snap = CEPH_NOSNAP; in __snapfh_to_dentry()
219 vino.snap = CEPH_SNAPDIR; in __snapfh_to_dentry()
221 vino.snap = sfh->snapid; in __snapfh_to_dentry()
224 vino.snap = sfh->snapid; in __snapfh_to_dentry()
248 if (vino.snap < CEPH_NOSNAP) { in __snapfh_to_dentry()
249 req->r_args.lookupino.snapid = cpu_to_le64(vino.snap); in __snapfh_to_dentry()
263 if (vino.snap == CEPH_SNAPDIR) { in __snapfh_to_dentry()
267 } else if (ceph_snap(inode) == vino.snap) { in __snapfh_to_dentry()
280 vino.ino, vino.snap, err); in __snapfh_to_dentry()
[all …]
A Dsnap.c971 .snap = CEPH_NOSNAP, in ceph_handle_snap()
1050 u64 snap) in ceph_get_snapid_map() argument
1061 if (snap > exist->snap) { in ceph_get_snapid_map()
1063 } else if (snap < exist->snap) { in ceph_get_snapid_map()
1074 dout("found snapid map %llx -> %x\n", exist->snap, exist->dev); in ceph_get_snapid_map()
1090 sm->snap = snap; in ceph_get_snapid_map()
1099 if (snap > exist->snap) in ceph_get_snapid_map()
1101 else if (snap < exist->snap) in ceph_get_snapid_map()
1122 dout("create snapid map %llx -> %x\n", sm->snap, sm->dev); in ceph_get_snapid_map()
1168 dout("trim snapid map %llx -> %x\n", sm->snap, sm->dev); in ceph_trim_snapid_map()
[all …]
/linux/drivers/net/wireless/intel/ipw2x00/
A 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()
/linux/Documentation/admin-guide/device-mapper/
A 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 …]
/linux/drivers/staging/rtl8192u/ieee80211/
A 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()
/linux/drivers/staging/rtl8192e/
A 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()
/linux/drivers/net/wireless/marvell/mwifiex/
A 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()
/linux/
A D.gitignore81 # Snap directory (make snap-pkg)
83 /snap/
/linux/drivers/staging/rtl8712/
A 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()
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
A 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()
1271 packed_record[8] |= (rec->snap[0] & 0xFF) << 8; in set_egress_class_record()
1272 packed_record[9] = (rec->snap[0] >> 8) & 0xFFFF; in set_egress_class_record()
1422 rec->snap[0] = (packed_record[8] >> 8) & 0xFF; in get_egress_class_record()
1423 rec->snap[0] |= packed_record[9] << 8; in get_egress_class_record()
[all …]
A Dmacsec_struct.h71 u32 snap[2]; member
370 u32 snap[2]; member
/linux/include/linux/ceph/
A Dtypes.h20 u64 snap; member
/linux/drivers/net/ethernet/mscc/
A Docelot_vcap.c428 struct ocelot_vcap_key_snap *snap = &filter->key.snap; in is2_entry_set() local
432 snap->dmac.value, snap->dmac.mask); in is2_entry_set()
434 snap->smac.value, snap->smac.mask); in is2_entry_set()
436 filter->key.snap.snap.value, in is2_entry_set()
437 filter->key.snap.snap.mask); in is2_entry_set()
/linux/kernel/rcu/
A Dtree_exp.h355 int snap; in sync_rcu_exp_select_node_cpus() local
361 snap = rcu_dynticks_snap(rdp); in sync_rcu_exp_select_node_cpus()
362 if (rcu_dynticks_in_eqs(snap)) in sync_rcu_exp_select_node_cpus()
365 rdp->exp_dynticks_snap = snap; in sync_rcu_exp_select_node_cpus()

Completed in 57 milliseconds

123