Lines Matching refs:shared

44 	VbSharedDataHeader *shared =  in LoadFirmware()  local
61 shared->firmware_index = 0xFF; in LoadFirmware()
74 is_dev = (shared->flags & VBSD_BOOT_DEV_SWITCH_ON ? 1 : 0); in LoadFirmware()
76 shared->flags |= VBSD_LF_DEV_SWITCH_ON; in LoadFirmware()
82 shared->flags |= VBSD_FWB_TRIED; in LoadFirmware()
107 check_result = &shared->check_fw_a_result; in LoadFirmware()
112 check_result = &shared->check_fw_b_result; in LoadFirmware()
146 if (key_version < (shared->fw_version_tpm >> 16)) { in LoadFirmware()
187 if (combined_version < shared->fw_version_tpm && in LoadFirmware()
218 if (!(shared->flags & VBSD_BOOT_RO_NORMAL_SUPPORT)) { in LoadFirmware()
226 shared->flags |= VBSD_LF_USE_RO_NORMAL; in LoadFirmware()
279 shared, &preamble->kernel_subkey)) { in LoadFirmware()
295 shared->firmware_index = (uint8_t)index; in LoadFirmware()
296 shared->fw_keyblock_flags = key_block->key_block_flags; in LoadFirmware()
304 if (combined_version == shared->fw_version_tpm) in LoadFirmware()
317 shared->fw_version_lowest = lowest_version; in LoadFirmware()
318 if (lowest_version > shared->fw_version_tpm) in LoadFirmware()
319 shared->fw_version_tpm = lowest_version; in LoadFirmware()
323 (int)shared->firmware_index)); in LoadFirmware()
327 uint8_t a = shared->check_fw_a_result; in LoadFirmware()
328 uint8_t b = shared->check_fw_b_result; in LoadFirmware()
357 if (!(shared->flags & VBSD_BOOT_RO_NORMAL_SUPPORT) && in LoadFirmware()
358 VBNV_RECOVERY_NOT_REQUESTED == shared->recovery_reason && in LoadFirmware()
361 shared->recovery_reason = recovery; in LoadFirmware()