Searched refs:curseg_lock (Results 1 – 2 of 2) sorted by relevance
2908 f2fs_down_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()2918 f2fs_up_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()3057 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()3081 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()3104 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()3108 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_section()3115 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()3120 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_new_segments()3424 f2fs_down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()3520 f2fs_up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()[all …]
1038 struct f2fs_rwsem curseg_lock; /* for preventing curseg change */ member