Searched refs:nr_dirty (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/fs/f2fs/ |
D | segment.h | 282 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()
|
D | gc.c | 186 p->max_search = dirty_i->nr_dirty[type]; in select_policy() 191 p->max_search = dirty_i->nr_dirty[DIRTY]; in select_policy()
|
D | segment.c | 777 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/ |
D | inode.c | 216 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 …]
|
D | dir.c | 102 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()
|
D | nilfs.h | 275 int nilfs_set_file_dirty(struct inode *inode, unsigned int nr_dirty);
|
/Linux-v5.4/include/trace/events/ |
D | vmscan.h | 347 __field(unsigned long, nr_dirty) 363 __entry->nr_dirty = stat->nr_dirty; 378 __entry->nr_dirty, __entry->nr_writeback,
|
D | writeback.h | 546 __field(unsigned long, nr_dirty) 557 __entry->nr_dirty = global_node_page_state(NR_FILE_DIRTY); 570 __entry->nr_dirty,
|
/Linux-v5.4/mm/ |
D | backing-dev.c | 55 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()
|
D | vmscan.c | 1174 stat->nr_dirty++; in shrink_page_list() 2029 sc->nr.dirty += stat.nr_dirty; in shrink_inactive_list()
|
/Linux-v5.4/include/linux/ |
D | vmstat.h | 24 unsigned nr_dirty; member
|
/Linux-v5.4/drivers/md/ |
D | dm-cache-target.c | 458 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/ |
D | inode.c | 101 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()
|