Lines Matching refs:checksum
253 int checksum = 0; in xc_tmem_save() local
288 checksum += *(char *)h; in xc_tmem_save()
308 pool->n_pages - j, domid, pool->id, checksum); in xc_tmem_save()
328 int count = 0, checksum = 0; in xc_tmem_save_extra() local
341 checksum += handle.pool_id + handle.oid.oid[0] + handle.oid.oid[1] + in xc_tmem_save_extra()
345 DPRINTF("needed %d tmem invalidates, check=%d\n",count,checksum); in xc_tmem_save_extra()
386 int checksum = 0; in xc_tmem_restore() local
449 checksum += *buf; in xc_tmem_restore()
462 pool.n_pages - j, domid, pool.id, checksum); in xc_tmem_restore()
476 int checksum = 0; in xc_tmem_restore_extra() local
489 checksum += pool_id + oid.oid[0] + oid.oid[1] + oid.oid[2] + index; in xc_tmem_restore_extra()
494 DPRINTF("invalidated %d tmem pages, check=%d\n",count,checksum); in xc_tmem_restore_extra()