Commit | Line | Data |
---|---|---|
90225db5 MD |
1 | #ifndef _LTT_WRAPPER_SPLICE_H |
2 | #define _LTT_WRAPPER_SPLICE_H | |
3 | ||
4 | /* | |
5 | * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) | |
6 | * | |
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 | |
9 | * modules. | |
10 | * | |
11 | * Dual LGPL v2.1/GPL v2 license. | |
12 | */ | |
13 | ||
90225db5 MD |
14 | #include <linux/splice.h> |
15 | ||
90225db5 | 16 | ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe, |
5dd620fa | 17 | struct splice_pipe_desc *spd); |
90225db5 | 18 | |
45750163 MD |
19 | #ifndef PIPE_DEF_BUFFERS |
20 | #define PIPE_DEF_BUFFERS 16 | |
21 | #endif | |
22 | ||
90225db5 | 23 | #endif /* _LTT_WRAPPER_SPLICE_H */ |