Home
last modified time | relevance | path

Searched refs:dirty (Results 1 – 25 of 547) sorted by relevance

12345678910>>...22

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_page_dirty.c84 struct vmw_bo_dirty *dirty = vbo->dirty; in vmw_bo_dirty_scan_pagetable() local
91 offset, dirty->bitmap_size, in vmw_bo_dirty_scan_pagetable()
92 offset, &dirty->bitmap[0], in vmw_bo_dirty_scan_pagetable()
93 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable()
95 dirty->change_count++; in vmw_bo_dirty_scan_pagetable()
97 dirty->change_count = 0; in vmw_bo_dirty_scan_pagetable()
99 if (dirty->change_count > VMW_DIRTY_NUM_CHANGE_TRIGGERS) { in vmw_bo_dirty_scan_pagetable()
100 dirty->change_count = 0; in vmw_bo_dirty_scan_pagetable()
101 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_scan_pagetable()
103 offset, dirty->bitmap_size); in vmw_bo_dirty_scan_pagetable()
[all …]
H A Dvmwgfx_scrn.c991 static void vmw_sou_surface_fifo_commit(struct vmw_kms_dirty *dirty) in vmw_sou_surface_fifo_commit() argument
994 container_of(dirty, typeof(*sdirty), base); in vmw_sou_surface_fifo_commit()
995 struct vmw_kms_sou_dirty_cmd *cmd = dirty->cmd; in vmw_sou_surface_fifo_commit()
996 s32 trans_x = dirty->unit->crtc.x - sdirty->dst_x; in vmw_sou_surface_fifo_commit()
997 s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y; in vmw_sou_surface_fifo_commit()
998 size_t region_size = dirty->num_hits * sizeof(SVGASignedRect); in vmw_sou_surface_fifo_commit()
1002 if (!dirty->num_hits) { in vmw_sou_surface_fifo_commit()
1003 vmw_cmd_commit(dirty->dev_priv, 0); in vmw_sou_surface_fifo_commit()
1025 cmd->body.destScreenId = dirty->unit->unit; in vmw_sou_surface_fifo_commit()
1028 for (i = 0; i < dirty->num_hits; ++i, ++blit) { in vmw_sou_surface_fifo_commit()
[all …]
H A Dvmwgfx_stdu.c461 static void vmw_stdu_bo_cpu_clip(struct vmw_kms_dirty *dirty) in vmw_stdu_bo_cpu_clip() argument
464 container_of(dirty, struct vmw_stdu_dirty, base); in vmw_stdu_bo_cpu_clip()
466 dirty->num_hits = 1; in vmw_stdu_bo_cpu_clip()
469 ddirty->left = min_t(s32, ddirty->left, dirty->unit_x1); in vmw_stdu_bo_cpu_clip()
470 ddirty->top = min_t(s32, ddirty->top, dirty->unit_y1); in vmw_stdu_bo_cpu_clip()
471 ddirty->right = max_t(s32, ddirty->right, dirty->unit_x2); in vmw_stdu_bo_cpu_clip()
472 ddirty->bottom = max_t(s32, ddirty->bottom, dirty->unit_y2); in vmw_stdu_bo_cpu_clip()
479 ddirty->fb_left = min_t(s32, ddirty->fb_left, dirty->fb_x); in vmw_stdu_bo_cpu_clip()
480 ddirty->fb_top = min_t(s32, ddirty->fb_top, dirty->fb_y); in vmw_stdu_bo_cpu_clip()
492 static void vmw_stdu_bo_cpu_commit(struct vmw_kms_dirty *dirty) in vmw_stdu_bo_cpu_commit() argument
[all …]
H A Dvmwgfx_surface.c664 WARN_ON_ONCE(res->dirty); in vmw_user_surface_free()
1205 if (res->guest_memory_bo->dirty && res->guest_memory_dirty) { in vmw_gb_surface_bind()
1669 static void vmw_subres_dirty_add(struct vmw_surface_dirty *dirty, in vmw_subres_dirty_add() argument
1673 const struct vmw_surface_cache *cache = &dirty->cache; in vmw_subres_dirty_add()
1674 SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource]; in vmw_subres_dirty_add()
1679 if (WARN_ON(loc_start->sub_resource >= dirty->num_subres)) in vmw_subres_dirty_add()
1717 static void vmw_subres_dirty_full(struct vmw_surface_dirty *dirty, u32 subres) in vmw_subres_dirty_full() argument
1719 const struct vmw_surface_cache *cache = &dirty->cache; in vmw_subres_dirty_full()
1722 SVGA3dBox *box = &dirty->boxes[subres]; in vmw_subres_dirty_full()
1739 struct vmw_surface_dirty *dirty = in vmw_surface_tex_dirty_range_add() local
[all …]
/openbmc/linux/drivers/vfio/pci/pds/
H A Ddirty.c20 return pds_vfio->dirty.is_enabled; in pds_vfio_dirty_is_enabled()
25 pds_vfio->dirty.is_enabled = true; in pds_vfio_dirty_set_enabled()
30 pds_vfio->dirty.is_enabled = false; in pds_vfio_dirty_set_disabled()
73 static int pds_vfio_dirty_alloc_bitmaps(struct pds_vfio_dirty *dirty, in pds_vfio_dirty_alloc_bitmaps() argument
88 dirty->host_seq.bmp = host_seq_bmp; in pds_vfio_dirty_alloc_bitmaps()
89 dirty->host_ack.bmp = host_ack_bmp; in pds_vfio_dirty_alloc_bitmaps()
94 static void pds_vfio_dirty_free_bitmaps(struct pds_vfio_dirty *dirty) in pds_vfio_dirty_free_bitmaps() argument
96 vfree(dirty->host_seq.bmp); in pds_vfio_dirty_free_bitmaps()
97 vfree(dirty->host_ack.bmp); in pds_vfio_dirty_free_bitmaps()
98 dirty->host_seq.bmp = NULL; in pds_vfio_dirty_free_bitmaps()
[all …]
/openbmc/linux/sound/pci/ctxfi/
H A Dcthw20k1.c101 union src_dirty dirty; member
124 union src_mgr_dirty dirty; member
148 union srcimp_mgr_dirty dirty; member
181 ctl->dirty.bf.ctl = 1; in src_set_state()
190 ctl->dirty.bf.ctl = 1; in src_set_bm()
199 ctl->dirty.bf.ctl = 1; in src_set_rsr()
208 ctl->dirty.bf.ctl = 1; in src_set_sf()
217 ctl->dirty.bf.ctl = 1; in src_set_wr()
226 ctl->dirty.bf.ctl = 1; in src_set_pm()
235 ctl->dirty.bf.ctl = 1; in src_set_rom()
[all …]
H A Dcthw20k2.c101 union src_dirty dirty; member
124 union src_mgr_dirty dirty; member
148 union srcimp_mgr_dirty dirty; member
181 ctl->dirty.bf.ctl = 1; in src_set_state()
190 ctl->dirty.bf.ctl = 1; in src_set_bm()
199 ctl->dirty.bf.ctl = 1; in src_set_rsr()
208 ctl->dirty.bf.ctl = 1; in src_set_sf()
217 ctl->dirty.bf.ctl = 1; in src_set_wr()
226 ctl->dirty.bf.ctl = 1; in src_set_pm()
235 ctl->dirty.bf.ctl = 1; in src_set_rom()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D236.out6 {"execute": "block-dirty-bitmap-add", "arguments": {"granularity": 65536, "name": "bitmapA", "node"…
8 {"execute": "block-dirty-bitmap-add", "arguments": {"granularity": 65536, "name": "bitmapB", "node"…
55 "type": "block-dirty-bitmap-disable"
63 "type": "block-dirty-bitmap-add"
70 "type": "block-dirty-bitmap-clear"
119 "type": "block-dirty-bitmap-disable"
127 "type": "block-dirty-bitmap-add"
134 "type": "block-dirty-bitmap-disable"
141 "type": "block-dirty-bitmap-enable"
172 "type": "block-dirty-bitmap-disable"
[all …]
H A D254.out1 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0"}}
3 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap1", "node": "drive0", "persisten…
5 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap2", "node": "drive0", "persisten…
24 "type": "block-dirty-bitmap-add"
37 "type": "block-dirty-bitmap-merge"
45 "type": "block-dirty-bitmap-add"
58 "type": "block-dirty-bitmap-merge"
66 "type": "block-dirty-bitmap-add"
79 "type": "block-dirty-bitmap-merge"
86 "type": "block-dirty-bitmap-remove"
[all …]
H A D260.out4 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0", "persisten…
6 initial bitmap: name=bitmap0 dirty-clusters=1
16 check bitmap after commit: name=bitmap0 dirty-clusters=2
17 check updated bitmap: name=bitmap0 dirty-clusters=3
21 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0", "persisten…
23 initial bitmap: name=bitmap0 dirty-clusters=1
33 check bitmap after commit: name=bitmap0 dirty-clusters=2
34 check updated bitmap: name=bitmap0 dirty-clusters=3
38 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0", "persisten…
40 initial bitmap: name=bitmap0 dirty-clusters=1
[all …]
H A D246.out8 {"execute": "block-dirty-bitmap-add", "arguments": {"granularity": 32768, "name": "Small", "node": …
10 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "Medium", "node": "drive0", "persistent…
12 {"execute": "block-dirty-bitmap-add", "arguments": {"granularity": 131072, "name": "Large", "node":…
14 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "Transient", "node": "drive0", "persist…
89 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "New", "node": "drive0", "persistent": …
93 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "Newtwo", "node": "drive0", "persistent…
192 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "NewB", "node": "drive0", "persistent":…
194 {"execute": "block-dirty-bitmap-remove", "arguments": {"name": "New", "node": "drive0"}}
201 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "NewC", "node": "drive0", "persistent":…
203 {"execute": "block-dirty-bitmap-remove", "arguments": {"name": "Newtwo", "node": "drive0"}}
[all …]
H A D191.out124 "dirty-flag": false
134 "dirty-flag": false
163 "dirty-flag": false
193 "dirty-flag": false
203 "dirty-flag": false
232 "dirty-flag": false
262 "dirty-flag": false
272 "dirty-flag": false
301 "dirty-flag": false
330 "dirty-flag": false
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dlprops.c35 return lprops->free + lprops->dirty; in get_heap_comp_val()
37 return lprops->dirty; in get_heap_comp_val()
412 if (lprops->free + lprops->dirty == c->leb_size) { in ubifs_categorize_lprops()
420 if (lprops->dirty + lprops->free >= c->min_idx_node_sz) in ubifs_categorize_lprops()
423 if (lprops->dirty >= c->dead_wm && in ubifs_categorize_lprops()
424 lprops->dirty > lprops->free) in ubifs_categorize_lprops()
527 int free, int dirty, int flags, in ubifs_change_lp() argument
537 lprops->lnum, free, dirty, flags); in ubifs_change_lp()
550 ubifs_assert(dirty == LPROPS_NC || dirty >= 0); in ubifs_change_lp()
559 ubifs_assert(!(lprops->free & 7) && !(lprops->dirty & 7)); in ubifs_change_lp()
[all …]
/openbmc/linux/fs/ubifs/
H A Dlprops.c32 return lprops->free + lprops->dirty; in get_heap_comp_val()
34 return lprops->dirty; in get_heap_comp_val()
407 if (lprops->free + lprops->dirty == c->leb_size) { in ubifs_categorize_lprops()
415 if (lprops->dirty + lprops->free >= c->min_idx_node_sz) in ubifs_categorize_lprops()
418 if (lprops->dirty >= c->dead_wm && in ubifs_categorize_lprops()
419 lprops->dirty > lprops->free) in ubifs_categorize_lprops()
522 int free, int dirty, int flags, in ubifs_change_lp() argument
532 lprops->lnum, free, dirty, flags); in ubifs_change_lp()
545 ubifs_assert(c, dirty == LPROPS_NC || dirty >= 0); in ubifs_change_lp()
554 ubifs_assert(c, !(lprops->free & 7) && !(lprops->dirty & 7)); in ubifs_change_lp()
[all …]
H A Dfind.c54 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable()
96 if (lprops->free + lprops->dirty < data->min_space) in scan_for_dirty_cb()
102 if (lprops->free + lprops->dirty == c->leb_size) { in scan_for_dirty_cb()
106 } else if (lprops->dirty < c->dead_wm) in scan_for_dirty_cb()
137 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty()
139 if (lprops->dirty < c->dead_wm) in scan_for_dirty()
153 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty()
157 if (lprops->dirty < c->dead_wm) in scan_for_dirty()
180 ubifs_assert(c, lprops->free + lprops->dirty >= min_space); in scan_for_dirty()
181 ubifs_assert(c, lprops->dirty >= c->dead_wm || in scan_for_dirty()
[all …]
/openbmc/qemu/docs/devel/migration/
H A Ddirty-limit.rst4 The dirty limit, short for dirty page rate upper limit, is a new capability
6 dirty ring to throttle down the guest during live migration.
35 CALCULATE(2), as the name implies. It involves preparing the dirty
37 The dirty page rate is calculated via the KVM dirty ring mechanism,
38 which tells QEMU how many dirty pages a virtual CPU has had since the
39 last KVM_EXIT_DIRTY_RING_FULL exception; The dirty page rate upper
46 computation must be done carefully in order to reduce the dirty page
49 subtract sleep time based on the ratio of the current dirty page rate
50 to the limit, which is used when the current dirty page rate is far
52 the current dirty page rate is close to the limit.
[all …]
H A Dvfio.rst92 System memory dirty pages tracking
96 the VFIO dirty tracking module to start and stop dirty page tracking. A
97 ``log_sync`` memory listener callback queries the dirty page bitmap from the
98 dirty tracking module and marks system memory pages which were DMA-ed by the
99 VFIO device as dirty. The dirty page bitmap is queried per container.
101 Currently there are two ways dirty page tracking can be done:
102 (1) Device dirty tracking:
105 Discovering device capability, starting and stopping dirty tracking, and
106 syncing the dirty bitmaps from the device are done using the DMA logging uAPI.
113 In this method dirty tracking is done by IOMMU. However, there is currently no
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/xorg-driver/xf86-video-nouveau/
H A D0001-nouveau-fixup-driver-for-new-X-server-ABI.patch44 @@ -559,16 +559,16 @@ redisplay_dirty(ScreenPtr screen, PixmapDirtyUpdatePtr dirty)
48 - PixmapRegionInit(&pixregion, dirty->slave_dst);
49 + PixmapRegionInit(&pixregion, dirty->secondary_dst);
51 - DamageRegionAppend(&dirty->slave_dst->drawable, &pixregion);
52 + DamageRegionAppend(&dirty->secondary_dst->drawable, &pixregion);
54 PixmapSyncDirtyHelper(dirty);
56 PixmapSyncDirtyHelper(dirty, &pixregion);
59 - DamageRegionProcessPending(&dirty->slave_dst->drawable);
60 + DamageRegionProcessPending(&dirty->secondary_dst->drawable);
/openbmc/linux/Documentation/admin-guide/mm/
H A Dsoft-dirty.rst5 The soft-dirty is a bit on a PTE which helps to track which pages a task
8 1. Clear soft-dirty bits from the task's PTEs.
15 3. Read soft-dirty bits from the PTEs.
18 64-bit qword is the soft-dirty one. If set, the respective PTE was
23 when the soft-dirty bit is cleared. So, after this, when the task tries to
25 the soft-dirty bit on the respective PTE.
28 soft-dirty bits clear, the #PF-s that occur after that are processed fast.
30 the kernel does is finds this fact out and puts both writable and soft-dirty
34 there is still a scenario when we can lose soft dirty bits -- a task
37 including soft dirty bits. To notify user space application about such
[all …]
/openbmc/qemu/qapi/
H A Dtransaction.json46 # @block-dirty-bitmap-add: Since 2.5
48 # @block-dirty-bitmap-remove: Since 4.2
50 # @block-dirty-bitmap-clear: Since 2.5
52 # @block-dirty-bitmap-enable: Since 4.0
54 # @block-dirty-bitmap-disable: Since 4.0
56 # @block-dirty-bitmap-merge: Since 4.0
76 'data': [ 'abort', 'block-dirty-bitmap-add', 'block-dirty-bitmap-remove',
77 'block-dirty-bitmap-clear', 'block-dirty-bitmap-enable',
78 'block-dirty-bitmap-disable', 'block-dirty-bitmap-merge',
170 'block-dirty-bitmap-add': 'BlockDirtyBitmapAddWrapper',
[all …]
H A Dmigration.json30 # @dirty-pages-rate: number of pages dirtied by second by the guest
35 # @dirty-sync-count: number of times that dirty ram was synchronized
58 # @dirty-sync-missed-zero-copy: Number of times dirty RAM
59 # synchronization could not avoid copying dirty pages. This is
60 # between 0 and @dirty-sync-count * @multifd-channels. (since
69 'normal-bytes': 'int', 'dirty-pages-rate': 'int',
70 'mbps': 'number', 'dirty-sync-count': 'int',
75 'dirty-sync-missed-zero-copy': 'uint64' } }
212 # downtime in milliseconds for the guest in last walk of the dirty
248 # @dirty-limit-throttle-time-per-round: Maximum throttle time (in
[all …]
/openbmc/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst27 | pte_dirty | Tests a dirty PTE |
37 | pte_soft_dirty | Tests a soft dirty PTE |
39 | pte_swp_soft_dirty | Tests a soft dirty swapped PTE |
45 | pte_mkdirty | Creates a dirty PTE |
61 | pte_mksoft_dirty | Creates a soft dirty PTE |
63 | pte_clear_soft_dirty | Clears a soft dirty PTE |
65 | pte_swp_mksoft_dirty | Creates a soft dirty swapped PTE |
67 | pte_swp_clear_soft_dirty | Clears a soft dirty swapped PTE |
103 | pmd_dirty | Tests a dirty PMD |
113 | pmd_soft_dirty | Tests a soft dirty PMD |
[all …]
/openbmc/qemu/hw/display/
H A Dqxl-render.c116 qxl_set_rect_to_surface(qxl, &qxl->dirty[0]); in qxl_render_update_area_unlocked()
145 if (qemu_spice_rect_is_empty(qxl->dirty+i)) { in qxl_render_update_area_unlocked()
148 if (qxl->dirty[i].left < 0 || in qxl_render_update_area_unlocked()
149 qxl->dirty[i].top < 0 || in qxl_render_update_area_unlocked()
150 qxl->dirty[i].left > qxl->dirty[i].right || in qxl_render_update_area_unlocked()
151 qxl->dirty[i].top > qxl->dirty[i].bottom || in qxl_render_update_area_unlocked()
152 qxl->dirty[i].right > width || in qxl_render_update_area_unlocked()
153 qxl->dirty[i].bottom > height) { in qxl_render_update_area_unlocked()
156 qxl_blit(qxl, qxl->dirty+i); in qxl_render_update_area_unlocked()
158 qxl->dirty[i].left, qxl->dirty[i].top, in qxl_render_update_area_unlocked()
[all …]
/openbmc/qemu/docs/interop/
H A Dnbd.rst26 types. The first is related to exposing the contents of a dirty
30 qemu:dirty-bitmap:<dirty-bitmap-export-name>
32 Each dirty-bitmap metadata context defines only one flag for extents
36 ``NBD_STATE_DIRTY``, set when the extent is "dirty"
50 ``qemu:dirty-bitmap:<dirty-bitmap-export-name>``:
54 ``qemu:dirty-bitmap:``
55 returns list of all available dirty-bitmap metadata contexts
80 ``NBD_CMD_BLOCK_STATUS`` for ``qemu:dirty-bitmap:``, ``NBD_CMD_CACHE``
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-click-spinner/
H A D0001-Update-Versioneer-to-0.22.patch166 + "dirty": False, "error": None, "date": None}
258 + "dirty": False, "error": None,
265 + "dirty": False, "error": "no suitable tags", "date": None}
296 + # if there is a tag matching tag_prefix, this yields TAG-NUM-gHEX[-dirty]
297 + # if there isn't one, this yields HEX[-dirty] (no NUM)
298 + describe_out, rc = runner(GITS, ["describe", "--tags", "--dirty",
348 + # parse describe_out. It will be like TAG-NUM-gHEX[-dirty] or HEX[-dirty]
352 + # look for -dirty suffix
353 + dirty = git_describe.endswith("-dirty")
354 + pieces["dirty"] = dirty
[all …]

12345678910>>...22