Searched refs:disk_einfo (Results 1 – 1 of 1) sorted by relevance
334 einfo_should_update(bblk_einfo_t *disk_einfo, bblk_hs_t *hs, char *verstr) in einfo_should_update() argument342 if (disk_einfo == NULL) in einfo_should_update()345 if (memcmp(disk_einfo->magic, EINFO_MAGIC, EINFO_MAGIC_SIZE) != 0) in einfo_should_update()348 if (disk_einfo->version < BBLK_EINFO_VERSION) in einfo_should_update()351 disk_version = einfo_get_string(disk_einfo); in einfo_should_update()366 if (disk_einfo->hash_type == bblk_no_hash.type) in einfo_should_update()369 if (disk_einfo->hash_type >= BBLK_HASH_TOT) in einfo_should_update()372 hashing = bblk_hash_list[disk_einfo->hash_type]; in einfo_should_update()387 disk_hash = (unsigned char *)einfo_get_hash(disk_einfo); in einfo_should_update()389 if (memcmp(local_hash, disk_hash, disk_einfo->hash_size) == 0) { in einfo_should_update()