Lines Matching refs:K1
52 #define K1 1024
53 #define K2 (K1 * 2)
54 #define K3 (K1 * 3)
55 #define K4 (K1 * 4)
56 #define K5 (K1 * 5)
91 * pwrite() K1 of data (0's) at offset 0.
93 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) {
108 l_seek(fd, K1 / 2, SEEK_SET, K1 / 2);
111 * pwrite() K1 of data (2's) at offset K2.
113 if ((nbytes = pwrite(fd, wbuf[2], K1, K2)) != K1) {
123 l_seek(fd, 0, SEEK_CUR, K1 / 2);
131 * This time use a normal write() of K1 of data (3's) which should
134 if ((nbytes = write(fd, wbuf[3], K1)) != K1) {
146 * pwrite() K1 of data (1's) at offset K1.
148 if ((nbytes = pwrite(fd, wbuf[1], K1, K1)) != K1) {
181 * Finally, pwrite() some K1 of data at offset 0.
187 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) {
227 wbuf[i] = malloc(K1);
232 memset(wbuf[i], i, K1);