Home
last modified time | relevance | path

Searched refs:disk_einfo (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/boot/common/
H A Dbblk_einfo.c363 einfo_should_update(bblk_einfo_t *disk_einfo, bblk_hs_t *hs, char *verstr) in einfo_should_update() argument
371 if (disk_einfo == NULL) in einfo_should_update()
374 if (memcmp(disk_einfo->magic, EINFO_MAGIC, EINFO_MAGIC_SIZE) != 0) in einfo_should_update()
377 if (disk_einfo->version < BBLK_EINFO_VERSION) in einfo_should_update()
380 disk_version = einfo_get_string(disk_einfo); in einfo_should_update()
395 if (disk_einfo->hash_type == bblk_no_hash.type) in einfo_should_update()
398 if (disk_einfo->hash_type >= BBLK_HASH_TOT) in einfo_should_update()
401 hashing = bblk_hash_list[disk_einfo->hash_type]; in einfo_should_update()
416 disk_hash = (unsigned char *)einfo_get_hash(disk_einfo); in einfo_should_update()
418 if (memcmp(local_hash, disk_hash, disk_einfo->hash_size) == 0) { in einfo_should_update()