Query: generic_pipe_buf_map
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GENERIC_PIPE_BUF_MAP(9) pipes API GENERIC_PIPE_BUF_MAP(9)NAMEgeneric_pipe_buf_map - virtually map a pipe bufferSYNOPSISvoid * generic_pipe_buf_map(struct pipe_inode_info * pipe, struct pipe_buffer * buf, int atomic);ARGUMENTSpipe the pipe that the buffer belongs to buf the buffer that should be mapped atomic whether to use an atomic mapDESCRIPTIONThis function returns a kernel virtual address mapping for the pipe_buffer passed in buf. If atomic is set, an atomic map is provided and the caller has to be careful not to fault before calling the unmap function. Note that this function calls kmap_atomic if atomic != 0.COPYRIGHTKernel Hackers Manual 3.10 June 2014 GENERIC_PIPE_BUF_MAP(9)