Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nilfs2/
Dinode.c212 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 …]
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.h276 int nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty);
/kernel/linux/linux-5.10/fs/f2fs/
Dsegment.h322 int nr_dirty[NR_DIRTY_TYPE]; /* # of dirty segments */ member
578 return DIRTY_I(sbi)->nr_dirty[PRE]; in prefree_segments()
583 return DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_DATA] + in dirty_segments()
584 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_DATA] + in dirty_segments()
585 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_DATA] + in dirty_segments()
586 DIRTY_I(sbi)->nr_dirty[DIRTY_HOT_NODE] + in dirty_segments()
587 DIRTY_I(sbi)->nr_dirty[DIRTY_WARM_NODE] + in dirty_segments()
588 DIRTY_I(sbi)->nr_dirty[DIRTY_COLD_NODE]; in dirty_segments()
Dgc.c228 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
233 p->max_search = dirty_i->nr_dirty[type]; in select_policy()
244 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy()
Dsegment.c902 dirty_i->nr_dirty[dirty_type]++; in __locate_dirty_segment()
913 dirty_i->nr_dirty[t]++; in __locate_dirty_segment()
936 dirty_i->nr_dirty[dirty_type]--; in __remove_dirty_segment()
943 dirty_i->nr_dirty[t]--; in __remove_dirty_segment()
2159 dirty_i->nr_dirty[PRE]--; in f2fs_clear_prefree_segments()
5313 dirty_i->nr_dirty[dirty_type] = 0; in discard_dirty_segmap()
/kernel/linux/linux-5.10/include/trace/events/
Dvmscan.h381 __field(unsigned long, nr_dirty)
397 __entry->nr_dirty = stat->nr_dirty;
412 __entry->nr_dirty, __entry->nr_writeback,
Dwriteback.h540 __field(unsigned long, nr_dirty)
550 __entry->nr_dirty = global_node_page_state(NR_FILE_DIRTY);
562 __entry->nr_dirty,
/kernel/linux/linux-5.10/mm/
Dbacking-dev.c53 unsigned long nr_dirty, nr_io, nr_more_io, nr_dirty_time; in bdi_debug_stats_show() local
56 nr_dirty = nr_io = nr_more_io = nr_dirty_time = 0; in bdi_debug_stats_show()
59 nr_dirty++; in bdi_debug_stats_show()
96 nr_dirty, in bdi_debug_stats_show()
Dvmscan.c1065 stat->nr_dirty++; in shrink_page_list()
1967 sc->nr.dirty += stat.nr_dirty; in shrink_inactive_list()
/kernel/linux/linux-5.10/drivers/md/
Ddm-cache-target.c449 atomic_t nr_dirty; member
682 atomic_inc(&cache->nr_dirty); in set_dirty()
694 atomic_inc(&cache->nr_dirty); in force_set_dirty()
701 if (atomic_dec_return(&cache->nr_dirty) == 0) in force_clear_dirty()
2541 atomic_set(&cache->nr_dirty, 0); in cache_create()
2853 atomic_inc(&cache->nr_dirty); in load_mapping()
3165 (unsigned long) atomic_read(&cache->nr_dirty)); in cache_status()
/kernel/linux/linux-5.10/include/linux/
Dvmstat.h25 unsigned nr_dirty; member
/kernel/linux/linux-5.10/fs/
Dinode.c103 long nr_dirty = get_nr_inodes() - get_nr_inodes_unused(); in get_nr_dirty_inodes() local
104 return nr_dirty > 0 ? nr_dirty : 0; in get_nr_dirty_inodes()