generic_pipe_buf_get(9)

generic_pipe_buf_get9

Get a reference to a struct pipe_buffer

Usage

bool generic_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

Overview

This function grabs an extra reference to buf. It's used in in the tee system call, when we duplicate the buffers in one pipe into another.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.