Searched refs:tree_lock (Results 1 – 12 of 12) sorted by relevance
637 spin_lock(&ctl->tree_lock); in merge_space_tree()651 spin_unlock(&ctl->tree_lock); in merge_space_tree()657 spin_unlock(&ctl->tree_lock); in merge_space_tree()756 spin_lock(&ctl->tree_lock); in __load_free_space_cache()758 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()775 spin_lock(&ctl->tree_lock); in __load_free_space_cache()779 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()884 spin_lock(&ctl->tree_lock); in load_free_space_cache()887 spin_unlock(&ctl->tree_lock); in load_free_space_cache()1280 spin_lock(&ctl->tree_lock); in __btrfs_write_out_cache()[all …]
255 spinlock_t *rbroot_lock = &root->free_ino_pinned->tree_lock; in btrfs_unpin_free_ino()373 spin_lock_init(&ctl->tree_lock); in btrfs_init_free_ino_ctl()388 spin_lock_init(&pinned->tree_lock); in btrfs_init_free_ino_ctl()488 spin_lock(&ctl->tree_lock); in btrfs_save_ino_cache()492 spin_unlock(&ctl->tree_lock); in btrfs_save_ino_cache()
19 spinlock_t tree_lock; member
3602 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3609 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()3612 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
30 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()
346 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()603 mutex_unlock(&fd.tree->tree_lock); in hfsplus_file_truncate()615 mutex_lock(&fd.tree->tree_lock); in hfsplus_file_truncate()
146 mutex_init(&tree->tree_lock); in hfs_btree_open()
92 struct mutex tree_lock; member
28 mutex_lock(&tree->tree_lock); in hfs_find_init()38 mutex_unlock(&fd->tree->tree_lock); in hfs_find_exit()
37 struct mutex tree_lock; member
31 mutex_init(&tree->tree_lock); in hfs_btree_open()
153 spinlock_t tree_lock; member2698 spin_lock(&log->tree_lock); in r5c_try_caching_write()2703 pslot, &log->tree_lock) >> in r5c_try_caching_write()2717 spin_unlock(&log->tree_lock); in r5c_try_caching_write()2722 spin_unlock(&log->tree_lock); in r5c_try_caching_write()2853 spin_lock(&log->tree_lock); in r5c_finish_stripe_write_out()2858 pslot, &log->tree_lock) >> in r5c_finish_stripe_write_out()2866 spin_unlock(&log->tree_lock); in r5c_finish_stripe_write_out()3127 spin_lock_init(&log->tree_lock); in r5l_init_log()