/external/ltp/testcases/kernel/mem/mmapstress/ |
mmapstress04.c | 60 int i, j, rofd, rwfd; local 96 rwfd = SAFE_OPEN(TEST_FILE, O_RDWR); 100 write_fully(rwfd, buf, page_size); 102 SAFE_CLOSE(rwfd);
|
mmapstress07.c | 49 (void)close(rwfd); \ 90 int rofd, rwfd, i; local 161 if ((rwfd = open64(tmpname, O_RDWR)) == -1) { 163 if ((rwfd = open(tmpname, O_RDWR)) == -1) { 165 CLEANERROR("couldn't reopen rwfd for read/write"); 169 if (lseek64(rwfd, sparseoff, SEEK_SET) < 0) { 171 if (lseek(rwfd, sparseoff, SEEK_SET) < 0) { 178 while (i < pagesize && write(rwfd, "a", 1) == 1) 185 if (lseek64(rwfd, holesize, SEEK_CUR) == -1) { 187 if (lseek(rwfd, holesize, SEEK_CUR) == -1) [all...] |
/external/autotest/client/tests/aiostress/ |
aio-stress.c | 1302 int rwfd; local [all...] |
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
aio-stress.c | 1332 int rwfd; local [all...] |