Searched defs:disk_einfo (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/boot/common/
H A Dbblk_einfo.c328 * Given information on the boot block currently on disk (disk_einfo) and
334 einfo_should_update(bblk_einfo_t *disk_einfo, bblk_hs_t *hs, char *verstr) argument
342 if (disk_einfo == NULL)
345 if (memcmp(disk_einfo->magic, EINFO_MAGIC, EINFO_MAGIC_SIZE) != 0)
348 if (disk_einfo->version < BBLK_EINFO_VERSION)
351 disk_version = einfo_get_string(disk_einfo);
366 if (disk_einfo->hash_type == bblk_no_hash.type)
369 if (disk_einfo->hash_type >= BBLK_HASH_TOT)
372 hashing = bblk_hash_list[disk_einfo->hash_type];
387 disk_hash = (unsigned char *)einfo_get_hash(disk_einfo);
[all...]

Completed in 44 milliseconds