Searched refs:s_umount (Results 1 – 25 of 27) sorted by relevance
12
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 …]
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()
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()
1791 up_read(&sb->s_umount); in __writeback_inodes_wb()2377 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()2470 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()2518 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb()2522 up_read(&sb->s_umount); in try_to_writeback_inodes_sb()2554 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
980 up_write(&fc->root->d_sb->s_umount); in fc_mount()1537 down_write(&sb->s_umount); in do_umount_root()1552 up_write(&sb->s_umount); in do_umount_root()2569 down_write(&sb->s_umount); in do_reconfigure_mnt()2573 up_write(&sb->s_umount); in do_reconfigure_mnt()2609 down_write(&sb->s_umount); in do_remount()2616 up_write(&sb->s_umount); in do_remount()2810 up_write(&sb->s_umount); in do_new_mount_fc()3397 down_write(&s->s_umount); in mount_subtree()
53 down_read(&c->vfs_sb->s_umount); in shrink_liability()55 up_read(&c->vfs_sb->s_umount); in shrink_liability()
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()
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()
290 lockdep_is_held(&sb->s_umount)); in ext4_release_system_zone()
1164 lockdep_is_held(&sb->s_umount)); in get_qf_name()3552 if (down_read_trylock(&elr->lr_super->s_umount)) { in ext4_lazyinit_thread()3566 up_read((&elr->lr_super->s_umount)); in ext4_lazyinit_thread()
193 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
282 down_read(&upper_sb->s_umount); in ovl_sync_fs()284 up_read(&upper_sb->s_umount); in ovl_sync_fs()384 down_read(&upper_sb->s_umount); in ovl_remount()386 up_read(&upper_sb->s_umount); in ovl_remount()
869 down_read(&sb->s_umount); in try_to_lock_encrypted_files()871 up_read(&sb->s_umount); in try_to_lock_encrypted_files()
63 down_write(&s->s_umount); in public_dev_mount()
533 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
424 if (!down_read_trylock(&sbi->sb->s_umount)) in f2fs_sbi_store()429 up_read(&sbi->sb->s_umount); in f2fs_sbi_store()
1195 locked = down_read_trylock(&sbi->sb->s_umount); in block_operations()1198 up_read(&sbi->sb->s_umount); in block_operations()
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()
172 ops s_umount note194 ->statfs() has s_umount (shared) when called by ustat(2) (native or195 compat), but that's an accident of bad API; s_umount is used to pin
562 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes_worker()564 up_read(&sb->s_umount); in xfs_flush_inodes_worker()
1746 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()1748 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
2512 down_write(&sb->s_umount); in btrfs_init_new_device()2649 up_write(&sb->s_umount); in btrfs_init_new_device()2713 up_write(&sb->s_umount); in btrfs_init_new_device()
97 if (!down_read_trylock(&s->s_umount)) { in flush_old_commits()112 up_read(&s->s_umount); in flush_old_commits()
349 up_write(&sb->s_umount); in fuse_dentry_automount()