Home
last modified time | relevance | path

Searched refs:s_umount (Results 1 – 25 of 30) sorted by relevance

12

/OK3568_Linux_fs/kernel/fs/
H A Dsuper.c114 up_read(&sb->s_umount); in super_cache_scan()
180 up_write(&s->s_umount); in destroy_unused_super()
212 init_rwsem(&s->s_umount); in alloc_super()
213 lockdep_set_class(&s->s_umount, &type->s_umount_key); in alloc_super()
229 down_write_nested(&s->s_umount, SINGLE_DEPTH_NESTING); in alloc_super()
348 up_write(&s->s_umount); in deactivate_locked_super()
365 down_write(&s->s_umount); in deactivate_super()
389 down_write(&s->s_umount); in grab_super()
394 up_write(&s->s_umount); in grab_super()
418 if (down_read_trylock(&sb->s_umount)) { in trylock_super()
[all …]
H A Dsync.c37 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()
173 down_read(&sb->s_umount); in SYSCALL_DEFINE1()
175 up_read(&sb->s_umount); in SYSCALL_DEFINE1()
H A Dfsopen.c241 up_write(&sb->s_umount); in vfs_fsconfig_locked()
253 down_write(&sb->s_umount); in vfs_fsconfig_locked()
255 up_write(&sb->s_umount); in vfs_fsconfig_locked()
H A Dfs-writeback.c1802 up_read(&sb->s_umount); in __writeback_inodes_wb()
2363 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()
2456 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()
2504 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb()
2508 up_read(&sb->s_umount); in try_to_writeback_inodes_sb()
2540 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
H A Dnamespace.c980 up_write(&fc->root->d_sb->s_umount); in fc_mount()
1540 down_write(&sb->s_umount); in do_umount_root()
1555 up_write(&sb->s_umount); in do_umount_root()
2593 down_write(&sb->s_umount); in do_reconfigure_mnt()
2597 up_write(&sb->s_umount); in do_reconfigure_mnt()
2633 down_write(&sb->s_umount); in do_remount()
2640 up_write(&sb->s_umount); in do_remount()
2834 up_write(&sb->s_umount); in do_new_mount_fc()
3421 down_write(&s->s_umount); in mount_subtree()
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dbudget.c59 down_read(&c->vfs_sb->s_umount); in shrink_liability()
61 up_read(&c->vfs_sb->s_umount); in shrink_liability()
H A Dsuper.c2404 up_write(&s->s_umount); in sget()
2426 up_write(&s->s_umount); in sget()
H A Dubifs.h302 struct rw_semaphore s_umount; member
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Dbudget.c53 down_read(&c->vfs_sb->s_umount); in shrink_liability()
55 up_read(&c->vfs_sb->s_umount); in shrink_liability()
/OK3568_Linux_fs/kernel/fs/cachefiles/
H A Dinterface.c389 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
391 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
/OK3568_Linux_fs/kernel/fs/quota/
H A Ddquot.c598 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_scan_active()
642 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_writeback_dquots()
2206 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_disable()
2207 up_read(&sb->s_umount); in dquot_disable()
2358 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_load_quota_sb()
2359 up_read(&sb->s_umount); in dquot_load_quota_sb()
2453 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_resume()
2454 up_read(&sb->s_umount); in dquot_resume()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dnamespace.c193 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dblock_validity.c290 lockdep_is_held(&sb->s_umount)); in ext4_release_system_zone()
/OK3568_Linux_fs/kernel/fs/overlayfs/
H A Dsuper.c300 down_read(&upper_sb->s_umount); in ovl_sync_fs()
302 up_read(&upper_sb->s_umount); in ovl_sync_fs()
405 down_read(&upper_sb->s_umount); in ovl_remount()
407 up_read(&upper_sb->s_umount); in ovl_remount()
/OK3568_Linux_fs/kernel/fs/crypto/
H A Dkeyring.c951 down_read(&sb->s_umount); in try_to_lock_encrypted_files()
953 up_read(&sb->s_umount); in try_to_lock_encrypted_files()
/OK3568_Linux_fs/kernel/drivers/base/
H A Ddevtmpfs.c65 down_write(&s->s_umount); in public_dev_mount()
/OK3568_Linux_fs/kernel/lib/
H A Dtest_lockup.c538 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
/OK3568_Linux_fs/kernel/fs/ocfs2/
H A Dquota_global.c648 if (down_read_trylock(&sb->s_umount)) { in qsync_work_fn()
650 up_read(&sb->s_umount); in qsync_work_fn()
H A Dquota_local.c600 down_read(&sb->s_umount); in ocfs2_finish_quota_recovery()
677 up_read(&sb->s_umount); in ocfs2_finish_quota_recovery()
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dlocking.rst172 ops s_umount note
194 ->statfs() has s_umount (shared) when called by ustat(2) (native or
195 compat), but that's an accident of bad API; s_umount is used to pin
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dsysfs.c593 if (!down_read_trylock(&sbi->sb->s_umount)) in f2fs_sbi_store()
598 up_read(&sbi->sb->s_umount); in f2fs_sbi_store()
H A Dcheckpoint.c1216 locked = down_read_trylock(&sbi->sb->s_umount); in block_operations()
1219 up_read(&sbi->sb->s_umount); in block_operations()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_super.c564 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes_worker()
566 up_read(&sb->s_umount); in xfs_flush_inodes_worker()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dsuper.c1771 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
1773 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
/OK3568_Linux_fs/kernel/fs/reiserfs/
H A Dsuper.c97 if (!down_read_trylock(&s->s_umount)) { in flush_old_commits()
112 up_read(&s->s_umount); in flush_old_commits()

12