Lines Matching defs:parity
31 * rf_parityscan.c -- misc utilities related to parity verification
53 * walk through the entire array and write new parity. This works by
55 * new parity. The first is executed, the data is xored together, and
88 /* There isn't any parity. Call it "okay." */
93 * We're in degraded mode. Don't try to verify parity now!
128 printf("Could not correct bad parity\n");
132 printf("Could not verify parity\n");
145 * verify that the parity in a particular stripe is correct. we
146 * validate only the range of parity defined by parityPDA, since this
148 * maps the whole stripe and then range-restrict it to the parity
164 * There isn't any parity. Call it "okay."
241 goto out; /* no way to verify parity if disk is
278 RF_ERRORMSG("Unable to verify parity: can't read the stripe\n");
288 RF_ERRORMSG3("Parity verify error: byte %d of parity is 0x%x should be 0x%x\n",
324 RF_ERRORMSG("Unable to correct parity in VerifyParity: can't write the stripe\n");
341 int parity)
351 if (parity) {
384 * one failure, and verifies that the parity was correctly updated to
388 * the stripe and the parity unit, XOR them together, and verify that
393 * If it's the parity that failed, there's really no validation we can
397 * the new parity.