table of contents
other versions
- stretch 4.9.168-1
 
| GENERIC_PIPE_BUF_GET(9) | pipes API | GENERIC_PIPE_BUF_GET(9) | 
NAME¶
generic_pipe_buf_get - get a reference to a struct pipe_bufferSYNOPSIS¶
void generic_pipe_buf_get(struct pipe_inode_info * pipe, struct pipe_buffer * buf);
ARGUMENTS¶
pipethe pipe that the buffer belongs to
buf
the buffer to get a reference to
DESCRIPTION¶
This function grabs an extra reference to buf. It's used in in the tee system call, when we duplicate the buffers in one pipe into another.COPYRIGHT¶
| April 2019 | Kernel Hackers Manual 4.9. |