Lines Matching defs:locks_root
321 struct btrfs_full_stripe_locks_tree *locks_root,
329 lockdep_assert_held(&locks_root->lock);
331 p = &locks_root->root.rb_node;
356 rb_insert_color(&ret->node, &locks_root->root);
367 struct btrfs_full_stripe_locks_tree *locks_root,
373 lockdep_assert_held(&locks_root->lock);
375 node = locks_root->root.rb_node;
427 struct btrfs_full_stripe_locks_tree *locks_root;
442 locks_root = &bg_cache->full_stripe_locks_root;
447 mutex_lock(&locks_root->lock);
448 existing = insert_full_stripe_lock(locks_root, fstripe_start);
449 mutex_unlock(&locks_root->lock);
474 struct btrfs_full_stripe_locks_tree *locks_root;
492 locks_root = &bg_cache->full_stripe_locks_root;
495 mutex_lock(&locks_root->lock);
496 fstripe_lock = search_full_stripe_lock(locks_root, fstripe_start);
501 mutex_unlock(&locks_root->lock);
514 rb_erase(&fstripe_lock->node, &locks_root->root);
517 mutex_unlock(&locks_root->lock);