Searched refs:crc2_ok (Results 1 – 3 of 3) sorted by relevance
143 int crc1_ok, crc2_ok; in env_import_redund() local169 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == in env_import_redund()172 if (!crc1_ok && !crc2_ok) { in env_import_redund()175 } else if (crc1_ok && !crc2_ok) { in env_import_redund()177 } else if (!crc1_ok && crc2_ok) { in env_import_redund()
67 int crc1_ok = 0, crc2_ok = 0; in env_nand_init() local74 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init()79 if (!crc1_ok && !crc2_ok) { in env_nand_init()84 } else if (crc1_ok && !crc2_ok) { in env_nand_init()88 else if (!crc1_ok && crc2_ok) { in env_nand_init()
75 int crc1_ok = 0, crc2_ok = 0; in env_flash_init() local85 crc2_ok = in env_flash_init()88 if (crc1_ok && !crc2_ok) { in env_flash_init()91 } else if (!crc1_ok && crc2_ok) { in env_flash_init()94 } else if (!crc1_ok && !crc2_ok) { in env_flash_init()