• Home
  • Raw
  • Download

Lines Matching refs:SM_I

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()
954 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __attach_discard_cmd()
983 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __remove_discard_cmd()
1104 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __submit_discard_cmd()
1208 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __insert_discard_tree()
1240 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __punch_discard_cmd()
1278 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __update_discard_tree_range()
1377 mutex_lock(&SM_I(sbi)->dcc_info->cmd_lock); in __queue_discard_cmd()
1379 mutex_unlock(&SM_I(sbi)->dcc_info->cmd_lock); in __queue_discard_cmd()
1386 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __issue_discard_cmd_orderly()
1446 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __issue_discard_cmd()
1506 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __drop_discard_cmd()
1534 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __wait_one_discard_bio()
1555 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __wait_discard_cmd_range()
1613 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in f2fs_wait_discard_bio()
1636 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in f2fs_stop_discard_thread()
1649 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in f2fs_issue_discard_timeout()
1669 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in issue_discard_thread()
1838 struct list_head *head = &SM_I(sbi)->dcc_info->entry_list; in add_discard_addrs()
1846 SM_I(sbi)->dcc_info->nr_discards >= in add_discard_addrs()
1847 SM_I(sbi)->dcc_info->max_discards) in add_discard_addrs()
1856 while (force || SM_I(sbi)->dcc_info->nr_discards <= in add_discard_addrs()
1857 SM_I(sbi)->dcc_info->max_discards) { in add_discard_addrs()
1880 SM_I(sbi)->dcc_info->nr_discards += end - start; in add_discard_addrs()
1893 struct list_head *head = &(SM_I(sbi)->dcc_info->entry_list); in f2fs_release_discard_addrs()
1918 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in f2fs_clear_prefree_segments()
2021 if (SM_I(sbi)->dcc_info) { in create_discard_cmd_control()
2022 dcc = SM_I(sbi)->dcc_info; in create_discard_cmd_control()
2048 SM_I(sbi)->dcc_info = dcc; in create_discard_cmd_control()
2055 SM_I(sbi)->dcc_info = NULL; in create_discard_cmd_control()
2064 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in destroy_discard_cmd_control()
2072 SM_I(sbi)->dcc_info = NULL; in destroy_discard_cmd_control()
2688 struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info; in __issue_discard_cmd_range()
3023 down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()
3084 up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()
3236 down_write(&SM_I(sbi)->curseg_lock); in f2fs_do_replace_block()
3297 up_write(&SM_I(sbi)->curseg_lock); in f2fs_do_replace_block()
3718 struct f2fs_sm_info *sm_info = SM_I(sbi); in add_sits_in_set()
3742 add_sit_entry(segno, &SM_I(sbi)->sit_entry_set); in remove_sits_in_journal()
3759 struct list_head *head = &SM_I(sbi)->sit_entry_set; in f2fs_flush_sit_entries()
3884 SM_I(sbi)->sit_info = sit_i; in build_sit_info()
3977 SM_I(sbi)->free_info = free_i; in build_free_segmap()
4011 SM_I(sbi)->curseg_array = array; in build_curseg()
4214 SM_I(sbi)->dirty_info = dirty_i; in build_dirty_segmap()
4398 SM_I(sbi)->dirty_info = NULL; in destroy_dirty_segmap()
4404 struct curseg_info *array = SM_I(sbi)->curseg_array; in destroy_curseg()
4409 SM_I(sbi)->curseg_array = NULL; in destroy_curseg()
4419 struct free_segmap_info *free_i = SM_I(sbi)->free_info; in destroy_free_segmap()
4422 SM_I(sbi)->free_info = NULL; in destroy_free_segmap()
4452 SM_I(sbi)->sit_info = NULL; in destroy_sit_info()
4462 struct f2fs_sm_info *sm_info = SM_I(sbi); in f2fs_destroy_segment_manager()