Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/freebsd-13.1/sys/xen/interface/io/
H A Dusbif.h148 #define usbif_pipeportnum(pipe) ((pipe) & USBIF_PIPE_PORT_MASK) argument
149 #define usbif_setportnum_pipe(pipe, portnum) ((pipe) | (portnum)) argument
151 #define usbif_pipeunlink(pipe) ((pipe) & USBIF_PIPE_UNLINK) argument
152 #define usbif_pipesubmit(pipe) (!usbif_pipeunlink(pipe)) argument
153 #define usbif_setunlink_pipe(pipe) ((pipe) | USBIF_PIPE_UNLINK) argument
155 #define usbif_pipein(pipe) ((pipe) & USBIF_PIPE_DIR) argument
156 #define usbif_pipeout(pipe) (!usbif_pipein(pipe)) argument
166 #define usbif_pipeisoc(pipe) (usbif_pipetype(pipe) == USBIF_PIPE_TYPE_ISOC) argument
167 #define usbif_pipeint(pipe) (usbif_pipetype(pipe) == USBIF_PIPE_TYPE_INT) argument
168 #define usbif_pipectrl(pipe) (usbif_pipetype(pipe) == USBIF_PIPE_TYPE_CTRL) argument
[all …]
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-usb.c581 pipe->prev->next = pipe->next; in __cvmx_usb_remove_pipe()
582 pipe->next->prev = pipe->prev; in __cvmx_usb_remove_pipe()
1190 return ((unsigned long)pipe - (unsigned long)usb->pipe) / sizeof(*pipe); in __cvmx_usb_get_pipe_handle()
1979 pipe = pipe->next; in __cvmx_usb_find_ready_pipe()
2095 pipe=pipe->next; in __cvmx_usb_schedule()
2276 cvmx_usb_pipe_t *pipe = usb->pipe + pipe_handle; in __cvmx_usb_submit_transaction() local
2673 cvmx_usb_pipe_t *pipe = usb->pipe + pipe_handle; in cvmx_usb_cancel() local
2738 cvmx_usb_pipe_t *pipe = usb->pipe + pipe_handle; in cvmx_usb_cancel_all() local
2780 cvmx_usb_pipe_t *pipe = usb->pipe + pipe_handle; in cvmx_usb_close_pipe() local
3082 pipe->next_tx_frame += pipe->interval; in __cvmx_usb_poll_channel()
[all …]
/freebsd-13.1/sys/sys/
H A Dpipe.h108 struct pipe { struct
116 struct pipe *pipe_peer; /* link with other direction */ argument
139 struct pipe pp_rpipe;
140 struct pipe pp_wpipe;
145 #define PIPE_MTX(pipe) (&(pipe)->pipe_pair->pp_mtx) argument
146 #define PIPE_LOCK(pipe) mtx_lock(PIPE_MTX(pipe)) argument
147 #define PIPE_UNLOCK(pipe) mtx_unlock(PIPE_MTX(pipe)) argument
148 #define PIPE_LOCK_ASSERT(pipe, type) mtx_assert(PIPE_MTX(pipe), (type)) argument
150 void pipe_dtor(struct pipe *dpipe);
151 int pipe_named_ctor(struct pipe **ppipe, struct thread *td);
[all …]
/freebsd-13.1/sys/kern/
H A Dsys_pipe.c143 (((pipe)->pipe_type & PIPE_TYPE_NAMED) ? (pipe) : ((pipe)->pipe_peer))
229 static int pipe_create(struct pipe *pipe, bool backing);
415 struct pipe *peer; in pipe_dtor()
679 pipe_create(struct pipe *pipe, bool large_backing) in pipe_create() argument
695 struct pipe *rpipe; in pipe_read()
1330 struct pipe *cpipe; in pipe_truncate()
1419 struct pipe *rpipe; in pipe_poll()
1497 struct pipe *pipe; in pipe_stat() local
1502 pipe = fp->f_data; in pipe_stat()
1505 PIPE_LOCK(pipe); in pipe_stat()
[all …]
/freebsd-13.1/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_named_pipe.c65 HANDLE pipe; member
145 dst->pipe = INVALID_HANDLE_VALUE; in ctrl_open_pipe()
167 dst->pipe = CreateNamedPipe(name, in ctrl_open_pipe()
184 CloseHandle(dst->pipe); in ctrl_open_pipe()
204 CloseHandle(dst->pipe); in ctrl_open_pipe()
239 CloseHandle(dst->pipe); in ctrl_close_pipe()
547 HANDLE pipe; member
588 dst->pipe = INVALID_HANDLE_VALUE; in global_open_pipe()
618 CloseHandle(dst->pipe); in global_open_pipe()
638 CloseHandle(dst->pipe); in global_open_pipe()
[all …]
/freebsd-13.1/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_pipe.c46 ATF_TC(pipe);
47 ATF_TC_HEAD(pipe, tc) in ATF_TC_HEAD() argument
51 ATF_TC_BODY(pipe, tc) in ATF_TC_BODY() argument
58 RL(pipe(fds)); in ATF_TC_BODY()
85 ATF_TP_ADD_TC(tp, pipe); in ATF_TP_ADD_TCS()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp185 PipePosix pipe; in LaunchProcess() local
187 error = pipe.CreateNew(child_processes_inherit); in LaunchProcess()
200 pipe.CloseReadFileDescriptor(); in LaunchProcess()
201 ChildFunc(pipe.ReleaseWriteFileDescriptor(), launch_info); in LaunchProcess()
206 pipe.CloseWriteFileDescriptor(); in LaunchProcess()
208 int r = read(pipe.GetReadFileDescriptor(), buf, sizeof buf); in LaunchProcess()
/freebsd-13.1/sys/netpfil/ipfw/
H A Ddummynet.txt20 Add a pipe
25 Delete a pipe
354 "ipfw pipe x config"
376 Add a pipe
445 Delete of pipe x
447 A pipe can be deleted by the user through the command 'ipfw pipe x delete'.
448 To delete a pipe, the pipe is removed from the pipe list, and then deleted.
629 - ipfw pipe x delete
630 delete the pipe x
643 ipfw pipe 10 config bw 1M delay 15 // create a pipe with band and delay
[all …]
/freebsd-13.1/contrib/netbsd-tests/fs/tmpfs/
H A Dt_mknod.sh100 atf_test_case pipe
109 atf_check -s eq:0 -o empty -e empty mknod pipe p
110 eval $(stat -s pipe)
141 atf_add_test_case pipe
H A Dt_pipes.sh38 atf_check -s eq:0 -o empty -e empty mknod pipe p
41 echo -n foo >pipe &
/freebsd-13.1/tests/sys/netpfil/common/
H A Ddummynet.sh52 jexec alcatraz dnctl pipe 1 config bw 30Byte/s
94 jexec alcatraz dnctl pipe 1 config bw 100Byte/s
143 jexec alcatraz dnctl pipe 1 config bw 1MByte/s
144 jexec alcatraz dnctl sched 1 config pipe 1 type wf2q+
245 jexec alcatraz dnctl pipe 1 config bw 1MByte/s
246 jexec alcatraz dnctl sched 1 config pipe 1 type wf2q+
323 pipe \
/freebsd-13.1/sys/contrib/device-tree/Bindings/goldfish/
H A Dpipe.txt3 Andorid pipe virtual device generated by android emulator.
7 - compatible : should contain "google,android-pipe" to match emulator
14 compatible = "google,android-pipe";
/freebsd-13.1/sys/contrib/device-tree/Bindings/phy/
H A Dqcom-pcie2-phy.txt14 - clocks: a clock-specifier pair for the "pipe" clock
19 - resets: reset-specifier pairs for the "phy" and "pipe" resets
21 "phy" and "pipe"
34 reset-names = "phy", "pipe";
H A Dphy-rockchip-typec.txt16 "uphy", "uphy-pipe", "uphy-tcphy"
35 - rockchip,pipe-status
51 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
75 reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
/freebsd-13.1/usr.sbin/periodic/
H A Dperiodic.sh22 /*) pipe="cat >>$output";;
23 "") pipe=cat;;
24 *) pipe="mail -E -s '$host ${2}${2:+ }${1##*/} run output' $output";;
26 eval $pipe
/freebsd-13.1/sys/security/mac/
H A Dmac_syscalls.c235 struct pipe *pipe; in sys___mac_get_fd() local
283 pipe = fp->f_data; in sys___mac_get_fd()
285 PIPE_LOCK(pipe); in sys___mac_get_fd()
286 mac_pipe_copy_label(pipe->pipe_pair->pp_label, intlabel); in sys___mac_get_fd()
287 PIPE_UNLOCK(pipe); in sys___mac_get_fd()
390 struct pipe *pipe; in sys___mac_set_fd() local
454 pipe = fp->f_data; in sys___mac_set_fd()
455 PIPE_LOCK(pipe); in sys___mac_set_fd()
457 pipe->pipe_pair, intlabel); in sys___mac_set_fd()
458 PIPE_UNLOCK(pipe); in sys___mac_set_fd()
/freebsd-13.1/contrib/llvm-project/lldb/source/Interpreter/
H A DScriptInterpreter.cpp173 Pipe pipe; in ScriptInterpreterIORedirect() local
174 Status pipe_result = pipe.CreateNew(false); in ScriptInterpreterIORedirect()
176 lldb::file_t read_file = pipe.GetReadNativeHandle(); in ScriptInterpreterIORedirect()
177 pipe.ReleaseReadFileDescriptor(); in ScriptInterpreterIORedirect()
183 pipe.ReleaseReadFileDescriptor(), true); in ScriptInterpreterIORedirect()
193 FILE *outfile_handle = fdopen(pipe.ReleaseWriteFileDescriptor(), "w"); in ScriptInterpreterIORedirect()
/freebsd-13.1/sys/contrib/device-tree/Bindings/clock/
H A Dqcom,gcc-msm8998.yaml28 - description: USB 3.0 phy pipe clock
29 - description: UFS phy rx symbol clock for pipe 0
30 - description: UFS phy rx symbol clock for pipe 1
32 - description: PCIE phy pipe clock
/freebsd-13.1/contrib/wpa/src/common/
H A Dwpa_ctrl.c73 HANDLE pipe; member
684 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, in wpa_ctrl_open()
693 if (ctrl->pipe != INVALID_HANDLE_VALUE || in wpa_ctrl_open()
698 if (ctrl->pipe == INVALID_HANDLE_VALUE) { in wpa_ctrl_open()
704 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { in wpa_ctrl_open()
705 CloseHandle(ctrl->pipe); in wpa_ctrl_open()
716 CloseHandle(ctrl->pipe); in wpa_ctrl_close()
728 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request()
731 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request()
742 if (!ReadFile(ctrl->pipe, reply, *reply_len, &len, NULL)) in wpa_ctrl_recv()
[all …]
/freebsd-13.1/tools/regression/tmpfs/
H A Dt_pipes46 mkfifo pipe || die
49 echo -n foo >pipe &
/freebsd-13.1/usr.bin/mail/
H A Dpopen.c52 int pipe; member
112 if (pipe(p) < 0) in Popen()
160 if (fp_head->pipe) in close_all_files()
167 register_file(FILE *fp, int pipe, pid_t pid) in register_file() argument
174 fpp->pipe = pipe; in register_file()
/freebsd-13.1/sys/netinet/cc/
H A Dcc_htcp.c355 int pipe; in htcp_post_recovery() local
358 pipe = 0; in htcp_post_recovery()
370 pipe = tcp_compute_pipe(ccv->ccvc.tcp); in htcp_post_recovery()
372 pipe = CCV(ccv, snd_max) - ccv->curack; in htcp_post_recovery()
374 if (pipe < CCV(ccv, snd_ssthresh)) in htcp_post_recovery()
379 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in htcp_post_recovery()
/freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-server/
H A DLLGSOptions.td20 defm named_pipe: SJ<"named-pipe", "Write port lldb-server will listen on to the given named pipe.">,
24 defm pipe: SJ<"pipe", "Write port lldb-server will listen on to the given file descriptor.">,
/freebsd-13.1/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_pipe.c62 RL(pipe(fds)); in ATF_TC_BODY()
88 RL(pipe(fds)); in ATF_TC_BODY()
127 RL(pipe(fds)); in ATF_TC_BODY()
/freebsd-13.1/tests/sys/kern/
H A Dpdeathsig.c165 rc = pipe(pipe_ca); in ATF_TC_BODY()
167 rc = pipe(pipe_cb); in ATF_TC_BODY()
236 rc = pipe(pipe_ca); in ATF_TC_BODY()
238 rc = pipe(pipe_db); in ATF_TC_BODY()
240 rc = pipe(pipe_cd); in ATF_TC_BODY()

12345678910>>...18