/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_vf_mbx.c | 132 static void ice_mbx_reset_snapshot(struct ice_mbx_snapshot *snap) in ice_mbx_reset_snapshot() argument 139 memset(&snap->mbx_buf, 0, sizeof(snap->mbx_buf)); in ice_mbx_reset_snapshot() 140 snap->mbx_buf.state = ICE_MAL_VF_DETECT_STATE_NEW_SNAPSHOT; in ice_mbx_reset_snapshot() 143 list_for_each_entry(vf_info, &snap->mbx_vf, list_entry) in ice_mbx_reset_snapshot() 240 struct ice_mbx_snapshot *snap = &hw->mbx_snapshot; in ice_mbx_vf_state_handler() local 271 snap_buf = &snap->mbx_buf; in ice_mbx_vf_state_handler() 276 ice_mbx_reset_snapshot(snap); in ice_mbx_vf_state_handler() 362 struct ice_mbx_snapshot *snap = &hw->mbx_snapshot; in ice_mbx_init_vf_info() local 365 list_add(&vf_info->list_entry, &snap->mbx_vf); in ice_mbx_init_vf_info() 376 struct ice_mbx_snapshot *snap = &hw->mbx_snapshot; in ice_mbx_init_snapshot() local [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 254.out | 15 "snapshot-node-name": "snap" 22 "node": "snap" 34 "node": "snap", 42 "node": "snap", 55 "node": "snap", 63 "node": "snap", 76 "node": "snap", 94 query-block: device = drive0, node-name = snap, dirty-bitmaps:
|
/openbmc/linux/net/802/ |
H A D | hippi.c | 70 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()
|
/openbmc/linux/drivers/md/ |
H A D | dm-snap.c | 210 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 table handover failed"; in __validate_exception_handover() 512 if (!dm_target_is_snapshot_merge(snap->ti)) in __validate_exception_handover() 519 snap->ti->error = "A snapshot is already merging."; in __validate_exception_handover() 525 snap->ti->error = "Snapshot exception store does not support snapshot-merge."; in __validate_exception_handover() [all …]
|
H A D | dm-exception-store.h | 119 struct dm_snapshot *snap; member 134 struct dm_dev *dm_snap_origin(struct dm_snapshot *snap); 135 struct dm_dev *dm_snap_cow(struct dm_snapshot *snap); 189 struct dm_snapshot *snap,
|
H A D | dm-exception-store.c | 173 (bdev_logical_block_size(dm_snap_cow(store->snap)->bdev) >> 9) || in dm_exception_store_set_chunk_size() 175 (bdev_logical_block_size(dm_snap_origin(store->snap)->bdev) >> 9)) { in dm_exception_store_set_chunk_size() 193 struct dm_snapshot *snap, in dm_exception_store_create() argument 231 tmp_store->snap = snap; in dm_exception_store_create()
|
H A D | dm-snap-transient.c | 46 sector_t size = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_prepare_exception() 72 *total_sectors = get_dev_size(dm_snap_cow(store->snap)->bdev); in transient_usage()
|
/openbmc/linux/drivers/usb/mon/ |
H A D | mon_stat.c | 22 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()
|
/openbmc/linux/include/linux/ |
H A D | pps_kernel.h | 102 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()
|
/openbmc/qemu/hw/display/ |
H A D | framebuffer.c | 69 DirtyBitmapSnapshot *snap; in framebuffer_update_display() local 102 snap = memory_region_snapshot_and_clear_dirty(mem, addr, src_width * rows, in framebuffer_update_display() 105 dirty = memory_region_snapshot_get_dirty(mem, snap, addr, src_width); in framebuffer_update_display() 116 g_free(snap); in framebuffer_update_display()
|
H A D | tcx.c | 111 static int tcx_check_dirty(TCXState *s, DirtyBitmapSnapshot *snap, in tcx_check_dirty() argument 116 ret = memory_region_snapshot_get_dirty(&s->vram_mem, snap, addr, len); in tcx_check_dirty() 119 ret |= memory_region_snapshot_get_dirty(&s->vram_mem, snap, in tcx_check_dirty() 121 ret |= memory_region_snapshot_get_dirty(&s->vram_mem, snap, in tcx_check_dirty() 217 DirtyBitmapSnapshot *snap = NULL; in tcx_update_display() local 230 snap = memory_region_snapshot_and_clear_dirty(&ts->vram_mem, 0x0, in tcx_update_display() 235 if (tcx_check_dirty(ts, snap, page, ds)) { in tcx_update_display() 259 g_free(snap); in tcx_update_display() 267 DirtyBitmapSnapshot *snap = NULL; in tcx24_update_display() local 283 snap = memory_region_snapshot_and_clear_dirty(&ts->vram_mem, 0x0, in tcx24_update_display() [all …]
|
H A D | g364fb.c | 71 static inline int check_dirty(G364State *s, DirtyBitmapSnapshot *snap, ram_addr_t page) in check_dirty() argument 73 return memory_region_snapshot_get_dirty(&s->mem_vram, snap, page, G364_PAGE_SIZE); in check_dirty() 79 DirtyBitmapSnapshot *snap; in g364fb_draw_graphic8() local 131 snap = memory_region_snapshot_and_clear_dirty(&s->mem_vram, 0, s->vram_size, in g364fb_draw_graphic8() 134 if (check_dirty(s, snap, page)) { in g364fb_draw_graphic8() 216 g_free(snap); in g364fb_draw_graphic8()
|
H A D | cg3.c | 98 DirtyBitmapSnapshot *snap = NULL; in cg3_update_display() local 111 snap = memory_region_snapshot_and_clear_dirty(&s->vram_mem, 0x0, in cg3_update_display() 124 update = memory_region_snapshot_get_dirty(&s->vram_mem, snap, page, in cg3_update_display() 156 g_free(snap); in cg3_update_display()
|
H A D | bochs-display.c | 204 DirtyBitmapSnapshot *snap = NULL; in bochs_display_update() local 234 snap = memory_region_snapshot_and_clear_dirty(&s->vram, in bochs_display_update() 239 dirty = memory_region_snapshot_get_dirty(&s->vram, snap, in bochs_display_update() 256 g_free(snap); in bochs_display_update()
|
/openbmc/linux/fs/ceph/ |
H A D | export.c | 132 vino.snap = CEPH_NOSNAP; in __lookup_inode() 219 vino.snap = CEPH_NOSNAP; in __snapfh_to_dentry() 221 vino.snap = CEPH_SNAPDIR; in __snapfh_to_dentry() 223 vino.snap = sfh->snapid; in __snapfh_to_dentry() 226 vino.snap = sfh->snapid; in __snapfh_to_dentry() 250 if (vino.snap < CEPH_NOSNAP) { in __snapfh_to_dentry() 251 req->r_args.lookupino.snapid = cpu_to_le64(vino.snap); in __snapfh_to_dentry() 265 if (vino.snap == CEPH_SNAPDIR) { in __snapfh_to_dentry() 269 } else if (ceph_snap(inode) == vino.snap) { in __snapfh_to_dentry() 282 vino.ino, vino.snap, err); in __snapfh_to_dentry() [all …]
|
H A D | snap.c | 1073 .snap = CEPH_NOSNAP, in ceph_handle_snap() 1175 u64 snap) in ceph_get_snapid_map() argument 1186 if (snap > exist->snap) { in ceph_get_snapid_map() 1188 } else if (snap < exist->snap) { in ceph_get_snapid_map() 1200 exist->snap, exist->dev); in ceph_get_snapid_map() 1216 sm->snap = snap; in ceph_get_snapid_map() 1225 if (snap > exist->snap) in ceph_get_snapid_map() 1227 else if (snap < exist->snap) in ceph_get_snapid_map() 1245 exist->snap, exist->dev); in ceph_get_snapid_map() 1250 sm->snap, sm->dev); in ceph_get_snapid_map() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_tx.c | 117 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()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | snapshot.rst | 106 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 …]
|
/openbmc/linux/scripts/ |
H A D | Makefile.package | 157 PHONY += snap-pkg 158 snap-pkg: 159 rm -rf $(objtree)/snap 160 mkdir $(objtree)/snap 166 $(objtree)/snap/snapcraft.yaml 167 cd $(objtree)/snap && \
|
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_tx.c | 143 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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/ |
H A D | 0005-adb-Allow-adbd-to-be-run-as-root.patch | 2 From: Etienne Cordonnier <ecordonnier@snap.com> 6 Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/perfetto/files/ |
H A D | 0001-fix-musl-build.patch | 2 From: Etienne Cordonnier <ecordonnier@snap.com> 6 Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
/openbmc/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_tx.c | 136 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()
|
/openbmc/qemu/util/ |
H A D | qsp.c | 613 QSPSnapshot *snap = qatomic_rcu_read(&qsp_snapshot); in qsp_mktree() local 621 if (snap) { in qsp_mktree() 622 qsp_diff(&snap->ht, &ht); in qsp_mktree() 788 static void qsp_snapshot_destroy(QSPSnapshot *snap) in qsp_snapshot_destroy() argument 790 qht_iter(&snap->ht, qsp_ht_delete, NULL); in qsp_snapshot_destroy() 791 qht_destroy(&snap->ht); in qsp_snapshot_destroy() 792 g_free(snap); in qsp_snapshot_destroy()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n_aggr.c | 40 struct rfc_1042_hdr snap = { in mwifiex_11n_form_amsdu_pkt() local 60 snap.snap_type = ((struct ethhdr *)skb_src->data)->h_proto; in mwifiex_11n_form_amsdu_pkt() 64 memcpy(&tx_header->rfc1042_hdr, &snap, sizeof(struct rfc_1042_hdr)); in mwifiex_11n_form_amsdu_pkt()
|