table of contents
other versions
- wheezy 3.2.78-1
GENERIC_PIPE_BUF_MAP(9) | pipes API | GENERIC_PIPE_BUF_MAP(9) |
NAME¶
generic_pipe_buf_map - virtually map a pipe bufferSYNOPSIS¶
void *
generic_pipe_buf_map(struct pipe_inode_info * pipe,
struct pipe_buffer * buf,
int atomic);
ARGUMENTS¶
pipethe pipe that the buffer belongs to
buf
the buffer that should be mapped
atomic
whether to use an atomic map
DESCRIPTION¶
This 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 occupies KM_USER0 if atomic != 0.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |