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>
18 ssize_t
wrapper_splice_to_pipe(struct pipe_inode_info
*pipe
,
19 struct splice_pipe_desc
*spd
);
21 #ifndef PIPE_DEF_BUFFERS
22 #define PIPE_DEF_BUFFERS 16
25 #endif /* _LTTNG_WRAPPER_SPLICE_H */
This page took 0.031499 seconds and 5 git commands to generate.