Searched refs:curseg_lock (Results 1 – 2 of 2) sorted by relevance
2916 f2fs_down_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()2926 f2fs_up_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()3065 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()3089 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()3116 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()3120 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()3151 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()3156 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()3462 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()3563 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()[all …]
1046 struct f2fs_rwsem curseg_lock; /* for preventing curseg change */ member