Searched refs:pipes (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_bw_unix.c | 91 int pipes[2]; member in struct:__anon1359 205 if (socketpair(AF_UNIX, SOCK_STREAM, 0, state->pipes) == -1) { 220 close(state->pipes[0]); 221 writer(state->control[0], state->pipes[1], state->buf, state); 235 close(state->pipes[1]); 256 if ((n = read(state->pipes[0], state->buf, state->xfer)) <= 0) { 275 close(state->pipes[0]);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | sys_pipe.c | 55 * pipes scheme originally used in FreeBSD/4.4Lite. It does not support 56 * all features of sockets, but does do everything that pipes normally 59 * Pipes are implemented as circular buffers. Following are the valid states in pipes operations 104 * operations on pipes. The initial buffer is very small, but this can 110 * In order to limit the resource use of pipes, two sysctls exist: 116 * kern.ipc.pipes, kern.ipc.pipekva. 200 static int amountpipes; /* total number of pipes in system */ 201 static int amountpipekva; /* total memory used by pipes */ 212 SYSCTL_INT(_kern_ipc, OID_AUTO, pipes, CTLFLAG_RD|CTLFLAG_LOCKED, 213 &amountpipes, 0, "Current # of pipes"); [all...] |
Completed in 17 milliseconds