Commit 79685b8d authored by Randy Dunlap's avatar Randy Dunlap Committed by Jens Axboe
Browse files

docbook: add pipes, other fixes



Fix some typos in pipe.c and splice.c.
Add pipes API to kernel-api.tmpl.

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 7c2ff389
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -704,14 +704,23 @@ X!Idrivers/video/console/fonts.c

  <chapter id="splice">
      <title>splice API</title>
  <para>)
  <para>
	splice is a method for moving blocks of data around inside the
	kernel, without continually transferring it between the kernel
	kernel, without continually transferring them between the kernel
	and user space.
  </para>
!Iinclude/linux/splice.h
!Ffs/splice.c
  </chapter>

  <chapter id="pipes">
      <title>pipes API</title>
  <para>
	Pipe interfaces are all for in-kernel (builtin image) use.
	They are not exported for use by modules.
  </para>
!Iinclude/linux/pipe_fs_i.h
!Ffs/pipe.c
  </chapter>

</book>
+1 −1
Original line number Diff line number Diff line
@@ -255,7 +255,7 @@ void generic_pipe_buf_get(struct pipe_inode_info *pipe, struct pipe_buffer *buf)

/**
 * generic_pipe_buf_confirm - verify contents of the pipe buffer
 * @pipe:	the pipe that the buffer belongs to
 * @info:	the pipe that the buffer belongs to
 * @buf:	the buffer to confirm
 *
 * Description:
+2 −2
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ static const struct pipe_buf_operations user_page_pipe_buf_ops = {
 * @spd:	data to fill
 *
 * Description:
 *    @spd contains a map of pages and len/offset tupples, a long with
 *    @spd contains a map of pages and len/offset tuples, along with
 *    the struct pipe_buf_operations associated with these pages. This
 *    function will link that data to the pipe.
 *