Searched defs:pipe (Results 1 - 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/libc/sys/common/sparc/
H A Dpipe.s31 ENTRY(pipe) function
41 SET_SIZE(pipe)
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Doptions.sh237 pipefail pipe-fail pipe_fail \
401 (( $? )) || err_exit 'pipe not failing in subshell with pipefail'
407 pipe() { date | cat > /dev/null ;} function
410 do if pipe $tmp
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetcwd.c56 FILE *pipe; local
69 if((pipe = popen("pwd", "r")) == 0)
71 (void) fgets(arg1, arg2, pipe);
72 (void) pclose(pipe);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpipe.c26 #pragma weak _pipe = pipe
32 pipe(int *fds) function
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_frame.h56 mdb_cmd_t *f_pcmd; /* Next cmd in pipe (if pipe active) */
67 mdb_bool_t pipe; /* frame has pipe context */ member in struct:mdb_frame
/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c53 int pipe(intptr_t fds, int);
58 (int (*)())pipe
65 &mod_syscallops, "pipe(2) syscall", &pipe_sysent
70 &mod_syscallops32, "32-bit pipe(2) syscall", &pipe_sysent
102 * pipe(2) system call.
103 * Create a pipe by connecting two streams together. Associate
104 * each end of the pipe with a vnode, a file descriptor and
108 pipe(intptr_t arg, int flags) function
/illumos-gate/usr/src/uts/common/sys/
H A Dedonr.h80 } pipe[1]; member in struct:__anon29
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dusbser_keyspan.c78 * Each port has its own data in/out pipes and each pipe also has its own states
79 * (traced by keyspan_pipe structure). The pipe states is as following:
519 keyspan_set_reg(keyspan_pipe_t *pipe, uchar_t bit) argument
527 rval = keyspan_write_memory(pipe, 0x7f92, &bit, 1, KEYSPAN_REQ_SET);
533 * Download firmware or set register to the device by default ctrl pipe
536 keyspan_write_memory(keyspan_pipe_t *pipe, uint16_t addr, uchar_t *buf, argument
563 while (usb_pipe_ctrl_xfer_wait(pipe->pipe_handle, &setup, &data,
H A Dkeyspan_pipe.c29 * keyspanport pipe routines (mostly device-neutral)
46 * initialize pipe structure with the given parameters
50 keyspan_pipe_t *pipe)
55 "pipe = %p, pipe_stat %x", (void *)pipe, pipe->pipe_state);
58 mutex_init(&pipe->pipe_mutex, NULL, MUTEX_DRIVER, (void *)NULL);
60 /* init pipe policy */
61 policy = &pipe->pipe_policy;
64 pipe
49 keyspan_init_one_pipe(keyspan_state_t *ksp, keyspan_port_t *kp, keyspan_pipe_t *pipe) argument
78 keyspan_fini_one_pipe(keyspan_pipe_t *pipe) argument
438 keyspan_open_one_pipe(keyspan_state_t *ksp, keyspan_pipe_t *pipe) argument
468 keyspan_open_pipe_datain_usa49wg(keyspan_state_t *ksp, keyspan_pipe_t *pipe) argument
523 keyspan_close_one_pipe(keyspan_pipe_t *pipe) argument
543 keyspan_close_pipe_datain_usa49wg(keyspan_pipe_t *pipe) argument
902 keyspan_bulkout_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
963 keyspan_introut_cb_usa49wg(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1138 keyspan_bulkin_cb_usa49(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1190 keyspan_bulkin_cb_usa49wg(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1345 keyspan_bulkin_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1384 keyspan_status_cb_usa19hs(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1465 keyspan_status_cb_usa49(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1542 keyspan_status_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1793 keyspan_status_cb_usa49wg(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1869 keyspan_intr_cb_usa49wg(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1891 keyspan_intr_ex_cb_usa49wg(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
[all...]
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_svc.c215 hd->nh_pipe = xa->pipe;
291 * Called when a pipe is closed to release any associated handles.
294 ndr_hdclose(ndr_pipe_t *pipe) argument
305 if (hd->nh_pipe == pipe) {
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h245 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dshell.h234 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dsubshell.c62 struct subshell *pipe; /* subshell where output goes to pipe on fork */ member in struct:subshell
81 short pipefd; /* read fd if pipe is created */
98 * This routine will turn the sftmp() file into a real /tmp file or pipe
106 register struct subshell *sp = subshell_data->pipe;
150 /* write the data to the pipe */
197 if(sp->pipe)
549 sp->pipe = sp;
570 sp->pipe = sp->prev->pipe;
[all...]
/illumos-gate/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h245 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h245 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h245 # define pipe(a) sh_pipe(a) macro
/illumos-gate/usr/src/uts/common/io/usb/clients/usbskel/
H A Dusbskel.c397 * Get the descriptor for an intr pipe at alt 0 of current interface.
398 * This will be used later to open the pipe.
580 * pipe opens.
653 * when they are closed. We can't reset default pipe, but we
697 usb_pipe_handle_t pipe = usbskelp->usbskel_reg->dev_default_ph; local
729 * a read would probably be done on a pipe other than the default pipe,
753 /* Autoclearing automatically set on default pipe. */
768 if ((status = usb_pipe_ctrl_xfer(pipe, request, USB_FLAGS_NOSLEEP)) !=
818 usbskel_normal_callback(usb_pipe_handle_t pipe, usb_ctrl_req_ argument
877 usbskel_exception_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *request) argument
[all...]
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd_usb.c112 * Vendor-specific write to the default control pipe.
149 "control pipe send failure (%d)\n", err));
157 * Vendor-specific read from the default control pipe.
185 ZYD_WARN("control pipe receive failure (%d)\n", err);
192 ZYD_WARN("control pipe failure: "
336 * Open a pipe to a given endpoint address/direction in the given
347 usb_pipe_handle_t *pipe, usb_ep_data_t *endpoint)
366 &pipe_policy, USB_FLAGS_SLEEP, pipe) != USB_SUCCESS) {
367 ZYD_WARN("failed to open pipe %u\n", ep_address);
407 ZYD_WARN("failed to open data OUT pipe\
341 zyd_usb_open_pipe(struct zyd_usb *uc, usb_alt_if_data_t *alt_if, uint_t ep_address, uint_t ep_direction, uint_t attr, enum zyd_usb_use_attr use_attr, usb_pipe_handle_t *pipe, usb_ep_data_t *endpoint) argument
484 zyd_data_out_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
517 zyd_bulk_pipe_cb(usb_pipe_handle_t pipe, struct usb_bulk_req *req) argument
527 zyd_usb_bulk_pipe_send(struct zyd_usb *uc, usb_pipe_handle_t pipe, const void *data, size_t len) argument
583 zyd_intr_pipe_cb(usb_pipe_handle_t pipe, struct usb_intr_req *req) argument
600 zyd_usb_intr_pipe_send(struct zyd_usb *uc, usb_pipe_handle_t pipe, const void *data, size_t len) argument
759 zyd_cmd_in_cb(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
821 zyd_cmd_in_exc_cb(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
886 zyd_data_in_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
967 zyd_data_in_exc_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
[all...]
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dmacro.cc904 FILE *pipe; local
916 if ((pipe = popen(mach_command, "r")) == NULL) {
919 while (fgets(mb_buf, sizeof(mb_buf), pipe) != NULL) {
923 if (pclose(pipe) != 0) {
959 FILE *pipe; local
971 if ((pipe = popen(arch_command, "r")) == NULL) {
974 while (fgets(mb_buf, sizeof(mb_buf), pipe) != NULL) {
978 if (pclose(pipe) != 0) {
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_usba.c60 xhci_pipe_t *pipe; local
76 * pipe which is bad news.
82 pipe = kmem_zalloc(sizeof (xhci_pipe_t), kmflags);
83 if (pipe == NULL) {
86 pipe->xp_opentime = gethrtime();
87 pipe->xp_pipe = ph;
108 "during pipe open", epid);
109 kmem_free(pipe, sizeof (xhci_pipe_t));
116 * down until the device itself is cleaned up. Otherwise, a given pipe
128 kmem_free(pipe, sizeo
[all...]
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.c597 atu_rxeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
657 atu_txeof(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c1014 "usbprn_open: pipe open failed");
1193 * Check the status of the pipe. If it's not idle,
1643 * Intitialize the pipe policy for the bulk out pipe
1650 /* Open bulk_out pipe */
1659 /* Open the bulk in pipe if one exists */
1662 * Initialize the pipe policy for the Bulk In pipe
1669 /* Open bulk_in pipe */
1712 * close the pipe, i
2338 usbprn_bulk_xfer_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
2391 usbprn_bulk_xfer_exc_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbecm/
H A Dusbecm.c135 * resources(USBA does not set limitation of requests on a pipe),
1036 usbecm_bulkin_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1198 usbecm_bulkout_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1487 * start polling on the interrupt pipe
1544 * interrupt pipe normal callback
1578 * interrupt pipe exception callback
2683 * search interrupt pipe.
2919 "usbsecm_open_pipes: look up bulk pipe failed in "
2926 * If device conform to ecm spec, it must have an interrupt pipe
2931 "usbecm_open_pipes: look up interrupt pipe faile
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/
H A Dpl2303_dsd.c112 /* pipe operations */
118 /* pipe callbacks */
1451 * pipe operations
1545 * pipe callbacks
1554 pl2303_bulkin_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1599 pl2303_bulkout_cb(usb_pipe_handle_t pipe, usb_bulk_req_t *req) argument
1710 "pl2303_tx_start: pipe busy");
/illumos-gate/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c486 * Save a copy of the default pipe for easy reference
558 * initialize the pipe policy for the interrupt pipe.
774 * Open entry point: Opens the interrupt pipe. Sets up queues.
869 /* Open the interrupt pipe */
902 "unable to start intr pipe polling. rval = %d", rval);
994 * the default pipe, wait forever for them to complete.
1380 * Callback function for the hid intr pipe. This function is called by
1385 hid_interrupt_pipe_callback(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1392 (void *)pipe, (voi
1442 hid_default_pipe_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *req) argument
1506 hid_interrupt_pipe_exception_callback(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1563 hid_default_pipe_exception_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *req) argument
[all...]

Completed in 246 milliseconds

12