Lines Matching refs:checksum
20 u32 checksum; member
276 u32 *checksum) in copy_data() argument
285 if (checksum) in copy_data()
286 *checksum = sector_to_page(bc, source->sector); in copy_data()
300 if (checksum) in copy_data()
301 *checksum = crc32(*checksum, read, bc->block_size); in copy_data()
326 unsigned int size, u32 checksum);
332 u32 checksum = 0; in backup_log_sector() local
361 ret = copy_data(bc, first_br, free_br, &checksum); in backup_log_sector()
368 range_size(first_br), checksum); in backup_log_sector()
377 unsigned int size, u32 checksum) in add_log_entry() argument
401 bc->log_sector->entries[bc->log_sector->count].checksum = checksum; in add_log_entry()
415 u32 checksum = 0; in prepare_log() local
469 ret = copy_data(bc, first_br, free_br, &checksum); in prepare_log()
486 range_size(first_br), checksum); in prepare_log()
812 u32 checksum = 0; in prepare_unchanged_range() local
844 ret = copy_data(bc, br, backup_br, record_checksum ? &checksum : NULL); in prepare_unchanged_range()
872 ret = add_log_entry(bc, log_source, log_dest, log_size, checksum); in prepare_unchanged_range()