/third_party/ltp/include/lapi/ |
H A D | fcntl.h | 36 #ifndef F_SETPIPE_SZ 37 # define F_SETPIPE_SZ 1031 macro
|
/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. 27 TST_EXP_POSITIVE(fcntl(fds[1], F_SETPIPE_SZ, max_size_unpriv)); in run()
|
H A D | fcntl37.c | 6 * Test basic error handling for fcntl(2) using F_SETPIPE_SZ, F_GETPIPE_SZ 8 * 1)fcntl fails with EINVAL when cmd is F_SETPIPE_SZ and the arg is 10 * 2)fcntl fails with EBUSY when cmd is F_SETPIPE_SZ and the arg is smaller 12 * 3)fcntl fails with EPERM when cmd is F_SETPIPE_SZ and the arg is over 32 {&invalid_value, EINVAL, "F_SETPIPE_SZ and size is beyond 1<<31"}, 33 {&half_value, EBUSY, "F_SETPIPE_SZ and size < data stored in pipe"}, 34 {&sys_value, EPERM, "F_SETPIPE_SZ and size is over limit for unpriviledged user"}, 43 TEST(fcntl(fds[1], F_SETPIPE_SZ, *(tc->setvalue))); in verify_fcntl() 45 tst_res(TFAIL, "F_SETPIPE_SZ succeed and return %ld", TST_RET); in verify_fcntl() 49 tst_res(TPASS | TTERRNO, "F_SETPIPE_SZ faile in verify_fcntl() [all...] |
/third_party/toybox/lib/ |
H A D | portability.h | 249 #ifndef F_SETPIPE_SZ 250 #define F_SETPIPE_SZ 1031 macro
|
/third_party/libbpf/include/uapi/linux/ |
H A D | fcntl.h | 29 #define F_SETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 7) macro
|
/third_party/ltp/testcases/kernel/syscalls/pipe2/ |
H A D | pipe2_04.c | 74 SAFE_FCNTL(fds[0], F_SETPIPE_SZ, 0); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/ |
H A D | epoll_wait06.c | 43 SAFE_FCNTL(fds[1], F_SETPIPE_SZ, write_size); in setup()
|
/third_party/musl/porting/linux/user/include/ |
H A D | fcntl.h | 129 #define F_SETPIPE_SZ 1031 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 128 #define F_SETPIPE_SZ 1031 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 128 #define F_SETPIPE_SZ 1031 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 128 #define F_SETPIPE_SZ 1031 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | fcntl.h | 131 #define F_SETPIPE_SZ 1031 macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 128 #define F_SETPIPE_SZ 1031 macro
|
/third_party/musl/include/ |
H A D | fcntl.h | 131 #define F_SETPIPE_SZ 1031 macro
|
/third_party/python/Modules/ |
H A D | fcntlmodule.c | 569 #ifdef F_SETPIPE_SZ in all_ins() 570 if (PyModule_AddIntMacro(m, F_SETPIPE_SZ)) return -1; in all_ins()
|
/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.") 205 fcntl.fcntl(test_pipe_w, fcntl.F_SETPIPE_SZ, pipesize)
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | syscalls.rs | 40 F_GET_SEALS, F_SETFL, F_SETPIPE_SZ, SEEK_CUR, SEEK_END, SEEK_SET, STATX__RESERVED, 968 c_uint(F_SETPIPE_SZ), 977 c_uint(F_SETPIPE_SZ),
|
/third_party/python/Lib/ |
H A D | subprocess.py | 1700 if self.pipesize > 0 and hasattr(fcntl, "F_SETPIPE_SZ"): 1701 fcntl.fcntl(p2cwrite, fcntl.F_SETPIPE_SZ, self.pipesize) 1715 if self.pipesize > 0 and hasattr(fcntl, "F_SETPIPE_SZ"): 1716 fcntl.fcntl(c2pwrite, fcntl.F_SETPIPE_SZ, self.pipesize) 1730 if self.pipesize > 0 and hasattr(fcntl, "F_SETPIPE_SZ"): 1731 fcntl.fcntl(errwrite, fcntl.F_SETPIPE_SZ, self.pipesize)
|
/third_party/libfuse/lib/ |
H A D | fuse_lowlevel.c | 34 #ifndef F_SETPIPE_SZ 35 #define F_SETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 7) macro 653 res = fcntl(pipefd, F_SETPIPE_SZ, max); 710 res = fcntl(llp->pipe[0], F_SETPIPE_SZ, pipesize); 2866 res = fcntl(llp->pipe[0], F_SETPIPE_SZ, bufsize);
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
H A D | mod.rs | 474 pub const F_SETPIPE_SZ: ::c_int = 1031; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 247 pub const F_SETPIPE_SZ: u32 = 1031; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 1422 pub const F_SETPIPE_SZ: ::c_int = 1031; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 252 pub const F_SETPIPE_SZ: u32 = 1031; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 252 pub const F_SETPIPE_SZ: u32 = 1031; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 259 pub const F_SETPIPE_SZ: u32 = 1031; consts
|