Home
last modified time | relevance | path

Searched refs:s_NV (Results 1 – 2 of 2) sorted by relevance

/external/tpm2/
DNVMem.c23 static unsigned char s_NV[NV_MEMORY_SIZE]; variable
85 memset(s_NV, 0, NV_MEMORY_SIZE); in _plat__NVEnable()
91 fwrite(s_NV, 1, NV_MEMORY_SIZE, s_NVFile); in _plat__NVEnable()
100 assert(1 == fread(s_NV, NV_MEMORY_SIZE, 1, s_NVFile)); in _plat__NVEnable()
172 memcpy(data, &s_NV[startOffset], size); in _plat__NvMemoryRead()
197 return (memcmp(&s_NV[startOffset], data, size) != 0); in _plat__NvIsDifferent()
215 memcpy(&s_NV[startOffset], data, size); in _plat__NvMemoryWrite()
234 memmove(&s_NV[destOffset], &s_NV[sourceOffset], size); in _plat__NvMemoryMove()
261 fwrite(s_NV, 1, NV_MEMORY_SIZE, s_NVFile); in _plat__NvCommit()
Dpart4.txt36099 44 memset(s_NV, 0, NV_MEMORY_SIZE);
36106 51 fwrite(s_NV, 1, NV_MEMORY_SIZE, s_NVFile);
36115 60 fread(s_NV, NV_MEMORY_SIZE, 1, s_NVFile);
36199 114 memcpy(data, &s_NV[startOffset], size);
36229 124 return (memcmp(&s_NV[startOffset], data, size) != 0);
36248 136 memcpy(&s_NV[startOffset], data, size);
36268 149 memmove(&s_NV[destOffset], &s_NV[sourceOffset], size);
36302 165 fwrite(s_NV, 1, NV_MEMORY_SIZE, s_NVFile);
36893 15 extern unsigned char s_NV[NV_MEMORY_SIZE];
36965 17 unsigned char s_NV[NV_MEMORY_SIZE];