/freebsd-current/tools/test/stress2/misc/ |
H A D | pipe2.sh | 29 # pipe(2) test 95 if (pipe(fds) == -1) 96 err(1, "pipe"); 107 if (pipe(fds) == -1) 108 err(1, "pipe");
|
H A D | pmc4.sh | 94 if (pipe(fd1) == -1) 95 err(1, "pipe()");
|
H A D | rename12.sh | 170 if (pipe(mvpipe) == -1) 171 err(1, "pipe()"); 172 if (pipe(rmpipe) == -1) 173 err(1, "pipe()");
|
/freebsd-current/tests/sys/acl/ |
H A D | run | 254 pipe *IN2, *OUT 255 or die "Can't create pipe for reading: $!"; 259 or die "Can't duplicate pipe for reading: $!"; 264 pipe *IN, *OUT2 265 or die "Can't create pipe for writing: $!"; 267 or die "Can't duplicate pipe for writing: $!"; 293 or die "Can't close pipe for writing: $!"; 308 or die "Can't close read end for input pipe: $!"; 310 or die "Can't close write end for output pipe: $!";
|
/freebsd-current/tests/sys/kern/pipe/ |
H A D | pipe_fstat_bug_test.c | 40 * data count for a pipe. Prior to revision 1.172 of sys_pipe.c, 41 * 0 would be returned once the pipe entered direct write mode. 59 error = pipe(desc); 61 err(1, "Couldn't allocate data pipe"); 63 error = pipe(ipc_coord); 65 err(1, "Couldn't allocate IPC coordination pipe");
|
H A D | pipe_reverse_test.c | 39 * a pipe. Nothing too fancy, it's only needed because most pipe-using 57 error = pipe(desc); 59 err(1, "Couldn't allocate data pipe"); 61 error = pipe(ipc_coord); 63 err(1, "Couldn't allocate IPC coordination pipe");
|
H A D | pipe_wraparound_test.c | 40 * to really stress the pipe code with this test, kernel modifications 55 error = pipe(desc); 57 err(1, "Couldn't allocate data pipe"); 59 error = pipe(ipc_coord); 61 err(1, "Couldn't allocate IPC coordination pipe");
|
H A D | big_pipe_test.c | 10 #define BIG_PIPE_SIZE 64*1024 /* From sys/pipe.h */ 13 * Test for the non-blocking big pipe bug (write(2) returning 51 if (pipe(fd) < 0) 52 errx(1, "pipe failed");
|
/freebsd-current/contrib/wpa/src/common/ |
H A D | wpa_ctrl.c | 73 HANDLE pipe; member in struct:wpa_ctrl 651 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) 684 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, 687 * Current named pipe server side in wpa_supplicant is 688 * re-opening the pipe for new clients only after the previous 693 if (ctrl->pipe != INVALID_HANDLE_VALUE || 698 if (ctrl->pipe == INVALID_HANDLE_VALUE) { 704 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { 705 CloseHandle(ctrl->pipe); 716 CloseHandle(ctrl->pipe); [all...] |
/freebsd-current/sys/contrib/dev/athk/ath10k/ |
H A D | ce.c | 571 void __ath10k_ce_send_revert(struct ath10k_ce_pipe *pipe) argument 573 struct ath10k *ar = pipe->ar; 575 struct ath10k_ce_ring *src_ring = pipe->src_ring; 576 u32 ctrl_addr = pipe->ctrl_addr; 619 int ath10k_ce_num_free_src_entries(struct ath10k_ce_pipe *pipe) argument 621 struct ath10k *ar = pipe->ar; 626 delta = CE_RING_DELTA(pipe->src_ring->nentries_mask, 627 pipe->src_ring->write_index, 628 pipe->src_ring->sw_index - 1); 635 int __ath10k_ce_rx_num_free_bufs(struct ath10k_ce_pipe *pipe) argument 650 __ath10k_ce_rx_post_buf(struct ath10k_ce_pipe *pipe, void *ctx, dma_addr_t paddr) argument 680 __ath10k_ce_rx_post_buf_64(struct ath10k_ce_pipe *pipe, void *ctx, dma_addr_t paddr) argument 713 ath10k_ce_rx_update_write_idx(struct ath10k_ce_pipe *pipe, u32 nentries) argument 734 ath10k_ce_rx_post_buf(struct ath10k_ce_pipe *pipe, void *ctx, dma_addr_t paddr) argument [all...] |
/freebsd-current/contrib/dialog/samples/ |
H A D | dialog.py | 267 self.pipe = os.popen(cmd, 'w') 281 self.pipe.write(text) 282 self.pipe.flush() 292 self.pipe.close()
|
/freebsd-current/contrib/dialog/ |
H A D | prgbox.c | 33 * Open a pipe which ties stderr and stdout together. 41 if ((*type == 'r' || *type == 'w') && pipe(fd) == 0) { 94 * Display text from a pipe in a scrolling window. 110 dlg_exiterr("pipe open failed: %s", command);
|
/freebsd-current/contrib/llvm-project/clang/lib/Basic/ |
H A D | OperatorPrecedence.cpp | 57 case tok::pipe: return prec::InclusiveOr;
|
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_fsync.c | 71 ATF_REQUIRE(pipe(fd) == 0);
|
/freebsd-current/usr.sbin/bsdinstall/runconsoles/ |
H A D | common.h | 44 error = pipe(fds);
|
/freebsd-current/contrib/ntp/sntp/libopts/compat/ |
H A D | windows-config.h | 98 #define pipe _pipe macro
|
/freebsd-current/lib/libdpv/ |
H A D | util.c | 79 /* Open a pipe to communicate with [X]dialog(1) */ 80 if (pipe(stdin_pipe) < 0) 81 err(EXIT_FAILURE, "%s: pipe(2)", __func__);
|
/freebsd-current/tools/regression/capsicum/syscalls/ |
H A D | Makefile | 4 CFLAGS= -O2 -pipe -std=gnu99 -fstack-protector
|
/freebsd-current/lib/libc/tests/stdlib/ |
H A D | quick_exit_test.c | 56 ATF_REQUIRE(pipe(p) == 0);
|
/freebsd-current/sys/fs/fifofs/ |
H A D | fifo_vnops.c | 46 #include <sys/pipe.h> 63 struct pipe *fi_pipe; 132 struct pipe *fpipe; 153 KASSERT(fpipe != NULL, ("fifo_open: pipe is NULL")); 156 * Use the pipe mutex here, in addition to the vnode lock, 265 struct pipe *cpipe;
|
/freebsd-current/sys/netinet/cc/ |
H A D | cc_cubic.c | 424 uint32_t mss, pipe; local 481 pipe = tcp_compute_pipe(ccv->ccvc.tcp); 483 pipe = CCV(ccv, snd_max) - 488 (((uint64_t)min(CCV(ccv, snd_wnd), pipe) * 540 int pipe; local 543 pipe = 0; 554 pipe = tcp_compute_pipe(ccv->ccvc.tcp); 556 pipe = CCV(ccv, snd_max) - ccv->curack; 558 if (pipe < CCV(ccv, snd_ssthresh)) 563 CCV(ccv, snd_cwnd) = max(pipe, CC [all...] |
/freebsd-current/sys/dev/netmap/ |
H A D | netmap_pipe.c | 88 /* allocate the pipe array in the parent adapter */ 120 nm_prerr("freeing not empty pipe array for %s (%d dangling pipes)!", 130 /* find a pipe endpoint with the given id among the parent's pipes */ 142 KASSERT(na_pipe_id != NULL, ("Invalid pipe name")); 151 /* add a new pipe endpoint to the parent array */ 168 /* remove the given pipe endpoint from the parent array */ 186 struct netmap_kring *rxkring = txkring->pipe; 243 struct netmap_kring *txkring = rxkring->pipe; 342 k1->pipe = k2; 343 k2->pipe [all...] |
/freebsd-current/sys/dev/drm2/ |
H A D | drm_irq.c | 811 e->base.pid, e->pipe, e->event.sequence); 995 if (e->pipe != crtc) 1001 drm_vblank_put(dev, e->pipe); 1107 static int drm_queue_vblank_event(struct drm_device *dev, int pipe, argument 1122 e->pipe = pipe; 1139 seq = drm_vblank_count_and_time(dev, pipe, &now); 1148 vblwait->request.sequence, seq, pipe); 1150 CTR4(KTR_DRM, "vblank_event_queued %d %d rt %x %d", curproc->p_pid, pipe, 1155 drm_vblank_put(dev, pipe); [all...] |
/freebsd-current/contrib/netbsd-tests/kernel/ |
H A D | t_ptrace.c | 150 uint8_t msg = 0xde; /* dummy message for IPC based on pipe(2) */ 159 ATF_REQUIRE(pipe(fds_toparent) == 0); 160 ATF_REQUIRE(pipe(fds_fromparent) == 0);
|
/freebsd-current/contrib/sqlite3/tea/win/ |
H A D | nmakehlp.c | 55 HANDLE pipe; member in struct:__anon66 224 * Create a non-inheritible pipe. 227 CreatePipe(&Out.pipe, &h, &sa, 0); 240 CreatePipe(&Err.pipe, &h, &sa, 0); 297 * Start the pipe reader threads. 311 * Wait for our pipe to get done reading, should it be a little slow. 361 * Create a non-inheritible pipe. 364 CreatePipe(&Out.pipe, &h, &sa, 0); 377 CreatePipe(&Err.pipe, &h, &sa, 0); 432 * Start the pipe reade [all...] |