Searched refs:s_umount (Results 1 – 14 of 14) sorted by relevance
108 up_read(&sb->s_umount); in super_cache_scan()215 init_rwsem(&s->s_umount); in alloc_super()216 lockdep_set_class(&s->s_umount, &type->s_umount_key); in alloc_super()232 down_write_nested(&s->s_umount, SINGLE_DEPTH_NESTING); in alloc_super()314 up_write(&s->s_umount); in deactivate_locked_super()331 down_write(&s->s_umount); in deactivate_super()355 down_write(&s->s_umount); in grab_super()360 up_write(&s->s_umount); in grab_super()384 if (down_read_trylock(&sb->s_umount)) { in trylock_super()388 up_read(&sb->s_umount); in trylock_super()[all …]
55 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()164 down_read(&sb->s_umount); in SYSCALL_DEFINE1()166 up_read(&sb->s_umount); in SYSCALL_DEFINE1()
1603 up_read(&sb->s_umount); in __writeback_inodes_wb()2164 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()2232 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()2283 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb_nr()2287 up_read(&sb->s_umount); in try_to_writeback_inodes_sb_nr()2334 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
1515 down_write(&sb->s_umount); in do_umount()1518 up_write(&sb->s_umount); in do_umount()2205 down_write(&sb->s_umount); in do_remount()2219 up_write(&sb->s_umount); in do_remount()2887 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
1291 up_write(&s->s_umount); in gfs2_mount()1293 down_write(&s->s_umount); in gfs2_mount()
899 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes()901 up_read(&sb->s_umount); in xfs_flush_inodes()
1302 down_write(&mnt->mnt_sb->s_umount); in mount_subvol()1304 up_write(&mnt->mnt_sb->s_umount); in mount_subvol()
2264 down_write(&sb->s_umount); in btrfs_init_new_device()2413 up_write(&sb->s_umount); in btrfs_init_new_device()2446 up_write(&sb->s_umount); in btrfs_init_new_device()
4521 if (down_read_trylock(&sb->s_umount)) { in btrfs_writeback_inodes_sb_nr()4523 up_read(&sb->s_umount); in btrfs_writeback_inodes_sb_nr()
1301 struct rw_semaphore s_umount; member