/linux-master/mm/ |
H A D | huge_memory.c | 2131 * 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 D | stmmac_main.c | 376 * 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 D | vmwgfx_kms.h | 169 * @crtc: The crtc for which to build dirty commands. 437 struct vmw_kms_dirty *dirty);
|
H A D | vmwgfx_kms.c | 1286 .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 D | vmwgfx_drv.h | 188 struct vmw_resource_dirty *dirty; member in struct:vmw_resource 825 bool dirty,
|
H A D | vmwgfx_bo.h | 74 * @dirty: structure for user-space dirty-tracking 92 struct vmw_bo_dirty *dirty; member in struct:vmw_bo
|
/linux-master/arch/arm64/mm/ |
H A D | hugetlbpage.c | 188 * 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
|
/linux-master/fs/bcachefs/ |
H A D | btree_cache.c | 311 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 D | bcachefs.h | 15 * 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
|
H A D | journal_reclaim.c | 256 * dirty, issuing discards if necessary: 672 if (atomic_read(&c->btree_cache.dirty) * 2 > c->btree_cache.used) 680 atomic_read(&c->btree_cache.dirty),
|
H A D | journal_seq_blacklist.c | 107 bool dirty) 128 if (dirty) 129 t->entries[idx].dirty = true; 274 if (t->entries[i].dirty) 106 bch2_journal_seq_is_blacklisted(struct bch_fs *c, u64 seq, bool dirty) argument
|
/linux-master/arch/x86/events/ |
H A D | core.c | 1622 __set_bit(event->hw.idx, cpuc->dirty); 2476 __clear_bit(cpuc->assign[i], cpuc->dirty); 2478 if (bitmap_empty(cpuc->dirty, X86_PMC_IDX_MAX)) 2481 for_each_set_bit(i, cpuc->dirty, X86_PMC_IDX_MAX) { 2493 bitmap_zero(cpuc->dirty, X86_PMC_IDX_MAX);
|
/linux-master/fs/ceph/ |
H A D | caps.c | 35 * mtime), note its dirty state in the ceph_cap, and asynchronously 540 * indicating we should send a cap message to flush dirty metadata 1088 /* we want EXCL if dirty data */ 1242 int op, caps, wanted, dirty; member in struct:cap_msg_args 1264 "%s %llx %llx caps %s wanted %s dirty %s seq %u/%u" 1269 ceph_cap_string(arg->dirty), arg->seq, arg->issue_seq, 1287 fc->dirty = cpu_to_le32(arg->dirty); 1430 * dirty pages _before_ allowing sync writes to avoid reordering. 1470 arg->dirty 1803 int dirty = 0; local 2488 int dirty; local 2540 int dirty; local 3496 int used, wanted, dirty; variable 3816 int dirty = le32_to_cpu(m->dirty); variable 4027 int dirty = __ceph_caps_dirty(ci); local 4820 int used, dirty; local [all...] |
H A D | addr.c | 31 * ceph_snap_context for _every_ dirty page. This indicates which 36 * count dirty pages on the inode. In the absence of snapshots, 37 * i_wrbuffer_ref == i_wrbuffer_ref_head == the dirty page count. 41 * with dirty pages (dirty pages implies there is a cap) gets a new 44 * moved to capsnap->dirty. (Unless a sync write is currently in 57 * Invalidate and so forth must take care to ensure the dirty page 88 doutc(cl, "%llx.%llx %p idx %lu -- already dirty\n", 96 /* dirty the head */ 134 * dirty foli 1765 int dirty; local 1939 int dirty; local [all...] |
/linux-master/drivers/iommu/intel/ |
H A D | iommu.c | 4714 * Set dirty tracking for the device list of a domain. The caller must 4797 struct iommu_dirty_bitmap *dirty) 4804 * IOMMUFD core calls into a dirty tracking disabled domain without an 4805 * IOVA bitmap set in order to clean dirty bits in all PTEs that might 4806 * have occurred when we stopped dirty tracking. This ensures that we 4809 if (!dmar_domain->dirty_tracking && dirty->bitmap) 4825 iommu_dirty_bitmap_record(dirty, iova, pgsize); 4794 intel_iommu_read_and_clear_dirty(struct iommu_domain *domain, unsigned long iova, size_t size, unsigned long flags, struct iommu_dirty_bitmap *dirty) argument
|
/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 731 size_t dirty; local 738 * Add one as dirty will never equal nr_pages, as the sub-buffer 739 * that the writer is on is not counted as dirty. 742 dirty = ring_buffer_nr_dirty_pages(buffer, cpu) + 1; 744 return (dirty * 100) >= (full * nr_pages);
|
/linux-master/kernel/ |
H A D | kprobes.c | 257 kprobe_opcode_t *slot, int dirty) 279 if (dirty) { 256 __free_insn_slot(struct kprobe_insn_cache *c, kprobe_opcode_t *slot, int dirty) argument
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_req_lat_if.c | 436 * @dirty: state of each frame context 481 unsigned char dirty[4]; member in struct:vdec_vp9_slice_instance 825 instance->dirty[i] = 0; 827 instance->dirty[uh->frame_context_idx] = 0; 1026 mtk_vdec_debug(instance->ctx, "ctx dirty %u idx %d\n", 1027 instance->dirty[uh->frame_context_idx], 1030 if (instance->dirty[uh->frame_context_idx]) 1553 if (!instance->dirty[uh->frame_context_idx]) 1582 instance->dirty[uh->frame_context_idx] = 1;
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_fb.c | 55 .dirty = msm_framebuffer_dirtyfb,
|
/linux-master/sound/pci/emu10k1/ |
H A D | emu10k1_callback.c | 439 hw->voices[ch].dirty = 1;
|
/linux-master/include/linux/ |
H A D | fs.h | 399 /* Write back some dirty pages from this mapping. */ 402 /* Mark a folio dirty. Return true if this dirtied it */ 429 void (*is_dirty_writeback) (struct folio *, bool *dirty, bool *wb); 490 /* XArray tags, for tagging dirty and writeback pages in the pagecache. */ 1783 * When a process wants to write data or metadata to a file system (i.e. dirty 1815 * is going to dirty a page. This function increments number of running page 2299 * Four bits determine the dirty state of the inode: I_DIRTY_SYNC, 2308 * I_DIRTY_SYNC Inode is dirty, but doesn't have to be written on 2315 * I_DIRTY_PAGES Inode has dirty pages. Inode itself may be clean. 2316 * I_DIRTY_TIME The inode itself has dirty timestamp [all...] |
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_uvmm.c | 429 reg->dirty = true; 1062 * dirty regions can be modified concurrently. 1064 if (reg->dirty) { 1223 /* If a sparse region or mapping overlaps a dirty region, we need to 1252 if (!op->reg || op->reg->dirty) { 1289 if (unlikely(reg->dirty)) {
|
/linux-master/drivers/scsi/ |
H A D | st.c | 781 if (STp->dirty == 1) { 810 STp->dirty = 0; 823 STp->dirty = 0; 1311 STp->dirty = 0; 1761 STp->dirty = 1; 1791 STp->dirty = !(STbp->writing == 1877 STp->dirty = 0; 2910 if (STp->dirty || (STp->buffer)->buffer_bytes != 0) 4309 tpnt->dirty = 0;
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_vma.c | 2007 obj->mm.dirty = true; 2035 * reused, it will be refaulted and have its dirty bit set
|
/linux-master/fs/btrfs/ |
H A D | block-group.c | 2311 * set BTRFS_DC_CLEAR and set dirty flag. 2316 * b) Setting 'dirty flag' makes sure that we flush 2926 * We're not allowed to set block groups readonly after the dirty 3316 LIST_HEAD(dirty); 3325 list_splice_init(&cur_trans->dirty_bgs, &dirty); 3329 /* Make sure all the block groups on our dirty list actually exist */ 3346 while (!list_empty(&dirty)) { 3349 cache = list_first_entry(&dirty, struct btrfs_block_group, 3451 list_splice_init(&cur_trans->dirty_bgs, &dirty); 3456 if (!list_empty(&dirty)) { [all...] |