Searched defs:pipe (Results 1 - 25 of 41) 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:__anon423
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_cluster.c124 FILE *pipe; local
139 pipe = popen("/usr/sbin/clinfo -n 2>/dev/null || echo 0", "r");
140 if (pipe == NULL) {
148 if ((rc = fscanf(pipe, "%d", &id)) != 1) {
156 pclose(pipe);
/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/smbsrv/libmlrpc/common/
H A Dndr_svc.c216 hd->nh_pipe = xa->pipe;
292 * Called when a pipe is closed to release any associated handles.
295 ndr_hdclose(ndr_pipe_t *pipe) argument
306 if (hd->nh_pipe == pipe) {
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrboot.c591 FILE *pipe; local
614 pipe = popen(cmd, "r");
616 if (pipe == NULL) {
617 rdc_err(NULL, gettext("Error opening pipe"));
619 rc = fscanf(pipe, "%s", lhostname);
620 (void) pclose(pipe);
/illumos-gate/usr/src/uts/intel/io/drm/
H A Di915_irq.c48 * Since pipe events are edge-triggered from the PIPESTAT register to IIR,
138 i915_pipestat(int pipe) argument
140 if (pipe == 0)
142 if (pipe == 1)
148 i915_enable_pipestat(drm_i915_private_t *dev_priv, int pipe, uint32_t mask) argument
150 if ((dev_priv->pipestat[pipe] & mask) != mask) {
151 u32 reg = i915_pipestat(pipe);
153 dev_priv->pipestat[pipe] |= mask;
155 I915_WRITE(reg, dev_priv->pipestat[pipe] | (mask >> 16));
161 i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u3 argument
182 i915_pipe_enabled(struct drm_device *dev, int pipe) argument
193 i915_get_vblank_counter(struct drm_device *dev, int pipe) argument
416 gm45_get_vblank_counter(struct drm_device *dev, int pipe) argument
755 igdng_enable_vblank(struct drm_device *dev, int pipe) argument
773 igdng_disable_vblank(struct drm_device *dev, int pipe) argument
791 i915_enable_vblank(struct drm_device *dev, int pipe) argument
815 i915_disable_vblank(struct drm_device *dev, int pipe) argument
850 drm_i915_vblank_pipe_t pipe; local
[all...]
H A Di915_drv.c73 enum pipe { enum
245 i915_pipe_enabled(struct drm_device *dev, enum pipe pipe) argument
249 if (pipe == PIPE_A)
256 i915_save_palette(struct drm_device *dev, enum pipe pipe) argument
259 unsigned long reg = (pipe == PIPE_A ? PALETTE_A : PALETTE_B);
263 if (!i915_pipe_enabled(dev, pipe))
266 if (pipe == PIPE_A)
277 i915_restore_palette(struct drm_device *dev, enum pipe pip argument
[all...]
/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/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/hid/
H A Dhid.c481 * Save a copy of the default pipe for easy reference
553 * initialize the pipe policy for the interrupt pipe.
769 * Open entry point: Opens the interrupt pipe. Sets up queues.
864 /* Open the interrupt pipe */
897 "unable to start intr pipe polling. rval = %d", rval);
989 * the default pipe, wait forever for them to complete.
1375 * Callback function for the hid intr pipe. This function is called by
1380 hid_interrupt_pipe_callback(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1387 (void *)pipe, (voi
1437 hid_default_pipe_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *req) argument
1501 hid_interrupt_pipe_exception_callback(usb_pipe_handle_t pipe, usb_intr_req_t *req) argument
1558 hid_default_pipe_exception_callback(usb_pipe_handle_t pipe, usb_ctrl_req_t *req) argument
[all...]

Completed in 212 milliseconds

12