Lines Matching refs:shared

25 static VbSharedDataHeader *shared = (VbSharedDataHeader *)shared_data;  variable
64 VbSharedDataInit(shared, sizeof(shared_data)); in ResetMocks()
166 TEST_EQ(shared->timer_vb_init_enter, 21, " time enter"); in VbInitTest()
167 TEST_EQ(shared->timer_vb_init_exit, 43, " time exit"); in VbInitTest()
168 TEST_EQ(shared->flags, 0, " shared flags"); in VbInitTest()
191 TEST_EQ(shared->flags, VBSD_BOOT_FIRMWARE_WP_ENABLED, in VbInitTest()
197 TEST_EQ(shared->flags, VBSD_BOOT_FIRMWARE_SW_WP_ENABLED, in VbInitTest()
203 TEST_EQ(shared->flags, VBSD_BOOT_RO_NORMAL_SUPPORT, in VbInitTest()
209 TEST_EQ(shared->flags, VBSD_EC_SOFTWARE_SYNC, " shared flags"); in VbInitTest()
214 TEST_EQ(shared->flags, VBSD_EC_SLOW_UPDATE, " shared flags"); in VbInitTest()
223 TEST_EQ(shared->flags, VBSD_BOOT_S3_RESUME, " shared flags S3"); in VbInitTest()
225 TEST_EQ(shared->recovery_reason, 0, in VbInitTest()
277 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTest()
284 TEST_EQ(shared->flags, VBSD_BOOT_DEV_SWITCH_ON, " shared flags"); in VbInitTest()
291 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTest()
298 TEST_EQ(shared->flags, VBSD_BOOT_DEV_SWITCH_ON, " shared flags"); in VbInitTest()
366 TEST_EQ(shared->recovery_reason, 123, " recovery reason"); in VbInitTest()
372 TEST_EQ(shared->flags, 0, " shared flags"); in VbInitTest()
378 TEST_EQ(shared->recovery_reason, VBNV_RECOVERY_RO_MANUAL, in VbInitTest()
385 TEST_EQ(shared->flags, VBSD_BOOT_REC_SWITCH_ON, " shared flags"); in VbInitTest()
393 TEST_EQ(shared->recovery_reason, VBNV_RECOVERY_RO_MANUAL, in VbInitTest()
400 TEST_EQ(shared->recovery_reason, VBNV_RECOVERY_RO_FIRMWARE, in VbInitTest()
407 TEST_EQ(shared->flags, 0, " shared flags"); in VbInitTest()
415 TEST_EQ(shared->recovery_reason, 123, " recovery reason"); in VbInitTest()
422 TEST_EQ(shared->recovery_reason, VBNV_RECOVERY_RO_MANUAL, in VbInitTest()
429 TEST_EQ(shared->flags, in VbInitTest()
454 TEST_EQ(shared->fw_version_tpm, 0x10001, " shared fw_version_tpm"); in VbInitTestTPM()
462 TEST_EQ(shared->fw_version_tpm, 0, " shared fw_version_tpm not set"); in VbInitTestTPM()
468 TEST_EQ(shared->fw_version_tpm, 0x10001, " shared fw_version_tpm"); in VbInitTestTPM()
476 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestTPM()
478 TEST_EQ(shared->flags, VBSD_HONOR_VIRT_DEV_SWITCH, " shared flags"); in VbInitTestTPM()
489 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestTPM()
496 TEST_EQ(shared->flags, in VbInitTestTPM()
509 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestTPM()
511 TEST_EQ(shared->flags, 0, " shared flags"); in VbInitTestTPM()
517 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestTPM()
524 TEST_EQ(shared->flags, VBSD_BOOT_DEV_SWITCH_ON, " shared flags"); in VbInitTestTPM()
546 TEST_EQ(shared->flags, 0, " shared flags"); in VbInitTestBackup()
565 TEST_EQ(shared->flags, 0, " shared flags"); in VbInitTestBackup()
616 TEST_EQ(shared->flags, 0, " shared flags"); in VbInitTestBackup()
623 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestBackup()
630 TEST_EQ(shared->flags, VBSD_BOOT_DEV_SWITCH_ON, " shared flags"); in VbInitTestBackup()
645 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestBackup()
651 TEST_EQ(shared->flags, VBSD_BOOT_DEV_SWITCH_ON, " shared flags"); in VbInitTestBackup()
658 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestBackup()
664 TEST_EQ(shared->flags, VBSD_BOOT_DEV_SWITCH_ON, " shared flags"); in VbInitTestBackup()
697 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestBackup()
703 TEST_EQ(shared->flags, VBSD_BOOT_DEV_SWITCH_ON, " shared flags"); in VbInitTestBackup()
733 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestBackup()
735 TEST_EQ(shared->flags, 0, " shared flags"); in VbInitTestBackup()