Searched refs:fd_writer (Results 1 - 1 of 1) sorted by relevance
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress10.c | 159 int fd_writer = 0; variable 714 if ((fd_writer = open64(file, O_RDWR)) == -1) { 716 if ((fd_writer = open(file, O_RDWR)) == -1) { 722 if ((off = lseek64(fd_writer, 0, SEEK_END)) == -1) { 724 if ((off = lseek(fd_writer, 0, SEEK_END)) == -1) { 732 if (fstat64(fd_writer, &statbuf) == -1) { 734 if (fstat(fd_writer, &statbuf) == -1) { 758 if ((cnt = write(fd_writer, p, growsize)) != growsize) { 771 if (fsync(fd_writer) == -1) { 777 close(fd_writer); [all...] |
Completed in 2 milliseconds