Lines Matching refs:RollbackSpaceKernel
28 uint32_t ReadSpaceKernel(RollbackSpaceKernel *rsk);
29 uint32_t WriteSpaceKernel(RollbackSpaceKernel *rsk);
181 uint32_t ReadSpaceKernel(RollbackSpaceKernel *rsk) in ReadSpaceKernel()
187 r = TlclRead(KERNEL_NV_INDEX, rsk, sizeof(RollbackSpaceKernel)); in ReadSpaceKernel()
209 if (rsk->crc8 == Crc8(rsk, offsetof(RollbackSpaceKernel, crc8))) in ReadSpaceKernel()
219 uint32_t WriteSpaceKernel(RollbackSpaceKernel *rsk) in WriteSpaceKernel()
221 RollbackSpaceKernel rsk2; in WriteSpaceKernel()
228 rsk->crc8 = Crc8(rsk, offsetof(RollbackSpaceKernel, crc8)); in WriteSpaceKernel()
232 sizeof(RollbackSpaceKernel)); in WriteSpaceKernel()
251 RollbackSpaceKernel *rsk) in OneTimeInitializeTPM()
256 static const RollbackSpaceKernel rsk_init = { in OneTimeInitializeTPM()
309 Memcpy(rsk, &rsk_init, sizeof(RollbackSpaceKernel)); in OneTimeInitializeTPM()
317 sizeof(RollbackSpaceKernel))); in OneTimeInitializeTPM()
423 RollbackSpaceKernel rsk; in SetupTPM()
611 RollbackSpaceKernel rsk; in RollbackKernelRead()
635 RollbackSpaceKernel rsk; in RollbackKernelWrite()