Lines Matching refs:cf_data
946 struct cache_entry_file_data cf_data; in cache_put() local
947 cf_data.crc32 = util_hash_crc32(dc_job->data, dc_job->size); in cache_put()
948 cf_data.uncompressed_size = dc_job->size; in cache_put()
950 size_t cf_data_size = sizeof(cf_data); in cache_put()
951 ret = write_all(fd, &cf_data, cf_data_size); in cache_put()
1120 struct cache_entry_file_data cf_data; in disk_cache_get() local
1121 size_t cf_data_size = sizeof(cf_data); in disk_cache_get()
1122 ret = read_all(fd, &cf_data, cf_data_size); in disk_cache_get()
1134 uncompressed_data = malloc(cf_data.uncompressed_size); in disk_cache_get()
1136 cf_data.uncompressed_size)) in disk_cache_get()
1140 if (cf_data.crc32 != util_hash_crc32(uncompressed_data, in disk_cache_get()
1141 cf_data.uncompressed_size)) in disk_cache_get()
1150 *size = cf_data.uncompressed_size; in disk_cache_get()