/openbmc/linux/fs/jfs/ |
H A D | jfs_discard.c | 86 down_read(&sb->s_umount); in jfs_ioc_trim() 92 up_read(&sb->s_umount); in jfs_ioc_trim() 109 up_read(&sb->s_umount); in jfs_ioc_trim()
|
/openbmc/linux/fs/ |
H A D | super.c | 56 down_write(&sb->s_umount); in __super_lock() 58 down_read(&sb->s_umount); in __super_lock() 64 up_write(&sb->s_umount); in super_unlock() 66 up_read(&sb->s_umount); in super_unlock() 114 lockdep_assert_not_held(&sb->s_umount); in super_lock() 335 init_rwsem(&s->s_umount); in alloc_super() 336 lockdep_set_class(&s->s_umount, &type->s_umount_key); in alloc_super() 352 down_write_nested(&s->s_umount, SINGLE_DEPTH_NESTING); in alloc_super() 439 lockdep_assert_not_held(&sb->s_umount); in kill_super_notify() 579 lockdep_assert_held(&sb->s_umount); in grab_super_dead() [all …]
|
H A D | sync.c | 38 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem() 159 down_read(&sb->s_umount); in SYSCALL_DEFINE1() 161 up_read(&sb->s_umount); in SYSCALL_DEFINE1()
|
H A D | fsopen.c | 245 up_write(&sb->s_umount); in vfs_cmd_create() 266 down_write(&sb->s_umount); in vfs_cmd_reconfigure() 268 up_write(&sb->s_umount); in vfs_cmd_reconfigure()
|
H A D | fs-writeback.c | 1988 up_read(&sb->s_umount); in __writeback_inodes_wb() 2579 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes() 2672 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr() 2720 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb() 2724 up_read(&sb->s_umount); in try_to_writeback_inodes_sb() 2756 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
|
H A D | namespace.c | 1114 up_write(&fc->root->d_sb->s_umount); in fc_mount() 1688 down_write(&sb->s_umount); in do_umount_root() 1703 up_write(&sb->s_umount); in do_umount_root() 2845 down_read(&sb->s_umount); in do_reconfigure_mnt() 2851 up_read(&sb->s_umount); in do_reconfigure_mnt() 2892 down_write(&sb->s_umount); in do_remount() 2902 up_write(&sb->s_umount); in do_remount() 3283 up_write(&sb->s_umount); in do_new_mount_fc() 3874 down_write(&s->s_umount); in mount_subtree()
|
/openbmc/linux/fs/quota/ |
H A D | quota.c | 895 up_write(&sb->s_umount); in quotactl_block() 897 up_read(&sb->s_umount); in quotactl_block() 998 down_write(&sb->s_umount); in SYSCALL_DEFINE4() 1000 down_read(&sb->s_umount); in SYSCALL_DEFINE4() 1005 up_write(&sb->s_umount); in SYSCALL_DEFINE4() 1007 up_read(&sb->s_umount); in SYSCALL_DEFINE4()
|
H A D | dquot.c | 635 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_scan_active() 691 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_writeback_dquots() 2257 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_disable() 2258 up_read(&sb->s_umount); in dquot_disable() 2422 lockdep_assert_held_write(&sb->s_umount); in dquot_load_quota_sb() 2520 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_resume() 2521 up_read(&sb->s_umount); in dquot_resume()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | budget.c | 58 down_read(&c->vfs_sb->s_umount); in shrink_liability() 60 up_read(&c->vfs_sb->s_umount); in shrink_liability()
|
/openbmc/linux/fs/gfs2/ |
H A D | glops.c | 584 if (down_read_trylock(&sb->s_umount)) { in freeze_go_callback() 586 up_read(&sb->s_umount); in freeze_go_callback()
|
/openbmc/linux/fs/overlayfs/ |
H A D | params.c | 657 down_read(&upper_sb->s_umount); in ovl_reconfigure() 659 up_read(&upper_sb->s_umount); in ovl_reconfigure()
|
H A D | super.c | 231 down_read(&upper_sb->s_umount); in ovl_sync_fs() 233 up_read(&upper_sb->s_umount); in ovl_sync_fs()
|
/openbmc/linux/fs/nfs/ |
H A D | namespace.c | 193 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
|
/openbmc/linux/fs/ext4/ |
H A D | block_validity.c | 288 lockdep_is_held(&sb->s_umount)); in ext4_release_system_zone()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_super.c | 443 up_write(&sb->s_umount); in xfs_open_devices() 491 down_write(&sb->s_umount); in xfs_open_devices() 616 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes_worker() 618 up_read(&sb->s_umount); in xfs_flush_inodes_worker()
|
/openbmc/linux/fs/crypto/ |
H A D | keyring.c | 953 down_read(&sb->s_umount); in try_to_lock_encrypted_files() 955 up_read(&sb->s_umount); in try_to_lock_encrypted_files()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | porting.rst | 966 Since opening block devices cannot happen under s_umount because of lock 967 ordering requirements s_umount is now dropped while opening block devices and 972 would hold s_umount they would wait until the superblock became either born or 975 Since the new logic drops s_umount concurrent mounters could grab s_umount and 977 mechanism without having to hold s_umount.
|
H A D | locking.rst | 185 ops s_umount note 206 ->statfs() has s_umount (shared) when called by ustat(2) (native or 207 compat), but that's an accident of bad API; s_umount is used to pin
|
/openbmc/linux/drivers/base/ |
H A D | devtmpfs.c | 73 down_write(&s->s_umount); in public_dev_mount()
|
/openbmc/linux/lib/ |
H A D | test_lockup.c | 554 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
|
/openbmc/linux/fs/ocfs2/ |
H A 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()
|
H A 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()
|
/openbmc/linux/fs/nilfs2/ |
H A D | super.c | 1323 up_write(&s->s_umount); in nilfs_mount() 1325 down_write(&s->s_umount); in nilfs_mount()
|