Home
last modified time | relevance | path

Searched refs:s_umount (Results 1 – 14 of 14) sorted by relevance

/linux-4.4.14/fs/
Dsuper.c108 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 …]
Dsync.c55 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()
Dfs-writeback.c1603 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()
Dnamespace.c1515 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()
Ddcache.c1444 WARN(down_read_trylock(&sb->s_umount), "s_umount should've been locked"); in shrink_dcache_for_umount()
/linux-4.4.14/fs/ubifs/
Dbudget.c65 down_read(&c->vfs_sb->s_umount); in shrink_liability()
67 up_read(&c->vfs_sb->s_umount); in shrink_liability()
/linux-4.4.14/fs/cachefiles/
Dinterface.c374 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()
/linux-4.4.14/Documentation/filesystems/
DLocking132 s_umount
151 ->statfs() has s_umount (shared) when called by ustat(2) (native or
152 compat), but that's an accident of bad API; s_umount is used to pin
/linux-4.4.14/fs/gfs2/
Dops_fstype.c1291 up_write(&s->s_umount); in gfs2_mount()
1293 down_write(&s->s_umount); in gfs2_mount()
/linux-4.4.14/fs/xfs/
Dxfs_super.c899 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes()
901 up_read(&sb->s_umount); in xfs_flush_inodes()
/linux-4.4.14/fs/btrfs/
Dsuper.c1302 down_write(&mnt->mnt_sb->s_umount); in mount_subvol()
1304 up_write(&mnt->mnt_sb->s_umount); in mount_subvol()
Dvolumes.c2264 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()
Dextent-tree.c4521 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()
/linux-4.4.14/include/linux/
Dfs.h1301 struct rw_semaphore s_umount; member