Searched refs:s_umount (Results 1 – 13 of 13) sorted by relevance
108 up_read(&sb->s_umount); in super_cache_scan()200 init_rwsem(&s->s_umount); in alloc_super()201 lockdep_set_class(&s->s_umount, &type->s_umount_key); in alloc_super()217 down_write_nested(&s->s_umount, SINGLE_DEPTH_NESTING); in alloc_super()299 up_write(&s->s_umount); in deactivate_locked_super()316 down_write(&s->s_umount); in deactivate_super()340 down_write(&s->s_umount); in grab_super()345 up_write(&s->s_umount); in grab_super()369 if (down_read_trylock(&sb->s_umount)) { in trylock_super()373 up_read(&sb->s_umount); in trylock_super()[all …]
55 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()
800 up_read(&sb->s_umount); in __writeback_inodes_wb()1369 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()1440 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in writeback_inodes_sb_nr()1477 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb_nr()1481 up_read(&sb->s_umount); in try_to_writeback_inodes_sb_nr()1523 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
1504 down_write(&sb->s_umount); in do_umount()1507 up_write(&sb->s_umount); in do_umount()2194 down_write(&sb->s_umount); in do_remount()2208 up_write(&sb->s_umount); in do_remount()2878 down_write(&s->s_umount); in mount_subtree()
1444 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()
374 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()376 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
132 s_umount151 ->statfs() has s_umount (shared) when called by ustat(2) (native or152 compat), but that's an accident of bad API; s_umount is used to pin
899 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes()901 up_read(&sb->s_umount); in xfs_flush_inodes()
1290 up_write(&s->s_umount); in gfs2_mount()1292 down_write(&s->s_umount); in gfs2_mount()
2119 down_write(&sb->s_umount); in btrfs_init_new_device()2266 up_write(&sb->s_umount); in btrfs_init_new_device()2299 up_write(&sb->s_umount); in btrfs_init_new_device()
4309 if (down_read_trylock(&sb->s_umount)) { in btrfs_writeback_inodes_sb_nr()4311 up_read(&sb->s_umount); in btrfs_writeback_inodes_sb_nr()
1291 struct rw_semaphore s_umount; member