Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/perf/util/
Dprobe-file.c135 int ret, idx, fddup; in probe_file__get_rawlist() local
148 fddup = dup(fd); in probe_file__get_rawlist()
149 if (fddup < 0) in probe_file__get_rawlist()
152 fp = fdopen(fddup, "r"); in probe_file__get_rawlist()
178 close(fddup); in probe_file__get_rawlist()
479 int ret = 0, fddup; in probe_cache__load() local
482 fddup = dup(pcache->fd); in probe_cache__load()
483 if (fddup < 0) in probe_cache__load()
485 fp = fdopen(fddup, "r"); in probe_cache__load()
487 close(fddup); in probe_cache__load()