Searched refs:gc_lock (Results 1 – 6 of 6) sorted by relevance
98 f2fs_down_write(&sbi->gc_lock); in gc_thread_func()103 f2fs_down_write(&sbi->gc_lock); in gc_thread_func()105 } else if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in gc_thread_func()112 f2fs_up_write(&sbi->gc_lock); in gc_thread_func()1869 f2fs_up_write(&sbi->gc_lock); in f2fs_gc()2098 if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in f2fs_resize_fs()2120 f2fs_up_write(&sbi->gc_lock); in f2fs_resize_fs()2133 f2fs_down_write(&sbi->gc_lock); in f2fs_resize_fs()2182 f2fs_up_write(&sbi->gc_lock); in f2fs_resize_fs()
1775 f2fs_down_write(&sbi->gc_lock); in __write_checkpoint_sync()1777 f2fs_up_write(&sbi->gc_lock); in __write_checkpoint_sync()1865 f2fs_down_write(&sbi->gc_lock); in f2fs_issue_checkpoint()1867 f2fs_up_write(&sbi->gc_lock); in f2fs_issue_checkpoint()
2159 f2fs_down_write(&sbi->gc_lock); in f2fs_disable_checkpoint()2182 f2fs_down_write(&sbi->gc_lock); in f2fs_disable_checkpoint()2194 f2fs_up_write(&sbi->gc_lock); in f2fs_disable_checkpoint()2214 f2fs_down_write(&sbi->gc_lock); in f2fs_enable_checkpoint()2219 f2fs_up_write(&sbi->gc_lock); in f2fs_enable_checkpoint()4157 init_f2fs_rwsem(&sbi->gc_lock); in f2fs_fill_super()
1688 f2fs_down_write(&sbi->gc_lock); in expand_inode_data()2415 if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in f2fs_ioc_gc()2420 f2fs_down_write(&sbi->gc_lock); in f2fs_ioc_gc()2451 if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in __f2fs_ioc_gc_range()2456 f2fs_down_write(&sbi->gc_lock); in __f2fs_ioc_gc_range()2916 if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in f2fs_ioc_flush_device()
425 f2fs_down_write(&sbi->gc_lock); in f2fs_balance_fs()3102 f2fs_down_write(&sbi->gc_lock); in f2fs_trim_fs()3104 f2fs_up_write(&sbi->gc_lock); in f2fs_trim_fs()
1720 struct f2fs_rwsem gc_lock; /* member