Searched refs:curseg_lock (Results 1 – 2 of 2) sorted by relevance
2835 f2fs_down_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()2845 f2fs_up_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()2996 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()3020 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()3052 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()3056 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()3063 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()3068 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()3445 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()3528 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()[all …]
1051 struct f2fs_rwsem curseg_lock; /* for preventing curseg change */ member