Lines Matching refs:seglist_lock

799 	mutex_lock(&dirty_i->seglist_lock);  in locate_dirty_segment()
815 mutex_unlock(&dirty_i->seglist_lock); in locate_dirty_segment()
824 mutex_lock(&dirty_i->seglist_lock); in f2fs_dirty_to_prefree()
833 mutex_unlock(&dirty_i->seglist_lock); in f2fs_dirty_to_prefree()
847 mutex_lock(&dirty_i->seglist_lock); in f2fs_get_unusable_blocks()
857 mutex_unlock(&dirty_i->seglist_lock); in f2fs_get_unusable_blocks()
883 mutex_lock(&dirty_i->seglist_lock); in get_free_segment()
889 mutex_unlock(&dirty_i->seglist_lock); in get_free_segment()
892 mutex_unlock(&dirty_i->seglist_lock); in get_free_segment()
1903 mutex_lock(&dirty_i->seglist_lock); in set_prefree_as_free_segments()
1906 mutex_unlock(&dirty_i->seglist_lock); in set_prefree_as_free_segments()
1926 mutex_lock(&dirty_i->seglist_lock); in f2fs_clear_prefree_segments()
1975 mutex_unlock(&dirty_i->seglist_lock); in f2fs_clear_prefree_segments()
2661 mutex_lock(&dirty_i->seglist_lock); in change_curseg()
2664 mutex_unlock(&dirty_i->seglist_lock); in change_curseg()
2742 mutex_lock(&DIRTY_I(sbi)->seglist_lock); in __f2fs_save_inmem_curseg()
2744 mutex_unlock(&DIRTY_I(sbi)->seglist_lock); in __f2fs_save_inmem_curseg()
2768 mutex_lock(&DIRTY_I(sbi)->seglist_lock); in __f2fs_restore_inmem_curseg()
2770 mutex_unlock(&DIRTY_I(sbi)->seglist_lock); in __f2fs_restore_inmem_curseg()
4537 mutex_lock(&dirty_i->seglist_lock); in init_dirty_segmap()
4539 mutex_unlock(&dirty_i->seglist_lock); in init_dirty_segmap()
4545 mutex_lock(&dirty_i->seglist_lock); in init_dirty_segmap()
4556 mutex_unlock(&dirty_i->seglist_lock); in init_dirty_segmap()
4589 mutex_init(&dirty_i->seglist_lock); in build_dirty_segmap()
5147 mutex_lock(&dirty_i->seglist_lock); in discard_dirty_segmap()
5150 mutex_unlock(&dirty_i->seglist_lock); in discard_dirty_segmap()
5174 mutex_lock(&dirty_i->seglist_lock); in destroy_dirty_segmap()
5176 mutex_unlock(&dirty_i->seglist_lock); in destroy_dirty_segmap()