Lines Matching defs:K1
23 #define K1 1024
24 #define K2 (K1 * 2)
25 #define K3 (K1 * 3)
26 #define K4 (K1 * 4)
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) {
65 SAFE_PWRITE(1, fildes, write_buf[0], K1, 0);
67 l_seek(fildes, K1 / 2, SEEK_SET, K1 / 2);
69 SAFE_PWRITE(1, fildes, write_buf[2], K1, K2);
70 l_seek(fildes, 0, SEEK_CUR, K1 / 2);
73 SAFE_WRITE(SAFE_WRITE_ALL, fildes, write_buf[3], K1);
76 SAFE_PWRITE(1, fildes, write_buf[1], K1, K1);
88 write_buf[count] = SAFE_MALLOC(K1);
89 read_buf[count] = SAFE_MALLOC(K1);
90 memset(write_buf[count], count, K1);