/linux-master/fs/ubifs/ |
H A D | ubifs.h | 180 * DIRTY_ZNODE: znode is dirty 234 * DIRTY_CNODE: cnode is dirty 248 * LTAB_DIRTY: ltab node is dirty 249 * LSAVE_DIRTY: lsave node is dirty 362 * @dirty: non-zero if the inode is dirty 366 * serializes "clean <-> dirty" state changes, serializes bulk-read, 367 * protects @dirty, @bulk_read, @ui_size, and @xattr_size 388 * operation is going to mark an inode dirty, it has to allocate budget for 389 * this. It cannot just mark it dirty becaus 417 unsigned int dirty:1; member in struct:ubifs_inode 489 int dirty; member in struct:ubifs_lprops 507 int dirty; member in struct:ubifs_lpt_lprops [all...] |
H A D | super.c | 310 if (!ui->dirty) { 330 ui->dirty = 0; 382 if (ui->dirty) 400 if (!ui->dirty) { 401 ui->dirty = 1; 790 * as "taken" in lprops. We also have to set free space to LEB size and dirty 1421 * Set the "dirty" flag so that if we reboot uncleanly we 1937 * of the media. For example, there will be dirty inodes if we failed
|
H A D | lpt_commit.c | 24 * first_dirty_cnode - find first dirty cnode. 28 * This function returns the first dirty cnode or %NULL if there is not one. 55 * next_dirty_cnode - find next dirty cnode. 59 * This function returns the next dirty cnode or %NULL if there is not one. 83 * get_cnodes_to_commit - create list of dirty cnodes to commit. 127 * @dirty: amount of dirty space to add 129 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) argument 131 dbg_lp("LEB %d free %d dirty %d to %d +%d", 133 c->ltab[lnum - c->lpt_first].dirty, fre 1152 int i, lnum = -1, dirty = 0; local 1592 int err, len = c->leb_size, dirty = 0, node_type, node_num, node_len; local [all...] |
H A D | lprops.c | 16 * an empty LEB for the journal, or a very dirty LEB for garbage collection. 32 return lprops->free + lprops->dirty; 34 return lprops->dirty; 47 * is either the amount of free space or the amount of dirty space, depending 85 * of free space or the amount of dirty space, depending on the category. 407 if (lprops->free + lprops->dirty == c->leb_size) { 415 if (lprops->dirty + lprops->free >= c->min_idx_node_sz) 418 if (lprops->dirty >= c->dead_wm && 419 lprops->dirty > lprops->free) 458 * @spc: amount of free and dirty spac 520 ubifs_change_lp(struct ubifs_info *c, const struct ubifs_lprops *lp, int free, int dirty, int flags, int idx_gc_cnt) argument 649 ubifs_change_one_lp(struct ubifs_info *c, int lnum, int free, int dirty, int flags_set, int flags_clean, int idx_gc_cnt) argument 688 ubifs_update_one_lp(struct ubifs_info *c, int lnum, int free, int dirty, int flags_set, int flags_clean) argument 1022 int cat, lnum = lp->lnum, is_idx = 0, used = 0, free, dirty, ret; local [all...] |
H A D | journal.c | 418 * because it could make some dirty space and GC would make 619 * @ui->dirty flag and releasing its budget. Note, VFS may still treat the 620 * inode as dirty and try to write it back, but 'ubifs_write_inode()' would 625 if (ui->dirty) 627 ui->dirty = 0; 875 * trying to free some memory by writing out dirty pages. The 1388 ubifs_assert(c, !whiteout_ui->dirty);
|
H A D | find.c | 54 if (lprops->free + lprops->dirty >= c->dark_wm) 72 * scan_for_dirty_cb - dirty space scan callback. 97 if (lprops->free + lprops->dirty < data->min_space) 103 if (lprops->free + lprops->dirty == c->leb_size) { 106 /* Exclude LEBs with too little dirty space (unless it is empty) */ 107 } else if (lprops->dirty < c->dead_wm) 117 * @min_space: minimum amount free plus dirty space the returned LEB has to 134 /* There may be an LEB with enough dirty space on the free heap */ 138 if (lprops->free + lprops->dirty < min_space) 140 if (lprops->dirty < [all...] |
H A D | file.c | 16 * the page is dirty and is used for optimization purposes - dirty pages are 265 * The folio is dirty, which means it was budgeted twice: 267 * made the folio dirty and set the private field; 293 if (ui->dirty) 295 * The inode is dirty already, so we may free the 314 * this is appending, whether the page is dirty or not, and so on. This 327 * The folio is dirty and we are not appending, which 333 if (ui->dirty) 335 * The page is dirty an [all...] |
H A D | dir.c | 23 * away, instead of marking them dirty. For example, 'ubifs_link()' changes 27 * the re-named inode dirty (because its @i_ctime is updated) but does not 28 * write it, but just marks it as dirty. 92 * marking them dirty in file write path (see 'file_update_time()'). 93 * UBIFS has to fully control "clean <-> dirty" transitions of inodes 476 ubifs_assert(c, ui->dirty); 1322 * ino_req: marks the target inode as dirty and does not write it. 1396 ubifs_assert(c, !whiteout_ui->dirty); 1411 * dirty nor zero-nlink. 1479 * is dirty, becaus [all...] |
H A D | debug.c | 252 pr_err("\tdirty %u\n", ui->dirty); 686 spc = lp->free + lp->dirty; 693 pr_err("LEB %-7d free %-8d dirty %-8d used %-8d free + dirty %-8d flags %#x (", 694 lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc, 697 pr_err("LEB %-7d free %-8d dirty %-8d used %-8d free + dirty %-8d dark %-4d dead %-4d nodes fit %-3d flags %#-4x (", 698 lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc, 712 s = "dirty index"; 726 s = "dirty"; [all...] |
/linux-master/fs/ceph/ |
H A D | file.c | 74 * fsync() flushes and waits on dirty pages, but just queues metadata 1245 int dirty; local 1254 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, 1257 if (dirty) 1258 __mark_inode_dirty(inode, dirty); 2413 int dirty; local 2416 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, 2419 if (dirty) 2420 __mark_inode_dirty(inode, dirty); 2606 int dirty; local 2906 int src_got = 0, dst_got = 0, err, dirty; local [all...] |
/linux-master/arch/riscv/mm/ |
H A D | pgtable.c | 10 pte_t entry, int dirty) 8 ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, pte_t *ptep, pte_t entry, int dirty) argument
|
/linux-master/include/linux/ |
H A D | vfio.h | 217 * and clear the dirty DMAs in some given range. 232 struct iova_bitmap *dirty);
|
H A D | kvm_host.h | 1230 void kvm_release_pfn(kvm_pfn_t pfn, bool dirty); 1306 void kvm_vcpu_unmap(struct kvm_vcpu *vcpu, struct kvm_host_map *map, bool dirty); 2387 * kick the vcpu to the userspace to avoid dirty ring full. This 2392 /* Max number of entries allowed for each kvm dirty ring */
|
/linux-master/fs/ext4/ |
H A D | xattr.c | 1153 struct buffer_head *bh, bool block_csum, bool dirty) 1157 if (bh && dirty) { 1179 bool dirty = false; local 1209 dirty)); 1246 dirty = true; 1249 if (dirty) { 1259 "handle dirty metadata err=%d", err); 2994 EXT4_ERROR_INODE(inode, "mark inode dirty (error %d)", 1152 ext4_xattr_restart_fn(handle_t *handle, struct inode *inode, struct buffer_head *bh, bool block_csum, bool dirty) argument
|
H A D | inode.c | 254 "couldn't mark inode dirty (err %d)", err); 311 * Check out some where else accidentally dirty the evicting inode, 979 * dirty so that writeback code knows about this page (and inode) contains 980 * dirty data. ext4_writepages() then commits appropriate transaction to 992 int dirty = buffer_dirty(bh); local 999 * the dirty bit as jbd2_journal_get_write_access() could complain 1000 * otherwise about fs integrity issues. Setting of the dirty bit 1005 if (dirty) 1010 if (!ret && dirty) 1305 * Don't mark the inode dirty unde [all...] |
/linux-master/fs/bcachefs/ |
H A D | fs-io-pagecache.h | 42 x(dirty) \
|
/linux-master/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 1158 * mark all pages dirty if any IOMMU capable device is not able 1159 * to report dirty pages and all pages are pinned and mapped. 1220 * considered as dirty but exclude pages which are unpinned and 1221 * pages which are marked dirty by vfio_dma_rw() 1304 /* When dirty tracking is enabled, allow only min supported pgsize */ 2175 * An emulated IOMMU group cannot dirty memory directly, it can 2176 * only use interfaces that provide dirty tracking. 2178 * dirty tracking group. 2316 * An iommu backed group can dirty memory directly and therefore 2317 * demotes the iommu scope until it declares itself dirty trackin 2886 struct vfio_iommu_type1_dirty_bitmap dirty; local [all...] |
/linux-master/drivers/vfio/pci/pds/ |
H A D | vfio_dev.h | 10 #include "dirty.h" 18 struct pds_vfio_dirty dirty; member in struct:pds_vfio_pci_device
|
H A D | dirty.c | 13 #include "dirty.h" 20 return pds_vfio->dirty.is_enabled; 25 pds_vfio->dirty.is_enabled = true; 30 pds_vfio->dirty.is_enabled = false; 95 static void pds_vfio_dirty_free_bitmaps(struct pds_vfio_dirty *dirty) argument 97 if (!dirty->regions) 100 for (int i = 0; i < dirty->num_regions; i++) { 101 struct pds_vfio_region *region = &dirty->regions[i]; 129 struct pds_vfio_dirty *dirty = &pds_vfio->dirty; local 173 pds_vfio_dirty_free_regions(struct pds_vfio_dirty *dirty) argument 185 struct pds_vfio_dirty *dirty = &pds_vfio->dirty; local 507 struct pds_vfio_dirty *dirty = &pds_vfio->dirty; local 600 pds_vfio_dma_logging_report(struct vfio_device *vdev, unsigned long iova, unsigned long length, struct iova_bitmap *dirty) argument [all...] |
/linux-master/drivers/vfio/pci/mlx5/ |
H A D | cmd.h | 239 unsigned long length, struct iova_bitmap *dirty);
|
H A D | cmd.c | 1618 struct iova_bitmap *dirty) 1638 iova_bitmap_set(dirty, addr, qp->tracked_page_size); 1645 struct iova_bitmap *dirty, int *tracker_status) 1658 set_report_output(size, ix, qp, dirty); 1686 struct iova_bitmap *dirty, int *tracker_status) 1704 mlx5vf_rq_cqe(qp, cqe, dirty, tracker_status); 1713 struct iova_bitmap *dirty) 1747 poll_err = mlx5vf_cq_poll_one(cq, tracker->host_qp, dirty, 1753 dirty, &tracker->status); 1617 set_report_output(u32 size, int index, struct mlx5_vhca_qp *qp, struct iova_bitmap *dirty) argument 1644 mlx5vf_rq_cqe(struct mlx5_vhca_qp *qp, struct mlx5_cqe64 *cqe, struct iova_bitmap *dirty, int *tracker_status) argument 1685 mlx5vf_cq_poll_one(struct mlx5_vhca_cq *cq, struct mlx5_vhca_qp *qp, struct iova_bitmap *dirty, int *tracker_status) argument 1711 mlx5vf_tracker_read_and_clear(struct vfio_device *vdev, unsigned long iova, unsigned long length, struct iova_bitmap *dirty) argument
|
/linux-master/arch/x86/kvm/ |
H A D | emulate.c | 248 unsigned long dirty = ctxt->regs_dirty; local 251 for_each_set_bit(reg, &dirty, NR_EMULATOR_GPRS)
|
/linux-master/arch/powerpc/kvm/ |
H A D | powerpc.c | 2096 struct kvm_dirty_tlb dirty; local 2098 if (copy_from_user(&dirty, argp, sizeof(dirty))) 2101 r = kvm_vcpu_ioctl_dirty_tlb(vcpu, &dirty);
|
H A D | book3s_hv.c | 721 vpap->dirty = false; 743 old_vpa.dirty); 755 old_vpa.dirty); 763 old_vpa.dirty); 820 /* vcpu->arch.dtl.dirty is set by the caller */ 850 vcpu->arch.vpa.dirty = true; 873 vcpu->arch.vpa.dirty = true; 3135 vpa->dirty); 4107 vcpu->arch.vpa.dirty = 1; 5093 * Get (and clear) the dirty memor [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 430 OFFSET(VCPU_VPA_DIRTY, kvm_vcpu, arch.vpa.dirty);
|