Lines Matching refs:K1
82 #define K1 1024 macro
83 #define K2 (K1 * 2)
84 #define K3 (K1 * 3)
85 #define K4 (K1 * 4)
118 nread = pread(fildes, read_buf[2], K1, K2); in main()
121 if (nread != K1) { in main()
136 nread = pread(fildes, read_buf[3], K1, K3); in main()
137 if (nread != K1) { in main()
150 if ((nread = read(fildes, read_buf[0], K1)) != K1) { in main()
156 l_seek(fildes, 0, SEEK_CUR, K1); in main()
159 nread = pread(fildes, read_buf[1], K1, K1); in main()
160 if (nread != K1) { in main()
166 l_seek(fildes, 0, SEEK_CUR, K1); in main()
210 if ((nwrite = pwrite(fildes, write_buf[0], K1, 0)) != K1) { in setup()
219 l_seek(fildes, K1 / 2, SEEK_SET, K1 / 2); in setup()
222 if ((nwrite = pwrite(fildes, write_buf[2], K1, K2)) != K1) { in setup()
229 l_seek(fildes, 0, SEEK_CUR, K1 / 2); in setup()
238 if ((nwrite = write(fildes, write_buf[3], K1)) != K1) { in setup()
247 if ((nwrite = pwrite(fildes, write_buf[1], K1, K1)) != K1) { in setup()
249 "on %s, errno=%d : %s", K1, TEMPFILE, errno, in setup()
268 write_buf[count] = malloc(K1); in init_buffers()
269 read_buf[count] = malloc(K1); in init_buffers()
275 memset(write_buf[count], count, K1); in init_buffers()
313 if (memcmp(write_buf[count], read_buf[count], K1) != 0) { in compare_bufers()