Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Dcopyfile.c76 int fromfd, tofd; in copyfile_mode_ns() local
115 fromfd = open(from, O_RDONLY); in copyfile_mode_ns()
117 if (fromfd < 0) in copyfile_mode_ns()
120 err = copyfile_offset(fromfd, 0, tofd, 0, st.st_size); in copyfile_mode_ns()
122 close(fromfd); in copyfile_mode_ns()
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/
Dtest_execve.c154 static void copy_fromat_to(int fromfd, const char *fromname, const char *toname) in copy_fromat_to() argument
156 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to()