Home
last modified time | relevance | path

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

/device/google/dragon/recovery/updater/
Dvboot_interface.c282 VB_NVDATA_SIZE = 16 enumerator
412 uint8_t dummy[VB_NVDATA_SIZE]; in vbnv_readwrite()
417 if (off >= VB_NVDATA_SIZE) { in vbnv_readwrite()
428 if ((nvram == NULL) || (size < VB_NVDATA_SIZE) || in vbnv_readwrite()
429 (size % VB_NVDATA_SIZE)) { in vbnv_readwrite()
444 for (curr = block; curr < end; curr += VB_NVDATA_SIZE) { in vbnv_readwrite()
445 if (memcmp(curr, dummy, VB_NVDATA_SIZE) == 0) in vbnv_readwrite()
454 memcpy(dummy, block, VB_NVDATA_SIZE); in vbnv_readwrite()
460 for (i = 0; i < VB_NVDATA_SIZE; i++) { in vbnv_readwrite()
473 if (i == VB_NVDATA_SIZE) in vbnv_readwrite()
[all …]