Searched refs:bootinst (Results 1 – 4 of 4) sorted by relevance
201 if (*((uint16_t *)&mbr->bootinst[GRUB_VERSION_OFF]) == GRUB_VERSION) { in mbr_info()203 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_VERSION) { in mbr_info()205 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_JOYENT_VERSION) { in mbr_info()228 *(uint32_t *)&mbr->bootinst[STAGE1_SIG]); in mbr_info()234 *(uint64_t *)&mbr->bootinst[STAGE1_STAGE2_LBA]); in mbr_info()237 *(uint16_t *)&mbr->bootinst[STAGE1_STAGE2_SIZE]); in mbr_info()239 uuid_unparse((uchar_t *)&mbr->bootinst[STAGE1_STAGE2_UUID], in mbr_info()279 if (*(uint16_t *)&mbr->bootinst[STAGE1_STAGE2_SIZE] == 1) { in cmd_mbr()283 vbrp = *(uint64_t *)&mbr->bootinst[STAGE1_STAGE2_LBA]; in cmd_mbr()
147 char bootinst[BOOTSZ]; member
854 if (*((uint16_t *)&mbr->bootinst[GRUB_VERSION_OFF]) == GRUB_VERSION) { in print_stage1_cb()856 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_VERSION) { in print_stage1_cb()858 } else if (mbr->bootinst[STAGE1_MBR_VERSION] == LOADER_JOYENT_VERSION) { in print_stage1_cb()894 *(uint32_t *)&mbr->bootinst[STAGE1_SIG]); in print_stage1_cb()900 *(uint64_t *)&mbr->bootinst[STAGE1_STAGE2_LBA]); in print_stage1_cb()903 *(uint16_t *)&mbr->bootinst[STAGE1_STAGE2_SIZE]); in print_stage1_cb()905 uuid_unparse((uchar_t *)&mbr->bootinst[STAGE1_STAGE2_UUID], in print_stage1_cb()
3953 (void) memcpy(Bootblk->bootinst, &BootCod, BOOTSZ);3973 (void) memcpy(Bootblk->bootinst, &BootCod, BOOTSZ);