Lines Matching refs:curseg_lock
2898 f2fs_down_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()
2908 f2fs_up_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()
3047 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()
3071 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()
3098 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()
3102 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()
3133 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()
3138 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()
3444 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()
3545 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()
3732 f2fs_down_write(&SM_I(sbi)->curseg_lock); in f2fs_do_replace_block()
3799 f2fs_up_write(&SM_I(sbi)->curseg_lock); in f2fs_do_replace_block()
5280 init_f2fs_rwsem(&sm_info->curseg_lock); in f2fs_build_segment_manager()