Searched refs:temp_fd (Results 1 – 6 of 6) sorted by relevance
/io/ |
A D | tst-lockf.c | 28 static int temp_fd; variable 34 TEST_VERIFY_EXIT (temp_fd != -1); in do_prepare() 42 TEST_COMPARE (lseek (temp_fd, 0, SEEK_SET), 0); in do_test_child_lockf() 43 TEST_COMPARE (lockf (temp_fd, F_TLOCK, 1024), -1); in do_test_child_lockf() 45 TEST_COMPARE (lockf (temp_fd, F_TEST, 1024), -1); in do_test_child_lockf() 49 TEST_COMPARE (lockf (temp_fd, F_TEST, 1024), -1); in do_test_child_lockf() 53 TEST_COMPARE (lockf (temp_fd, F_LOCK, 1024), 0); in do_test_child_lockf() 58 TEST_COMPARE (lockf64 (temp_fd, F_TEST, 1024), 0); in do_test_child_lockf() 65 TEST_COMPARE (lseek64 (temp_fd, 0, SEEK_SET), 0); in do_test_child_lockf64() 100 TEST_COMPARE (lockf (temp_fd, F_LOCK, 1024), 0); in do_test() [all …]
|
A D | tst-posix_fallocate-common.c | 31 static int temp_fd; variable 36 temp_fd = create_temp_file ("tst-posix_fallocate.", &temp_filename); in do_prepare() 37 if (temp_fd == -1) in do_prepare() 47 if (posix_fallocate (temp_fd, offset, 768) != 0) in do_test_with_offset() 50 if (fstat (temp_fd, &st) != 0) in do_test_with_offset() 58 if (posix_fallocate (temp_fd, 0, 1024) != 0) in do_test_with_offset() 61 if (fstat (temp_fd, &st) != 0) in do_test_with_offset() 68 if (posix_fallocate (temp_fd, offset, 64) != 0) in do_test_with_offset() 71 if (fstat (temp_fd, &st) != 0) in do_test_with_offset()
|
A D | tst-ttyname_r.c | 13 static int temp_fd; variable 19 temp_fd = create_temp_file ("tst-ttyname_r.", &temp_file); in do_prepare() 20 if (temp_fd == -1) in do_prepare() 35 res = ttyname_r (temp_fd, buf, sizeof (buf)); in do_test()
|
A D | tst-utimensat-skeleton.c | 25 static int temp_fd = -1; variable 53 temp_fd = create_temp_file ("utime", &testfile); in do_prepare() 54 TEST_VERIFY_EXIT (temp_fd > 0); in do_prepare() 92 TEST_CALL (testfile, temp_fd, testlink, tests[i].v1, tests[i].v2); in do_test()
|
A D | tst-posix_fallocate.c | 26 if (fstat (temp_fd, &st) != 0) in do_test()
|
A D | tst-posix_fallocate64.c | 28 if (fstat (temp_fd, &st) != 0) in do_test()
|
Completed in 9 milliseconds