Searched refs:locks_root (Results 1 – 2 of 2) sorted by relevance
321 struct btrfs_full_stripe_locks_tree *locks_root, in insert_full_stripe_lock() argument329 lockdep_assert_held(&locks_root->lock); in insert_full_stripe_lock()331 p = &locks_root->root.rb_node; in insert_full_stripe_lock()356 rb_insert_color(&ret->node, &locks_root->root); in insert_full_stripe_lock()367 struct btrfs_full_stripe_locks_tree *locks_root, in search_full_stripe_lock() argument373 lockdep_assert_held(&locks_root->lock); in search_full_stripe_lock()375 node = locks_root->root.rb_node; in search_full_stripe_lock()427 struct btrfs_full_stripe_locks_tree *locks_root; in lock_full_stripe() local442 locks_root = &bg_cache->full_stripe_locks_root; in lock_full_stripe()447 mutex_lock(&locks_root->lock); in lock_full_stripe()[all …]
3548 struct btrfs_full_stripe_locks_tree *locks_root) in btrfs_init_full_stripe_locks_tree() argument3550 locks_root->root = RB_ROOT; in btrfs_init_full_stripe_locks_tree()3551 mutex_init(&locks_root->lock); in btrfs_init_full_stripe_locks_tree()