Searched refs:temp_fd (Results 1 – 4 of 4) sorted by relevance
/libio/ |
A D | tst-mmap-fflushsync.c | 14 static int temp_fd; variable 22 temp_fd = create_temp_file ("tst-mmap-eofsync.", &temp_file); in do_prepare() 23 if (temp_fd == -1) in do_prepare() 27 ssize_t cc = write (temp_fd, text1, sizeof text1 - 1); in do_prepare() 69 c = write (temp_fd, text2, sizeof text2 - 1); in do_test()
|
A D | tst-mmap-eofsync.c | 14 static int temp_fd; variable 22 temp_fd = create_temp_file ("tst-mmap-eofsync.", &temp_file); in do_prepare() 23 if (temp_fd == -1) in do_prepare() 27 ssize_t cc = write (temp_fd, text1, sizeof text1 - 1); in do_prepare() 74 c = write (temp_fd, text2, sizeof text2 - 1); in do_test()
|
A D | tst-mmap-offend.c | 20 int temp_fd = create_temp_file ("tst-mmap-offend.", &temp_file); in do_prepare() local 21 if (temp_fd == -1) in do_prepare() 25 ssize_t cc = write (temp_fd, text1, sizeof text1 - 1); in do_prepare() 29 close (temp_fd); in do_prepare()
|
A D | tst-mmap2-eofsync.c | 16 static int temp_fd; variable 27 temp_fd = create_temp_file ("tst-mmap2-eofsync.", &temp_file); in do_prepare() 28 if (temp_fd == -1) in do_prepare() 32 ssize_t cc = write (temp_fd, pages, getpagesize ()); in do_prepare() 80 c = write (temp_fd, pages + pagesize, pagesize); in do_test() 115 if (ftruncate (temp_fd, pagesize) < 0) in do_test()
|
Completed in 7 milliseconds