tofd 76 tools/perf/util/copyfile.c int fromfd, tofd; tofd 100 tools/perf/util/copyfile.c tofd = mkstemp(tmp); tofd 101 tools/perf/util/copyfile.c if (tofd < 0) tofd 106 tools/perf/util/copyfile.c if (!err && fchmod(tofd, mode)) tofd 111 tools/perf/util/copyfile.c if (fchmod(tofd, mode)) tofd 120 tools/perf/util/copyfile.c err = copyfile_offset(fromfd, 0, tofd, 0, st.st_size); tofd 124 tools/perf/util/copyfile.c close(tofd);