Searched refs:crcCache (Results 1 – 8 of 8) sorted by relevance
47 var crcCache struct { var54 crcCache.once.Do(func() {55 crcCache.crc, crcCache.err = getProcessCRC()57 return crcCache.crc, crcCache.err
185 if(!full_read && Closure->crcCache) in cleanup()432 { if(Closure->crcCache) in prepare_crc_cache()434 Closure->crcCache = g_try_malloc(sizeof(guint32) * rc->image->dh->sectors); in prepare_crc_cache()436 if(Closure->crcCache) in prepare_crc_cache()672 if(Closure->crcCache) in worker_thread()674 Closure->crcCache[s+i] = Crc32(rc->alignedBuf[rc->writePtr]->buf+2048*i, 2048); in worker_thread()1162 if(Closure->crcCache) in ReadMediumLinear()1321 Verbose("CRC %s.\n", Closure->crcCache ? "cached" : "NOT created"); in ReadMediumLinear()
543 { if(Closure->crcCache) in associate()544 g_free(Closure->crcCache); in associate()548 Closure->crcCache = NULL; in associate()
67 if(Closure->crcCache) in ecc_cleanup()181 if(Closure->crcCache) in check_image()187 Closure->crcCache = crcptr = g_malloc(sizeof(guint32) * lay->dataSectors); in check_image()358 { crc_buf[crc_idx++] = Closure->crcCache[layer_index]; in write_crc()361 *crc_boot_ptr++ = Closure->crcCache[layer_index]; in write_crc()
282 if(Closure->crcCache) /* use CRC values created during last read */308 crcbuf = &Closure->crcCache[crc_idx];
229 guint32 *crcCache; /* sectorwise CRC32 for last image read */ member
156 if(Closure->crcCache) in ecc_cleanup()