Home
last modified time | relevance | path

Searched refs:umount_mutex (Results 1 – 7 of 7) sorted by relevance

/linux/fs/ubifs/
H A Dshrinker.c27 * un-mounts, which is done by the 'ubifs_infos_lock' and 'c->umount_mutex'.
64 ubifs_assert(c, mutex_is_locked(&c->umount_mutex)); in shrink_tnc()
165 if (!mutex_trylock(&c->umount_mutex)) { in shrink_tnc_trees()
172 * We're holding 'c->umount_mutex', so the file-system won't go 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()
[all...]
H A Dubifs.h1174 * @umount_mutex: serializes shrinker and un-mount
1428 struct mutex umount_mutex; member
/linux/fs/f2fs/
H A Dshrinker.c53 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()
H A Dsuper.c1883 mutex_lock(&sbi->umount_mutex); in f2fs_put_super()
1922 mutex_unlock(&sbi->umount_mutex); in f2fs_put_super()
4185 mutex_init(&sbi->umount_mutex); in init_sb_info()
H A Df2fs.h1797 struct mutex umount_mutex; member
/linux/fs/erofs/
H A Dzutil.c221 mutex_init(&sbi->umount_mutex); in erofs_shrinker_register()
232 mutex_lock(&sbi->umount_mutex); in erofs_shrinker_unregister()
240 mutex_unlock(&sbi->umount_mutex); in erofs_shrinker_unregister()
276 if (!mutex_trylock(&sbi->umount_mutex)) { in erofs_shrink_scan()
293 mutex_unlock(&sbi->umount_mutex); in erofs_shrink_scan()
H A Dinternal.h114 struct mutex umount_mutex; member