Home | History | Annotate | Download | only in raidframe

Lines Matching refs:buf2

274 	char   *bf, *buf1, *buf2;
406 * buf2 is the beginning of the parity blocks chunk
409 buf2 = bf + (nbytes * layoutPtr->numDataCol);
426 printf("raid%d: RAID1 parity verify %d bytes: i=%d buf1=%lx buf2=%lx buf=%lx\n",
428 (long) buf2, (long) bf);
431 ret = memcmp(buf1, buf2, nbytes);
436 if (buf1[j] != buf2[j])
442 printf("buf2 %02x %02x %02x %02x %02x\n", buf2[0] & 0xff,
443 buf2[1] & 0xff, buf2[2] & 0xff, buf2[3] & 0xff, buf2[4] & 0xff);
458 buf2 += nbytes;