1GENERIC_PIPE_BUF_GET(9) pipes API GENERIC_PIPE_BUF_GET(9)
2
3
4
6 generic_pipe_buf_get - get a reference to a struct pipe_buffer
7
9 void generic_pipe_buf_get(struct pipe_inode_info * pipe,
10 struct pipe_buffer * buf);
11
13 pipe
14 the pipe that the buffer belongs to
15
16 buf
17 the buffer to get a reference to
18
20 This function grabs an extra reference to buf. It's used in in the tee
21 system call, when we duplicate the buffers in one pipe into another.
22
24Kernel Hackers Manual 2.6. November 2011 GENERIC_PIPE_BUF_GET(9)