Searched refs:fromfd (Results 1 – 3 of 3) sorted by relevance
/linux/tools/perf/util/ |
H A 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()
|
/linux/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 145 static void copy_fromat_to(int fromfd, const char *fromname, const char *toname) in copy_fromat_to() argument 147 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to()
|
/linux/tools/testing/selftests/net/rds/ |
H A D | test.py | 62 return socket.fromfd(s[0], *args)
|