Lines Matching refs:buf2
64 int buf2[MAXBUF];
252 r = pread(fd, buf2, bufsize, (off_t)(seekpos << SCTRSHFT));
292 r = pread(fd, buf2, bufsize, (off_t)(seekpos << SCTRSHFT));
298 if (memcmp(buf1, buf2, bufsize)) {
340 buf2[0] = '\0'; /* clear buf to make sure something is read */
341 r = pread(fd, buf2, bufsize, (off_t)(seekpos[i] << SCTRSHFT));
347 if (memcmp(buf1, buf2, bufsize)) {
379 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT);
393 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT);
439 buf2[0] = '\0'; /* clear buf to make sure something is read */
440 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT);
446 if (memcmp(buf1, buf2, bufsize)) {
465 buf2[0] = '\0'; /* clear buf to make sure something is read */
466 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT);
472 if (memcmp(buf1, buf2, bufsize)) {
512 gen_data(buf2, bufsize);
520 r = pwrite(fd, buf2, bufsize, (off_t)(top_pos << SCTRSHFT));
543 if (memcmp(buf2, buf4, bufsize)) {
881 buf2[0] = 'x'; /* make sure something is read */
882 r = pread(fd2, buf2, bufsize,
888 if (memcmp(buf1, buf2, bufsize)) {