Searched refs:SM_I (Results 1 – 9 of 9) sorted by relevance
63 if (SM_I(sbi) && SM_I(sbi)->fcc_info) { in update_general_status()65 atomic_read(&SM_I(sbi)->fcc_info->issued_flush); in update_general_status()67 atomic_read(&SM_I(sbi)->fcc_info->queued_flush); in update_general_status()69 llist_empty(&SM_I(sbi)->fcc_info->issue_list); in update_general_status()71 if (SM_I(sbi) && SM_I(sbi)->dcc_info) { in update_general_status()73 atomic_read(&SM_I(sbi)->dcc_info->issued_discard); in update_general_status()75 atomic_read(&SM_I(sbi)->dcc_info->queued_discard); in update_general_status()77 atomic_read(&SM_I(sbi)->dcc_info->discard_cmd_cnt); in update_general_status()78 si->undiscard_blks = SM_I(sbi)->dcc_info->undiscard_blks; in update_general_status()238 if (SM_I(sbi)->fcc_info) in update_mem_info()[all …]
183 SM_I(sbi)->min_ssr_sections + reserved_sections(sbi)); in f2fs_need_SSR()599 struct flush_cmd_control *fcc = SM_I(sbi)->fcc_info; in issue_flush_thread()636 struct flush_cmd_control *fcc = SM_I(sbi)->fcc_info; in f2fs_issue_flush()706 if (SM_I(sbi)->fcc_info) { in f2fs_create_flush_cmd_control()707 fcc = SM_I(sbi)->fcc_info; in f2fs_create_flush_cmd_control()720 SM_I(sbi)->fcc_info = fcc; in f2fs_create_flush_cmd_control()730 SM_I(sbi)->fcc_info = NULL; in f2fs_create_flush_cmd_control()739 struct flush_cmd_control *fcc = SM_I(sbi)->fcc_info; in f2fs_destroy_flush_cmd_control()749 SM_I(sbi)->fcc_info = NULL; in f2fs_destroy_flush_cmd_control()920 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __create_discard_cmd()[all …]
54 (SM_I(sbi) ? SM_I(sbi)->main_blkaddr : \57 (SM_I(sbi) ? SM_I(sbi)->seg0_blkaddr : \60 #define MAIN_SEGS(sbi) (SM_I(sbi)->main_segments)64 (SM_I(sbi) ? SM_I(sbi)->segment_count : \312 return (struct curseg_info *)(SM_I(sbi)->curseg_array + type); in CURSEG_I()507 return SM_I(sbi)->reserved_segments; in reserved_segments()532 return SM_I(sbi)->ovp_segments; in overprovision_segments()596 return prefree_segments(sbi) > SM_I(sbi)->rec_prefree_segments; in excess_prefree_segs()850 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in wake_up_discard_thread()
1515 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I() function1522 return (struct sit_info *)(SM_I(sbi)->sit_info); in SIT_I()1527 return (struct free_segmap_info *)(SM_I(sbi)->free_info); in FREE_I()1532 return (struct dirty_seglist_info *)(SM_I(sbi)->dirty_info); in DIRTY_I()2185 if (SM_I(sbi) && SM_I(sbi)->dcc_info && in is_idle()2186 atomic_read(&SM_I(sbi)->dcc_info->queued_discard)) in is_idle()2189 if (SM_I(sbi) && SM_I(sbi)->fcc_info && in is_idle()2190 atomic_read(&SM_I(sbi)->fcc_info->queued_flush)) in is_idle()3313 else if (blkaddr < SM_I(sbi)->ssa_blkaddr) \3315 else if (blkaddr < SM_I(sbi)->main_blkaddr) \
49 return (unsigned char *)SM_I(sbi); in __struct_ptr()51 return (unsigned char *)SM_I(sbi)->dcc_info; in __struct_ptr()
1760 unsigned int policy = SM_I(sbi)->ipu_policy; in check_inplace_update_policy()1767 utilization(sbi) > SM_I(sbi)->min_ipu_util) in check_inplace_update_policy()1770 utilization(sbi) > SM_I(sbi)->min_ipu_util) in check_inplace_update_policy()2132 SM_I(F2FS_M_SB(mapping))->min_hot_blocks) in f2fs_write_cache_pages()2267 if (get_dirty_pages(inode) >= SM_I(F2FS_I_SB(inode))->min_seq_blocks) in __should_serialize_io()
145 blkaddr < SM_I(sbi)->ssa_blkaddr)) in f2fs_is_valid_blkaddr()
223 if (datasync || get_dirty_pages(inode) <= SM_I(sbi)->min_fsync_blocks) in f2fs_do_sync_file()
3042 struct f2fs_sm_info *sm_i = SM_I(sbi); in f2fs_tuning_parameters()