Searched refs:pipe (Results 1 - 25 of 87) sorted by relevance

1234

/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dunistd--.h26 #undef pipe macro
27 #define pipe pipe_safer macro
H A Dpipe-safer.c1 /* Invoke pipe, but avoid some glitches.
26 /* Like pipe, but ensure that neither of the file descriptors is
28 platforms that lack pipe. */
34 if (pipe (fd) == 0)
/haiku-fatelf/src/bin/coreutils/lib/
H A Dunistd--.h26 #undef pipe macro
27 #define pipe pipe_safer macro
H A Dpipe-safer.c1 /* Invoke pipe, but avoid some glitches.
26 /* Like pipe, but ensure that neither of the file descriptors is
28 platforms that lack pipe. */
34 if (pipe (fd) == 0)
/haiku-fatelf/src/system/libroot/posix/unistd/
H A Dpipe.c14 pipe(int streams[2]) function
/haiku-fatelf/src/add-ons/kernel/bus_managers/usb/
H A Dusb.cpp34 // check if we support debug transfers for this pipe (only on UHCI for now)
90 "Gets the config for a USB pipe");
297 queue_interrupt(usb_pipe pipe, void *data, size_t dataLength, argument
301 pipe, data, dataLength, callback, callbackCookie);
302 Object *object = gUSBStack->GetObject(pipe);
312 queue_bulk(usb_pipe pipe, void *data, size_t dataLength, argument
316 pipe, data, dataLength, callback, callbackCookie);
317 Object *object = gUSBStack->GetObject(pipe);
327 queue_bulk_v(usb_pipe pipe, iovec *vector, size_t vectorCount, argument
331 pipe, vecto
342 queue_bulk_v_physical(usb_pipe pipe, iovec *vector, size_t vectorCount, usb_callback_func callback, void *callbackCookie) argument
357 queue_isochronous(usb_pipe pipe, void *data, size_t dataLength, usb_iso_packet_descriptor *packetDesc, uint32 packetCount, uint32 *startingFrameNumber, uint32 flags, usb_callback_func callback, void *callbackCookie) argument
377 set_pipe_policy(usb_pipe pipe, uint8 maxQueuedPackets, uint16 maxBufferDurationMS, uint16 sampleSize) argument
392 cancel_queued_transfers(usb_pipe pipe) argument
657 queue_interrupt_v2(const void *pipe, void *data, size_t dataLength, usb_callback_func callback, void *callbackCookie) argument
666 queue_bulk_v2(const void *pipe, void *data, size_t dataLength, usb_callback_func callback, void *callbackCookie) argument
675 queue_isochronous_v2(const void *pipe, void *data, size_t dataLength, rlea *rleArray, uint16 bufferDurationMS, usb_callback_func callback, void *callbackCookie) argument
688 set_pipe_policy_v2(const void *pipe, uint8 maxQueuedPackets, uint16 maxBufferDurationMS, uint16 sampleSize) argument
697 cancel_queued_transfers_v2(const void *pipe) argument
[all...]
H A DBusManager.cpp131 TRACE_ERROR("error getting the default pipe for speed %d\n", speed);
166 // Create a temporary pipe with the new address
167 ControlPipe pipe(fRootObject);
168 pipe.InitCommon(deviceAddress, 0, speed, Pipe::Default, 8, 0, hubAddress,
179 pipe.SendRequest(
276 BusManager::CancelQueuedTransfers(Pipe *pipe, bool force) argument
284 BusManager::NotifyPipeChange(Pipe *pipe, usb_change change) argument
303 TRACE_ERROR("failed to allocate default pipe for speed %d\n", speed);
/haiku-fatelf/headers/os/drivers/
H A DUSB3.h48 usb_pipe handle; /* of this endpoint/pipe */
175 status_t (*queue_interrupt)(usb_pipe pipe,
180 status_t (*queue_bulk)(usb_pipe pipe,
185 status_t (*queue_bulk_v)(usb_pipe pipe,
190 status_t (*queue_isochronous)(usb_pipe pipe,
206 status_t (*set_pipe_policy)(usb_pipe pipe,
211 /* Cancel all pending async requests in a pipe */
212 status_t (*cancel_queued_transfers)(usb_pipe pipe);
H A DUSB2.h48 usb_pipe *handle; /* of this endpoint/pipe */
167 status_t (*queue_interrupt)(const usb_pipe *pipe,
172 status_t (*queue_bulk)(const usb_pipe *pipe,
177 status_t (*queue_isochronous)(const usb_pipe *pipe,
192 status_t (*set_pipe_policy)(const usb_pipe *pipe,
197 /* Cancel all pending async requests in a pipe */
198 status_t (*cancel_queued_transfers)(const usb_pipe *pipe);
/haiku-fatelf/src/bin/gzip/
H A Dznew5 pipe=0
70 *P*) pipe=1; opt=`echo "$opt" | sed 's/P//g'`
83 if test $pipe -eq 1; then
123 if test $pipe -eq 1; then
136 test $pipe -eq 0 && mv "$n.$$" "$n.Z"
141 elif test $pipe -eq 1; then
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fsync/
H A D7-1.c12 * 1. Create a pipe;
13 * 2. fsync on the pipe, should fail with EINVAL;
35 if (pipe(fd) == -1)
37 printf(TNAME " Test UNRESOLVED: Error at pipe: %s\n",
44 printf("Got EINVAL when fsync on pipe\n");
/haiku-fatelf/src/system/kernel/debug/
H A Ddebug_commands.cpp61 static int invoke_pipe_segment(debugger_command_pipe* pipe, int32 index,
71 PipeDebugOutputFilter(debugger_command_pipe* pipe, int32 segment, argument
74 fPipe(pipe),
182 invoke_pipe_segment(debugger_command_pipe* pipe, int32 index, char* argument) argument
186 index == pipe->segment_count - 1
191 debugger_command_pipe_segment& segment = pipe->segments[index];
209 pipe->broken = true;
211 // Abort the previous pipe segment execution. The complete pipe is
346 /*! Aborts the currently executed debugger command (in fact the complete pipe),
361 invoke_debugger_command_pipe(debugger_command_pipe* pipe) argument
[all...]
H A Ddebug_commands.h55 int invoke_debugger_command_pipe(debugger_command_pipe* pipe);
/haiku-fatelf/src/add-ons/kernel/busses/usb/
H A Dohci.h41 virtual status_t CancelQueuedTransfers(Pipe *pipe,
44 virtual status_t NotifyPipeChange(Pipe *pipe,
73 Pipe *pipe, bool force);
95 status_t _InsertEndpointForPipe(Pipe *pipe);
96 status_t _RemoveEndpointForPipe(Pipe *pipe);
H A Duhci.cpp30 DebugTransfer(Pipe *pipe) argument
32 Transfer(pipe)
51 Pipe *pipe = (Pipe *)get_debug_variable("_usbPipe", 0); local
52 if (pipe == NULL)
56 if (pipe->GetBusManager()->TypeName()[0] != 'u')
71 UHCI *bus = (UHCI *)pipe->GetBusManager();
90 transfer = new(transferBuffer) DebugTransfer(pipe);
692 Pipe *pipe = transfer->TransferPipe(); local
693 if (pipe->DeviceAddress() == fRootHubAddress)
696 TRACE("submit transfer called for device %d\n", pipe
831 CancelQueuedTransfers(Pipe *pipe, bool force) argument
895 CancelQueuedIsochronousTransfers(Pipe *pipe, bool force) argument
926 Pipe *pipe = transfer->TransferPipe(); local
1087 Pipe *pipe = transfer->TransferPipe(); local
1999 Pipe *pipe = transfer->TransferPipe(); local
2060 CreateDescriptor(Pipe *pipe, uint8 direction, size_t bufferSize) argument
2114 CreateDescriptorChain(Pipe *pipe, uhci_td **_firstDescriptor, uhci_td **_lastDescriptor, uint8 direction, size_t bufferSize) argument
[all...]
H A Dohci.cpp439 TRACE_ERROR("tried to submit transfer for unknown pipe type %" B_PRIu32 "\n",
446 OHCI::CancelQueuedTransfers(Pipe *pipe, bool force) argument
448 if (pipe->Type() & USB_OBJECT_ISO_PIPE)
449 return _CancelQueuedIsochronousTransfers(pipe, force);
462 if (current->transfer && current->transfer->TransferPipe() == pipe) {
504 while (fProcessingPipe == pipe)
514 OHCI::NotifyPipeChange(Pipe *pipe, usb_change change) argument
516 TRACE("pipe change %d for pipe %p\n", change, pipe);
903 _CancelQueuedIsochronousTransfers(Pipe *pipe, bool force) argument
1239 Pipe *pipe = transfer->TransferPipe(); local
1423 _InsertEndpointForPipe(Pipe *pipe) argument
1537 _RemoveEndpointForPipe(Pipe *pipe) argument
[all...]
H A Dehci.h57 virtual status_t CancelQueuedTransfers(Pipe *pipe, bool force);
58 status_t CancelQueuedIsochronousTransfers(Pipe *pipe, bool force);
61 virtual status_t NotifyPipeChange(Pipe *pipe,
121 Pipe *pipe);
126 Pipe *pipe);
147 status_t CreateDescriptorChain(Pipe *pipe,
H A Dxhci.cpp482 Pipe *pipe = transfer->TransferPipe(); local
483 if ((pipe->Type() & USB_OBJECT_ISO_PIPE) != 0)
485 if ((pipe->Type() & USB_OBJECT_CONTROL_PIPE) != 0)
494 Pipe *pipe = transfer->TransferPipe(); local
537 xhci_endpoint *endpoint = (xhci_endpoint *)pipe->ControllerCookie();
538 uint8 id = XHCI_ENDPOINT_ID(pipe);
556 Pipe *pipe = transfer->TransferPipe(); local
557 uint8 id = XHCI_ENDPOINT_ID(pipe);
560 bool directionIn = (pipe->Direction() == Pipe::In);
587 xhci_endpoint *endpoint = (xhci_endpoint *)pipe
600 CancelQueuedTransfers(Pipe *pipe, bool force) argument
607 NotifyPipeChange(Pipe *pipe, usb_change change) argument
1137 _InsertEndpointForPipe(Pipe *pipe) argument
1233 _RemoveEndpointForPipe(Pipe *pipe) argument
[all...]
/haiku-fatelf/src/add-ons/print/drivers/postscript/
H A DFilterIO.cpp107 // Create new pipe FDs as stdin, stdout, stderr
108 pipe(filedes); dup2(filedes[0], 0); close(filedes[0]);
110 pipe(filedes); dup2(filedes[1], 1); close(filedes[1]);
112 pipe(filedes); dup2(filedes[1], 2); close(filedes[1]);
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/
H A Dport.h36 #define pipe(XX) DosCreatePipe(&XX[0], &XX[1], 8 * 1024) macro
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mmap/
H A D23-1.c11 * 1. Create pipe;
12 * 2. mmap the pipe fd to memory, should get ENODEV;
43 if (pipe(pipe_fd) == -1)
45 printf("Test Unresolved: " TNAME " Error at pipe(): %s\n",
54 printf("Test Pass: " TNAME " Get ENODEV when mmap a pipe fd\n");
/haiku-fatelf/src/add-ons/kernel/busses/scsi/usb/
H A Dproto_common.c57 usb_pipe pipe = (dir == eDirIn) ? udi->pipe_in : udi->pipe_out; local
59 status = (*udi->usb_m->queue_bulk_v)(pipe, sg_data, sg_count, bulk_callback, udi);
65 status_t st=(*udi->usb_m->clear_feature)(pipe, USB_FEATURE_ENDPOINT_HALT);
70 (*udi->usb_m->cancel_queued_transfers)(pipe);
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A DMakefile.benchmarks80 pipe \
H A Dbench460 pipe $OPTS -N "pipe_pst1" -s 1 -I 1000 -x pipe -m st
461 pipe $OPTS -N "pipe_pmt1" -s 1 -I 8000 -x pipe -m mt
462 pipe $OPTS -N "pipe_pmp1" -s 1 -I 8000 -x pipe -m mp
463 pipe $OPTS -N "pipe_pst4k" -s 4k -I 1000 -x pipe -m st
464 pipe $OPTS -N "pipe_pmt4k" -s 4k -I 8000 -x pipe
[all...]
/haiku-fatelf/src/tests/kits/app/common/
H A DPipedAppRunner.cpp151 FILE *pipe = fPipe; local
153 while (!feof(pipe)) {
154 size_t bytes = fread(buffer, 1, sizeof(buffer), pipe);

Completed in 144 milliseconds

1234