sm_info 1195 fs/f2fs/f2fs.h struct f2fs_sm_info *sm_info; /* segment manager */ sm_info 1544 fs/f2fs/f2fs.h return (struct f2fs_sm_info *)(sbi->sm_info); sm_info 3791 fs/f2fs/segment.c struct f2fs_sm_info *sm_info = SM_I(sbi); sm_info 3792 fs/f2fs/segment.c struct list_head *set_list = &sm_info->sit_entry_set; sm_info 4375 fs/f2fs/segment.c struct f2fs_sm_info *sm_info; sm_info 4378 fs/f2fs/segment.c sm_info = f2fs_kzalloc(sbi, sizeof(struct f2fs_sm_info), GFP_KERNEL); sm_info 4379 fs/f2fs/segment.c if (!sm_info) sm_info 4383 fs/f2fs/segment.c sbi->sm_info = sm_info; sm_info 4384 fs/f2fs/segment.c sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); sm_info 4385 fs/f2fs/segment.c sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); sm_info 4386 fs/f2fs/segment.c sm_info->segment_count = le32_to_cpu(raw_super->segment_count); sm_info 4387 fs/f2fs/segment.c sm_info->reserved_segments = le32_to_cpu(ckpt->rsvd_segment_count); sm_info 4388 fs/f2fs/segment.c sm_info->ovp_segments = le32_to_cpu(ckpt->overprov_segment_count); sm_info 4389 fs/f2fs/segment.c sm_info->main_segments = le32_to_cpu(raw_super->segment_count_main); sm_info 4390 fs/f2fs/segment.c sm_info->ssa_blkaddr = le32_to_cpu(raw_super->ssa_blkaddr); sm_info 4391 fs/f2fs/segment.c sm_info->rec_prefree_segments = sm_info->main_segments * sm_info 4393 fs/f2fs/segment.c if (sm_info->rec_prefree_segments > DEF_MAX_RECLAIM_PREFREE_SEGMENTS) sm_info 4394 fs/f2fs/segment.c sm_info->rec_prefree_segments = DEF_MAX_RECLAIM_PREFREE_SEGMENTS; sm_info 4397 fs/f2fs/segment.c sm_info->ipu_policy = 1 << F2FS_IPU_FSYNC; sm_info 4398 fs/f2fs/segment.c sm_info->min_ipu_util = DEF_MIN_IPU_UTIL; sm_info 4399 fs/f2fs/segment.c sm_info->min_fsync_blocks = DEF_MIN_FSYNC_BLOCKS; sm_info 4400 fs/f2fs/segment.c sm_info->min_seq_blocks = sbi->blocks_per_seg * sbi->segs_per_sec; sm_info 4401 fs/f2fs/segment.c sm_info->min_hot_blocks = DEF_MIN_HOT_BLOCKS; sm_info 4402 fs/f2fs/segment.c sm_info->min_ssr_sections = reserved_sections(sbi); sm_info 4404 fs/f2fs/segment.c INIT_LIST_HEAD(&sm_info->sit_entry_set); sm_info 4406 fs/f2fs/segment.c init_rwsem(&sm_info->curseg_lock); sm_info 4532 fs/f2fs/segment.c struct f2fs_sm_info *sm_info = SM_I(sbi); sm_info 4534 fs/f2fs/segment.c if (!sm_info) sm_info 4542 fs/f2fs/segment.c sbi->sm_info = NULL; sm_info 4543 fs/f2fs/segment.c kvfree(sm_info); sm_info 100 fs/f2fs/segment.h ((sbi)->sm_info->ssa_blkaddr + (segno))