1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
5 * wrapper around splice_to_pipe. Using KALLSYMS to get its address when
6 * available, else we need to have a kernel that exports this function to GPL
9 * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 #ifndef _LTTNG_WRAPPER_SPLICE_H
13 #define _LTTNG_WRAPPER_SPLICE_H
15 #include <linux/splice.h>
17 ssize_t
wrapper_splice_to_pipe(struct pipe_inode_info
*pipe
,
18 struct splice_pipe_desc
*spd
);
20 #ifndef PIPE_DEF_BUFFERS
21 #define PIPE_DEF_BUFFERS 16
24 #endif /* _LTTNG_WRAPPER_SPLICE_H */
This page took 0.035082 seconds and 5 git commands to generate.