Searched refs:fromfd (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/util/ |
D | copyfile.c | 76 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/ |
D | test_execve.c | 154 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()
|