Lines Matching refs:root_item

1080 	old_root_used = btrfs_root_used(&root->root_item);  in update_cowonly_root()
1083 old_root_bytenr = btrfs_root_bytenr(&root->root_item); in update_cowonly_root()
1085 old_root_used == btrfs_root_used(&root->root_item)) in update_cowonly_root()
1088 btrfs_set_root_node(&root->root_item, root->node); in update_cowonly_root()
1091 &root->root_item); in update_cowonly_root()
1095 old_root_used = btrfs_root_used(&root->root_item); in update_cowonly_root()
1242 btrfs_set_root_node(&root->root_item, in commit_fs_roots()
1248 &root->root_item); in commit_fs_roots()
1419 ASSERT(pending->root_item); in create_pending_snapshot()
1420 new_root_item = pending->root_item; in create_pending_snapshot()
1494 btrfs_set_root_last_snapshot(&root->root_item, trans->transid); in create_pending_snapshot()
1495 memcpy(new_root_item, &root->root_item, sizeof(*new_root_item)); in create_pending_snapshot()
1509 memcpy(new_root_item->parent_uuid, root->root_item.uuid, in create_pending_snapshot()
1650 pending->root_item = NULL; in create_pending_snapshot()
1677 struct btrfs_root_item *root_item; in update_super_roots() local
1682 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1683 super->chunk_root = root_item->bytenr; in update_super_roots()
1684 super->chunk_root_generation = root_item->generation; in update_super_roots()
1685 super->chunk_root_level = root_item->level; in update_super_roots()
1687 root_item = &fs_info->tree_root->root_item; in update_super_roots()
1688 super->root = root_item->bytenr; in update_super_roots()
1689 super->generation = root_item->generation; in update_super_roots()
1690 super->root_level = root_item->level; in update_super_roots()
1692 super->cache_generation = root_item->generation; in update_super_roots()
1694 super->uuid_tree_generation = root_item->generation; in update_super_roots()
2230 btrfs_set_root_node(&fs_info->tree_root->root_item, in btrfs_commit_transaction()
2235 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()