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/
H A 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/
H A 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/libbpf/src/
H A 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()
H A 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()
H A Dlibbpf.h1170 int old_fd; member
1173 #define bpf_xdp_set_link_opts__last_field old_fd
/third_party/node/deps/uvwasi/src/
H A Duvwasi.c1827 uvwasi_fd_t old_fd, in uvwasi_path_link()
1842 UVWASI_DEBUG("uvwasi_path_link(uvwasi=%p, old_fd=%d, old_flags=%d, " in uvwasi_path_link()
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()
2215 UVWASI_DEBUG("uvwasi_path_rename(uvwasi=%p, old_fd=%d, old_path='%s', " in uvwasi_path_rename()
2218 old_fd, in uvwasi_path_rename()
1826 uvwasi_path_link(uvwasi_t* uvwasi, uvwasi_fd_t old_fd, uvwasi_lookupflags_t old_flags, const char* old_path, uvwasi_size_t old_path_len, uvwasi_fd_t new_fd, const char* new_path, uvwasi_size_t new_path_len) uvwasi_path_link() argument
2200 uvwasi_path_rename(uvwasi_t* uvwasi, uvwasi_fd_t old_fd, const char* old_path, uvwasi_size_t old_path_len, uvwasi_fd_t new_fd, const char* new_path, uvwasi_size_t new_path_len) uvwasi_path_rename() argument
[all...]
/third_party/mesa3d/src/intel/tools/
H A 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/
H A Duvwasi.h207 uvwasi_fd_t old_fd,
236 uvwasi_fd_t old_fd,
/third_party/python/Modules/
H A Dsignalmodule.c856 int old_fd = wakeup.fd;
860 return PyLong_FromLong(old_fd);
882 int old_fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int); local
884 int old_fd = wakeup.fd; local
888 return old_fd;
/third_party/node/src/
H A 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/
H A Dstream.c288 int old_fd; in uv__stream_try_select() local
364 old_fd = *fd; in uv__stream_try_select()
378 *fd = old_fd; in uv__stream_try_select()
/third_party/node/deps/uv/src/unix/
H A 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()

Completed in 22 milliseconds