Searched refs:umount_mutex (Results 1 – 4 of 4) sorted by relevance
64 ubifs_assert(c, mutex_is_locked(&c->umount_mutex)); in shrink_tnc()165 if (!mutex_trylock(&c->umount_mutex)) { in shrink_tnc_trees()176 mutex_unlock(&c->umount_mutex); in shrink_tnc_trees()197 mutex_unlock(&c->umount_mutex); in shrink_tnc_trees()228 if (!mutex_trylock(&c->umount_mutex)) { in kick_a_thread()241 mutex_unlock(&c->umount_mutex); in kick_a_thread()247 mutex_unlock(&c->umount_mutex); in kick_a_thread()256 mutex_unlock(&c->umount_mutex); in kick_a_thread()259 mutex_unlock(&c->umount_mutex); in kick_a_thread()
53 if (!mutex_trylock(&sbi->umount_mutex)) { in f2fs_shrink_count()73 mutex_unlock(&sbi->umount_mutex); in f2fs_shrink_count()100 if (!mutex_trylock(&sbi->umount_mutex)) { in f2fs_shrink_scan()125 mutex_unlock(&sbi->umount_mutex); in f2fs_shrink_scan()145 if (!mutex_trylock(&sbi->umount_mutex)) { in f2fs_donate_files()155 mutex_unlock(&sbi->umount_mutex); in f2fs_donate_files()215 if (!mutex_trylock(&sbi->umount_mutex)) { in f2fs_reclaim_caches()225 mutex_unlock(&sbi->umount_mutex); in f2fs_reclaim_caches()
220 mutex_init(&sbi->umount_mutex); in erofs_shrinker_register()231 mutex_lock(&sbi->umount_mutex); in erofs_shrinker_unregister()239 mutex_unlock(&sbi->umount_mutex); in erofs_shrinker_unregister()275 if (!mutex_trylock(&sbi->umount_mutex)) { in erofs_shrink_scan()292 mutex_unlock(&sbi->umount_mutex); in erofs_shrink_scan()
110 struct mutex umount_mutex; member