/fs/ubifs/ |
D | lprops.c | 44 return lprops->free + lprops->dirty; in get_heap_comp_val() 46 return lprops->dirty; in get_heap_comp_val() 415 if (lprops->free + lprops->dirty == c->leb_size) { in ubifs_categorize_lprops() 423 if (lprops->dirty + lprops->free >= c->min_idx_node_sz) in ubifs_categorize_lprops() 426 if (lprops->dirty >= c->dead_wm && in ubifs_categorize_lprops() 427 lprops->dirty > lprops->free) in ubifs_categorize_lprops() 533 int free, int dirty, int flags, in ubifs_change_lp() argument 543 lprops->lnum, free, dirty, flags); in ubifs_change_lp() 556 ubifs_assert(dirty == LPROPS_NC || dirty >= 0); in ubifs_change_lp() 565 ubifs_assert(!(lprops->free & 7) && !(lprops->dirty & 7)); in ubifs_change_lp() [all …]
|
D | find.c | 66 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable() 108 if (lprops->free + lprops->dirty < data->min_space) in scan_for_dirty_cb() 114 if (lprops->free + lprops->dirty == c->leb_size) { in scan_for_dirty_cb() 118 } else if (lprops->dirty < c->dead_wm) in scan_for_dirty_cb() 149 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty() 151 if (lprops->dirty < c->dead_wm) in scan_for_dirty() 165 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty() 169 if (lprops->dirty < c->dead_wm) in scan_for_dirty() 192 ubifs_assert(lprops->free + lprops->dirty >= min_space); in scan_for_dirty() 193 ubifs_assert(lprops->dirty >= c->dead_wm || in scan_for_dirty() [all …]
|
D | replay.c | 82 int dirty; member 109 int err = 0, dirty; in set_bud_lprops() local 119 dirty = lp->dirty; in set_bud_lprops() 120 if (r->offs == 0 && (lp->free != c->leb_size || lp->dirty != 0)) { in set_bud_lprops() 140 lp->free, lp->dirty); in set_bud_lprops() 142 lp->free, lp->dirty); in set_bud_lprops() 143 dirty -= c->leb_size - lp->free; in set_bud_lprops() 151 if (dirty != 0) in set_bud_lprops() 154 lp->dirty, r->free, r->dirty); in set_bud_lprops() 156 lp = ubifs_change_lp(c, lp, r->free, dirty + r->dirty, in set_bud_lprops() [all …]
|
D | lpt.c | 362 pack_bits(&addr, &pos, pnode->lprops[i].dirty >> 3, in ubifs_pack_pnode() 424 pack_bits(&addr, &pos, ltab[i].dirty, c->lpt_spc_bits); in ubifs_pack_ltab() 461 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_lpt_dirt() argument 463 if (!dirty || !lnum) in ubifs_add_lpt_dirt() 466 lnum, dirty, c->ltab[lnum - c->lpt_first].dirty); in ubifs_add_lpt_dirt() 468 c->ltab[lnum - c->lpt_first].dirty += dirty; in ubifs_add_lpt_dirt() 478 static void set_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in set_ltab() argument 482 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in set_ltab() 485 c->ltab[lnum - c->lpt_first].dirty = dirty; in set_ltab() 646 ltab[i].dirty = 0; in ubifs_create_dflt_lpt() [all …]
|
D | lpt_commit.c | 136 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab() argument 140 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in upd_ltab() 143 c->ltab[lnum - c->lpt_first].dirty += dirty; in upd_ltab() 735 else if (c->ltab[i].free + c->ltab[i].dirty == c->leb_size) in need_write_all() 759 if (c->ltab[i].dirty > 0 && in lpt_tgc_start() 760 c->ltab[i].free + c->ltab[i].dirty == c->leb_size) { in lpt_tgc_start() 763 c->ltab[i].dirty = 0; in lpt_tgc_start() 1192 int i, lnum = -1, dirty = 0; in lpt_gc() local 1198 c->ltab[i].free + c->ltab[i].dirty == c->leb_size) in lpt_gc() 1200 if (c->ltab[i].dirty > dirty) { in lpt_gc() [all …]
|
D | ubifs.h | 394 unsigned int dirty:1; member 465 int dirty; member 483 int dirty; member 1630 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty); 1647 int free, int dirty, int flags, 1657 int ubifs_change_one_lp(struct ubifs_info *c, int lnum, int free, int dirty, 1659 int ubifs_update_one_lp(struct ubifs_info *c, int lnum, int free, int dirty,
|
D | gc.c | 379 lnum, lp->free, lp->dirty); in ubifs_garbage_collect_leb() 415 lnum, lp->free, lp->dirty); in ubifs_garbage_collect_leb() 569 "(min. space %d)", lp.lnum, lp.free, lp.dirty, in ubifs_garbage_collect() 570 lp.free + lp.dirty, min_space); in ubifs_garbage_collect() 572 if (lp.free + lp.dirty == c->leb_size) { in ubifs_garbage_collect()
|
D | misc.h | 230 static inline int ubifs_add_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_dirt() argument 232 return ubifs_update_one_lp(c, lnum, LPROPS_NC, dirty, 0, 0); in ubifs_add_dirt()
|
D | file.c | 303 if (ui->dirty) in write_begin_slow() 342 if (ui->dirty) in allocate_budget() 379 if (!ui->dirty) in allocate_budget() 514 if (!ui->dirty) in cancel_budget() 1223 release = ui->dirty; in do_setattr() 1370 release = ui->dirty; in update_mctime() 1510 release = ui->dirty; in ubifs_vm_page_mkwrite()
|
D | ioctl.c | 131 release = ui->dirty; in setflags()
|
/fs/btrfs/ |
D | transaction.c | 92 struct btrfs_dirty_root *dirty; in btrfs_record_root_in_trans() local 101 dirty = kmalloc(sizeof(*dirty), GFP_NOFS); in btrfs_record_root_in_trans() 102 BUG_ON(!dirty); in btrfs_record_root_in_trans() 103 dirty->root = kmalloc(sizeof(*dirty->root), GFP_NOFS); in btrfs_record_root_in_trans() 104 BUG_ON(!dirty->root); in btrfs_record_root_in_trans() 105 dirty->latest_root = root; in btrfs_record_root_in_trans() 106 INIT_LIST_HEAD(&dirty->list); in btrfs_record_root_in_trans() 110 memcpy(dirty->root, root, sizeof(*root)); in btrfs_record_root_in_trans() 111 spin_lock_init(&dirty->root->node_lock); in btrfs_record_root_in_trans() 112 spin_lock_init(&dirty->root->list_lock); in btrfs_record_root_in_trans() [all …]
|
D | version.sh | 25 v="$v"-dirty
|
/fs/jffs2/ |
D | debug.c | 159 uint32_t free = 0, dirty = 0, used = 0, wasted = 0, in __jffs2_dbg_superblock_counts() local 167 dirty += c->gcblock->dirty_size; in __jffs2_dbg_superblock_counts() 175 dirty += c->nextblock->dirty_size; in __jffs2_dbg_superblock_counts() 183 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() 191 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() 199 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() 207 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() 215 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() 223 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() 231 dirty += jeb->dirty_size; in __jffs2_dbg_superblock_counts() [all …]
|
D | nodemgmt.c | 60 uint32_t dirty, avail; in jffs2_reserve_space() local 74 …dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_siz… in jffs2_reserve_space() 75 if (dirty < c->nospc_dirty_size) { in jffs2_reserve_space() 81 dirty, c->unchecked_size, c->sector_size)); in jffs2_reserve_space() 732 uint32_t dirty; in jffs2_thread_should_wake() local 750 dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size; in jffs2_thread_should_wake() 753 (dirty > c->nospc_dirty_size)) in jffs2_thread_should_wake()
|
D | TODO | 26 are likely to become dirty, and end up with blocks which are each far
|
/fs/omfs/ |
D | dir.c | 162 struct inode *dirty; in omfs_delete_entry() local 206 dirty = omfs_iget(dir->i_sb, prev); in omfs_delete_entry() 207 if (!IS_ERR(dirty)) { in omfs_delete_entry() 208 mark_inode_dirty(dirty); in omfs_delete_entry() 209 iput(dirty); in omfs_delete_entry()
|
/fs/ocfs2/dlm/ |
D | dlmthread.c | 98 (list_empty(&res->dirty) && !(res->state & DLM_LOCK_RES_DIRTY))) { in __dlm_lockres_unused() 465 if (list_empty(&res->dirty)) { in __dlm_dirty_lockres() 468 list_add_tail(&res->dirty, &dlm->dirty_list); in __dlm_dirty_lockres() 641 struct dlm_lock_resource, dirty); in dlm_thread() 650 list_del_init(&res->dirty); in dlm_thread()
|
/fs/hpfs/ |
D | super.c | 25 sb->dirty = 1; in mark_dirty() 42 sb->dirty = hpfs_sb(s)->sb_chkdsk > 1 - hpfs_sb(s)->sb_was_error; in unmark_dirty() 557 if (spareblock->dirty && !spareblock->old_wrote) { in hpfs_fill_super() 566 spareblock->dirty = 1; in hpfs_fill_super()
|
D | hpfs.h | 113 unsigned dirty: 1; /* 0 clean, 1 "improperly stopped" */ member
|
/fs/ |
D | fs-writeback.c | 271 unsigned dirty; in __sync_single_inode() local 280 dirty = inode->i_state & I_DIRTY; in __sync_single_inode() 289 if (dirty & (I_DIRTY_SYNC | I_DIRTY_DATASYNC)) { in __sync_single_inode()
|
/fs/ocfs2/ |
D | journal.c | 62 int dirty, int replayed); 646 int ocfs2_journal_init(struct ocfs2_journal *journal, int *dirty) in ocfs2_journal_init() argument 717 *dirty = (le32_to_cpu(di->id1.journal1.ij_flags) & in ocfs2_journal_init() 755 int dirty, int replayed) in ocfs2_journal_toggle_dirty() argument 773 if (dirty) in ocfs2_journal_toggle_dirty() 1184 if (osb->dirty) { in ocfs2_complete_mount_recovery() 1195 osb->dirty = 0; in ocfs2_complete_mount_recovery()
|
D | super.c | 2062 int dirty; in ocfs2_check_volume() local 2071 status = ocfs2_journal_init(osb->journal, &dirty); in ocfs2_check_volume() 2080 if (!dirty) { in ocfs2_check_volume() 2094 status = ocfs2_journal_load(osb->journal, local, dirty); in ocfs2_check_volume() 2100 if (dirty) { in ocfs2_check_volume() 2121 if (dirty) { in ocfs2_check_volume() 2124 osb->dirty = 1; in ocfs2_check_volume()
|
/fs/ntfs/ |
D | ChangeLog | 14 leave the volume dirty on umount if the final iput(vol->mft_ino) 26 dirty pages which in turn tries to that the s_umount lock and thus we 150 means users can boot into Windows after we marked the volume dirty. 342 The situation: VFS inode X on a mounted ntfs volume is dirty. For 343 same inode X, the ntfs_inode is dirty and thus corresponding on-disk 344 inode, i.e. mft record, which is in a dirty PAGE_CACHE_PAGE belonging 349 the dirty page containing the on-disk inode X, the page is now locked 355 for dirty on-disk inodes and when it finds one it calls 420 buffers belonging to the ntfs record dirty. This causes the buffers 478 marks all buffers belonging to an ntfs record dirty, followed by [all …]
|
/fs/yaffs2/ |
D | yaffs_guts.c | 2323 in->dirty = 1; in yaffs_MknodObject() 2448 obj->dirty = 1; in yaffs_ChangeObjectName() 3812 in->dirty = 0; in yaffs_UpdateObjectHeader() 3856 cache->dirty) in yaffs_ObjectHasCachedWriteData() 3880 dev->srCache[i].dirty) { in yaffs_FlushFilesChunkCache() 3899 cache->dirty = 0; in yaffs_FlushFilesChunkCache() 3933 dev->srCache[i].dirty) in yaffs_FlushEntireDeviceCache() 4002 if (!cache || cache->dirty) { in yaffs_GrabChunkCache() 4054 cache->dirty = 1; in yaffs_UseChunkCache() 4709 cache->dirty = 0; in yaffs_ReadDataFromFile() [all …]
|
D | yaffs_guts.h | 119 int dirty; member 415 __u8 dirty:1; /* the object needs to be written to flash */ member
|