Lines Matching refs:curseg_lock
2792 down_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()
2802 up_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()
2953 down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()
2977 up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()
3009 down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()
3013 up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()
3020 down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()
3025 up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()
3402 down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()
3485 up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()
3666 down_write(&SM_I(sbi)->curseg_lock); in f2fs_do_replace_block()
3735 up_write(&SM_I(sbi)->curseg_lock); in f2fs_do_replace_block()
5219 init_rwsem(&sm_info->curseg_lock); in f2fs_build_segment_manager()