Lines Matching refs:shared

156 	VbSharedDataHeader *shared =  in VbUserConfirms()  local
200 if (!(shared->flags & VBSD_BOOT_REC_SWITCH_VIRTUAL)) { in VbUserConfirms()
230 VbSharedDataHeader *shared = in VbBootDeveloper() local
275 __func__, shared->flags)); in VbBootDeveloper()
276 if (shared->flags & VBSD_HONOR_VIRT_DEV_SWITCH && in VbBootDeveloper()
277 shared->flags & VBSD_BOOT_DEV_SWITCH_ON) { in VbBootDeveloper()
452 VbSharedDataHeader *shared = in VbBootRecovery() local
464 if (!(shared->flags & VBSD_BOOT_DEV_SWITCH_ON) && in VbBootRecovery()
465 !(shared->flags & VBSD_BOOT_REC_SWITCH_ON)) { in VbBootRecovery()
555 shared->flags & VBSD_HONOR_VIRT_DEV_SWITCH && in VbBootRecovery()
556 !(shared->flags & VBSD_BOOT_DEV_SWITCH_ON) && in VbBootRecovery()
557 (shared->flags & VBSD_BOOT_REC_SWITCH_ON) && in VbBootRecovery()
559 if (!(shared->flags & in VbBootRecovery()
635 VbSharedDataHeader *shared = in VbEcSoftwareSync() local
654 if (shared->recovery_reason) { in VbEcSoftwareSync()
669 VbSetRecoveryRequest(shared->recovery_reason); in VbEcSoftwareSync()
689 if (shared->flags & VBSD_LF_USE_RO_NORMAL) { in VbEcSoftwareSync()
740 rv = VbExEcGetExpectedRWHash(devidx, shared->firmware_index ? in VbEcSoftwareSync()
778 rv = VbExEcGetExpectedRW(devidx, shared->firmware_index ? in VbEcSoftwareSync()
829 if ((shared->flags & VBSD_EC_SLOW_UPDATE) && in VbEcSoftwareSync()
830 (shared->flags & VBSD_OPROM_MATTERS) && in VbEcSoftwareSync()
831 !(shared->flags & VBSD_OPROM_LOADED)) { in VbEcSoftwareSync()
854 if (shared->flags & VBSD_EC_SLOW_UPDATE) { in VbEcSoftwareSync()
859 if ((shared->flags & VBSD_OPROM_MATTERS) && in VbEcSoftwareSync()
860 !(shared->flags & VBSD_OPROM_LOADED)) { in VbEcSoftwareSync()
940 !(shared->flags & VBSD_BOOT_DEV_SWITCH_ON) && in VbEcSoftwareSync()
941 (shared->flags & VBSD_EC_SLOW_UPDATE) && in VbEcSoftwareSync()
942 (shared->flags & VBSD_OPROM_MATTERS) && in VbEcSoftwareSync()
943 (shared->flags & VBSD_OPROM_LOADED)) { in VbEcSoftwareSync()
970 VbSharedDataHeader *shared = in VbSelectAndLoadKernel() local
977 shared->timer_vb_select_and_load_kernel_enter = VbExGetTimer(); in VbSelectAndLoadKernel()
997 if ((shared->flags & VBSD_EC_SOFTWARE_SYNC) && in VbSelectAndLoadKernel()
1027 tpm_status = RollbackKernelRead(&shared->kernel_version_tpm); in VbSelectAndLoadKernel()
1030 if (!shared->recovery_reason) { in VbSelectAndLoadKernel()
1036 shared->kernel_version_tpm_start = shared->kernel_version_tpm; in VbSelectAndLoadKernel()
1054 if (shared->flags & VBSD_BOOT_DEV_SWITCH_ON) in VbSelectAndLoadKernel()
1081 if (shared->recovery_reason) { in VbSelectAndLoadKernel()
1099 if ((1 == shared->firmware_index) && in VbSelectAndLoadKernel()
1100 (shared->flags & VBSD_FWB_TRIED)) { in VbSelectAndLoadKernel()
1133 if (shared->kernel_version_tpm > in VbSelectAndLoadKernel()
1134 shared->kernel_version_tpm_start) { in VbSelectAndLoadKernel()
1136 shared->kernel_version_tpm); in VbSelectAndLoadKernel()
1161 tpm_status = RollbackKernelLock(shared->recovery_reason); in VbSelectAndLoadKernel()
1164 if (!shared->recovery_reason) { in VbSelectAndLoadKernel()
1180 shared->timer_vb_select_and_load_kernel_exit = VbExGetTimer(); in VbSelectAndLoadKernel()