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