Searched refs:dirty (Results 1 - 25 of 325) sorted by last modified time

1234567891011>>

/linux-master/tools/testing/selftests/mm/
H A Drun_vmtests.sh61 test soft dirty page bit semantics
74 test handling of code that might set PTE/PMD dirty in
400 if [ -x ./soft-dirty ]
402 CATEGORY="soft_dirty" run_test ./soft-dirty
/linux-master/include/trace/events/
H A Dmmflags.h106 DEF_PAGEFLAG_NAME(dirty), \
/linux-master/include/linux/
H A Dpage-flags.h21 * should in general not be touched (e.g. set dirty) except by its owner.
519 PAGEFLAG(Dirty, dirty, PF_HEAD) TESTSCFLAG(Dirty, dirty, PF_HEAD)
520 __CLEARPAGEFLAG(Dirty, dirty, PF_HEAD)
/linux-master/fs/ntfs3/
H A Dntfs_fs.h108 unsigned force : 1; /* RW mount dirty volume. */
332 bool dirty; member in struct:mft_inode
395 bool dirty; member in struct:ntfs_inode::__anon80
616 int ntfs_set_state(struct ntfs_sb_info *sbi, enum NTFS_DIRTY_FLAGS dirty);
H A Dinode.c426 /* Correct minor error on the fly. Do not mark inode as dirty. */
429 ni->mi.dirty = true;
950 bool dirty = false; local
958 dirty = true;
985 dirty = true;
990 dirty = true;
995 dirty = true;
998 if (dirty)
1076 * filemap_flush() is used for the block device, so if there is a dirty
1331 /* Mark rw ntfs as dirty
[all...]
H A Dfile.c191 bool dirty = false; local
239 dirty = true;
246 if (dirty)
331 /* Mark rw ntfs as dirty. It will be cleared at umount. */
373 int err, dirty = 0; local
408 dirty = 1;
415 if (dirty)
453 * Do additional checks here before ntfs_set_state(dirty).
565 /* Write out all dirty pages. */
/linux-master/arch/arc/mm/
H A Dtlb.c486 * dirty K-mapping of a code page needs to be wback+inv so that
491 int dirty = !test_and_set_bit(PG_dc_clean, &folio->flags); local
492 if (dirty) {
/linux-master/fs/btrfs/
H A Dinode.c1188 /* Clear dirty, set writeback and unlock the pages. */
1317 * writeback for the dirty sectors of page, that means data writeback
1470 * dirty bits and don't set any writeback bits
1712 * Run the delalloc range from start to end, and write back any dirty pages
2799 * Everything went as planned, we're now the owner of a dirty page with
2803 * The page was dirty when we started, nothing should have cleaned it.
2839 * set the page dirty bit without asking the filesystem if it is a
6106 bool dirty; local
6111 dirty = inode_update_timestamps(inode, flags);
6112 return dirty
[all...]
/linux-master/virt/kvm/
H A Dkvm_main.c385 * are related to dirty logging, and many do the TLB flush out of
1447 * Allocation size is twice as large as the actual dirty bitmap size.
1696 * If dirty logging is disabled, nullify the bitmap; the old bitmap
1761 * Free the dirty bitmap as needed; the below check encompasses
2164 * kvm_get_dirty_log - get a snapshot of dirty pages
2167 * @is_dirty: set to '1' if any dirty pages were found
2178 /* Dirty ring tracking may be exclusive to dirty log tracking */
2213 * kvm_get_dirty_log_protect - get a snapshot of dirty pages
2214 * and reenable dirty page tracking for the corresponding pages.
2219 * concurrently. So, to avoid losing track of dirty page
3141 kvm_release_pfn(kvm_pfn_t pfn, bool dirty) argument
3183 kvm_vcpu_unmap(struct kvm_vcpu *vcpu, struct kvm_host_map *map, bool dirty) argument
[all...]
/linux-master/fs/bcachefs/
H A Dsuper.c376 BUG_ON(atomic_read(&c->btree_cache.dirty));
H A Dbtree_types.h166 atomic_t dirty; member in struct:btree_cache
504 x(dirty) \
H A Dbtree_io.c1991 * We may only have a read lock on the btree node - the dirty bit is our
1993 * a write, we do a write iff we clear the dirty bit. Since setting the
1994 * dirty bit requires a write lock, we can't race with other threads
2036 atomic_dec(&c->btree_cache.dirty);
H A Dbtree_cache.c311 bool trigger_writes = atomic_read(&bc->dirty) + nr >=
445 atomic_read(&c->btree_cache.dirty));
1246 prt_printf(out, "nr dirty:\t\t%u\n", atomic_read(&c->btree_cache.dirty));
H A Dbcachefs.h15 * Multiple cache devices is intended to give us the ability to mirror dirty
29 * "cached" data is always dirty. The end result is that we get thin
139 * We can't just invalidate any bucket - it might contain dirty data or
140 * metadata. If it once contained dirty data, other writes might overwrite it
668 bool dirty; member in struct:journal_seq_blacklist_table::journal_seq_blacklist_table_entry
/linux-master/arch/x86/kvm/
H A Dx86.c898 * Marking VCPU_EXREG_PDPTR dirty doesn't work for !tdp_enabled.
3740 goto dirty;
3769 dirty:
6475 * Flush all CPUs' dirty log buffers to the dirty_bitmap. Called
8070 * Mark the page dirty _before_ checking whether or not the CMPXCHG was
8074 * that all writes are dirty logged, regardless of the value written.
12910 * Update CPU dirty logging if dirty logging is being toggled. This
12920 * For a memslot with dirty logging disabled:
12921 * CREATE: No dirty mapping
[all...]
/linux-master/net/netfilter/
H A Dnft_set_pipapo.c1335 priv->dirty = true;
1701 priv->dirty = true;
1785 if (!priv->dirty)
1792 priv->dirty = false;
1818 if (!priv->dirty)
1827 priv->dirty = false;
2096 priv->dirty = true;
2277 priv->dirty = false;
/linux-master/mm/
H A Dmemory-failure.c902 [MF_MSG_DIRTY_SWAPCACHE] = "dirty swapcache page",
904 [MF_MSG_DIRTY_MLOCKED_LRU] = "dirty mlocked LRU page",
906 [MF_MSG_DIRTY_UNEVICTABLE_LRU] = "dirty unevictable LRU page",
908 [MF_MSG_DIRTY_LRU] = "dirty LRU page",
965 * This fails on dirty or anything with private pages
1101 * wrong with its dirty file data.
1138 * Clean and dirty swap cache.
1146 * - clear dirty bit to prevent IO
1248 #define dirty (1UL << PG_dirty) macro
1273 { sc|dirty, s
1291 #undef dirty macro
[all...]
H A Dhuge_memory.c2131 * dirty/young flags set by hardware.
2274 /* Follow mremap() behavior and treat the entry dirty after the move */
2441 bool anon_exclusive = false, dirty = false; local
2528 dirty = is_migration_entry_dirty(entry);
2535 dirty = true;
2606 if (dirty)
2625 /* NOTE: this may set soft-dirty too on some archs */
2626 if (dirty)
3747 /* NOTE: this may contain setting soft-dirty on some archs */
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c376 * stmmac_rx_dirty - Get RX queue dirty
383 u32 dirty; local
386 dirty = rx_q->cur_rx - rx_q->dirty_rx;
388 dirty = priv->dma_conf.dma_rx_size - rx_q->dirty_rx + rx_q->cur_rx;
390 return dirty;
4448 pr_info("%s: curr=%d dirty=%d f=%d, e=%d, f_p=%p, nfrags %d\n",
4676 "%s: curr=%d dirty=%d f=%d, e=%d, first=%p, nfrags=%d",
4789 int dirty = stmmac_rx_dirty(priv, queue); local
4796 while (dirty-- > 0) {
5228 int dirty local
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.h169 * @crtc: The crtc for which to build dirty commands.
437 struct vmw_kms_dirty *dirty);
H A Dvmwgfx_kms.c1286 .dirty = drm_atomic_helper_dirtyfb,
1416 .dirty = drm_atomic_helper_dirtyfb,
2430 * @dirty: Closure structure. See the description of struct vmw_kms_dirty.
2439 struct vmw_kms_dirty *dirty)
2446 dirty->dev_priv = dev_priv;
2449 if (dirty->crtc) {
2450 units[num_units++] = vmw_crtc_to_du(dirty->crtc);
2470 dirty->unit = unit;
2471 if (dirty->fifo_reserve_size > 0) {
2472 dirty
2432 vmw_kms_helper_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, const struct drm_clip_rect *clips, const struct drm_vmw_rect *vclips, s32 dest_x, s32 dest_y, int num_clips, int increment, struct vmw_kms_dirty *dirty) argument
[all...]
H A Dvmwgfx_drv.h188 struct vmw_resource_dirty *dirty; member in struct:vmw_resource
825 bool dirty,
H A Dvmwgfx_bo.h74 * @dirty: structure for user-space dirty-tracking
92 struct vmw_bo_dirty *dirty; member in struct:vmw_bo
H A Dvmwgfx_bo.c52 WARN_ON(vbo->dirty);
/linux-master/arch/arm64/mm/
H A Dhugetlbpage.c188 * the dirty or accessed bit for any page in the set,
418 * huge_ptep_set_access_flags will update access flags (dirty, accesssed)
424 * discrepancy between dirty or young.
448 pte_t pte, int dirty)
458 return __ptep_set_access_flags(vma, addr, ptep, pte, dirty);
468 /* Make sure we don't lose the dirty or young state */
446 huge_ptep_set_access_flags(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep, pte_t pte, int dirty) argument

Completed in 390 milliseconds

1234567891011>>