Home
last modified time | relevance | path

Searched refs:s_umount (Results 1 – 25 of 25) 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.c2131 up_read(&sb->s_umount); in __writeback_inodes_wb()
2749 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in wait_sb_inodes()
2842 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in __writeback_inodes_sb_nr()
2890 if (!down_read_trylock(&sb->s_umount)) in try_to_writeback_inodes_sb()
2894 up_read(&sb->s_umount); in try_to_writeback_inodes_sb()
2937 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()
3341 down_read(&sb->s_umount); in do_reconfigure_mnt()
3347 up_read(&sb->s_umount); in do_reconfigure_mnt()
3388 down_write(&sb->s_umount); in do_remount()
3398 up_write(&sb->s_umount); in do_remount()
4332 down_write(&s->s_umount); in mount_subtree()
H A Ddcache.c1667 rwsem_assert_held_write(&sb->s_umount); in shrink_dcache_for_umount()
/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/fs/notify/
H A Dfdinfo.c54 up_read(&inode->i_sb->s_umount); in show_mark_fhandle()
/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 Dorphan.c316 lockdep_is_held(&sb->s_umount)), in ext4_quota_on_mount()
H A Dmballoc-test.c162 up_write(&sb->s_umount); in mbt_ext4_alloc_super_block()
H A Dsuper.c1201 lockdep_is_held(&sb->s_umount)); in get_qf_name()
2578 lockdep_is_held(&sb->s_umount)); in ext4_apply_quota_options()
3854 if (down_read_trylock(&elr->lr_super->s_umount)) { in ext4_lazyinit_thread()
3868 up_read((&elr->lr_super->s_umount)); in ext4_lazyinit_thread()
/linux/fs/crypto/
H A Dkeyring.c1022 down_read(&sb->s_umount); in try_to_lock_encrypted_files()
1024 up_read(&sb->s_umount); in try_to_lock_encrypted_files()
/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/quota/
H A Ddquot.c636 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_scan_active()
692 WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount)); in dquot_writeback_dquots()
2250 rwsem_assert_held_write(&sb->s_umount); in dquot_disable()
2414 lockdep_assert_held_write(&sb->s_umount); in dquot_load_quota_sb()
2513 rwsem_assert_held_write(&sb->s_umount); in dquot_resume()
/linux/lib/
H A Dtest_lockup.c554 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()
/linux/Documentation/filesystems/
H A Dlocking.rst192 ops s_umount note
212 ->statfs() has s_umount (shared) when called by ustat(2) (native or
213 compat), but that's an accident of bad API; s_umount is used to pin
/linux/drivers/block/
H A Dzloop.c553 down_read(&sb->s_umount); in zloop_flush()
555 up_read(&sb->s_umount); in zloop_flush()
/linux/fs/xfs/
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/fs/btrfs/
H A Dsuper.c2092 up_write(&dup_fc->root->d_sb->s_umount); in btrfs_get_tree_subvol()
H A Dvolumes.c2837 down_write(&sb->s_umount); in btrfs_init_new_device()
2981 up_write(&sb->s_umount); in btrfs_init_new_device()
3045 up_write(&sb->s_umount); in btrfs_init_new_device()