Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dformats.c388 static long max_pipe_size; in incr_pipe_size() local
391 if (max_pipe_size == 0) { in incr_pipe_size()
395 max_pipe_size = -1; in incr_pipe_size()
402 max_pipe_size = strtol(buf, NULL, 10); in incr_pipe_size()
405 if (max_pipe_size <= PIPE_BUF || max_pipe_size > INT_MAX) in incr_pipe_size()
406 max_pipe_size = -1; in incr_pipe_size()
412 if (max_pipe_size > PIPE_BUF) { in incr_pipe_size()
415 if (fcntl(fd, F_SETPIPE_SZ, max_pipe_size) >= 0) in incr_pipe_size()
416 lsx_debug("got pipe %ld bytes\n", max_pipe_size); in incr_pipe_size()
419 max_pipe_size, strerror(errno)); in incr_pipe_size()