Lines Matching refs:fdw
62 static int fdw; variable
74 {&fdw, FNAMEW, DEFAULT_TEST_MODE, -1, 1, EINVAL},
75 {&fdw, FNAMEW, DEFAULT_TEST_MODE, 1, -1, EINVAL},
76 {&fdw, FNAMEW, DEFAULT_TEST_MODE, BLOCKS_WRITTEN, 0, EINVAL},
77 {&fdw, FNAMEW, DEFAULT_TEST_MODE, BLOCKS_WRITTEN, -1, EINVAL},
78 {&fdw, FNAMEW, DEFAULT_TEST_MODE, -(BLOCKS_WRITTEN+OFFSET), 1, EINVAL},
80 {&fdw, FNAMEW, DEFAULT_TEST_MODE, MAX_FILESIZE, 1, EFBIG},
81 {&fdw, FNAMEW, DEFAULT_TEST_MODE, 1, MAX_FILESIZE, EFBIG},
122 fdw = SAFE_OPEN(cleanup, FNAMEW, O_RDWR | O_CREAT, S_IRWXU); in setup()
127 SAFE_WRITE(cleanup, 1, fdw, buf, BLOCK_SIZE); in setup()
158 if (fdw > 0) in cleanup()
159 SAFE_CLOSE(NULL, fdw); in cleanup()