/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl30.c | 12 * 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 D | fcntl35.c | 76 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 D | fcntl37.c | 6 * 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 D | fcntl.h | 40 #ifndef F_GETPIPE_SZ 41 # define F_GETPIPE_SZ 1032 macro
|
/third_party/toybox/lib/ |
H A D | portability.h | 253 #ifndef F_GETPIPE_SZ 254 #define F_GETPIPE_SZ 1032 macro
|
/third_party/libbpf/include/uapi/linux/ |
H A D | fcntl.h | 30 #define F_GETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 8) macro
|
/third_party/ltp/testcases/kernel/syscalls/vmsplice/ |
H A D | vmsplice04.c | 74 pipe_max_size = SAFE_FCNTL(pipes[1], F_GETPIPE_SZ); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/pipe/ |
H A D | pipe12.c | 97 max_size = SAFE_FCNTL(fds[1], F_GETPIPE_SZ); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/pipe2/ |
H A D | pipe2_04.c | 80 pipe_size = SAFE_FCNTL(fds[1], F_GETPIPE_SZ); in setup()
|
/third_party/toybox/toys/posix/ |
H A D | ulimit.c | 92 sprintf(toybuf, "%d\n", fcntl(*pp, F_GETPIPE_SZ)); in ulimit_main()
|
/third_party/python/Lib/test/ |
H A D | test_fcntl.py | 194 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 D | test_subprocess.py | 710 @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 D | fcntl.h | 130 #define F_GETPIPE_SZ 1032 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 129 #define F_GETPIPE_SZ 1032 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 129 #define F_GETPIPE_SZ 1032 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 129 #define F_GETPIPE_SZ 1032 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | fcntl.h | 132 #define F_GETPIPE_SZ 1032 macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 129 #define F_GETPIPE_SZ 1032 macro
|
/third_party/ltp/testcases/kernel/syscalls/splice/ |
H A D | splice02.c | 126 max_pipe_size = SAFE_FCNTL(pipe_fd[1], F_GETPIPE_SZ); in run()
|
/third_party/ltp/testcases/kernel/security/dirtypipe/ |
H A D | dirtypipe.c | 75 pipe_size = SAFE_FCNTL(p[1], F_GETPIPE_SZ); in prepare_pipe()
|
/third_party/musl/include/ |
H A D | fcntl.h | 132 #define F_GETPIPE_SZ 1032 macro
|
/third_party/python/Modules/ |
H A D | fcntlmodule.c | 572 #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 D | syscalls.rs | 39 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 D | mod.rs | 475 pub const F_GETPIPE_SZ: ::c_int = 1032; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 248 pub const F_GETPIPE_SZ: u32 = 1032; consts
|