Lines Matching defs:count_type
1092 enum count_type {
1646 /* # of pages, see count_type */
2464 static inline void inc_page_count(struct f2fs_sb_info *sbi, int count_type)
2466 atomic_inc(&sbi->nr_pages[count_type]);
2468 if (count_type == F2FS_DIRTY_DENTS ||
2469 count_type == F2FS_DIRTY_NODES ||
2470 count_type == F2FS_DIRTY_META ||
2471 count_type == F2FS_DIRTY_QDATA ||
2472 count_type == F2FS_DIRTY_IMETA)
2485 static inline void dec_page_count(struct f2fs_sb_info *sbi, int count_type)
2487 atomic_dec(&sbi->nr_pages[count_type]);
2525 static inline s64 get_pages(struct f2fs_sb_info *sbi, int count_type)
2527 return atomic_read(&sbi->nr_pages[count_type]);