Searched refs:s_umount (Results 1 – 25 of 33) sorted by relevance
12
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 …]
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()
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()
1971 up_read(&sb->s_umount); in __writeback_inodes_wb()2559 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()2652 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()2700 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb()2704 up_read(&sb->s_umount); in try_to_writeback_inodes_sb()2736 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
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()2837 down_read(&sb->s_umount); in do_reconfigure_mnt()2843 up_read(&sb->s_umount); in do_reconfigure_mnt()2879 down_write(&sb->s_umount); in do_remount()2889 up_write(&sb->s_umount); in do_remount()3270 up_write(&sb->s_umount); in do_new_mount_fc()3855 down_write(&s->s_umount); in mount_subtree()
351 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()353 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
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()
633 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_scan_active()689 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_writeback_dquots()2229 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_disable()2230 up_read(&sb->s_umount); in dquot_disable()2380 lockdep_assert_held_write(&sb->s_umount); in dquot_load_quota_sb()2478 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_resume()2479 up_read(&sb->s_umount); in dquot_resume()
53 down_read(&c->vfs_sb->s_umount); in shrink_liability()55 up_read(&c->vfs_sb->s_umount); in shrink_liability()
581 if (down_read_trylock(&sb->s_umount)) { in freeze_go_callback()583 up_read(&sb->s_umount); in freeze_go_callback()
658 down_read(&upper_sb->s_umount); in ovl_reconfigure()660 up_read(&upper_sb->s_umount); in ovl_reconfigure()
231 down_read(&upper_sb->s_umount); in ovl_sync_fs()233 up_read(&upper_sb->s_umount); in ovl_sync_fs()
193 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
288 lockdep_is_held(&sb->s_umount)); in ext4_release_system_zone()
318 lockdep_is_held(&sb->s_umount)), in ext4_quota_on_mount()
953 down_read(&sb->s_umount); in try_to_lock_encrypted_files()955 up_read(&sb->s_umount); in try_to_lock_encrypted_files()
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()
73 down_write(&s->s_umount); in public_dev_mount()
966 Since opening block devices cannot happen under s_umount because of lock967 ordering requirements s_umount is now dropped while opening block devices and972 would hold s_umount they would wait until the superblock became either born or975 Since the new logic drops s_umount concurrent mounters could grab s_umount and977 mechanism without having to hold s_umount.
182 ops s_umount note203 ->statfs() has s_umount (shared) when called by ustat(2) (native or204 compat), but that's an accident of bad API; s_umount is used to pin
554 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
648 if (down_read_trylock(&sb->s_umount)) { in qsync_work_fn()650 up_read(&sb->s_umount); in qsync_work_fn()
600 down_read(&sb->s_umount); in ocfs2_finish_quota_recovery()677 up_read(&sb->s_umount); in ocfs2_finish_quota_recovery()
1323 up_write(&s->s_umount); in nilfs_mount()1325 down_write(&s->s_umount); in nilfs_mount()
751 if (!down_read_trylock(&sbi->sb->s_umount)) in f2fs_sbi_store()756 up_read(&sbi->sb->s_umount); in f2fs_sbi_store()