Home
last modified time | relevance | path

Searched refs:locks_root (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dscrub.c318 struct btrfs_full_stripe_locks_tree *locks_root, in insert_full_stripe_lock() argument
327 lockdep_assert_held(&locks_root->lock); in insert_full_stripe_lock()
329 p = &locks_root->root.rb_node; in insert_full_stripe_lock()
361 rb_insert_color(&ret->node, &locks_root->root); in insert_full_stripe_lock()
372 struct btrfs_full_stripe_locks_tree *locks_root, in search_full_stripe_lock() argument
378 lockdep_assert_held(&locks_root->lock); in search_full_stripe_lock()
380 node = locks_root->root.rb_node; in search_full_stripe_lock()
433 struct btrfs_full_stripe_locks_tree *locks_root; in lock_full_stripe() local
448 locks_root = &bg_cache->full_stripe_locks_root; in lock_full_stripe()
453 mutex_lock(&locks_root->lock); in lock_full_stripe()
[all …]
Dctree.h3693 struct btrfs_full_stripe_locks_tree *locks_root) in btrfs_init_full_stripe_locks_tree() argument
3695 locks_root->root = RB_ROOT; in btrfs_init_full_stripe_locks_tree()
3696 mutex_init(&locks_root->lock); in btrfs_init_full_stripe_locks_tree()