Searched refs:gc_lock (Results 1 – 6 of 6) sorted by relevance
99 f2fs_down_write(&sbi->gc_lock); in gc_thread_func()104 f2fs_down_write(&sbi->gc_lock); in gc_thread_func()106 } else if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in gc_thread_func()113 f2fs_up_write(&sbi->gc_lock); in gc_thread_func()1903 f2fs_up_write(&sbi->gc_lock); in f2fs_gc()2132 if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in f2fs_resize_fs()2154 f2fs_up_write(&sbi->gc_lock); in f2fs_resize_fs()2167 f2fs_down_write(&sbi->gc_lock); in f2fs_resize_fs()2216 f2fs_up_write(&sbi->gc_lock); in f2fs_resize_fs()
1777 f2fs_down_write(&sbi->gc_lock); in __write_checkpoint_sync()1779 f2fs_up_write(&sbi->gc_lock); in __write_checkpoint_sync()1867 f2fs_down_write(&sbi->gc_lock); in f2fs_issue_checkpoint()1869 f2fs_up_write(&sbi->gc_lock); in f2fs_issue_checkpoint()
2137 f2fs_down_write(&sbi->gc_lock); in f2fs_disable_checkpoint()2160 f2fs_down_write(&sbi->gc_lock); in f2fs_disable_checkpoint()2172 f2fs_up_write(&sbi->gc_lock); in f2fs_disable_checkpoint()2192 f2fs_down_write(&sbi->gc_lock); in f2fs_enable_checkpoint()2197 f2fs_up_write(&sbi->gc_lock); in f2fs_enable_checkpoint()4134 init_f2fs_rwsem(&sbi->gc_lock); in f2fs_fill_super()
1686 f2fs_down_write(&sbi->gc_lock); in expand_inode_data()2518 if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in f2fs_ioc_gc()2523 f2fs_down_write(&sbi->gc_lock); in f2fs_ioc_gc()2554 if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in __f2fs_ioc_gc_range()2559 f2fs_down_write(&sbi->gc_lock); in __f2fs_ioc_gc_range()3018 if (!f2fs_down_write_trylock(&sbi->gc_lock)) { in f2fs_ioc_flush_device()
529 f2fs_down_write(&sbi->gc_lock); in f2fs_balance_fs()3206 f2fs_down_write(&sbi->gc_lock); in f2fs_trim_fs()3208 f2fs_up_write(&sbi->gc_lock); in f2fs_trim_fs()
1726 struct f2fs_rwsem gc_lock; /* member