Searched refs:new_root_item (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/fs/btrfs/ |
D | transaction.c | 1445 struct btrfs_root_item *new_root_item; in create_pending_snapshot() local 1468 new_root_item = pending->root_item; in create_pending_snapshot() 1543 memcpy(new_root_item, &root->root_item, sizeof(*new_root_item)); in create_pending_snapshot() 1544 btrfs_check_and_init_root_item(new_root_item); in create_pending_snapshot() 1546 root_flags = btrfs_root_flags(new_root_item); in create_pending_snapshot() 1551 btrfs_set_root_flags(new_root_item, root_flags); in create_pending_snapshot() 1553 btrfs_set_root_generation_v2(new_root_item, in create_pending_snapshot() 1556 memcpy(new_root_item->uuid, new_uuid.b, BTRFS_UUID_SIZE); in create_pending_snapshot() 1557 memcpy(new_root_item->parent_uuid, root->root_item.uuid, in create_pending_snapshot() 1560 memset(new_root_item->received_uuid, 0, in create_pending_snapshot() [all …]
|
D | tree-log.c | 3018 struct btrfs_root_item new_root_item; in btrfs_sync_log() local 3096 memcpy(&new_root_item, &log->root_item, sizeof(new_root_item)); in btrfs_sync_log() 3127 ret = update_log_root(trans, log, &new_root_item); in btrfs_sync_log()
|