Home
last modified time | relevance | path

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

/linux-6.1.9/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()
866 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
900 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
902 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
1042 spin_lock(&tmp_ctl.tree_lock); in load_free_space_cache()
1044 spin_unlock(&tmp_ctl.tree_lock); in load_free_space_cache()
1063 spin_lock(&ctl->tree_lock); in load_free_space_cache()
[all …]
Dfree-space-cache.h47 spinlock_t tree_lock; member
Ddiscard.c604 lockdep_assert_held(&ctl->tree_lock); in btrfs_discard_update_discardable()
Dextent-tree.c3656 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3663 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3666 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3861 spin_lock(&ctl->tree_lock); in do_allocation_zoned()
3863 spin_unlock(&ctl->tree_lock); in do_allocation_zoned()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_active.c94 lockdep_assert_held(&ref->tree_lock); in debug_active_activate()
101 lockdep_assert_held(&ref->tree_lock); in debug_active_deactivate()
136 if (!atomic_dec_and_lock_irqsave(&ref->count, &ref->tree_lock, flags)) in __active_retire()
161 spin_unlock_irqrestore(&ref->tree_lock, flags); in __active_retire()
299 spin_lock_irq(&ref->tree_lock); in active_instance()
334 spin_unlock_irq(&ref->tree_lock); in active_instance()
352 spin_lock_init(&ref->tree_lock); in __i915_active_init()
496 spin_lock_irq(&ref->tree_lock); /* __active_retire() */ in __i915_active_activate()
499 spin_unlock_irq(&ref->tree_lock); in __i915_active_activate()
847 spin_lock_irq(&ref->tree_lock); in reuse_idle_barrier()
[all …]
Di915_active_types.h29 spinlock_t tree_lock; member
/linux-6.1.9/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-6.1.9/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
/linux-6.1.9/drivers/md/
Draid5-cache.c153 spinlock_t tree_lock; member
2696 spin_lock(&log->tree_lock); in r5c_try_caching_write()
2701 pslot, &log->tree_lock) >> in r5c_try_caching_write()
2715 spin_unlock(&log->tree_lock); in r5c_try_caching_write()
2720 spin_unlock(&log->tree_lock); in r5c_try_caching_write()
2851 spin_lock(&log->tree_lock); in r5c_finish_stripe_write_out()
2856 pslot, &log->tree_lock) >> in r5c_finish_stripe_write_out()
2864 spin_unlock(&log->tree_lock); in r5c_finish_stripe_write_out()
3123 spin_lock_init(&log->tree_lock); in r5l_init_log()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Di915_active.c348 spin_unlock_wait(&ref->tree_lock); in i915_active_unlock_wait()