Home
last modified time | relevance | path

Searched refs:desiredsize (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/kern/
H A Dsys_pipe.c1144 int desiredsize, error; in pipe_write() local
1174 desiredsize = max(SMALL_PIPE_SIZE, wpipe->pipe_buffer.size); in pipe_write()
1175 while (desiredsize < wpipe->pipe_buffer.cnt + uio->uio_resid) { in pipe_write()
1180 if (desiredsize == BIG_PIPE_SIZE) in pipe_write()
1182 desiredsize = desiredsize * 2; in pipe_write()
1190 desiredsize = SMALL_PIPE_SIZE; in pipe_write()
1193 if (desiredsize != wpipe->pipe_buffer.size && in pipe_write()
1196 pipespace(wpipe, desiredsize); in pipe_write()