Home
last modified time | relevance | path

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

/third_party/gptfdisk/
Dgpt.cc914 int allOK, validHeaders, loadedTable = 1; in ForceLoadGPTData() local
935 validHeaders = CheckHeaderValidity(); in ForceLoadGPTData()
938 if (validHeaders > 0) { // if at least one header is OK.... in ForceLoadGPTData()
945 if (validHeaders == 1) { // valid main header, invalid backup header in ForceLoadGPTData()
951 } else if (validHeaders == 2) { // valid backup header, invalid main header in ForceLoadGPTData()
961 if (validHeaders != 2) { in ForceLoadGPTData()
995 if ((validHeaders != 3) || (mainPartsCrcOk == 0) || in ForceLoadGPTData()
999 if (validHeaders & 0x1) in ForceLoadGPTData()
1003 if (validHeaders & 0x2) in ForceLoadGPTData()