Home
last modified time | relevance | path

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

/fs/btrfs/
Dfree-space-cache.c643 spin_lock(&ctl->tree_lock); in merge_space_tree()
657 spin_unlock(&ctl->tree_lock); in merge_space_tree()
663 spin_unlock(&ctl->tree_lock); in merge_space_tree()
775 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
777 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
795 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
798 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
806 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
912 spin_lock(&ctl->tree_lock); in load_free_space_cache()
915 spin_unlock(&ctl->tree_lock); in load_free_space_cache()
[all …]
Dinode-map.c256 spinlock_t *rbroot_lock = &root->free_ino_pinned->tree_lock; in btrfs_unpin_free_ino()
374 spin_lock_init(&ctl->tree_lock); in btrfs_init_free_ino_ctl()
389 spin_lock_init(&pinned->tree_lock); in btrfs_init_free_ino_ctl()
489 spin_lock(&ctl->tree_lock); in btrfs_save_ino_cache()
493 spin_unlock(&ctl->tree_lock); in btrfs_save_ino_cache()
Dfree-space-cache.h46 spinlock_t tree_lock; member
Dextent-tree.c3677 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3684 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3687 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
/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