Lines Matching refs:shared
30 static VbSharedDataHeader* shared = (VbSharedDataHeader*)shared_data; variable
64 VbSharedDataInit(shared, sizeof(shared_data)); in ResetMocks()
65 shared->fw_keyblock_flags = 0xABCDE0; in ResetMocks()
74 shared->fw_version_tpm_start = mock_tpm_version; in ResetMocks()
127 shared->fw_version_tpm = mock_lf_tpm_version; in LoadFirmware()
150 TEST_EQ(shared->timer_vb_select_firmware_enter, 21, " time enter"); in VbSelectFirmwareTest()
151 TEST_EQ(shared->timer_vb_select_firmware_exit, 43, " time exit"); in VbSelectFirmwareTest()
159 shared->flags |= VBSD_BOOT_DEV_SWITCH_ON; in VbSelectFirmwareTest()
167 shared->recovery_reason = VBNV_RECOVERY_US_TEST; in VbSelectFirmwareTest()
178 shared->recovery_reason = VBNV_RECOVERY_US_TEST; in VbSelectFirmwareTest()
179 shared->flags |= VBSD_BOOT_DEV_SWITCH_ON; in VbSelectFirmwareTest()
194 shared->flags |= VBSD_LF_USE_RO_NORMAL; in VbSelectFirmwareTest()
199 shared->firmware_index = 0; in VbSelectFirmwareTest()
203 shared->firmware_index = 1; in VbSelectFirmwareTest()
211 TEST_EQ(shared->fw_version_tpm_start, 0x20004, " TPM version start"); in VbSelectFirmwareTest()
212 TEST_EQ(shared->fw_version_tpm, 0x30005, " TPM version"); in VbSelectFirmwareTest()
226 TEST_EQ(shared->fw_version_tpm_start, 0x20004, " TPM version start"); in VbSelectFirmwareTest()
227 TEST_EQ(shared->fw_version_tpm, 0x20004, " TPM version"); in VbSelectFirmwareTest()
237 shared->recovery_reason = VBNV_RECOVERY_US_TEST; in VbSelectFirmwareTest()