Lines Matching refs:count
46 int count, err_flg = 0;
48 for (count = 0; count < NBUFS; count++) {
49 l_seek(fildes, count * K1, SEEK_SET, count * K1);
51 SAFE_READ(1, fildes, read_buf[count], K1);
53 if (memcmp(write_buf[count], read_buf[count], K1) != 0) {
54 tst_res(TFAIL, "read/write buffer[%d] data mismatch", count);
85 int count;
87 for (count = 0; count < NBUFS; count++) {
88 write_buf[count] = SAFE_MALLOC(K1);
89 read_buf[count] = SAFE_MALLOC(K1);
90 memset(write_buf[count], count, K1);
98 int count;
100 for (count = 0; count < NBUFS; count++) {
101 free(write_buf[count]);
102 free(read_buf[count]);