Name

pipe_buf_get — get a reference to a pipe_buffer

Synopsis

bool pipe_buf_get (struct pipe_inode_info * pipe,
 struct pipe_buffer * buf);
 

Arguments

pipe

the pipe that the buffer belongs to

buf

the buffer to get a reference to

Return

true if the reference was successfully obtained.