Lines Matching defs:data
545 const uint8_t *data = (uint8_t *) blob_read_bytes(&ci_blob_reader, cache_data_size);
547 /* Check the data for corruption */
548 if (cf_data->crc32 != util_hash_crc32(data, cache_data_size))
551 /* Uncompress the cache data */
553 if (!util_compress_inflate(data, cache_data_size, uncompressed_data,
572 uint8_t *data = NULL;
582 data = malloc(sb.st_size);
583 if (data == NULL)
587 int ret = read_all(fd, data, sb.st_size);
592 parse_and_validate_cache_item(cache, data, sb.st_size, size);
596 free(data);
603 if (data)
604 free(data);
639 /* Compress the cache item data */
646 util_compress_deflate(dc_job->data, dc_job->size,
659 /* Write the cache item metadata. This data can be used to deal with
677 /* Create CRC of the compressed data. We will read this when restoring the
773 int ret = write_all(fd, cache_blob.data, cache_blob.size);
954 cache_blob.data, cache_blob.size);