Searched refs:new_root_item (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | transaction.c | 1673 struct btrfs_root_item *new_root_item; in create_pending_snapshot() local 1696 new_root_item = pending->root_item; in create_pending_snapshot() 1793 memcpy(new_root_item, &root->root_item, sizeof(*new_root_item)); in create_pending_snapshot() 1794 btrfs_check_and_init_root_item(new_root_item); in create_pending_snapshot() 1796 root_flags = btrfs_root_flags(new_root_item); in create_pending_snapshot() 1801 btrfs_set_root_flags(new_root_item, root_flags); in create_pending_snapshot() 1803 btrfs_set_root_generation_v2(new_root_item, in create_pending_snapshot() 1805 generate_random_guid(new_root_item->uuid); in create_pending_snapshot() 1806 memcpy(new_root_item->parent_uuid, root->root_item.uuid, in create_pending_snapshot() 1809 memset(new_root_item->received_uuid, 0, in create_pending_snapshot() [all …]
|
| H A D | tree-log.c | 3328 struct btrfs_root_item new_root_item; in btrfs_sync_log() local 3419 memcpy(&new_root_item, &log->root_item, sizeof(new_root_item)); in btrfs_sync_log() 3457 ret = update_log_root(trans, log, &new_root_item); in btrfs_sync_log()
|