Home
last modified time | relevance | path

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

/Linux-v5.4/fs/f2fs/
Dsegment.h282 int nr_dirty[NR_DIRTY_TYPE]; /* # of dirty segments */ member
521 return DIRTY_I(sbi)->nr_dirty[PRE]; in prefree_segments()
526 return DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_DATA] + in dirty_segments()
527 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_DATA] + in dirty_segments()
528 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_DATA] + in dirty_segments()
529 DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_NODE] + in dirty_segments()
530 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_NODE] + in dirty_segments()
531 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_NODE]; in dirty_segments()
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()
Dsegment.c777 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment()
788 dirty_i->nr_dirty[t]++; in __locate_dirty_segment()
798 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment()
805 dirty_i->nr_dirty[t]--; in __remove_dirty_segment()
1955 dirty_i->nr_dirty[PRE]--; in f2fs_clear_prefree_segments()
4444 dirty_i->nr_dirty[dirty_type] = 0; in discard_dirty_segmap()
/Linux-v5.4/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);
/Linux-v5.4/include/trace/events/
Dvmscan.h347 __field(unsigned long, nr_dirty)
363 __entry->nr_dirty = stat->nr_dirty;
378 __entry->nr_dirty, __entry->nr_writeback,
Dwriteback.h546 __field(unsigned long, nr_dirty)
557 __entry->nr_dirty = global_node_page_state(NR_FILE_DIRTY);
570 __entry->nr_dirty,
/Linux-v5.4/mm/
Dbacking-dev.c55 unsigned long nr_dirty, nr_io, nr_more_io, nr_dirty_time; in bdi_debug_stats_show() local
58 nr_dirty = nr_io = nr_more_io = nr_dirty_time = 0; in bdi_debug_stats_show()
61 nr_dirty++; in bdi_debug_stats_show()
98 nr_dirty, in bdi_debug_stats_show()
Dvmscan.c1174 stat->nr_dirty++; in shrink_page_list()
2029 sc->nr.dirty += stat.nr_dirty; in shrink_inactive_list()
/Linux-v5.4/include/linux/
Dvmstat.h24 unsigned nr_dirty; member
/Linux-v5.4/drivers/md/
Ddm-cache-target.c458 atomic_t nr_dirty; member
695 atomic_inc(&cache->nr_dirty); in set_dirty()
707 atomic_inc(&cache->nr_dirty); in force_set_dirty()
714 if (atomic_dec_return(&cache->nr_dirty) == 0) in force_clear_dirty()
2580 atomic_set(&cache->nr_dirty, 0); in cache_create()
2892 atomic_inc(&cache->nr_dirty); in load_mapping()
3204 (unsigned long) atomic_read(&cache->nr_dirty)); in cache_status()
/Linux-v5.4/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()