Rechercher une page de manuel
generic_pipe_buf_steal
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
generic_pipe_buf_steal - attempt to take ownership of a pipe_bufferSYNOPSIS
- int generic_pipe_buf_steal(struct pipe_inode_info * pipe, struct pipe_buffer * buf);
ARGUMENTS
pipe
- the pipe that the buffer belongs to
buf
- the buffer to attempt to steal
DESCRIPTION
This 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.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre