Home
last modified time | relevance | path

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

/linux-6.6.21/fs/f2fs/
Dsegment.h295 int nr_dirty[NR_DIRTY_TYPE]; /* # of dirty segments */ member
549 return DIRTY_I(sbi)->nr_dirty[PRE]; in prefree_segments()
554 return DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_DATA] + in dirty_segments()
555 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_DATA] + in dirty_segments()
556 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_DATA] + in dirty_segments()
557 DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_NODE] + in dirty_segments()
558 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_NODE] + in dirty_segments()
559 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_NODE]; in dirty_segments()
Dgc.c253 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
258 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
269 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy()
Dsegment.c753 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment()
764 dirty_i->nr_dirty[t]++; in __locate_dirty_segment()
787 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment()
794 dirty_i->nr_dirty[t]--; in __remove_dirty_segment()
2168 dirty_i->nr_dirty[PRE]--; in f2fs_clear_prefree_segments()
5311 dirty_i->nr_dirty[dirty_type] = 0; in discard_dirty_segmap()
/linux-6.6.21/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()
1067 int nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty) in nilfs_set_file_dirty() argument
1072 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.6.21/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.6.21/tools/testing/selftests/cachestat/
Dtest_cachestat.c31 cs->nr_cache, cs->nr_dirty, cs->nr_writeback, in print_cachestat()
182 if (cs.nr_dirty) { in test_cachestat()
/linux-6.6.21/tools/include/uapi/linux/
Dmman.h52 __u64 nr_dirty; member
/linux-6.6.21/include/uapi/linux/
Dmman.h52 __u64 nr_dirty; member
/linux-6.6.21/mm/
Dbacking-dev.c56 unsigned long nr_dirty, nr_io, nr_more_io, nr_dirty_time; in bdi_debug_stats_show() local
59 nr_dirty = nr_io = nr_more_io = nr_dirty_time = 0; in bdi_debug_stats_show()
62 nr_dirty++; in bdi_debug_stats_show()
98 nr_dirty, in bdi_debug_stats_show()
Dvmscan.c1762 stat->nr_dirty += nr_pages; in shrink_folio_list()
2657 sc->nr.dirty += stat.nr_dirty; in shrink_inactive_list()
Dfilemap.c4217 cs->nr_dirty += nr_pages; in filemap_cachestat()
/linux-6.6.21/drivers/md/
Ddm-cache-target.c380 atomic_t nr_dirty; member
616 atomic_inc(&cache->nr_dirty); in set_dirty()
628 atomic_inc(&cache->nr_dirty); in force_set_dirty()
635 if (atomic_dec_return(&cache->nr_dirty) == 0) in force_clear_dirty()
2490 atomic_set(&cache->nr_dirty, 0); in cache_create()
2801 atomic_inc(&cache->nr_dirty); in load_mapping()
3109 (unsigned long) atomic_read(&cache->nr_dirty)); in cache_status()
/linux-6.6.21/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.6.21/include/linux/
Dvmstat.h25 unsigned nr_dirty; member