Scroll to navigation

SPLICE_TO_PIPE(9) splice API SPLICE_TO_PIPE(9)

NAME

splice_to_pipe - fill passed data into a pipe

SYNOPSIS

ssize_t splice_to_pipe(struct pipe_inode_info * pipe, struct splice_pipe_desc * spd);

ARGUMENTS

struct pipe_inode_info * pipe

pipe to fill

struct splice_pipe_desc * spd

data to fill

DESCRIPTION

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.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11