Home
last modified time | relevance | path

Searched refs:old_fd (Results 1 – 12 of 12) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/dup3/
Ddup3_02.c24 static int old_fd = 3; variable
32 {&old_fd, &old_fd, O_CLOEXEC},
33 {&old_fd, &old_fd, 0},
34 {&old_fd, &new_fd, INVALID_FLAG}
/third_party/pulseaudio/src/pulsecore/
Dlog.c151 int old_fd; in pa_log_set_target() local
204 old_fd = log_fd; in pa_log_set_target()
207 if (old_fd >= 0) in pa_log_set_target()
208 pa_close(old_fd); in pa_log_set_target()
/third_party/node/deps/uvwasi/src/
Duvwasi.c1827 uvwasi_fd_t old_fd, in uvwasi_path_link() argument
1846 old_fd, in uvwasi_path_link()
1859 if (old_fd == new_fd) { in uvwasi_path_link()
1861 old_fd, in uvwasi_path_link()
1869 old_fd, in uvwasi_path_link()
1923 if (old_fd != new_fd) in uvwasi_path_link()
2201 uvwasi_fd_t old_fd, in uvwasi_path_rename() argument
2218 old_fd, in uvwasi_path_rename()
2230 if (old_fd == new_fd) { in uvwasi_path_rename()
2232 old_fd, in uvwasi_path_rename()
[all …]
/third_party/python/Modules/
Dsignalmodule.c829 int old_fd = wakeup.fd; local
833 return PyLong_FromLong(old_fd);
855 int old_fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int); local
857 int old_fd = wakeup.fd; local
861 return old_fd;
/third_party/libbpf/src/
Dlibbpf_internal.h613 int old_fd = fd, saved_errno; in ensure_good_fd() local
620 close(old_fd); in ensure_good_fd()
623 pr_warn("failed to dup FD %d to FD > 2: %d\n", old_fd, -saved_errno); in ensure_good_fd()
Dnetlink.c286 static int __bpf_set_link_xdp_fd_replace(int ifindex, int fd, int old_fd, in __bpf_set_link_xdp_fd_replace() argument
312 ret = nlattr_add(&req, IFLA_XDP_EXPECTED_FD, &old_fd, in __bpf_set_link_xdp_fd_replace()
313 sizeof(old_fd)); in __bpf_set_link_xdp_fd_replace()
Dlibbpf.h1170 int old_fd; member
1173 #define bpf_xdp_set_link_opts__last_field old_fd
/third_party/mesa3d/src/intel/tools/
Dintel_sanitize_gpu.c119 dup_drm_fd(int old_fd, int new_fd) in dup_drm_fd() argument
122 (void*)(uintptr_t)old_fd); in dup_drm_fd()
/third_party/node/deps/uvwasi/include/
Duvwasi.h207 uvwasi_fd_t old_fd,
236 uvwasi_fd_t old_fd,
/third_party/node/src/
Dnode_wasi.cc1126 uint32_t old_fd; in PathLink() local
1136 CHECK_TO_TYPE_OR_RETURN(args, args[0], Uint32, old_fd); in PathLink()
1146 old_fd, in PathLink()
1157 old_fd, in PathLink()
1297 uint32_t old_fd; in PathRename() local
1306 CHECK_TO_TYPE_OR_RETURN(args, args[0], Uint32, old_fd); in PathRename()
1315 old_fd, in PathRename()
1325 old_fd, in PathRename()
/third_party/libuv/src/unix/
Dstream.c278 int old_fd; in uv__stream_try_select() local
354 old_fd = *fd; in uv__stream_try_select()
368 *fd = old_fd; in uv__stream_try_select()
/third_party/node/deps/uv/src/unix/
Dstream.c278 int old_fd; in uv__stream_try_select() local
354 old_fd = *fd; in uv__stream_try_select()
368 *fd = old_fd; in uv__stream_try_select()