Searched refs:SafeWrite (Results 1 – 3 of 3) sorted by relevance
/external/vboot_reference/firmware/lib/ |
D | rollback_index.c | 61 uint32_t SafeWrite(uint32_t index, const void *data, uint32_t length) in SafeWrite() function 136 r = SafeWrite(FIRMWARE_NV_INDEX, rsf, in WriteSpaceFirmware() 231 r = SafeWrite(KERNEL_NV_INDEX, rsk, in WriteSpaceKernel()
|
/external/vboot_reference/firmware/lib/include/ |
D | rollback_index.h | 155 uint32_t SafeWrite(uint32_t index, const void *data, uint32_t length);
|
/external/vboot_reference/tests/ |
D | rollback_index2_tests.c | 458 TEST_EQ(SafeWrite(0x123, buf, 8), 0, "SafeWrite()"); in MiscTest() 464 TEST_EQ(SafeWrite(0x123, buf, 8), TPM_E_BADINDEX, "SafeWrite() bad"); in MiscTest() 470 TEST_EQ(SafeWrite(0x123, buf, 8), 0, "SafeWrite() retry max writes"); in MiscTest()
|