Home
last modified time | relevance | path

Searched refs:F_DUPFD_CLOEXEC (Results 1 - 25 of 57) sorted by relevance

123

/third_party/musl/src/fcntl/
H A Dfcntl.c25 if (cmd == F_DUPFD_CLOEXEC) { in fcntl()
26 int ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, arg); in fcntl()
32 ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, 0); in fcntl()
/third_party/musl/porting/liteos_a/user/src/fcntl/
H A Dfcntl.c22 if (cmd == F_DUPFD_CLOEXEC) { in fcntl()
23 int ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, arg); in fcntl()
29 ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, 0); in fcntl()
/third_party/mesa3d/src/util/
H A Dos_file.c23 #ifndef F_DUPFD_CLOEXEC
24 #define F_DUPFD_CLOEXEC 1030 macro
54 int newfd = fcntl(fd, F_DUPFD_CLOEXEC, minfd); in os_dupfd_cloexec()
/third_party/ltp/include/lapi/
H A Dfcntl.h32 #ifndef F_DUPFD_CLOEXEC
33 # define F_DUPFD_CLOEXEC 1030 macro
/third_party/mesa3d/src/gallium/winsys/vc4/drm/
H A Dvc4_drm_winsys.c64 return vc4_screen_create(fcntl(ro->gpu_fd, F_DUPFD_CLOEXEC, 3), ro); in vc4_drm_screen_create_renderonly()
/third_party/libdrm/amdgpu/
H A Damdgpu_device.c180 dev->flink_fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in amdgpu_device_initialize()
214 dev->fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in amdgpu_device_initialize()
/third_party/libbpf/include/uapi/linux/
H A Dfcntl.h18 #define F_DUPFD_CLOEXEC (F_LINUX_SPECIFIC_BASE + 6) macro
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl29.c21 * Basic test for fcntl(2) using F_DUPFD_CLOEXEC argument.
56 TEST(fcntl(test_fd, F_DUPFD_CLOEXEC, 0)); in main()
59 "test F_DUPFD_CLOEXEC failed"); in main()
72 "F_DUPFD_CLOEXEC success"); in main()
75 "F_DUPFD_CLOEXEC fail"); in main()
/third_party/skia/third_party/externals/swiftshader/src/System/Linux/
H A DMemFd.cpp59 return ::fcntl(fd_, F_DUPFD_CLOEXEC, 0); in exportFd()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dfwrite.c103 fcntl(fds[pipeRead], F_SETFD, F_DUPFD_CLOEXEC); in fwrite_0400()
/third_party/node/deps/uv/src/unix/
H A Dprocess.c297 #ifdef F_DUPFD_CLOEXEC /* POSIX 2008 */ in uv__process_child_init()
298 pipes[fd][1] = fcntl(use_fd, F_DUPFD_CLOEXEC, stdio_count); in uv__process_child_init()
304 #ifndef F_DUPFD_CLOEXEC /* POSIX 2008 */ in uv__process_child_init()
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h53 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h52 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h52 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h52 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h53 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h52 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/musl/libc-test/src/api/
H A Dfcntl.c9 C(F_DUPFD_CLOEXEC) in f()
/third_party/rust/crates/libc/src/unix/solarish/
H A Dillumos.rs45 pub const F_DUPFD_CLOEXEC: ::c_int = 37; consts
H A Dsolaris.rs63 pub const F_DUPFD_CLOEXEC: ::c_int = 47; consts
/third_party/musl/include/
H A Dfcntl.h55 #define F_DUPFD_CLOEXEC 1030 macro
/third_party/rust/crates/io-lifetimes/src/
H A Dtypes.rs140 // CLOEXEC flag, and currently that's done via F_DUPFD_CLOEXEC. This in try_clone_to_owned()
143 let cmd = libc::F_DUPFD_CLOEXEC; in try_clone_to_owned()
/third_party/python/Modules/
H A Dfcntlmodule.c480 #ifdef F_DUPFD_CLOEXEC in all_ins()
481 if (PyModule_AddIntMacro(m, F_DUPFD_CLOEXEC)) return -1; in all_ins()
/third_party/libuv/src/unix/
H A Dprocess.c318 #ifdef F_DUPFD_CLOEXEC /* POSIX 2008 */ in uv__process_child_init()
319 pipes[fd][1] = fcntl(use_fd, F_DUPFD_CLOEXEC, stdio_count); in uv__process_child_init()
325 #ifndef F_DUPFD_CLOEXEC /* POSIX 2008 */ in uv__process_child_init()
/third_party/mesa3d/src/intel/tools/
H A Dintel_sanitize_gpu.c372 if (is_drm_fd(fd) && cmd == F_DUPFD_CLOEXEC) in fcntl()

Completed in 13 milliseconds

123