Lines Matching refs:BUF_SIZE
42 #define BUF_SIZE 512
43 char buf[BUF_SIZE];
44 char check[BUF_SIZE + 1];
64 memset(buf, 0xaa, BUF_SIZE);
68 aiocb.aio_nbytes = BUF_SIZE;
90 if (ret != BUF_SIZE) {
106 check[BUF_SIZE] = 1;
107 if (read(fd, check, BUF_SIZE + 1) != BUF_SIZE) {
113 if (check[BUF_SIZE] != 1) {
119 if (memcmp(buf, check, BUF_SIZE)) {