diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pipe_fs_i.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h index d218fc729319..ec384958d509 100644 --- a/include/linux/pipe_fs_i.h +++ b/include/linux/pipe_fs_i.h | |||
@@ -5,11 +5,14 @@ | |||
5 | 5 | ||
6 | #define PIPE_BUFFERS (16) | 6 | #define PIPE_BUFFERS (16) |
7 | 7 | ||
8 | #define PIPE_BUF_FLAG_STOLEN 0x01 | ||
9 | #define PIPE_BUF_FLAG_LRU 0x02 | ||
10 | |||
8 | struct pipe_buffer { | 11 | struct pipe_buffer { |
9 | struct page *page; | 12 | struct page *page; |
10 | unsigned int offset, len; | 13 | unsigned int offset, len; |
11 | struct pipe_buf_operations *ops; | 14 | struct pipe_buf_operations *ops; |
12 | unsigned int stolen; | 15 | unsigned int flags; |
13 | }; | 16 | }; |
14 | 17 | ||
15 | struct pipe_buf_operations { | 18 | struct pipe_buf_operations { |
@@ -63,5 +66,6 @@ void free_pipe_info(struct inode* inode); | |||
63 | #define SPLICE_F_NONBLOCK (0x02) /* don't block on the pipe splicing (but */ | 66 | #define SPLICE_F_NONBLOCK (0x02) /* don't block on the pipe splicing (but */ |
64 | /* we may still block on the fd we splice */ | 67 | /* we may still block on the fd we splice */ |
65 | /* from/to, of course */ | 68 | /* from/to, of course */ |
69 | #define SPLICE_F_MORE (0x04) /* expect more data */ | ||
66 | 70 | ||
67 | #endif | 71 | #endif |