Name

splice_from_pipe_next — wait for some data to splice from

Synopsis

int splice_from_pipe_next (struct pipe_inode_info * pipe,
 struct splice_desc * sd);
 

Arguments

struct pipe_inode_info * pipe

pipe to splice from

struct splice_desc * sd

information about the splice operation

Description

This function will wait for some data and return a positive value (one) if pipe buffers are available. It will return zero or -errno if no more data needs to be spliced.