Home
last modified time | relevance | path

Searched refs:nr_dirty (Results 1 – 7 of 7) sorted by relevance

/fs/f2fs/
Dsegment.h282 int nr_dirty[NR_DIRTY_TYPE]; /* # of dirty segments */ member
523 return DIRTY_I(sbi)->nr_dirty[PRE]; in prefree_segments()
528 return DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_DATA] + in dirty_segments()
529 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_DATA] + in dirty_segments()
530 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_DATA] + in dirty_segments()
531 DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_NODE] + in dirty_segments()
532 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_NODE] + in dirty_segments()
533 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_NODE]; in dirty_segments()
Dsegment.c786 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment()
797 dirty_i->nr_dirty[t]++; in __locate_dirty_segment()
807 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment()
814 dirty_i->nr_dirty[t]--; in __remove_dirty_segment()
1966 dirty_i->nr_dirty[PRE]--; in f2fs_clear_prefree_segments()
4481 dirty_i->nr_dirty[dirty_type] = 0; in discard_dirty_segmap()
Dgc.c186 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
191 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy()
/fs/nilfs2/
Dinode.c216 unsigned int nr_dirty = 0; in nilfs_set_page_dirty() local
233 nr_dirty++; in nilfs_set_page_dirty()
236 if (nr_dirty) in nilfs_set_page_dirty()
237 nilfs_set_file_dirty(inode, nr_dirty); in nilfs_set_page_dirty()
239 unsigned int nr_dirty = 1 << (PAGE_SHIFT - inode->i_blkbits); in nilfs_set_page_dirty() local
241 nilfs_set_file_dirty(inode, nr_dirty); in nilfs_set_page_dirty()
282 unsigned int nr_dirty; in nilfs_write_end() local
285 nr_dirty = nilfs_page_count_clean_buffers(page, start, in nilfs_write_end()
289 nilfs_set_file_dirty(inode, nr_dirty); in nilfs_write_end()
908 int nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty) in nilfs_set_file_dirty() argument
[all …]
Ddir.c102 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()
Dnilfs.h275 int nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty);
/fs/
Dinode.c101 long nr_dirty = get_nr_inodes() - get_nr_inodes_unused(); in get_nr_dirty_inodes() local
102 return nr_dirty > 0 ? nr_dirty : 0; in get_nr_dirty_inodes()