Searched refs:emptymatch (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mtd/nand/
H A Ddiskonchip.c850 int emptymatch = 1; doc200x_calculate_ecc() local
875 emptymatch = 0; doc200x_calculate_ecc()
882 /* If emptymatch=1, we might have an all-0xff data buffer. Check. */ doc200x_calculate_ecc()
883 if (emptymatch) { doc200x_calculate_ecc()
890 emptymatch = 0; doc200x_calculate_ecc()
894 /* If emptymatch still =1, we do have an all-0xff data buffer. doc200x_calculate_ecc()
897 if (emptymatch) doc200x_calculate_ecc()
912 int emptymatch = 1; doc200x_correct_data() local
937 emptymatch = 0; doc200x_correct_data()
939 /* If emptymatch=1, the read syndrome is consistent with an doc200x_correct_data()
941 if (emptymatch) { doc200x_correct_data()
945 emptymatch = 0; doc200x_correct_data()
949 /* If emptymatch still =1, check the data block. */ doc200x_correct_data()
950 if (emptymatch) { doc200x_correct_data()
957 emptymatch = 0; doc200x_correct_data()
961 /* If emptymatch still =1, this is almost certainly a freshly- doc200x_correct_data()
965 if (!emptymatch) doc200x_correct_data()

Completed in 61 milliseconds