Home
last modified time | relevance | path

Searched refs:fd_writer (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress10.c160 int fd_writer = 0; variable
715 if ((fd_writer = open64(file, O_RDWR)) == -1) {
717 if ((fd_writer = open(file, O_RDWR)) == -1) {
723 if ((off = lseek64(fd_writer, 0, SEEK_END)) == -1) {
725 if ((off = lseek(fd_writer, 0, SEEK_END)) == -1) {
733 if (fstat64(fd_writer, &statbuf) == -1) {
735 if (fstat(fd_writer, &statbuf) == -1) {
759 if ((cnt = write(fd_writer, p, growsize)) != growsize) {
772 if (fsync(fd_writer) == -1) {
778 close(fd_writer);
[all …]