/kernel/linux/linux-5.10/fs/ |
D | super.c | 114 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 …]
|
D | sync.c | 56 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()
|
D | fsopen.c | 241 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()
|
D | fs-writeback.c | 1799 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()
|
D | namespace.c | 981 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/ |
D | server_writeback.c | 27 !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/ |
D | budget.c | 53 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/ |
D | interface.c | 389 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/ |
D | dquot.c | 588 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/ |
D | namespace.c | 193 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | block_validity.c | 288 lockdep_is_held(&sb->s_umount)); in ext4_release_system_zone()
|
D | super.c | 1153 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/ |
D | super.c | 294 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/ |
D | keyring.c | 869 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/ |
D | devtmpfs.c | 65 down_write(&s->s_umount); in public_dev_mount()
|
/kernel/linux/linux-5.10/lib/ |
D | test_lockup.c | 533 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | quota_global.c | 648 if (down_read_trylock(&sb->s_umount)) { in qsync_work_fn() 650 up_read(&sb->s_umount); in qsync_work_fn()
|
D | quota_local.c | 600 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/ |
D | locking.rst | 172 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/ |
D | sysfs.c | 433 if (!down_read_trylock(&sbi->sb->s_umount)) in f2fs_sbi_store() 438 up_read(&sbi->sb->s_umount); in f2fs_sbi_store()
|
D | checkpoint.c | 1196 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/ |
D | xfs_super.c | 562 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/ |
D | super.c | 1746 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/ |
D | super.c | 97 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/ |
D | dir.c | 368 up_write(&sb->s_umount); in fuse_dentry_automount()
|