Home
last modified time | relevance | path

Searched refs:curseg_lock (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/fs/f2fs/
Dsegment.c2718 down_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()
2728 up_read(&SM_I(sbi)->curseg_lock); in __f2fs_init_atgc_curseg()
2879 down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()
2903 up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_segment_for_resize()
3311 down_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()
3394 up_read(&SM_I(sbi)->curseg_lock); in f2fs_allocate_data_block()
3557 down_write(&SM_I(sbi)->curseg_lock); in f2fs_do_replace_block()
3623 up_write(&SM_I(sbi)->curseg_lock); in f2fs_do_replace_block()
5086 init_rwsem(&sm_info->curseg_lock); in f2fs_build_segment_manager()
Df2fs.h1022 struct rw_semaphore curseg_lock; /* for preventing curseg change */ member