Lines Matching refs:metadata_uuid

388 		memcpy(fs_devs->metadata_uuid,
439 if (memcmp(metadata_fsid, fs_devices->metadata_uuid, BTRFS_FSID_SIZE) != 0)
461 * First check if the metadata_uuid is different from the fsid in the given
462 * fs_devices. Then check if the given fsid is the same as the metadata_uuid
468 return memcmp(fs_devices->fsid, fs_devices->metadata_uuid,
470 memcmp(fs_devices->metadata_uuid, fsid, BTRFS_FSID_SIZE) == 0;
482 * a device which didn't have its fsid/metadata_uuid changed
489 if (match_fsid_fs_devices(fs_devices, disk_super->metadata_uuid,
497 * has an outdated pair of fsid/metadata_uuid and
504 if (check_fsid_changed(fs_devices, disk_super->metadata_uuid))
508 return find_fsid(disk_super->fsid, disk_super->metadata_uuid);
689 return has_metadata_uuid ? sb->metadata_uuid : sb->fsid;
730 if (check_fsid_changed(fs_devices, disk_super->metadata_uuid) &&
736 if (memcmp(fs_devices->metadata_uuid, fs_devices->fsid,
738 memcmp(fs_devices->fsid, disk_super->metadata_uuid,
757 * btrfs_fs_devices::fsid_change set AND the metadata_uuid of the
816 has_metadata_uuid ? disk_super->metadata_uuid : NULL);
838 * metadata_uuid/fsid values of the fs_devices.
844 memcpy(fs_devices->metadata_uuid,
1895 write_extent_buffer(leaf, trans->fs_info->fs_devices->metadata_uuid,
2393 memcpy(args->fsid, disk_super->metadata_uuid, BTRFS_FSID_SIZE);
2526 memcpy(fs_devices->metadata_uuid, fs_devices->fsid, BTRFS_FSID_SIZE);
6508 if (memcmp(fs_devices->metadata_uuid, args->fsid, BTRFS_FSID_SIZE) == 0)
6960 if (memcmp(fs_uuid, fs_devices->metadata_uuid, BTRFS_FSID_SIZE)) {