Searched refs:nr_dirty (Results 1 – 7 of 7) sorted by relevance
/fs/nilfs2/ |
D | inode.c | 212 unsigned int nr_dirty = 0; in nilfs_set_page_dirty() local 229 nr_dirty++; in nilfs_set_page_dirty() 232 if (nr_dirty) in nilfs_set_page_dirty() 233 nilfs_set_file_dirty(inode, nr_dirty); in nilfs_set_page_dirty() 235 unsigned int nr_dirty = 1 << (PAGE_SHIFT - inode->i_blkbits); in nilfs_set_page_dirty() local 237 nilfs_set_file_dirty(inode, nr_dirty); in nilfs_set_page_dirty() 278 unsigned int nr_dirty; in nilfs_write_end() local 281 nr_dirty = nilfs_page_count_clean_buffers(page, start, in nilfs_write_end() 285 nilfs_set_file_dirty(inode, nr_dirty); in nilfs_write_end() 1069 int nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty) in nilfs_set_file_dirty() argument [all …]
|
D | dir.c | 102 unsigned int nr_dirty, copied; in nilfs_commit_chunk() local 105 nr_dirty = nilfs_page_count_clean_buffers(page, from, to); in nilfs_commit_chunk() 111 err = nilfs_set_file_dirty(dir, nr_dirty); in nilfs_commit_chunk()
|
D | nilfs.h | 276 int nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty);
|
/fs/f2fs/ |
D | segment.h | 302 int nr_dirty[NR_DIRTY_TYPE]; /* # of dirty segments */ member 561 return DIRTY_I(sbi)->nr_dirty[PRE]; in prefree_segments() 566 return DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_DATA] + in dirty_segments() 567 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_DATA] + in dirty_segments() 568 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_DATA] + in dirty_segments() 569 DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_NODE] + in dirty_segments() 570 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_NODE] + in dirty_segments() 571 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_NODE]; in dirty_segments()
|
D | gc.c | 231 p->max_search = dirty_i->nr_dirty[type]; in select_policy() 236 p->max_search = dirty_i->nr_dirty[type]; in select_policy() 247 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy()
|
D | segment.c | 815 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment() 826 dirty_i->nr_dirty[t]++; in __locate_dirty_segment() 849 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment() 856 dirty_i->nr_dirty[t]--; in __remove_dirty_segment() 2040 dirty_i->nr_dirty[PRE]--; in f2fs_clear_prefree_segments() 5239 dirty_i->nr_dirty[dirty_type] = 0; in discard_dirty_segmap()
|
/fs/ |
D | inode.c | 102 long nr_dirty = get_nr_inodes() - get_nr_inodes_unused(); in get_nr_dirty_inodes() local 103 return nr_dirty > 0 ? nr_dirty : 0; in get_nr_dirty_inodes()
|