Searched refs:fromfd (Results 1 – 3 of 3) sorted by relevance
/tools/perf/util/ |
D | util.c | 219 int fromfd, tofd; in copyfile_mode() local 250 fromfd = open(from, O_RDONLY); in copyfile_mode() 251 if (fromfd < 0) in copyfile_mode() 254 err = copyfile_offset(fromfd, 0, tofd, 0, st.st_size); in copyfile_mode() 256 close(fromfd); in copyfile_mode()
|
D | util.h | 219 int copyfile_offset(int fromfd, loff_t from_ofs, int tofd, loff_t to_ofs, u64 size);
|
/tools/testing/selftests/capabilities/ |
D | test_execve.c | 143 static void copy_fromat_to(int fromfd, const char *fromname, const char *toname) in copy_fromat_to() argument 145 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to()
|