Home
last modified time | relevance | path

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

/linux/fs/
H A Dsuper.c58 down_write(&sb->s_umount); in __super_lock()
60 down_read(&sb->s_umount); in __super_lock()
66 up_write(&sb->s_umount); in super_unlock()
68 up_read(&sb->s_umount); in super_unlock()
113 lockdep_assert_not_held(&sb->s_umount); in super_lock()
328 init_rwsem(&s->s_umount); in alloc_super()
329 lockdep_set_class(&s->s_umount, &type->s_umount_key); in alloc_super()
345 down_write_nested(&s->s_umount, SINGLE_DEPTH_NESTING); in alloc_super()
434 lockdep_assert_not_held(&sb->s_umount); in kill_super_notify()
565 if (down_read_trylock(&sb->s_umount)) { in super_trylock_shared()
[all …]
H A Dsync.c38 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()
158 down_read(&sb->s_umount); in SYSCALL_DEFINE1()
160 up_read(&sb->s_umount); in SYSCALL_DEFINE1()
H A Dfsopen.c246 up_write(&sb->s_umount); in vfs_cmd_create()
267 down_write(&sb->s_umount); in vfs_cmd_reconfigure()
269 up_write(&sb->s_umount); in vfs_cmd_reconfigure()
H A Dfs-writeback.c2133 up_read(&sb->s_umount); in __writeback_inodes_wb()
2751 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()
2844 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()
2892 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb()
2896 up_read(&sb->s_umount); in try_to_writeback_inodes_sb()
2939 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_inodes_sb()
H A Dnamespace.c1195 up_write(&fc->root->d_sb->s_umount); in fc_mount()
1846 down_write(&sb->s_umount); in do_umount_root()
1861 up_write(&sb->s_umount); in do_umount_root()
3350 down_read(&sb->s_umount); in do_reconfigure_mnt()
3356 up_read(&sb->s_umount); in do_reconfigure_mnt()
3397 down_write(&sb->s_umount); in do_remount()
3407 up_write(&sb->s_umount); in do_remount()
4354 down_write(&s->s_umount); in mount_subtree()
/linux/fs/cachefiles/
H A Dcache.c395 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
397 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
/linux/fs/ubifs/
H A Dbudget.c53 down_read(&c->vfs_sb->s_umount); in shrink_liability()
55 up_read(&c->vfs_sb->s_umount); in shrink_liability()
/linux/include/linux/fs/
H A Dsuper_types.h147 struct rw_semaphore s_umount; member
/linux/fs/nfs/
H A Dnamespace.c208 up_write(&fc->root->d_sb->s_umount); in nfs_d_automount()
/linux/fs/ext4/
H A Dblock_validity.c288 lockdep_is_held(&sb->s_umount)); in ext4_release_system_zone()
H A Dextents-test.c322 up_write(&sb->s_umount); in extents_kunit_init()
H A Dmballoc-test.c162 up_write(&sb->s_umount); in mbt_ext4_alloc_super_block()
H A Dsuper.c1207 lockdep_is_held(&sb->s_umount)); in get_qf_name()
2586 lockdep_is_held(&sb->s_umount)); in ext4_apply_quota_options()
3862 if (down_read_trylock(&elr->lr_super->s_umount)) { in ext4_lazyinit_thread()
3876 up_read((&elr->lr_super->s_umount)); in ext4_lazyinit_thread()
/linux/fs/overlayfs/
H A Dparams.c773 down_read(&upper_sb->s_umount); in ovl_reconfigure()
775 up_read(&upper_sb->s_umount); in ovl_reconfigure()
H A Dsuper.c261 down_read(&upper_sb->s_umount); in ovl_sync_fs()
263 up_read(&upper_sb->s_umount); in ovl_sync_fs()
/linux/fs/xfs/
H A Dxfs_zone_gc.c1173 if (down_read_trylock(&sb->s_umount)) { in xfs_zone_gc_wakeup()
1176 up_read(&sb->s_umount); in xfs_zone_gc_wakeup()
H A Dxfs_super.c666 if (down_read_trylock(&sb->s_umount)) { in xfs_flush_inodes_worker()
668 up_read(&sb->s_umount); in xfs_flush_inodes_worker()
/linux/lib/
H A Dtest_lockup.c554 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
/linux/drivers/block/
H A Dzloop.c737 down_read(&sb->s_umount); in zloop_flush()
739 up_read(&sb->s_umount); in zloop_flush()
/linux/fs/btrfs/
H A Dvolumes.c2840 down_write(&sb->s_umount); in btrfs_init_new_device()
2986 up_write(&sb->s_umount); in btrfs_init_new_device()
3051 up_write(&sb->s_umount); in btrfs_init_new_device()