Lines Matching refs:btrfs_root_id

294 		if (btrfs_root_id(root) == BTRFS_EXTENT_TREE_OBJECTID)  in add_root_to_dirty_list()
449 btrfs_root_id(root)); in update_ref_for_cow()
456 if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID || in update_ref_for_cow()
469 btrfs_root_id(root), refs, flags); in update_ref_for_cow()
476 if ((owner == btrfs_root_id(root) || in update_ref_for_cow()
477 btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID) && in update_ref_for_cow()
483 if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID) { in update_ref_for_cow()
497 if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID) in update_ref_for_cow()
506 if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID) in update_ref_for_cow()
568 if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID) { in btrfs_force_cow_block()
574 btrfs_root_id(root), &disk_key, level, in btrfs_force_cow_block()
587 if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID) in btrfs_force_cow_block()
590 btrfs_set_header_owner(cow, btrfs_root_id(root)); in btrfs_force_cow_block()
610 if (btrfs_root_id(root) == BTRFS_TREE_RELOC_OBJECTID || in btrfs_force_cow_block()
622 ret = btrfs_free_tree_block(trans, btrfs_root_id(root), buf, in btrfs_force_cow_block()
650 ret = btrfs_free_tree_block(trans, btrfs_root_id(root), buf, in btrfs_force_cow_block()
693 !(btrfs_root_id(root) != BTRFS_TREE_RELOC_OBJECTID && in should_cow_block()
719 buf->start, btrfs_root_id(root)); in btrfs_cow_block()
734 buf->start, btrfs_root_id(root), trans->transid, in btrfs_cow_block()
994 ret = btrfs_free_tree_block(trans, btrfs_root_id(root), mid, 0, 1); in balance_level()
1068 ret = btrfs_free_tree_block(trans, btrfs_root_id(root), in balance_level()
1103 mid->start, btrfs_root_id(root)); in balance_level()
1130 ret = btrfs_free_tree_block(trans, btrfs_root_id(root), mid, 0, 1); in balance_level()
1531 check.owner_root = btrfs_root_id(root); in read_block_for_search()
2880 c = btrfs_alloc_tree_block(trans, root, 0, btrfs_root_id(root), in insert_new_root()
2903 ret2 = btrfs_free_tree_block(trans, btrfs_root_id(root), c, 0, 1); in insert_new_root()
3028 split = btrfs_alloc_tree_block(trans, root, 0, btrfs_root_id(root), in split_node()
3780 right = btrfs_alloc_tree_block(trans, root, 0, btrfs_root_id(root), in split_leaf()
4474 ret = btrfs_free_tree_block(trans, btrfs_root_id(root), leaf, 0, 1); in btrfs_del_leaf()