Home
last modified time | relevance | path

Searched refs:umount_mutex (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/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 Dsuper.c1718 mutex_lock(&c->umount_mutex); in ubifs_remount_rw()
1854 mutex_unlock(&c->umount_mutex); in ubifs_remount_rw()
1871 mutex_unlock(&c->umount_mutex); in ubifs_remount_rw()
1889 mutex_lock(&c->umount_mutex); in ubifs_remount_ro()
1921 mutex_unlock(&c->umount_mutex); in ubifs_remount_ro()
1948 mutex_lock(&c->umount_mutex); in ubifs_put_super()
1999 mutex_unlock(&c->umount_mutex); in ubifs_put_super()
2146 mutex_init(&c->umount_mutex); in alloc_ubifs_info()
2226 mutex_lock(&c->umount_mutex); in ubifs_fill_super()
2246 mutex_unlock(&c->umount_mutex); in ubifs_fill_super()
[all...]
H A Dubifs.h1170 * @umount_mutex: serializes shrinker and un-mount
1415 struct mutex umount_mutex; member
/kernel/linux/linux-6.6/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 Dsuper.c1724 mutex_lock(&c->umount_mutex); in ubifs_remount_rw()
1859 mutex_unlock(&c->umount_mutex); in ubifs_remount_rw()
1876 mutex_unlock(&c->umount_mutex); in ubifs_remount_rw()
1894 mutex_lock(&c->umount_mutex); in ubifs_remount_ro()
1926 mutex_unlock(&c->umount_mutex); in ubifs_remount_ro()
1953 mutex_lock(&c->umount_mutex); in ubifs_put_super()
2004 mutex_unlock(&c->umount_mutex); in ubifs_put_super()
2151 mutex_init(&c->umount_mutex); in alloc_ubifs_info()
2229 mutex_lock(&c->umount_mutex); in ubifs_fill_super()
2251 mutex_unlock(&c->umount_mutex); in ubifs_fill_super()
[all...]
H A Dubifs.h1191 * @umount_mutex: serializes shrinker and un-mount
1443 struct mutex umount_mutex; member
/kernel/linux/linux-5.10/fs/f2fs/
H A Dshrinker.c50 if (!mutex_trylock(&sbi->umount_mutex)) { in f2fs_shrink_count()
67 mutex_unlock(&sbi->umount_mutex); in f2fs_shrink_count()
94 if (!mutex_trylock(&sbi->umount_mutex)) { in f2fs_shrink_scan()
116 mutex_unlock(&sbi->umount_mutex); in f2fs_shrink_scan()
H A Dsuper.c1298 mutex_lock(&sbi->umount_mutex); in f2fs_put_super()
1331 mutex_unlock(&sbi->umount_mutex); in f2fs_put_super()
3209 mutex_init(&sbi->umount_mutex); in init_sb_info()
H A Df2fs.h1575 struct mutex umount_mutex; member
/kernel/linux/linux-6.6/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()
H A Dsuper.c1625 mutex_lock(&sbi->umount_mutex); in f2fs_put_super()
1664 mutex_unlock(&sbi->umount_mutex); in f2fs_put_super()
3846 mutex_init(&sbi->umount_mutex); in init_sb_info()
H A Df2fs.h1729 struct mutex umount_mutex; member
/kernel/linux/linux-5.10/fs/erofs/
H A Dutils.c199 mutex_init(&sbi->umount_mutex); in erofs_shrinker_register()
210 mutex_lock(&sbi->umount_mutex); in erofs_shrinker_unregister()
217 mutex_unlock(&sbi->umount_mutex); in erofs_shrinker_unregister()
253 if (!mutex_trylock(&sbi->umount_mutex)) { in erofs_shrink_scan()
272 mutex_unlock(&sbi->umount_mutex); in erofs_shrink_scan()
H A Dinternal.h64 struct mutex umount_mutex; member
/kernel/linux/linux-6.6/fs/erofs/
H A Dutils.c185 mutex_init(&sbi->umount_mutex); in erofs_shrinker_register()
196 mutex_lock(&sbi->umount_mutex); in erofs_shrinker_unregister()
203 mutex_unlock(&sbi->umount_mutex); in erofs_shrinker_unregister()
239 if (!mutex_trylock(&sbi->umount_mutex)) { in erofs_shrink_scan()
258 mutex_unlock(&sbi->umount_mutex); in erofs_shrink_scan()
H A Dinternal.h128 struct mutex umount_mutex; member
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs.h114 struct mutex umount_mutex; member
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs.h114 struct mutex umount_mutex; member

Completed in 44 milliseconds