aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/splice.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /include/linux/splice.h
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'include/linux/splice.h')
-rw-r--r--include/linux/splice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/splice.h b/include/linux/splice.h
index 09a545a7dfa..26e5b613ded 100644
--- a/include/linux/splice.h
+++ b/include/linux/splice.h
@@ -51,8 +51,7 @@ struct partial_page {
51struct splice_pipe_desc { 51struct splice_pipe_desc {
52 struct page **pages; /* page map */ 52 struct page **pages; /* page map */
53 struct partial_page *partial; /* pages[] may not be contig */ 53 struct partial_page *partial; /* pages[] may not be contig */
54 int nr_pages; /* number of populated pages in map */ 54 int nr_pages; /* number of pages in map */
55 unsigned int nr_pages_max; /* pages[] & partial[] arrays size */
56 unsigned int flags; /* splice flags */ 55 unsigned int flags; /* splice flags */
57 const struct pipe_buf_operations *ops;/* ops associated with output pipe */ 56 const struct pipe_buf_operations *ops;/* ops associated with output pipe */
58 void (*spd_release)(struct splice_pipe_desc *, unsigned int); 57 void (*spd_release)(struct splice_pipe_desc *, unsigned int);
@@ -86,8 +85,9 @@ extern ssize_t splice_direct_to_actor(struct file *, struct splice_desc *,
86/* 85/*
87 * for dynamic pipe sizing 86 * for dynamic pipe sizing
88 */ 87 */
89extern int splice_grow_spd(const struct pipe_inode_info *, struct splice_pipe_desc *); 88extern int splice_grow_spd(struct pipe_inode_info *, struct splice_pipe_desc *);
90extern void splice_shrink_spd(struct splice_pipe_desc *); 89extern void splice_shrink_spd(struct pipe_inode_info *,
90 struct splice_pipe_desc *);
91extern void spd_release_page(struct splice_pipe_desc *, unsigned int); 91extern void spd_release_page(struct splice_pipe_desc *, unsigned int);
92 92
93extern const struct pipe_buf_operations page_cache_pipe_buf_ops; 93extern const struct pipe_buf_operations page_cache_pipe_buf_ops;