struct pipe_buffer — a linux kernel pipe buffer


struct pipe_buffer {
  struct page * page;
  unsigned int offset;
  unsigned int len;
  const struct pipe_buf_operations * ops;
  unsigned int flags;
  unsigned long private;


struct page * page

the page containing the data for the pipe buffer

unsigned int offset

offset of data inside the page

unsigned int len

length of data inside the page

const struct pipe_buf_operations * ops

operations associated with this buffer. See pipe_buf_operations.

unsigned int flags

pipe buffer flags. See above.

unsigned long private

private data owned by the ops.