Home
last modified time | relevance | path

Searched refs:tofd (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/tools/perf/util/
Dcopyfile.c76 int fromfd, tofd; in copyfile_mode_ns() local
100 tofd = mkstemp(tmp); in copyfile_mode_ns()
101 if (tofd < 0) in copyfile_mode_ns()
106 if (!err && fchmod(tofd, mode)) in copyfile_mode_ns()
111 if (fchmod(tofd, mode)) in copyfile_mode_ns()
120 err = copyfile_offset(fromfd, 0, tofd, 0, st.st_size); in copyfile_mode_ns()
124 close(tofd); in copyfile_mode_ns()