Searched refs:rwfd (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | 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) { 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) { 194 while (i < (pagesize >> 1) && write(rwfd, "b", 1) == 1) [all …]
|
D | mmapstress04.c | 60 int i, j, rofd, rwfd; in mmapstress04() local 96 rwfd = SAFE_OPEN(TEST_FILE, O_RDWR); in mmapstress04() 100 write_fully(rwfd, buf, page_size); in mmapstress04() 102 SAFE_CLOSE(rwfd); in mmapstress04()
|
/external/autotest/client/tests/aiostress/ |
D | aio-stress.c | 1302 int rwfd; local 1472 rwfd = open(av[i], O_CREAT | O_RDWR | o_direct | o_sync, 0600); 1473 assert(rwfd != -1); 1475 oper = create_oper(rwfd, first_stage, j * context_offset,
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aio-stress.c | 1336 int rwfd; local 1513 rwfd = 1516 if (rwfd == -1) { 1524 create_oper(rwfd, first_stage, j * context_offset,
|