Searched refs:dirty (Results 101 - 125 of 325) sorted by last modified time

1234567891011>>

/linux-master/drivers/md/
H A Ddm-log.c14 #include <linux/dm-dirty-log.h>
18 #define DM_MSG_PREFIX "dirty region log"
382 DMWARN("wrong number of arguments to dirty region log");
392 DMWARN("unrecognised sync argument to dirty region log: %s", argv[1]);
553 DMWARN("wrong number of arguments to disk dirty region log");
599 DMWARN("%s: Failed to read header on dirty region log device",
645 DMWARN("%s: Failed to write header on dirty region log device",
701 * regions are clean and which are dirty (without
703 * dirty.
910 MODULE_DESCRIPTION(DM_NAME " dirty regio
[all...]
H A Ddm-log-userspace-base.c11 #include <linux/dm-dirty-log.h>
204 DMWARN("Too few arguments to userspace dirty log");
281 DMERR("Failed to get region size of dirty log");
906 DMWARN("Couldn't register userspace dirty log type");
928 MODULE_DESCRIPTION(DM_NAME " userspace dirty log link");
H A Ddm-cache-policy-smq.c44 bool dirty:1; member in struct:entry
58 * The clean and dirty queues share entries, so this object is separate
725 e->dirty = true; /* FIXME: audit */
821 * consisting of a clean and dirty queue, containing the currently
828 struct queue dirty; member in struct:smq_policy
889 struct queue *q = &mq->dirty;
935 q_push(&mq->dirty, sentinel);
961 q_del(e->dirty ? &mq->dirty : &mq->clean, e);
966 if (e->dirty)
1566 smq_load_mapping(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t cblock, bool dirty, uint32_t hint, bool hint_valid) argument
[all...]
/linux-master/drivers/md/bcache/
H A Dsysfs.c175 char const *states[] = { "no cache", "clean", "dirty", "inconsistent" };
219 char dirty[20]; local
227 * Except for dirty and target, other values should
233 bch_hprint(dirty, bcache_dev_sectors_dirty(&dc->disk) << 9);
245 "dirty:\t\t%s\n"
251 rate, dirty, target, proportional,
1058 size_t unused = 0, available = 0, dirty = 0, meta = 0; local
1076 dirty++;
1119 dirty * 100 / (size_t) ca->sb.nbuckets,
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c71 * struct vmw_surface_dirty - Surface dirty-tracker
74 * @boxes: Array of SVGA3dBoxes indicating dirty regions. One per subresource.
524 * backup buffer is dirty.
542 * @readback: Readback - only true if dirty
663 WARN_ON_ONCE(res->dirty);
1203 if (res->guest_memory_bo->dirty && res->guest_memory_dirty) {
1204 /* We've just made a full upload. Cear dirty regions. */
1654 * vmw_subres_dirty_add - Add a dirty region to a subresource
1655 * @dirty: The surfaces's dirty tracke
1665 vmw_subres_dirty_add(struct vmw_surface_dirty *dirty, const struct vmw_surface_loc *loc_start, const struct vmw_surface_loc *loc_end) argument
1713 vmw_subres_dirty_full(struct vmw_surface_dirty *dirty, u32 subres) argument
1735 struct vmw_surface_dirty *dirty = local
1786 struct vmw_surface_dirty *dirty = local
1828 struct vmw_surface_dirty *dirty = local
1905 struct vmw_surface_dirty *dirty; local
1954 struct vmw_surface_dirty *dirty = local
[all...]
H A Dvmwgfx_stdu.c454 * @dirty: The closure structure.
458 static void vmw_stdu_bo_cpu_clip(struct vmw_kms_dirty *dirty) argument
461 container_of(dirty, struct vmw_stdu_dirty, base);
463 dirty->num_hits = 1;
466 ddirty->left = min_t(s32, ddirty->left, dirty->unit_x1);
467 ddirty->top = min_t(s32, ddirty->top, dirty->unit_y1);
468 ddirty->right = max_t(s32, ddirty->right, dirty->unit_x2);
469 ddirty->bottom = max_t(s32, ddirty->bottom, dirty->unit_y2);
476 ddirty->fb_left = min_t(s32, ddirty->fb_left, dirty->fb_x);
477 ddirty->fb_top = min_t(s32, ddirty->fb_top, dirty
489 vmw_stdu_bo_cpu_commit(struct vmw_kms_dirty *dirty) argument
613 vmw_kms_stdu_surface_clip(struct vmw_kms_dirty *dirty) argument
652 vmw_kms_stdu_surface_fifo_commit(struct vmw_kms_dirty *dirty) argument
[all...]
H A Dvmwgfx_scrn.c986 * @dirty: The closure structure.
991 static void vmw_sou_surface_fifo_commit(struct vmw_kms_dirty *dirty) argument
994 container_of(dirty, typeof(*sdirty), base);
995 struct vmw_kms_sou_dirty_cmd *cmd = dirty->cmd;
996 s32 trans_x = dirty->unit->crtc.x - sdirty->dst_x;
997 s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y;
998 size_t region_size = dirty->num_hits * sizeof(SVGASignedRect);
1002 if (!dirty->num_hits) {
1003 vmw_cmd_commit(dirty->dev_priv, 0);
1025 cmd->body.destScreenId = dirty
1049 vmw_sou_surface_clip(struct vmw_kms_dirty *dirty) argument
1156 vmw_sou_bo_fifo_commit(struct vmw_kms_dirty *dirty) argument
1175 vmw_sou_bo_clip(struct vmw_kms_dirty *dirty) argument
1222 struct vmw_kms_dirty dirty; local
1268 vmw_sou_readback_fifo_commit(struct vmw_kms_dirty *dirty) argument
1287 vmw_sou_readback_clip(struct vmw_kms_dirty *dirty) argument
1330 struct vmw_kms_dirty dirty; local
[all...]
H A Dvmwgfx_execbuf.c303 * @dirty: Whether to change dirty status.
311 u32 dirty,
324 if (dirty)
326 rcache->private, dirty);
331 ret = vmw_validation_add_resource(sw_context->ctx, res, 0, dirty,
339 dirty, (void **)&ctx_info,
623 * @dirty: Whether to change dirty status.
634 u32 dirty,
309 vmw_execbuf_res_val_add(struct vmw_sw_context *sw_context, struct vmw_resource *res, u32 dirty, u32 flags) argument
631 vmw_cmd_res_check(struct vmw_private *dev_priv, struct vmw_sw_context *sw_context, enum vmw_res_type res_type, u32 dirty, const struct vmw_user_resource_conv *converter, uint32_t *id_loc, struct vmw_resource **p_res) argument
1522 bool dirty; local
[all...]
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_drm_crtc.c587 if (plane_state->pending.dirty) {
589 plane_state->pending.dirty = false;
/linux-master/drivers/gpu/drm/i915/
H A Di915_gem.c888 reg->dirty = true;
H A Di915_debugfs.c206 obj->mm.dirty ? " dirty" : "",
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_userptr.c57 * potentially dirty.
171 * We always mark objects as dirty when they are used by the GPU,
176 obj->mm.dirty = false;
179 if (obj->mm.dirty && trylock_page(page)) {
183 * the page in order to dirty it -- holding
204 obj->mm.dirty = false;
H A Di915_gem_execbuffer.c1259 if (!obj->mm.dirty)
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_fb.c1994 .dirty = intel_user_framebuffer_dirty,
H A Di9xx_wm.c935 bool dirty = false; local
940 dirty |= raw->plane[plane_id] != value;
944 return dirty;
951 bool dirty = false; local
959 dirty |= raw->fbc != value;
963 return dirty;
976 bool dirty = false; local
980 dirty |= g4x_raw_plane_wm_set(crtc_state, 0, plane_id, 0);
982 dirty |= g4x_raw_fbc_wm_set(crtc_state, 0, 0);
996 dirty |
1175 unsigned int dirty = 0; local
1561 bool dirty = false; local
1580 bool dirty = false; local
1698 unsigned int dirty = 0; local
3132 unsigned int dirty = 0; local
3174 _ilk_disable_lp_wm(struct drm_i915_private *dev_priv, unsigned int dirty) argument
3212 unsigned int dirty; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c554 .dirty = amdgpu_dirtyfb
/linux-master/arch/x86/mm/
H A Dpgtable.c496 * Used to set accessed or dirty bits in the page table entries
497 * on other architectures. On x86, the accessed and dirty bits
499 * to also make the pte writeable at the same time the dirty bit is
504 pte_t entry, int dirty)
508 if (changed && dirty)
517 pmd_t entry, int dirty)
523 if (changed && dirty) {
537 pud_t *pudp, pud_t entry, int dirty)
543 if (changed && dirty) {
636 * access and dirty bit
502 ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, pte_t *ptep, pte_t entry, int dirty) argument
515 pmdp_set_access_flags(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp, pmd_t entry, int dirty) argument
536 pudp_set_access_flags(struct vm_area_struct *vma, unsigned long address, pud_t *pudp, pud_t entry, int dirty) argument
[all...]
/linux-master/arch/x86/include/asm/
H A Dpgtable.h331 * when creating dirty, write-protected memory, a software bit is used:
382 * dirty value to the software bit, if present.
532 * dirty value to the software bit.
650 * dirty value to the software bit.
1253 * We only update the dirty/accessed state if we set
1254 * the dirty bit by hand in the kernel, since the hardware
1256 * race with other CPU's that might be updating the dirty
1264 pte_t entry, int dirty);
1326 pmd_t entry, int dirty);
1329 pud_t entry, int dirty);
[all...]
/linux-master/arch/sparc/mm/
H A Dinit_64.c483 bool dirty = test_bit(PG_dcache_dirty, &folio->flags); local
484 if (dirty) {
2299 * When a page gets marked as dcache-dirty, we store the
/linux-master/arch/s390/mm/
H A Dpgtable.c216 * the dirty bit on for all writable ptes.
222 /* This pte allows write access, set user-dirty */
773 * Test and reset if a guest page is dirty
780 bool dirty; local
784 dirty = !!(pgste_val(pgste) & PGSTE_UC_BIT);
787 if (dirty && (pte_val(pte) & _PAGE_PRESENT)) {
798 return dirty;
/linux-master/arch/powerpc/mm/
H A Dpgtable.c145 int dirty)
160 if (dirty || pte_exec(pte) || !is_exec_fault())
244 pte_t *ptep, pte_t entry, int dirty)
247 entry = set_access_flags_filter(entry, vma, dirty);
260 pte_t pte, int dirty)
268 ptep_set_access_flags(vma, addr, ptep, pte, dirty);
273 pte = set_access_flags_filter(pte, vma, dirty);
144 set_access_flags_filter(pte_t pte, struct vm_area_struct *vma, int dirty) argument
243 ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, pte_t *ptep, pte_t entry, int dirty) argument
258 huge_ptep_set_access_flags(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep, pte_t pte, int dirty) argument
/linux-master/arch/powerpc/mm/book3s64/
H A Dpgtable.c49 pmd_t *pmdp, pmd_t entry, int dirty)
69 pud_t *pudp, pud_t entry, int dirty)
48 pmdp_set_access_flags(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp, pmd_t entry, int dirty) argument
68 pudp_set_access_flags(struct vm_area_struct *vma, unsigned long address, pud_t *pudp, pud_t entry, int dirty) argument
/linux-master/arch/powerpc/include/asm/
H A Dpgtable.h119 pte_t *ptep, pte_t entry, int dirty);
/linux-master/arch/arm64/mm/
H A Dfault.c203 * This function sets the access flags (dirty, accessed), as well as write
206 * It needs to cope with hardware update of the accessed/dirty state by other
214 pte_t entry, int dirty)
227 * hardware update of the access/dirty state. The PTE_RDONLY bit must
242 if (dirty)
212 __ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, pte_t *ptep, pte_t entry, int dirty) argument
H A Dcontpte.c85 * access and dirty bits for the purpose of deciding if its a contiguous
87 * has a single access and dirty bit. Those 2 bits are the logical OR of
158 * Gather access/dirty bits, which may be populated in any of the ptes
190 * access and dirty bits from across all ptes in the contiguous block,
196 * access/dirty). If we find a pte that is not consistent, then we must
306 * access/dirty per folio, not per page. And since we only create a
366 pte_t entry, int dirty)
373 * Gather the access/dirty bits for the contiguous range. If nothing has
381 * We can fix up access/dirty bits without having to unfold the contig
398 if (dirty)
364 contpte_ptep_set_access_flags(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep, pte_t entry, int dirty) argument
[all...]

Completed in 422 milliseconds

1234567891011>>