Home
last modified time | relevance | path

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

/linux-6.1.9/fs/f2fs/
Dsegment.h299 int nr_dirty[NR_DIRTY_TYPE]; /* # of dirty segments */ member
559 return DIRTY_I(sbi)->nr_dirty[PRE]; in prefree_segments()
564 return DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_DATA] + in dirty_segments()
565 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_DATA] + in dirty_segments()
566 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_DATA] + in dirty_segments()
567 DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_NODE] + in dirty_segments()
568 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_NODE] + in dirty_segments()
569 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_NODE]; in dirty_segments()
Dgc.c252 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
257 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
268 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy()
Dsegment.c718 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment()
729 dirty_i->nr_dirty[t]++; in __locate_dirty_segment()
752 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment()
759 dirty_i->nr_dirty[t]--; in __remove_dirty_segment()
1946 dirty_i->nr_dirty[PRE]--; in f2fs_clear_prefree_segments()
5149 dirty_i->nr_dirty[dirty_type] = 0; in discard_dirty_segmap()
/linux-6.1.9/fs/nilfs2/
Dinode.c211 unsigned int nr_dirty = 0; in nilfs_dirty_folio() local
228 nr_dirty++; in nilfs_dirty_folio()
231 nr_dirty = 1 << (folio_shift(folio) - inode->i_blkbits); in nilfs_dirty_folio()
235 if (nr_dirty) in nilfs_dirty_folio()
236 nilfs_set_file_dirty(inode, nr_dirty); in nilfs_dirty_folio()
275 unsigned int nr_dirty; in nilfs_write_end() local
278 nr_dirty = nilfs_page_count_clean_buffers(page, start, in nilfs_write_end()
282 nilfs_set_file_dirty(inode, nr_dirty); in nilfs_write_end()
1046 int nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty) in nilfs_set_file_dirty() argument
1051 atomic_add(nr_dirty, &nilfs->ns_ndirtyblks); in nilfs_set_file_dirty()
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.h281 int nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty);
/linux-6.1.9/include/trace/events/
Dvmscan.h365 __field(unsigned long, nr_dirty)
381 __entry->nr_dirty = stat->nr_dirty;
396 __entry->nr_dirty, __entry->nr_writeback,
Dwriteback.h541 __field(unsigned long, nr_dirty)
551 __entry->nr_dirty = global_node_page_state(NR_FILE_DIRTY);
563 __entry->nr_dirty,
/linux-6.1.9/mm/
Dbacking-dev.c58 unsigned long nr_dirty, nr_io, nr_more_io, nr_dirty_time; in bdi_debug_stats_show() local
61 nr_dirty = nr_io = nr_more_io = nr_dirty_time = 0; in bdi_debug_stats_show()
64 nr_dirty++; in bdi_debug_stats_show()
100 nr_dirty, in bdi_debug_stats_show()
Dvmscan.c1686 stat->nr_dirty += nr_pages; in shrink_folio_list()
2532 sc->nr.dirty += stat.nr_dirty; in shrink_inactive_list()
/linux-6.1.9/drivers/md/
Ddm-cache-target.c379 atomic_t nr_dirty; member
612 atomic_inc(&cache->nr_dirty); in set_dirty()
624 atomic_inc(&cache->nr_dirty); in force_set_dirty()
631 if (atomic_dec_return(&cache->nr_dirty) == 0) in force_clear_dirty()
2459 atomic_set(&cache->nr_dirty, 0); in cache_create()
2770 atomic_inc(&cache->nr_dirty); in load_mapping()
3078 (unsigned long) atomic_read(&cache->nr_dirty)); in cache_status()
/linux-6.1.9/fs/
Dinode.c96 long nr_dirty = get_nr_inodes() - get_nr_inodes_unused(); in get_nr_dirty_inodes() local
97 return nr_dirty > 0 ? nr_dirty : 0; in get_nr_dirty_inodes()
/linux-6.1.9/include/linux/
Dvmstat.h25 unsigned nr_dirty; member