Query: generic_pipe_buf_steal
OS: centos
Section: 9
Links: centos man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GENERIC_PIPE_BUF_STE(9) pipes API GENERIC_PIPE_BUF_STE(9)NAMEgeneric_pipe_buf_steal - attempt to take ownership of a pipe_bufferSYNOPSISint generic_pipe_buf_steal(struct pipe_inode_info * pipe, struct pipe_buffer * buf);ARGUMENTSpipe the pipe that the buffer belongs to buf the buffer to attempt to stealDESCRIPTIONThis function attempts to steal the struct page attached to buf. If successful, this function returns 0 and returns with the page locked. The caller may then reuse the page for whatever he wishes; the typical use is insertion into a different file page cache.COPYRIGHTKernel Hackers Manual 3.10 June 2014 GENERIC_PIPE_BUF_STE(9)