Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/
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 …]
Dsync.c56 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()
171 down_read(&sb->s_umount); in SYSCALL_DEFINE1()
173 up_read(&sb->s_umount); in SYSCALL_DEFINE1()
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()
Dfs-writeback.c1799 up_read(&sb->s_umount); in __writeback_inodes_wb()
2356 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()
2449 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()
2497 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb()
2501 up_read(&sb->s_umount); in try_to_writeback_inodes_sb()
2533 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
Dnamespace.c981 up_write(&fc->root->d_sb->s_umount); in fc_mount()
1541 down_write(&sb->s_umount); in do_umount_root()
1556 up_write(&sb->s_umount); in do_umount_root()
2594 down_write(&sb->s_umount); in do_reconfigure_mnt()
2598 up_write(&sb->s_umount); in do_reconfigure_mnt()
2634 down_write(&sb->s_umount); in do_remount()
2641 up_write(&sb->s_umount); in do_remount()
2835 up_write(&sb->s_umount); in do_new_mount_fc()
3422 down_write(&s->s_umount); in mount_subtree()
/kernel/linux/linux-5.10/fs/hmdfs/
Dserver_writeback.c27 !down_read_trylock(&lower_sb->s_umount)) in hmdfs_srv_wb_handler()
32 up_read(&lower_sb->s_umount); in hmdfs_srv_wb_handler()
/kernel/linux/linux-5.10/fs/ubifs/
Dbudget.c53 down_read(&c->vfs_sb->s_umount); in shrink_liability()
55 up_read(&c->vfs_sb->s_umount); in shrink_liability()
/kernel/linux/linux-5.10/fs/cachefiles/
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()
/kernel/linux/linux-5.10/fs/quota/
Ddquot.c588 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_scan_active()
632 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_writeback_dquots()
2191 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_disable()
2192 up_read(&sb->s_umount); in dquot_disable()
2343 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_load_quota_sb()
2344 up_read(&sb->s_umount); in dquot_load_quota_sb()
2438 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_resume()
2439 up_read(&sb->s_umount); in dquot_resume()
/kernel/linux/linux-5.10/fs/nfs/
Dnamespace.c193 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
/kernel/linux/linux-5.10/fs/ext4/
Dblock_validity.c288 lockdep_is_held(&sb->s_umount)); in ext4_release_system_zone()
Dsuper.c1153 lockdep_is_held(&sb->s_umount)); in get_qf_name()
3531 if (down_read_trylock(&elr->lr_super->s_umount)) { in ext4_lazyinit_thread()
3545 up_read((&elr->lr_super->s_umount)); in ext4_lazyinit_thread()
/kernel/linux/linux-5.10/fs/overlayfs/
Dsuper.c294 down_read(&upper_sb->s_umount); in ovl_sync_fs()
296 up_read(&upper_sb->s_umount); in ovl_sync_fs()
396 down_read(&upper_sb->s_umount); in ovl_remount()
398 up_read(&upper_sb->s_umount); in ovl_remount()
/kernel/linux/linux-5.10/fs/crypto/
Dkeyring.c869 down_read(&sb->s_umount); in try_to_lock_encrypted_files()
871 up_read(&sb->s_umount); in try_to_lock_encrypted_files()
/kernel/linux/linux-5.10/drivers/base/
Ddevtmpfs.c65 down_write(&s->s_umount); in public_dev_mount()
/kernel/linux/linux-5.10/lib/
Dtest_lockup.c533 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
/kernel/linux/linux-5.10/fs/ocfs2/
Dquota_global.c648 if (down_read_trylock(&sb->s_umount)) { in qsync_work_fn()
650 up_read(&sb->s_umount); in qsync_work_fn()
Dquota_local.c600 down_read(&sb->s_umount); in ocfs2_finish_quota_recovery()
677 up_read(&sb->s_umount); in ocfs2_finish_quota_recovery()
/kernel/linux/linux-5.10/Documentation/filesystems/
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
/kernel/linux/linux-5.10/fs/f2fs/
Dsysfs.c433 if (!down_read_trylock(&sbi->sb->s_umount)) in f2fs_sbi_store()
438 up_read(&sbi->sb->s_umount); in f2fs_sbi_store()
Dcheckpoint.c1196 locked = down_read_trylock(&sbi->sb->s_umount); in block_operations()
1199 up_read(&sbi->sb->s_umount); in block_operations()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_super.c562 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes_worker()
564 up_read(&sb->s_umount); in xfs_flush_inodes_worker()
/kernel/linux/linux-5.10/fs/btrfs/
Dsuper.c1746 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
1748 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
/kernel/linux/linux-5.10/fs/reiserfs/
Dsuper.c97 if (!down_read_trylock(&s->s_umount)) { in flush_old_commits()
112 up_read(&s->s_umount); in flush_old_commits()
/kernel/linux/linux-5.10/fs/fuse/
Ddir.c368 up_write(&sb->s_umount); in fuse_dentry_automount()

12