Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_page_dirty.c85 struct vmw_bo_dirty *dirty = vbo->dirty; in vmw_bo_dirty_scan_pagetable() local
94 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable()
108 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable()
123 struct vmw_bo_dirty *dirty = vbo->dirty; in vmw_bo_dirty_scan_mkwrite() local
128 if (dirty->end <= dirty->start) in vmw_bo_dirty_scan_mkwrite()
133 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite()
151 if (dirty->start < dirty->end) in vmw_bo_dirty_scan_mkwrite()
153 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite()
264 dirty->start = dirty->bitmap_size; in vmw_bo_dirty_add()
280 &dirty->start, &dirty->end); in vmw_bo_dirty_add()
[all …]
A Dvmwgfx_fb.c65 } dirty; member
231 par->dirty.x1 = par->dirty.x2 = 0; in vmw_fb_dirty_flush()
232 par->dirty.y1 = par->dirty.y2 = 0; in vmw_fb_dirty_flush()
274 if (par->dirty.x1 == par->dirty.x2) { in vmw_fb_dirty_mark()
275 par->dirty.x1 = x1; in vmw_fb_dirty_mark()
276 par->dirty.y1 = y1; in vmw_fb_dirty_mark()
277 par->dirty.x2 = x2; in vmw_fb_dirty_mark()
278 par->dirty.y2 = y2; in vmw_fb_dirty_mark()
342 par->dirty.x1 = 0; in vmw_deferred_io()
737 par->dirty.x1 = par->dirty.x2 = 0; in vmw_fb_init()
[all …]
A Dvmwgfx_scrn.c1031 if (!dirty->num_hits) { in vmw_sou_surface_fifo_commit()
1086 blit += dirty->num_hits; in vmw_sou_surface_clip()
1098 dirty->num_hits++; in vmw_sou_surface_clip()
1187 if (!dirty->num_hits) { in vmw_sou_bo_fifo_commit()
1194 dirty->num_hits); in vmw_sou_bo_fifo_commit()
1217 dirty->num_hits++; in vmw_sou_bo_clip()
1267 dirty.crtc = crtc; in vmw_kms_sou_do_bo_dirty()
1297 if (!dirty->num_hits) { in vmw_sou_readback_fifo_commit()
1304 dirty->num_hits); in vmw_sou_readback_fifo_commit()
1327 dirty->num_hits++; in vmw_sou_readback_clip()
[all …]
A Dvmwgfx_stdu.c471 blit->w = dirty->unit_x2 - dirty->unit_x1; in vmw_stdu_bo_clip()
472 blit->h = dirty->unit_y2 - dirty->unit_y1; in vmw_stdu_bo_clip()
473 dirty->num_hits++; in vmw_stdu_bo_clip()
505 if (!dirty->num_hits) { in vmw_stdu_bo_fifo_commit()
549 dirty->num_hits = 1; in vmw_stdu_bo_cpu_clip()
587 if (!dirty->num_hits) in vmw_stdu_bo_cpu_commit()
769 blit->w = dirty->unit_x2 - dirty->unit_x1; in vmw_kms_stdu_surface_clip()
770 blit->h = dirty->unit_y2 - dirty->unit_y1; in vmw_kms_stdu_surface_clip()
773 dirty->num_hits++; in vmw_kms_stdu_surface_clip()
802 if (!dirty->num_hits) { in vmw_kms_stdu_surface_fifo_commit()
[all …]
A Dvmwgfx_surface.c672 WARN_ON_ONCE(res->dirty); in vmw_user_surface_free()
1791 cache = &dirty->cache; in vmw_surface_tex_dirty_range_add()
1940 memset(&dirty->boxes[0], 0, sizeof(dirty->boxes[0]) * in vmw_surface_dirty_sync()
1941 dirty->num_subres); in vmw_surface_dirty_sync()
1986 if (!dirty) { in vmw_surface_dirty_alloc()
1994 &dirty->cache); in vmw_surface_dirty_alloc()
1999 dirty->size = acc_size; in vmw_surface_dirty_alloc()
2000 res->dirty = (struct vmw_resource_dirty *) dirty; in vmw_surface_dirty_alloc()
2005 kvfree(dirty); in vmw_surface_dirty_alloc()
2020 kvfree(dirty); in vmw_surface_dirty_free()
[all …]
A Dvmwgfx_kms.c2401 if (dirty->crtc) { in vmw_kms_helper_dirty()
2429 memset(dirty->cmd, 0, dirty->fifo_reserve_size); in vmw_kms_helper_dirty()
2452 dirty->unit_x2 = dirty->fb_x + vclips_ptr->w + in vmw_kms_helper_dirty()
2454 dirty->unit_y2 = dirty->fb_y + vclips_ptr->h + in vmw_kms_helper_dirty()
2458 dirty->unit_x1 = dirty->fb_x + dest_x - crtc_x; in vmw_kms_helper_dirty()
2459 dirty->unit_y1 = dirty->fb_y + dest_y - crtc_y; in vmw_kms_helper_dirty()
2464 dirty->unit_x2 <= 0 || dirty->unit_y2 <= 0) in vmw_kms_helper_dirty()
2468 dirty->unit_x2 = min_t(s32, dirty->unit_x2, in vmw_kms_helper_dirty()
2470 dirty->unit_y2 = min_t(s32, dirty->unit_y2, in vmw_kms_helper_dirty()
2481 dirty->clip(dirty); in vmw_kms_helper_dirty()
[all …]
A Dvmwgfx_validation.c83 u32 dirty : 1; member
317 u32 dirty, in vmw_validation_add_resource() argument
368 if (dirty) { in vmw_validation_add_resource()
371 node->dirty = (dirty & VMW_RES_DIRTY_SET) ? 1 : 0; in vmw_validation_add_resource()
391 void *val_private, u32 dirty) in vmw_validation_res_set_dirty() argument
395 if (!dirty) in vmw_validation_res_set_dirty()
401 val->dirty = (dirty & VMW_RES_DIRTY_SET) ? 1 : 0; in vmw_validation_res_set_dirty()
513 val->dirty, in vmw_validation_res_unreserve()
621 if (vbo->dirty) in vmw_validation_bo_validate()
649 val->dirty); in vmw_validation_res_validate()
A Dvmwgfx_binding.c109 unsigned long dirty; member
762 unsigned long *dirty, in vmw_collect_dirty_view_ids() argument
770 i = find_first_bit(dirty, max_num); in vmw_collect_dirty_view_ids()
989 unsigned long *dirty, in vmw_collect_dirty_vbs() argument
998 i = find_first_bit(dirty, max_num); in vmw_collect_dirty_vbs()
1166 __clear_bit(hit, &cbs->dirty); in vmw_binding_emit_dirty()
1189 &cbs->per_shader[biv->shader_slot].dirty); in vmw_binding_scrub_sr()
1190 __set_bit(VMW_BINDING_PS_BIT, &cbs->dirty); in vmw_binding_scrub_sr()
1207 __set_bit(VMW_BINDING_RT_BIT, &cbs->dirty); in vmw_binding_scrub_dx_rt()
1244 __set_bit(VMW_BINDING_VB_BIT, &cbs->dirty); in vmw_binding_scrub_vb()
[all …]
/linux/sound/pci/ctxfi/
A Dcthw20k1.c101 union src_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()
298 ctl->dirty.bf.ca = 1; in src_set_ca()
307 ctl->dirty.bf.sa = 1; in src_set_sa()
316 ctl->dirty.bf.la = 1; in src_set_la()
667 if (ctl->dirty.bf.amoplo || ctl->dirty.bf.amophi) { in amixer_commit_write()
[all …]
A Dcthw20k2.c101 union src_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()
298 ctl->dirty.bf.ca = 1; in src_set_ca()
307 ctl->dirty.bf.sa = 1; in src_set_sa()
316 ctl->dirty.bf.la = 1; in src_set_la()
[all …]
/linux/fs/ubifs/
A Dlprops.c34 return lprops->dirty; in get_heap_comp_val()
545 ubifs_assert(c, dirty == LPROPS_NC || dirty >= 0); in ubifs_change_lp()
586 dirty = ALIGN(dirty, 8); in ubifs_change_lp()
587 c->lst.total_dirty += dirty - lprops->dirty; in ubifs_change_lp()
588 lprops->dirty = dirty; in ubifs_change_lp()
703 lp = ubifs_change_lp(c, lp, free, lp->dirty + dirty, flags, 0); in ubifs_update_one_lp()
1166 dirty = lp->dirty; in scan_check_cb()
1170 if (is_idx && lp->free + lp->dirty == free + dirty && in scan_check_cb()
1184 dirty = lp->dirty; in scan_check_cb()
1187 if (lp->free != free || lp->dirty != dirty) in scan_check_cb()
[all …]
A Dfind.c54 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable()
106 } else if (lprops->dirty < c->dead_wm) in scan_for_dirty_cb()
139 if (lprops->dirty < c->dead_wm) in scan_for_dirty()
157 if (lprops->dirty < c->dead_wm) in scan_for_dirty()
277 sum = idx_lp->free + idx_lp->dirty; in ubifs_find_dirty_leb()
294 if (lp->dirty + lp->free < min_space) in ubifs_find_dirty_leb()
300 if (idx_lp->free + idx_lp->dirty >= lp->free + lp->dirty) in ubifs_find_dirty_leb()
317 ubifs_assert(c, lp->dirty >= c->dead_wm || in ubifs_find_dirty_leb()
322 lp->lnum, lp->free, lp->dirty, lp->flags); in ubifs_find_dirty_leb()
377 if (lprops->free + lprops->dirty == c->leb_size && lprops->dirty > 0) in scan_for_free_cb()
[all …]
A Dlpt.c454 if (!dirty || !lnum) in ubifs_add_lpt_dirt()
457 lnum, dirty, c->ltab[lnum - c->lpt_first].dirty); in ubifs_add_lpt_dirt()
459 c->ltab[lnum - c->lpt_first].dirty += dirty; in ubifs_add_lpt_dirt()
473 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in set_ltab()
476 c->ltab[lnum - c->lpt_first].dirty = dirty; in set_ltab()
644 ltab[i].dirty = 0; in ubifs_create_dflt_lpt()
991 lprops->dirty <<= 3; in unpack_pnode()
1057 dirty > c->leb_size || free + dirty > c->leb_size) in unpack_ltab()
1061 c->ltab[i].dirty = dirty; in unpack_ltab()
1161 int dirty = pnode->lprops[i].dirty; in validate_pnode() local
[all …]
A Dreplay.c76 int dirty; member
91 int err = 0, dirty; in set_bud_lprops() local
101 dirty = lp->dirty; in set_bud_lprops()
123 lp->free, lp->dirty); in set_bud_lprops()
125 lp->free, lp->dirty); in set_bud_lprops()
126 dirty -= c->leb_size - lp->free; in set_bud_lprops()
134 if (dirty != 0) in set_bud_lprops()
137 b->dirty); in set_bud_lprops()
139 lp = ubifs_change_lp(c, lp, b->free, dirty + b->dirty, in set_bud_lprops()
822 b->dirty = sleb->endpt - offs - used; in replay_bud()
[all …]
/linux/Documentation/vm/
A Darch_pgtable_helpers.rst29 | pte_dirty | Tests a dirty PTE |
39 | pte_soft_dirty | Tests a soft dirty PTE |
41 | pte_swp_soft_dirty | Tests a soft dirty swapped PTE |
47 | pte_mkdirty | Creates a dirty PTE |
59 | pte_mksoft_dirty | Creates a soft dirty PTE |
61 | pte_clear_soft_dirty | Clears a soft dirty PTE |
63 | pte_swp_mksoft_dirty | Creates a soft dirty swapped PTE |
65 | pte_swp_clear_soft_dirty | Clears a soft dirty swapped PTE |
99 | pmd_dirty | Tests a dirty PMD |
109 | pmd_soft_dirty | Tests a soft dirty PMD |
[all …]
/linux/Documentation/admin-guide/mm/
A Dsoft-dirty.rst7 The soft-dirty is a bit on a PTE which helps to track which pages a task
10 1. Clear soft-dirty bits from the task's PTEs.
17 3. Read soft-dirty bits from the PTEs.
20 64-bit qword is the soft-dirty one. If set, the respective PTE was
25 when the soft-dirty bit is cleared. So, after this, when the task tries to
27 the soft-dirty bit on the respective PTE.
30 soft-dirty bits clear, the #PF-s that occur after that are processed fast.
32 the kernel does is finds this fact out and puts both writable and soft-dirty
36 there is still a scenario when we can lose soft dirty bits -- a task
39 including soft dirty bits. To notify user space application about such
[all …]
/linux/drivers/gpu/drm/mga/
A Dmga_state.c330 unsigned int dirty = sarea_priv->dirty; in mga_g200_emit_state() local
337 if (dirty & MGA_UPLOAD_CONTEXT) { in mga_g200_emit_state()
342 if (dirty & MGA_UPLOAD_TEX0) { in mga_g200_emit_state()
351 unsigned int dirty = sarea_priv->dirty; in mga_g400_emit_state() local
364 if (dirty & MGA_UPLOAD_TEX0) { in mga_g400_emit_state()
420 unsigned int dirty = sarea_priv->dirty; in mga_verify_state() local
426 if (dirty & MGA_UPLOAD_CONTEXT) in mga_verify_state()
429 if (dirty & MGA_UPLOAD_TEX0) in mga_verify_state()
433 if (dirty & MGA_UPLOAD_TEX1) in mga_verify_state()
436 if (dirty & MGA_UPLOAD_PIPE) in mga_verify_state()
[all …]
/linux/fs/jffs2/
A Ddebug.c187 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts()
195 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts()
203 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts()
211 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts()
276 check(dirty); in __jffs2_dbg_superblock_counts()
503 uint32_t dirty = 0; in __jffs2_dbg_dump_block_lists_nolock() local
517 numblocks, dirty, dirty / numblocks); in __jffs2_dbg_dump_block_lists_nolock()
525 uint32_t dirty = 0; in __jffs2_dbg_dump_block_lists_nolock() local
540 numblocks, dirty, dirty / numblocks); in __jffs2_dbg_dump_block_lists_nolock()
548 uint32_t dirty = 0; in __jffs2_dbg_dump_block_lists_nolock() local
[all …]
/linux/mm/
A Dpage-writeback.c474 unsigned long dirty; in node_dirty_limit() local
483 dirty += dirty / 4; in node_dirty_limit()
485 return dirty; in node_dirty_limit()
801 unsigned long dirty, in pos_ratio_polynom() argument
1180 unsigned long dirty = dtc->dirty; in wb_update_dirty_ratelimit() local
1292 dirty = dtc->wb_dirty; in wb_update_dirty_ratelimit()
1299 if (dirty < setpoint) { in wb_update_dirty_ratelimit()
1412 if (thresh > dirty) in dirty_poll_interval()
1602 dirty = gdtc->dirty; in balance_dirty_pages()
1757 sdtc->dirty, in balance_dirty_pages()
[all …]
/linux/drivers/misc/sgi-gru/
A Dgruhandles.c158 unsigned long vaddr, int asid, int dirty, in tfh_write_only() argument
165 tfh->dirty = dirty; in tfh_write_only()
174 unsigned long vaddr, int asid, int dirty, in tfh_write_restart() argument
181 tfh->dirty = dirty; in tfh_write_restart()
/linux/fs/ntfs3/
A Drecord.c58 mi->dirty = true; in mi_new_attt_id()
140 mi->dirty = true; in mi_read()
167 mi->dirty = true; in mi_read()
325 if (!mi->dirty) in mi_write()
338 mi->dirty = false; in mi_write()
377 mi->dirty = true; in mi_format_new()
413 mi->dirty = true; in mi_mark_free()
479 mi->dirty = true; in mi_insert_attr()
508 mi->dirty = true; in mi_remove_attr()
558 mi->dirty = true; in mi_resize_attr()
[all …]
A Dattrlist.c35 ni->attr_list.dirty = false; in al_destroy()
332 al->dirty = true; in al_add_le()
339 al->dirty = false; in al_add_le()
364 al->dirty = true; in al_remove_le()
418 al->dirty = true; in al_delete_le()
429 if (!al->dirty || !al->size) in al_update()
452 ni->mi.dirty = true; in al_update()
453 al->dirty = false; in al_update()
/linux/drivers/gpu/drm/r128/
A Dr128_state.c231 unsigned int dirty = sarea_priv->dirty; in r128_emit_state() local
233 DRM_DEBUG("dirty=0x%08x\n", dirty); in r128_emit_state()
235 if (dirty & R128_UPLOAD_CORE) { in r128_emit_state()
237 sarea_priv->dirty &= ~R128_UPLOAD_CORE; in r128_emit_state()
240 if (dirty & R128_UPLOAD_CONTEXT) { in r128_emit_state()
245 if (dirty & R128_UPLOAD_SETUP) { in r128_emit_state()
250 if (dirty & R128_UPLOAD_MASKS) { in r128_emit_state()
255 if (dirty & R128_UPLOAD_WINDOW) { in r128_emit_state()
260 if (dirty & R128_UPLOAD_TEX0) { in r128_emit_state()
262 sarea_priv->dirty &= ~R128_UPLOAD_TEX0; in r128_emit_state()
[all …]
/linux/arch/powerpc/mm/
A Dpgtable.c143 int dirty) in set_access_flags_filter() argument
155 if (dirty || pte_exec(pte) || !is_exec_fault()) in set_access_flags_filter()
214 pte_t *ptep, pte_t entry, int dirty) in ptep_set_access_flags() argument
217 entry = set_access_flags_filter(entry, vma, dirty); in ptep_set_access_flags()
230 pte_t pte, int dirty) in huge_ptep_set_access_flags() argument
238 ptep_set_access_flags(vma, addr, ptep, pte, dirty); in huge_ptep_set_access_flags()
243 pte = set_access_flags_filter(pte, vma, dirty); in huge_ptep_set_access_flags()
/linux/drivers/char/xilinx_hwicap/
A Dbuffer_icap.c272 bool dirty = false; in buffer_icap_set_configuration() local
281 dirty = true; in buffer_icap_set_configuration()
300 dirty = false; in buffer_icap_set_configuration()
304 if (dirty) { in buffer_icap_set_configuration()

Completed in 77 milliseconds

12345678910>>...15