Lines Matching defs:root
516 * way up to the root.
541 * Loop around taking references on and locking the root node of the tree until
542 * we end up with a lock on the root node.
544 * Return: root extent buffer with write lock held
546 struct extent_buffer *btrfs_lock_root_node(struct btrfs_root *root)
551 eb = btrfs_root_node(root);
553 if (eb == root->node)
562 * Loop around taking references on and locking the root node of the tree until
563 * we end up with a lock on the root node.
565 * Return: root extent buffer with read lock held
567 struct extent_buffer *__btrfs_read_lock_root_node(struct btrfs_root *root,
573 eb = btrfs_root_node(root);
575 if (eb == root->node)