Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
799 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
911 spin_lock(&ctl->tree_lock); in load_free_space_cache()
914 spin_unlock(&ctl->tree_lock); in load_free_space_cache()
1303 spin_lock(&ctl->tree_lock); in __btrfs_write_out_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.c3671 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3678 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3681 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_active.c98 lockdep_assert_held(&ref->tree_lock); in debug_active_activate()
105 lockdep_assert_held(&ref->tree_lock); in debug_active_deactivate()
140 if (!atomic_dec_and_lock_irqsave(&ref->count, &ref->tree_lock, flags)) in __active_retire()
166 spin_unlock_irqrestore(&ref->tree_lock, flags); in __active_retire()
311 spin_lock_irq(&ref->tree_lock); in active_instance()
341 spin_unlock_irq(&ref->tree_lock); in active_instance()
362 spin_lock_init(&ref->tree_lock); in __i915_active_init()
497 spin_lock_irq(&ref->tree_lock); in __active_fence()
499 spin_unlock_irq(&ref->tree_lock); in __active_fence()
528 spin_lock_irq(&ref->tree_lock); /* __active_retire() */ in __i915_active_activate()
[all …]
Di915_active_types.h36 spinlock_t tree_lock; member
/kernel/linux/linux-5.10/fs/hfs/
Dbfind.c32 mutex_lock_nested(&tree->tree_lock, CATALOG_BTREE_MUTEX); in hfs_find_init()
35 mutex_lock_nested(&tree->tree_lock, EXTENTS_BTREE_MUTEX); in hfs_find_init()
38 mutex_lock_nested(&tree->tree_lock, ATTR_BTREE_MUTEX); in hfs_find_init()
52 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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/md/
Draid5-cache.c153 spinlock_t tree_lock; member
2700 spin_lock(&log->tree_lock); in r5c_try_caching_write()
2705 pslot, &log->tree_lock) >> in r5c_try_caching_write()
2719 spin_unlock(&log->tree_lock); in r5c_try_caching_write()
2724 spin_unlock(&log->tree_lock); in r5c_try_caching_write()
2855 spin_lock(&log->tree_lock); in r5c_finish_stripe_write_out()
2860 pslot, &log->tree_lock) >> in r5c_finish_stripe_write_out()
2868 spin_unlock(&log->tree_lock); in r5c_finish_stripe_write_out()
3129 spin_lock_init(&log->tree_lock); in r5l_init_log()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_active.c347 spin_unlock_wait(&ref->tree_lock); in i915_active_unlock_wait()
/kernel/linux/linux-5.10/fs/hmdfs/
Dstash.c385 spin_lock_irq(&mapping->tree_lock); in hmdfs_is_mapping_clean()
392 spin_unlock_irq(&mapping->tree_lock); in hmdfs_is_mapping_clean()