1 #ifndef _LTT_WRAPPER_SPLICE_H
2 #define _LTT_WRAPPER_SPLICE_H
5 * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com)
7 * wrapper around vmalloc_sync_all. Using KALLSYMS to get its address when
8 * available, else we need to have a kernel that exports this function to GPL
11 * Dual LGPL v2.1/GPL v2 license.
14 #include <linux/splice.h>
16 ssize_t
wrapper_splice_to_pipe(struct pipe_inode_info
*pipe
,
17 struct splice_pipe_desc
*spd
);
19 #ifndef PIPE_DEF_BUFFERS
20 #define PIPE_DEF_BUFFERS 16
23 #endif /* _LTT_WRAPPER_SPLICE_H */