Searched refs:curseg_lock (Results 1 – 2 of 2) sorted by relevance
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()[all …]
1006 struct rw_semaphore curseg_lock; /* for preventing curseg change */ member