| /linux/fs/ |
| H A D | super.c | 58 down_write(&sb->s_umount); in __super_lock() 60 down_read(&sb->s_umount); in __super_lock() 66 up_write(&sb->s_umount); in super_unlock() 68 up_read(&sb->s_umount); in super_unlock() 113 lockdep_assert_not_held(&sb->s_umount); in super_lock() 328 init_rwsem(&s->s_umount); in alloc_super() 329 lockdep_set_class(&s->s_umount, &type->s_umount_key); in alloc_super() 345 down_write_nested(&s->s_umount, SINGLE_DEPTH_NESTING); in alloc_super() 434 lockdep_assert_not_held(&sb->s_umount); in kill_super_notify() 565 if (down_read_trylock(&sb->s_umount)) { in super_trylock_shared() [all …]
|
| H A D | sync.c | 38 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem() 158 down_read(&sb->s_umount); in SYSCALL_DEFINE1() 160 up_read(&sb->s_umount); in SYSCALL_DEFINE1()
|
| H A D | fsopen.c | 246 up_write(&sb->s_umount); in vfs_cmd_create() 267 down_write(&sb->s_umount); in vfs_cmd_reconfigure() 269 up_write(&sb->s_umount); in vfs_cmd_reconfigure()
|
| H A D | fs-writeback.c | 2131 up_read(&sb->s_umount); in __writeback_inodes_wb() 2749 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes() 2842 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr() 2890 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb() 2894 up_read(&sb->s_umount); in try_to_writeback_inodes_sb() 2937 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
|
| H A D | namespace.c | 1195 up_write(&fc->root->d_sb->s_umount); in fc_mount() 1846 down_write(&sb->s_umount); in do_umount_root() 1861 up_write(&sb->s_umount); in do_umount_root() 3341 down_read(&sb->s_umount); in do_reconfigure_mnt() 3347 up_read(&sb->s_umount); in do_reconfigure_mnt() 3388 down_write(&sb->s_umount); in do_remount() 3398 up_write(&sb->s_umount); in do_remount() 4332 down_write(&s->s_umount); in mount_subtree()
|
| H A D | dcache.c | 1667 rwsem_assert_held_write(&sb->s_umount); in shrink_dcache_for_umount()
|
| /linux/fs/cachefiles/ |
| H A D | cache.c | 395 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache() 397 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
|
| /linux/fs/ubifs/ |
| H A 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()
|
| /linux/fs/notify/ |
| H A D | fdinfo.c | 54 up_read(&inode->i_sb->s_umount); in show_mark_fhandle()
|
| /linux/include/linux/fs/ |
| H A D | super_types.h | 147 struct rw_semaphore s_umount; member
|
| /linux/fs/nfs/ |
| H A D | namespace.c | 208 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
|
| /linux/fs/ext4/ |
| H A D | block_validity.c | 288 lockdep_is_held(&sb->s_umount)); in ext4_release_system_zone()
|
| H A D | orphan.c | 316 lockdep_is_held(&sb->s_umount)), in ext4_quota_on_mount()
|
| H A D | mballoc-test.c | 162 up_write(&sb->s_umount); in mbt_ext4_alloc_super_block()
|
| H A D | super.c | 1201 lockdep_is_held(&sb->s_umount)); in get_qf_name() 2578 lockdep_is_held(&sb->s_umount)); in ext4_apply_quota_options() 3854 if (down_read_trylock(&elr->lr_super->s_umount)) { in ext4_lazyinit_thread() 3868 up_read((&elr->lr_super->s_umount)); in ext4_lazyinit_thread()
|
| /linux/fs/crypto/ |
| H A D | keyring.c | 1022 down_read(&sb->s_umount); in try_to_lock_encrypted_files() 1024 up_read(&sb->s_umount); in try_to_lock_encrypted_files()
|
| /linux/fs/overlayfs/ |
| H A D | params.c | 773 down_read(&upper_sb->s_umount); in ovl_reconfigure() 775 up_read(&upper_sb->s_umount); in ovl_reconfigure()
|
| H A D | super.c | 261 down_read(&upper_sb->s_umount); in ovl_sync_fs() 263 up_read(&upper_sb->s_umount); in ovl_sync_fs()
|
| /linux/fs/quota/ |
| H A D | dquot.c | 636 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_scan_active() 692 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_writeback_dquots() 2250 rwsem_assert_held_write(&sb->s_umount); in dquot_disable() 2414 lockdep_assert_held_write(&sb->s_umount); in dquot_load_quota_sb() 2513 rwsem_assert_held_write(&sb->s_umount); in dquot_resume()
|
| /linux/lib/ |
| H A D | test_lockup.c | 554 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
|
| /linux/Documentation/filesystems/ |
| H A D | locking.rst | 192 ops s_umount note 212 ->statfs() has s_umount (shared) when called by ustat(2) (native or 213 compat), but that's an accident of bad API; s_umount is used to pin
|
| /linux/drivers/block/ |
| H A D | zloop.c | 553 down_read(&sb->s_umount); in zloop_flush() 555 up_read(&sb->s_umount); in zloop_flush()
|
| /linux/fs/xfs/ |
| H A D | xfs_super.c | 666 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes_worker() 668 up_read(&sb->s_umount); in xfs_flush_inodes_worker()
|
| /linux/fs/btrfs/ |
| H A D | super.c | 2092 up_write(&dup_fc->root->d_sb->s_umount); in btrfs_get_tree_subvol()
|
| H A D | volumes.c | 2837 down_write(&sb->s_umount); in btrfs_init_new_device() 2981 up_write(&sb->s_umount); in btrfs_init_new_device() 3045 up_write(&sb->s_umount); in btrfs_init_new_device()
|