| /freebsd-13-stable/sys/xen/interface/io/ |
| HD | usbif.h | 148 #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 158 #define usbif_pipedevice(pipe) \ argument 159 (((pipe) >> USBIF_PIPE_DEV_SHIFT) & USBIF_PIPE_DEV_MASK) 161 #define usbif_pipeendpoint(pipe) \ argument [all …]
|
| /freebsd-13-stable/sys/contrib/octeon-sdk/ |
| HD | cvmx-usb.c | 212 cvmx_usb_pipe_t pipe[MAX_PIPES]; /**< Storage for pipes */ member 425 static inline int __cvmx_usb_pipe_needs_split(cvmx_usb_internal_state_t *usb, cvmx_usb_pipe_t *pipe) in __cvmx_usb_pipe_needs_split() argument 427 …return ((pipe->device_speed != CVMX_USB_SPEED_HIGH) && (usb->usbcx_hprt.s.prtspd == CVMX_USB_SPEED… in __cvmx_usb_pipe_needs_split() 439 static inline int __cvmx_usb_get_data_pid(cvmx_usb_pipe_t *pipe) in __cvmx_usb_get_data_pid() argument 441 if (pipe->pid_toggle) in __cvmx_usb_get_data_pid() 544 static inline void __cvmx_usb_append_pipe(cvmx_usb_pipe_list_t *list, cvmx_usb_pipe_t *pipe) in __cvmx_usb_append_pipe() argument 546 pipe->next = NULL; in __cvmx_usb_append_pipe() 547 pipe->prev = list->tail; in __cvmx_usb_append_pipe() 549 list->tail->next = pipe; in __cvmx_usb_append_pipe() 551 list->head = pipe; in __cvmx_usb_append_pipe() [all …]
|
| /freebsd-13-stable/sys/sys/ |
| HD | pipe.h | 106 struct pipe { struct 114 struct pipe *pipe_peer; /* link with other direction */ argument 137 struct pipe pp_rpipe; 138 struct pipe pp_wpipe; 143 #define PIPE_MTX(pipe) (&(pipe)->pipe_pair->pp_mtx) argument 144 #define PIPE_LOCK(pipe) mtx_lock(PIPE_MTX(pipe)) argument 145 #define PIPE_UNLOCK(pipe) mtx_unlock(PIPE_MTX(pipe)) argument 146 #define PIPE_LOCK_ASSERT(pipe, type) mtx_assert(PIPE_MTX(pipe), (type)) argument 148 void pipe_dtor(struct pipe *dpipe); 149 int pipe_named_ctor(struct pipe **ppipe, struct thread *td); [all …]
|
| /freebsd-13-stable/sys/kern/ |
| HD | sys_pipe.c | 140 #define PIPE_PEER(pipe) \ argument 141 (((pipe)->pipe_type & PIPE_TYPE_NAMED) ? (pipe) : ((pipe)->pipe_peer)) 226 static void pipeclose(struct pipe *cpipe); 227 static void pipe_free_kmem(struct pipe *cpipe); 228 static int pipe_create(struct pipe *pipe, bool backing); 230 static __inline int pipelock(struct pipe *cpipe, int catch); 231 static __inline void pipeunlock(struct pipe *cpipe); 234 static int pipe_build_write_buffer(struct pipe *wpipe, struct uio *uio); 235 static void pipe_destroy_write_buffer(struct pipe *wpipe); 236 static int pipe_direct_write(struct pipe *wpipe, struct uio *uio); [all …]
|
| /freebsd-13-stable/tests/examples/ |
| HD | test_examples.py | 182 iface_alias = self.wait_object(vnet.pipe, None) 185 self.send_object(vnet.pipe, self._get_iface_stat(os_ifname)) 192 pipe = second_vnet.pipe 195 self.send_object(pipe, "if1") 196 old_stat = self.wait_object(pipe) 198 self.send_object(pipe, "if1") 199 new_stat = self.wait_object(pipe) 203 self.send_object(pipe, "if2") 204 old_stat = self.wait_object(pipe) 206 self.send_object(pipe, "if2") [all …]
|
| /freebsd-13-stable/contrib/wpa/wpa_supplicant/ |
| HD | ctrl_iface_named_pipe.c | 65 HANDLE pipe; member 100 static int ctrl_broken_pipe(HANDLE pipe, int used) in ctrl_broken_pipe() argument 104 if (PeekNamedPipe(pipe, NULL, 0, NULL, NULL, NULL)) in ctrl_broken_pipe() 122 if (ctrl_broken_pipe(dst->pipe, dst->used)) { in ctrl_flush_broken_pipes() 145 dst->pipe = INVALID_HANDLE_VALUE; in ctrl_open_pipe() 167 dst->pipe = CreateNamedPipe(name, in ctrl_open_pipe() 175 if (dst->pipe == INVALID_HANDLE_VALUE) { in ctrl_open_pipe() 181 if (ConnectNamedPipe(dst->pipe, &dst->overlap)) { in ctrl_open_pipe() 184 CloseHandle(dst->pipe); in ctrl_open_pipe() 204 CloseHandle(dst->pipe); in ctrl_open_pipe() [all …]
|
| /freebsd-13-stable/tests/sys/netinet6/ |
| HD | test_ip6_output.py | 83 vnet.pipe.send(ll_data) 87 vnet.pipe.send(tx_obj) 109 self.wait_object(second_vnet.pipe) 113 rx_obj = self.wait_object(second_vnet.pipe) 134 self.wait_object(second_vnet.pipe) 139 rx_obj = self.wait_object(second_vnet.pipe) 198 self.wait_object(second_vnet.pipe) 214 rx_obj = self.wait_object(second_vnet.pipe) 239 ll_data = self.wait_object(second_vnet.pipe) 255 rx_obj = self.wait_object(second_vnet.pipe) [all …]
|
| /freebsd-13-stable/contrib/netbsd-tests/kernel/kqueue/read/ |
| HD | t_pipe.c | 46 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-stable/tests/sys/netpfil/pf/ |
| HD | sctp.py | 145 vnet.pipe.send(rcvd) 277 rcvd = self.wait_object(srv_vnet.pipe) 285 rcvd = self.wait_object(srv_vnet.pipe) 315 rcvd = self.wait_object(srv_vnet.pipe) 325 rcvd = self.wait_object(srv_vnet.pipe) 334 rcvd = self.wait_object(srv_vnet.pipe, 5) 353 rcvd = self.wait_object(srv_vnet.pipe, 5) 385 rcvd = self.wait_object(srv_vnet.pipe) 416 rcvd = self.wait_object(srv_vnet.pipe) 460 rcvd = self.wait_object(srv_vnet.pipe) [all …]
|
| /freebsd-13-stable/sys/netpfil/ipfw/ |
| HD | dummynet.txt | 19 Add a pipe 24 Delete a pipe 44 with a tag such as "pipe 10" or "queue 5" which tells what to 179 (plus one for each 'pipe X config'). 184 (plus one for each 'pipe X config'). 292 TRADITIONAL DUMMYNET QUEUES "queue N config ... pipe M ..." 295 TRADITIONAL DUMMYNET PIPES "pipe N config ..." 303 DELAY PROFILE "pipe N config profile ..." 310 "pipe N config ..." configures: 352 To create a pipe, queue or scheduler, the user should type commands like: [all …]
|
| /freebsd-13-stable/tests/sys/netpfil/common/ |
| HD | dummynet.sh | 51 jexec alcatraz dnctl pipe 1 config bw 30Byte/s 93 jexec alcatraz dnctl pipe 1 config bw 100Byte/s 142 jexec alcatraz dnctl pipe 1 config bw 1MByte/s 143 jexec alcatraz dnctl sched 1 config pipe 1 type wf2q+ 244 jexec alcatraz dnctl pipe 1 config bw 1MByte/s 245 jexec alcatraz dnctl sched 1 config pipe 1 type wf2q+ 322 pipe \
|
| /freebsd-13-stable/contrib/netbsd-tests/fs/tmpfs/ |
| HD | t_mknod.sh | 100 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
|
| /freebsd-13-stable/sys/contrib/device-tree/Bindings/goldfish/ |
| HD | pipe.txt | 3 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-stable/sys/contrib/device-tree/Bindings/phy/ |
| HD | qcom-pcie2-phy.txt | 14 - 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";
|
| /freebsd-13-stable/sys/security/mac/ |
| HD | mac_syscalls.c | 232 struct pipe *pipe; in sys___mac_get_fd() local 280 pipe = fp->f_data; in sys___mac_get_fd() 282 PIPE_LOCK(pipe); in sys___mac_get_fd() 283 mac_pipe_copy_label(pipe->pipe_pair->pp_label, intlabel); in sys___mac_get_fd() 284 PIPE_UNLOCK(pipe); in sys___mac_get_fd() 387 struct pipe *pipe; in sys___mac_set_fd() local 451 pipe = fp->f_data; in sys___mac_set_fd() 452 PIPE_LOCK(pipe); in sys___mac_set_fd() 454 pipe->pipe_pair, intlabel); in sys___mac_set_fd() 455 PIPE_UNLOCK(pipe); in sys___mac_set_fd()
|
| /freebsd-13-stable/usr.sbin/periodic/ |
| HD | periodic.sh | 21 /*) pipe="cat >>$output";; 22 "") pipe=cat;; 23 *) pipe="mail -E -s '$host ${2}${2:+ }${1##*/} run output' $output";; 25 eval $pipe
|
| /freebsd-13-stable/tests/atf_python/sys/net/ |
| HD | vnet.py | 223 self.pipe = None 234 def set_pipe(self, pipe): argument 235 self.pipe = pipe 339 def _setup_vnet(self, vnet: VnetInstance, obj_map: Dict, pipe): argument 346 if pipe is not None: 347 vnet.set_pipe(pipe) 481 def wait_object(self, pipe, timeout=5): argument 482 if pipe.poll(timeout): 483 return pipe.recv() 486 def send_object(self, pipe, obj): argument [all …]
|
| /freebsd-13-stable/contrib/llvm-project/lldb/source/Host/posix/ |
| HD | ProcessLauncherPosixFork.cpp | 261 PipePosix pipe; in LaunchProcess() local 263 error = pipe.CreateNew(child_processes_inherit); in LaunchProcess() 278 pipe.CloseReadFileDescriptor(); in LaunchProcess() 279 ChildFunc(pipe.ReleaseWriteFileDescriptor(), fork_launch_info); in LaunchProcess() 284 pipe.CloseWriteFileDescriptor(); in LaunchProcess() 291 r = llvm::sys::RetryAfterSignal(-1, read, pipe.GetReadFileDescriptor(), in LaunchProcess()
|
| /freebsd-13-stable/contrib/llvm-project/lldb/source/Interpreter/ |
| HD | ScriptInterpreter.cpp | 216 Pipe pipe; in ScriptInterpreterIORedirect() local 217 Status pipe_result = pipe.CreateNew(false); in ScriptInterpreterIORedirect() 219 lldb::file_t read_file = pipe.GetReadNativeHandle(); in ScriptInterpreterIORedirect() 220 pipe.ReleaseReadFileDescriptor(); in ScriptInterpreterIORedirect() 226 pipe.ReleaseReadFileDescriptor(), true); in ScriptInterpreterIORedirect() 236 FILE *outfile_handle = fdopen(pipe.ReleaseWriteFileDescriptor(), "w"); in ScriptInterpreterIORedirect()
|
| /freebsd-13-stable/contrib/wpa/src/common/ |
| HD | wpa_ctrl.c | 73 HANDLE pipe; member 694 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, in wpa_ctrl_open() 703 if (ctrl->pipe != INVALID_HANDLE_VALUE || in wpa_ctrl_open() 708 if (ctrl->pipe == INVALID_HANDLE_VALUE) { in wpa_ctrl_open() 714 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { in wpa_ctrl_open() 715 CloseHandle(ctrl->pipe); in wpa_ctrl_open() 726 CloseHandle(ctrl->pipe); in wpa_ctrl_close() 738 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request() 741 if (!ReadFile(ctrl->pipe, reply, *reply_len, &readlen, NULL)) in wpa_ctrl_request() 752 if (!ReadFile(ctrl->pipe, reply, *reply_len, &len, NULL)) in wpa_ctrl_recv() [all …]
|
| /freebsd-13-stable/usr.bin/mail/ |
| HD | popen.c | 50 int pipe; member 110 if (pipe(p) < 0) in Popen() 158 if (fp_head->pipe) in close_all_files() 165 register_file(FILE *fp, int pipe, pid_t pid) in register_file() argument 172 fpp->pipe = pipe; in register_file()
|
| /freebsd-13-stable/sys/netinet/cc/ |
| HD | cc_htcp.c | 353 int pipe; in htcp_post_recovery() local 356 pipe = 0; in htcp_post_recovery() 368 pipe = tcp_compute_pipe(ccv->ccvc.tcp); in htcp_post_recovery() 370 pipe = CCV(ccv, snd_max) - ccv->curack; in htcp_post_recovery() 372 if (pipe < CCV(ccv, snd_ssthresh)) in htcp_post_recovery() 377 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in htcp_post_recovery()
|
| /freebsd-13-stable/tests/sys/kern/ |
| HD | pdeathsig.c | 163 rc = pipe(pipe_ca); in ATF_TC_BODY() 165 rc = pipe(pipe_cb); in ATF_TC_BODY() 234 rc = pipe(pipe_ca); in ATF_TC_BODY() 236 rc = pipe(pipe_db); in ATF_TC_BODY() 238 rc = pipe(pipe_cd); in ATF_TC_BODY()
|
| /freebsd-13-stable/tools/regression/tmpfs/ |
| HD | t_pipes | 45 mkfifo pipe || die 48 echo -n foo >pipe &
|
| /freebsd-13-stable/contrib/llvm-project/lldb/tools/lldb-server/ |
| HD | LLGSOptions.td | 20 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.">,
|