Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dfree-space-cache.c642 spin_lock(&ctl->tree_lock); in merge_space_tree()
656 spin_unlock(&ctl->tree_lock); in merge_space_tree()
662 spin_unlock(&ctl->tree_lock); in merge_space_tree()
764 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
766 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
784 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
787 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
795 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
894 spin_lock(&ctl->tree_lock); in load_free_space_cache()
897 spin_unlock(&ctl->tree_lock); in load_free_space_cache()
[all …]
Dinode-map.c253 spinlock_t *rbroot_lock = &root->free_ino_pinned->tree_lock; in btrfs_unpin_free_ino()
371 spin_lock_init(&ctl->tree_lock); in btrfs_init_free_ino_ctl()
386 spin_lock_init(&pinned->tree_lock); in btrfs_init_free_ino_ctl()
486 spin_lock(&ctl->tree_lock); in btrfs_save_ino_cache()
490 spin_unlock(&ctl->tree_lock); in btrfs_save_ino_cache()
Dfree-space-cache.h19 spinlock_t tree_lock; member
Dextent-tree.c7547 spin_lock(&ctl->tree_lock); in find_free_extent()
7552 spin_unlock(&ctl->tree_lock); in find_free_extent()
7555 spin_unlock(&ctl->tree_lock); in find_free_extent()
/linux-4.19.296/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()
/linux-4.19.296/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