Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kcmp/
Dkcmp_test.c40 int fddup; in main() local
69 fddup = dup2(pipefd[1], duped_num); in main()
70 if (fddup < 0) { in main()
75 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fddup, &ev)) { in main()
79 close(fddup); in main()
/linux-6.1.9/tools/perf/util/
Dprobe-file.c170 int ret, idx, fddup; in probe_file__get_rawlist() local
183 fddup = dup(fd); in probe_file__get_rawlist()
184 if (fddup < 0) in probe_file__get_rawlist()
187 fp = fdopen(fddup, "r"); in probe_file__get_rawlist()
213 close(fddup); in probe_file__get_rawlist()
514 int ret = 0, fddup; in probe_cache__load() local
517 fddup = dup(pcache->fd); in probe_cache__load()
518 if (fddup < 0) in probe_cache__load()
520 fp = fdopen(fddup, "r"); in probe_cache__load()
522 close(fddup); in probe_cache__load()