Searched refs:tmpf (Results 1 – 5 of 5) sorted by relevance
| /xnu-12377.81.4/tests/vm/ |
| H A D | mmap_resilient_media.c | 68 char tmpf[PATH_MAX] = ""; variable 102 strlcpy(tmpf, dt_tmpdir(), PATH_MAX); 103 strlcat(tmpf, FILENAME, PATH_MAX); 105 fd = open(tmpf, O_RDWR | O_CREAT | O_TRUNC, 0644); 106 T_QUIET; T_ASSERT_POSIX_SUCCESS(fd, "open(%s)", tmpf); 142 ret = unlink(tmpf); 143 T_QUIET; T_ASSERT_POSIX_SUCCESS(ret, "unlink(%s)", tmpf); 180 char tmpf[PATH_MAX] = ""; variable 187 strlcpy(tmpf, dt_tmpdir(), PATH_MAX); 188 strlcat(tmpf, FILENAME, PATH_MAX); [all …]
|
| H A D | vm_direct_write_wired.c | 53 char tmpf[PATH_MAX] = ""; variable 61 strlcpy(tmpf, dt_tmpdir(), PATH_MAX); 62 strlcat(tmpf, "/wire_direct_write.txt", PATH_MAX); 63 T_LOG("file name: <%s>\n", tmpf); 64 fd = open(tmpf, O_RDWR | O_CREAT | O_TRUNC, 0644); 97 T_QUIET; T_ASSERT_POSIX_SUCCESS(unlink(tmpf), "unlink(%s)", tmpf); 107 char tmpf[PATH_MAX] = ""; variable 132 strlcpy(tmpf, dt_tmpdir(), PATH_MAX); 133 strlcat(tmpf, "/wire_direct_write.txt", PATH_MAX); 134 T_QUIET; T_ASSERT_LT(strlen(tmpf), (unsigned long)PATH_MAX, [all …]
|
| H A D | perf_mlock.c | 63 char tmpf[PATH_MAX] = ""; variable 75 strlcpy(tmpf, dt_tmpdir(), PATH_MAX); 76 strlcat(tmpf, "/mlock_external.txt", PATH_MAX); 77 T_QUIET; T_ASSERT_LT(strlen(tmpf), (unsigned long)PATH_MAX, 80 fd = open(tmpf, (O_RDWR | O_CREAT)); 93 fd = open(tmpf, O_RDWR);
|
| H A D | vm_direct_write_cow.c | 49 char tmpf[PATH_MAX] = ""; variable 57 strlcpy(tmpf, dt_tmpdir(), PATH_MAX); 58 strlcat(tmpf, "/cow_direct_write.txt", PATH_MAX); 59 T_LOG("file name: <%s>\n", tmpf); 60 fd = open(tmpf, O_RDWR | O_CREAT | O_TRUNC, 0644);
|
| H A D | test_madvise.c | 74 char tmpf[PATH_MAX] = {0}; variable 92 strlcpy(tmpf, dt_tmpdir(), PATH_MAX); 93 strlcat(tmpf, "/willneed.txt", PATH_MAX); 94 T_QUIET; T_ASSERT_LT(strlen(tmpf), (unsigned long)PATH_MAX, "path exceeds PATH_MAX"); 96 T_LOG("Opening file '%s'", tmpf); 97 fd_4willneed = open(tmpf, (O_RDWR | O_CREAT));
|