Add PIPE_DEF_BUFFERS to splice wrapper
[lttng-modules.git] / wrapper / splice.h
... / ...
CommitLineData
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
14#include <linux/splice.h>
15
16ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe,
17 struct splice_pipe_desc *spd);
18
19#ifndef PIPE_DEF_BUFFERS
20#define PIPE_DEF_BUFFERS 16
21#endif
22
23#endif /* _LTT_WRAPPER_SPLICE_H */
This page took 0.022056 seconds and 4 git commands to generate.