Home
last modified time | relevance | path

Searched refs:F_SETPIPE_SZ (Results 1 - 25 of 35) sorted by relevance

12

/third_party/ltp/include/lapi/
H A Dfcntl.h36 #ifndef F_SETPIPE_SZ
37 # define F_SETPIPE_SZ 1031 macro
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl30.c12 * 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 Dfcntl37.c6 * 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 Dportability.h249 #ifndef F_SETPIPE_SZ
250 #define F_SETPIPE_SZ 1031 macro
/third_party/libbpf/include/uapi/linux/
H A Dfcntl.h29 #define F_SETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 7) macro
/third_party/ltp/testcases/kernel/syscalls/pipe2/
H A Dpipe2_04.c74 SAFE_FCNTL(fds[0], F_SETPIPE_SZ, 0); in setup()
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/
H A Depoll_wait06.c43 SAFE_FCNTL(fds[1], F_SETPIPE_SZ, write_size); in setup()
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h129 #define F_SETPIPE_SZ 1031 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h128 #define F_SETPIPE_SZ 1031 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h128 #define F_SETPIPE_SZ 1031 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h128 #define F_SETPIPE_SZ 1031 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h131 #define F_SETPIPE_SZ 1031 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h128 #define F_SETPIPE_SZ 1031 macro
/third_party/musl/include/
H A Dfcntl.h131 #define F_SETPIPE_SZ 1031 macro
/third_party/python/Modules/
H A Dfcntlmodule.c569 #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 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.")
205 fcntl.fcntl(test_pipe_w, fcntl.F_SETPIPE_SZ, pipesize)
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dsyscalls.rs40 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 Dsubprocess.py1700 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 Dfuse_lowlevel.c34 #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 Dmod.rs474 pub const F_SETPIPE_SZ: ::c_int = 1031; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs247 pub const F_SETPIPE_SZ: u32 = 1031; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs1422 pub const F_SETPIPE_SZ: ::c_int = 1031; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs252 pub const F_SETPIPE_SZ: u32 = 1031; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs252 pub const F_SETPIPE_SZ: u32 = 1031; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs259 pub const F_SETPIPE_SZ: u32 = 1031; consts

Completed in 88 milliseconds

12