1#ifndef __LINUX_SPLICE_H__
2#define __LINUX_SPLICE_H__
13#include <linux/kernel.h>
28 unsigned long private;
36 struct pipe_inode_info*
pipe;
110 struct pipe_inode_info*
pipe,
size_t len,
int64_t ssize_t
Definition stddef.h:38
uint8_t flags
Definition virtio.h:0
#define out(...)
Definition main.cpp:65
size_t len
Definition initial.c:23
uint64_t loff_t
Definition kernel.h:49
ssize_t splice_from_pipe(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags, splice_pipe_actor actor)
bool pipe_buf_try_steal(struct pipe_inode_info *pipe, struct pipe_buffer *buf)
long __splice_from_pipe(struct pipe_inode_info *pipe, struct splice_desc *sd, splice_pipe_actor actor)
void pipe_unlock(struct pipe_inode_info *pipe)
int(* splice_pipe_actor)(struct pipe_inode_info *pipe, struct pipe_buffer *buf, struct splice_desc *sd)
Definition splice.h:89
ssize_t copy_splice_read(struct file *in, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags)
unsigned int pipe_is_empty(struct pipe_inode_info *pipe)
void pipe_lock(struct pipe_inode_info *pipe)
unsigned int pipe_buf_usage(struct pipe_inode_info *pipe)
unsigned int len
Definition splice.h:25
unsigned int offset
Definition splice.h:25
const void * ops
Definition splice.h:26
unsigned int flags
Definition splice.h:27
void * page
Definition splice.h:24
size_t len
Definition splice.h:32
unsigned int pos
Definition splice.h:35
struct file * file
Definition splice.h:52
void * data
Definition splice.h:50
struct pipe_inode_info * pipe
Definition splice.h:36
unsigned int flags
Definition splice.h:34
unsigned int total_len
Definition splice.h:33