Home
last modified time | relevance | path

Searched refs:SafeWrite (Results 1 – 3 of 3) sorted by relevance

/external/vboot_reference/firmware/lib/
Drollback_index.c61 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/
Drollback_index.h155 uint32_t SafeWrite(uint32_t index, const void *data, uint32_t length);
/external/vboot_reference/tests/
Drollback_index2_tests.c458 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()