Searched refs:s_umount (Results 1 – 21 of 21) sorted by relevance
111 up_read(&sb->s_umount); in super_cache_scan()177 up_write(&s->s_umount); in destroy_unused_super()209 init_rwsem(&s->s_umount); in alloc_super()210 lockdep_set_class(&s->s_umount, &type->s_umount_key); in alloc_super()226 down_write_nested(&s->s_umount, SINGLE_DEPTH_NESTING); in alloc_super()342 up_write(&s->s_umount); in deactivate_locked_super()359 down_write(&s->s_umount); in deactivate_super()383 down_write(&s->s_umount); in grab_super()388 up_write(&s->s_umount); in grab_super()412 if (down_read_trylock(&sb->s_umount)) { in trylock_super()[all …]
56 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()170 down_read(&sb->s_umount); in SYSCALL_DEFINE1()172 up_read(&sb->s_umount); in SYSCALL_DEFINE1()
1657 up_read(&sb->s_umount); in __writeback_inodes_wb()2244 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()2337 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()2385 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb()2389 up_read(&sb->s_umount); in try_to_writeback_inodes_sb()2421 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
1534 down_write(&sb->s_umount); in do_umount()1537 up_write(&sb->s_umount); in do_umount()2272 down_write(&sb->s_umount); in do_remount()2286 up_write(&sb->s_umount); in do_remount()2974 down_write(&s->s_umount); in mount_subtree()
1539 WARN(down_read_trylock(&sb->s_umount), "s_umount should've been locked"); in shrink_dcache_for_umount()
65 down_read(&c->vfs_sb->s_umount); in shrink_liability()67 up_read(&c->vfs_sb->s_umount); in shrink_liability()
393 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()395 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
581 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_scan_active()626 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_writeback_dquots()2167 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_disable()2168 up_read(&sb->s_umount); in dquot_disable()2412 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_resume()2413 up_read(&sb->s_umount); in dquot_resume()2469 if (WARN_ON_ONCE(down_read_trylock(&sb->s_umount))) in dquot_enable()2470 up_read(&sb->s_umount); in dquot_enable()
292 if (!down_read_trylock(&sbi->sb->s_umount)) in f2fs_sbi_store()297 up_read(&sbi->sb->s_umount); in f2fs_sbi_store()
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()
140 s_umount159 ->statfs() has s_umount (shared) when called by ustat(2) (native or160 compat), but that's an accident of bad API; s_umount is used to pin
274 down_read(&upper_sb->s_umount); in ovl_sync_fs()276 up_read(&upper_sb->s_umount); in ovl_sync_fs()
1273 up_write(&s->s_umount); in gfs2_mount()1275 down_write(&s->s_umount); in gfs2_mount()
921 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes()923 up_read(&sb->s_umount); in xfs_flush_inodes()
1683 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()1685 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
2340 down_write(&sb->s_umount); in btrfs_init_new_device()2481 up_write(&sb->s_umount); in btrfs_init_new_device()2535 up_write(&sb->s_umount); in btrfs_init_new_device()
4633 if (down_read_trylock(&sb->s_umount)) { in btrfs_writeback_inodes_sb_nr()4635 up_read(&sb->s_umount); in btrfs_writeback_inodes_sb_nr()
97 if (!down_read_trylock(&s->s_umount)) { in flush_old_commits()112 up_read(&s->s_umount); in flush_old_commits()
3044 if (down_read_trylock(&elr->lr_super->s_umount)) { in ext4_lazyinit_thread()3058 up_read((&elr->lr_super->s_umount)); in ext4_lazyinit_thread()
1375 struct rw_semaphore s_umount; member