Home
last modified time | relevance | path

Searched refs:tree_lock (Results 1 – 11 of 11) sorted by relevance

/fs/btrfs/
Dfree-space-cache.c65 cond_resched_lock(&ctl->tree_lock); in __btrfs_remove_free_space_cache()
842 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
844 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
862 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
865 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
873 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
901 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
903 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
1043 spin_lock(&tmp_ctl.tree_lock); in load_free_space_cache()
1045 spin_unlock(&tmp_ctl.tree_lock); in load_free_space_cache()
[all …]
Dfree-space-cache.h47 spinlock_t tree_lock; member
Ddiscard.c634 lockdep_assert_held(&ctl->tree_lock); in btrfs_discard_update_discardable()
Dextent-tree.c3662 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3669 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3672 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3886 spin_lock(&ctl->tree_lock); in do_allocation_zoned()
3888 spin_unlock(&ctl->tree_lock); in do_allocation_zoned()
/fs/hfs/
Dbfind.c30 mutex_lock_nested(&tree->tree_lock, CATALOG_BTREE_MUTEX); in hfs_find_init()
33 mutex_lock_nested(&tree->tree_lock, EXTENTS_BTREE_MUTEX); in hfs_find_init()
36 mutex_lock_nested(&tree->tree_lock, ATTR_BTREE_MUTEX); in hfs_find_init()
50 mutex_unlock(&fd->tree->tree_lock); in hfs_find_exit()
Dbtree.h44 struct mutex tree_lock; member
Dbtree.c31 mutex_init(&tree->tree_lock); in hfs_btree_open()
/fs/hfsplus/
Dbfind.c30 mutex_lock_nested(&tree->tree_lock, CATALOG_BTREE_MUTEX); in hfs_find_init()
33 mutex_lock_nested(&tree->tree_lock, EXTENTS_BTREE_MUTEX); in hfs_find_init()
36 mutex_lock_nested(&tree->tree_lock, ATTR_BTREE_MUTEX); in hfs_find_init()
50 mutex_unlock(&fd->tree->tree_lock); in hfs_find_exit()
Dextents.c346 WARN_ON(mutex_is_locked(&HFSPLUS_SB(sb)->ext_tree->tree_lock)); in hfsplus_free_extents()
429 mutex_unlock(&fd.tree->tree_lock); in hfsplus_free_fork()
433 mutex_lock(&fd.tree->tree_lock); in hfsplus_free_fork()
590 mutex_unlock(&fd.tree->tree_lock); in hfsplus_file_truncate()
595 mutex_lock(&fd.tree->tree_lock); in hfsplus_file_truncate()
605 mutex_unlock(&fd.tree->tree_lock); in hfsplus_file_truncate()
609 mutex_lock(&fd.tree->tree_lock); in hfsplus_file_truncate()
Dbtree.c146 mutex_init(&tree->tree_lock); in hfs_btree_open()
Dhfsplus_fs.h92 struct mutex tree_lock; member