Home
last modified time | relevance | path

Searched refs:F_GETPIPE_SZ (Results 1 - 25 of 39) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl30.c12 * expected with fcntl(2) syscall using F_GETPIPE_SZ, F_SETPIPE_SZ arguments.
25 TST_EXP_POSITIVE(fcntl(fds[1], F_GETPIPE_SZ)); in run()
28 TST_EXP_POSITIVE(fcntl(fds[1], F_GETPIPE_SZ)); in run()
H A Dfcntl35.c76 get_size = fcntl(fds[1], F_GETPIPE_SZ); in verify_pipe_size()
78 tst_res(TFAIL | TERRNO, "fcntl(2) with F_GETPIPE_SZ failed"); in verify_pipe_size()
H A Dfcntl37.c6 * Test basic error handling for fcntl(2) using F_SETPIPE_SZ, F_GETPIPE_SZ
62 TEST(fcntl(fds[1], F_GETPIPE_SZ)); in setup()
/third_party/ltp/include/lapi/
H A Dfcntl.h40 #ifndef F_GETPIPE_SZ
41 # define F_GETPIPE_SZ 1032 macro
/third_party/toybox/lib/
H A Dportability.h253 #ifndef F_GETPIPE_SZ
254 #define F_GETPIPE_SZ 1032 macro
/third_party/libbpf/include/uapi/linux/
H A Dfcntl.h30 #define F_GETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 8) macro
/third_party/ltp/testcases/kernel/syscalls/vmsplice/
H A Dvmsplice04.c74 pipe_max_size = SAFE_FCNTL(pipes[1], F_GETPIPE_SZ); in setup()
/third_party/ltp/testcases/kernel/syscalls/pipe/
H A Dpipe12.c97 max_size = SAFE_FCNTL(fds[1], F_GETPIPE_SZ); in setup()
/third_party/ltp/testcases/kernel/syscalls/pipe2/
H A Dpipe2_04.c80 pipe_size = SAFE_FCNTL(fds[1], F_GETPIPE_SZ); in setup()
/third_party/toybox/toys/posix/
H A Dulimit.c92 sprintf(toybuf, "%d\n", fcntl(*pp, F_GETPIPE_SZ)); in ulimit_main()
/third_party/python/Lib/test/
H A Dtest_fcntl.py194 hasattr(fcntl, "F_SETPIPE_SZ") and hasattr(fcntl, "F_GETPIPE_SZ"),
195 "F_SETPIPE_SZ and F_GETPIPE_SZ are not available on all platforms.")
199 # Get the default pipesize with F_GETPIPE_SZ
200 pipesize_default = fcntl.fcntl(test_pipe_w, fcntl.F_GETPIPE_SZ)
206 self.assertEqual(fcntl.fcntl(test_pipe_w, fcntl.F_GETPIPE_SZ),
H A Dtest_subprocess.py710 @unittest.skipUnless(fcntl and hasattr(fcntl, 'F_GETPIPE_SZ'),
711 'fcntl.F_GETPIPE_SZ required for test.')
715 # Get the default pipesize with F_GETPIPE_SZ
716 pipesize_default = fcntl.fcntl(test_pipe_w, fcntl.F_GETPIPE_SZ)
733 fcntl.fcntl(fifo.fileno(), fcntl.F_GETPIPE_SZ),
746 @unittest.skipUnless(fcntl and hasattr(fcntl, 'F_GETPIPE_SZ'),
747 'fcntl.F_GETPIPE_SZ required for test.')
758 default_pipesize = fcntl.fcntl(fp_w, fcntl.F_GETPIPE_SZ)
761 fcntl.fcntl(fifo.fileno(), fcntl.F_GETPIPE_SZ),
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h130 #define F_GETPIPE_SZ 1032 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h129 #define F_GETPIPE_SZ 1032 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h129 #define F_GETPIPE_SZ 1032 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h129 #define F_GETPIPE_SZ 1032 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h132 #define F_GETPIPE_SZ 1032 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h129 #define F_GETPIPE_SZ 1032 macro
/third_party/ltp/testcases/kernel/syscalls/splice/
H A Dsplice02.c126 max_pipe_size = SAFE_FCNTL(pipe_fd[1], F_GETPIPE_SZ); in run()
/third_party/ltp/testcases/kernel/security/dirtypipe/
H A Ddirtypipe.c75 pipe_size = SAFE_FCNTL(p[1], F_GETPIPE_SZ); in prepare_pipe()
/third_party/musl/include/
H A Dfcntl.h132 #define F_GETPIPE_SZ 1032 macro
/third_party/python/Modules/
H A Dfcntlmodule.c572 #ifdef F_GETPIPE_SZ in all_ins()
573 if (PyModule_AddIntMacro(m, F_GETPIPE_SZ)) return -1; in all_ins()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dsyscalls.rs39 AT_SYMLINK_NOFOLLOW, F_ADD_SEALS, F_GETFL, F_GETLEASE, F_GETOWN, F_GETPIPE_SZ, F_GETSIG,
953 ret_usize(syscall_readonly!(__NR_fcntl64, fd, c_uint(F_GETPIPE_SZ)))
957 ret_usize(syscall_readonly!(__NR_fcntl, fd, c_uint(F_GETPIPE_SZ)))
/third_party/rust/crates/libc/src/unix/linux_like/
H A Dmod.rs475 pub const F_GETPIPE_SZ: ::c_int = 1032; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs248 pub const F_GETPIPE_SZ: u32 = 1032; consts

Completed in 32 milliseconds

12