Lines Matching refs:file_path

1071 	char dir_path[PATH_MAX], file_path[PATH_MAX];
1090 strlcpy(file_path, "/tmp/open-file.XXXXXXXXXXX", sizeof(file_path));
1091 fd = mkstemp(file_path);
1098 if (chmod(file_path, PERM_FILE) < 0) {
1099 warn("chmod %s", file_path);
1100 (void)unlink(file_path);
1107 check_dup("check_dup_file", file_path, file_modes, file_modes_count);
1110 check_dup2("check_dup2_file", file_path, file_modes,
1117 check_fchflags("check_fchflags_file", file_path, file_modes,
1122 check_fchmod("check_fchmod_file", file_path, PERM_FILE, file_modes,
1127 check_fchown("check_fchown_file", file_path, file_modes,
1131 check_flock("check_flock_file", file_path, file_modes,
1136 check_fpathconf("check_fpathconf_file", file_path, file_modes,
1140 check_fstat("check_fstat_file", file_path, file_modes,
1145 check_fstatfs("check_fstatfs_file", file_path, file_modes,
1149 check_fsync("check_fsync_file", file_path, file_modes,
1154 check_ftruncate("check_ftruncate_file", file_path, file_modes,
1159 check_futimes("check_futimes_file", file_path, file_modes,
1163 check_lseek("check_lseek_file", file_path, file_modes,
1168 check_getdents("check_getdents_file", file_path, 0, file_modes,
1173 check_sendfile("check_sendfile_file", file_path, 0, file_modes,
1178 check_write("check_write_file", write, file_path, file_modes,
1183 check_write("check_writev_file", writev_wrapper, file_path,
1188 check_write("check_pwrite_file", pwrite_wrapper, file_path,
1193 check_write("check_pwritev_file", pwritev_wrapper, file_path,
1200 file_path, file_modes, file_modes_count);
1205 check_read("check_read_file", read, file_path, file_modes,
1210 check_read("check_readv_file", readv_wrapper, file_path,
1215 check_read("check_pread_file", pread_wrapper, file_path,
1220 check_read("check_preadv_file", preadv_wrapper, file_path,
1227 file_path, file_modes, file_modes_count);
1232 check_mmap_read("check_mmap_read_file", file_path, 0, file_modes,
1237 check_mmap_write("check_mmap_write_file", file_path, file_modes,
1242 check_mmap_exec("check_mmap_exec_file", file_path, 0, file_modes,
1247 check_mmap_write_private("check_mmap_write_private_file", file_path,
1250 (void)unlink(file_path);