Searched refs:cp_global_sem (Results 1 – 6 of 6) sorted by relevance
847 f2fs_down_write(&sbi->cp_global_sem); in f2fs_recover_fsync_data()896 f2fs_up_write(&sbi->cp_global_sem); in f2fs_recover_fsync_data()
372 if (!f2fs_down_write_trylock(&sbi->cp_global_sem)) in f2fs_write_meta_pages()378 f2fs_up_write(&sbi->cp_global_sem); in f2fs_write_meta_pages()1637 f2fs_down_write(&sbi->cp_global_sem); in f2fs_write_checkpoint()1718 f2fs_up_write(&sbi->cp_global_sem); in f2fs_write_checkpoint()
2139 f2fs_down_write(&sbi->cp_global_sem); in f2fs_resize_fs()2186 f2fs_up_write(&sbi->cp_global_sem); in f2fs_resize_fs()
431 if (f2fs_rwsem_is_locked(&sbi->cp_global_sem)) in cache_nat_entry()576 if (!f2fs_rwsem_is_locked(&sbi->cp_global_sem) || checkpoint_context) { in f2fs_get_node_info()
1646 struct f2fs_rwsem cp_global_sem; /* checkpoint procedure lock */ member
4179 init_f2fs_rwsem(&sbi->cp_global_sem); in f2fs_fill_super()