Searched refs:s_umount (Results 1 – 20 of 20) sorted by relevance
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 …]
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()
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()
2133 up_read(&sb->s_umount); in __writeback_inodes_wb()2751 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()2844 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()2892 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb()2896 up_read(&sb->s_umount); in try_to_writeback_inodes_sb()2939 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
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()3350 down_read(&sb->s_umount); in do_reconfigure_mnt()3356 up_read(&sb->s_umount); in do_reconfigure_mnt()3397 down_write(&sb->s_umount); in do_remount()3407 up_write(&sb->s_umount); in do_remount()4354 down_write(&s->s_umount); in mount_subtree()
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()
53 down_read(&c->vfs_sb->s_umount); in shrink_liability()55 up_read(&c->vfs_sb->s_umount); in shrink_liability()
147 struct rw_semaphore s_umount; member
208 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
288 lockdep_is_held(&sb->s_umount)); in ext4_release_system_zone()
322 up_write(&sb->s_umount); in extents_kunit_init()
162 up_write(&sb->s_umount); in mbt_ext4_alloc_super_block()
1207 lockdep_is_held(&sb->s_umount)); in get_qf_name()2586 lockdep_is_held(&sb->s_umount)); in ext4_apply_quota_options()3862 if (down_read_trylock(&elr->lr_super->s_umount)) { in ext4_lazyinit_thread()3876 up_read((&elr->lr_super->s_umount)); in ext4_lazyinit_thread()
773 down_read(&upper_sb->s_umount); in ovl_reconfigure()775 up_read(&upper_sb->s_umount); in ovl_reconfigure()
261 down_read(&upper_sb->s_umount); in ovl_sync_fs()263 up_read(&upper_sb->s_umount); in ovl_sync_fs()
1173 if (down_read_trylock(&sb->s_umount)) { in xfs_zone_gc_wakeup()1176 up_read(&sb->s_umount); in xfs_zone_gc_wakeup()
666 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes_worker()668 up_read(&sb->s_umount); in xfs_flush_inodes_worker()
554 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
737 down_read(&sb->s_umount); in zloop_flush()739 up_read(&sb->s_umount); in zloop_flush()
2840 down_write(&sb->s_umount); in btrfs_init_new_device()2986 up_write(&sb->s_umount); in btrfs_init_new_device()3051 up_write(&sb->s_umount); in btrfs_init_new_device()