Searched refs:rwfd (Results 1 – 3 of 3) sorted by relevance
/third_party/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 | 48 int i, j, rofd, rwfd; in mmapstress04() local 84 rwfd = SAFE_OPEN(TEST_FILE, O_RDWR); in mmapstress04() 88 write_fully(rwfd, buf, page_size); in mmapstress04() 90 SAFE_CLOSE(rwfd); in mmapstress04()
|
/third_party/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,
|