Home
last modified time | relevance | path

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

/linux-4.1.27/fs/
Dsuper.c108 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 …]
Dsync.c55 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()
Dfs-writeback.c800 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()
Dnamespace.c1504 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()
Ddcache.c1444 WARN(down_read_trylock(&sb->s_umount), "s_umount should've been locked"); in shrink_dcache_for_umount()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/fs/gfs2/
Dops_fstype.c1290 up_write(&s->s_umount); in gfs2_mount()
1292 down_write(&s->s_umount); in gfs2_mount()
/linux-4.1.27/fs/btrfs/
Dvolumes.c2119 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()
Dextent-tree.c4309 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()
/linux-4.1.27/include/linux/
Dfs.h1291 struct rw_semaphore s_umount; member