]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/pipe_fs_i.h
[PATCH] Introduce vfs_listxattr
[linux-2.6-omap-h63xx.git] / include / linux / pipe_fs_i.h
index 070954f059479b97d2547e9c23fa3129e5e92d07..ea4f7cd7bfd85425c96a1d17faa358a2d7cb509f 100644 (file)
@@ -5,8 +5,9 @@
 
 #define PIPE_BUFFERS (16)
 
-#define PIPE_BUF_FLAG_ATOMIC   0x01    /* was atomically mapped */
-#define PIPE_BUF_FLAG_GIFT     0x02    /* page is a gift */
+#define PIPE_BUF_FLAG_LRU      0x01    /* page is on the LRU */
+#define PIPE_BUF_FLAG_ATOMIC   0x02    /* was atomically mapped */
+#define PIPE_BUF_FLAG_GIFT     0x04    /* page is a gift */
 
 struct pipe_buffer {
        struct page *page;
@@ -69,6 +70,7 @@ void *generic_pipe_buf_map(struct pipe_inode_info *, struct pipe_buffer *, int);
 void generic_pipe_buf_unmap(struct pipe_inode_info *, struct pipe_buffer *, void *);
 void generic_pipe_buf_get(struct pipe_inode_info *, struct pipe_buffer *);
 int generic_pipe_buf_pin(struct pipe_inode_info *, struct pipe_buffer *);
+int generic_pipe_buf_steal(struct pipe_inode_info *, struct pipe_buffer *);
 
 /*
  * splice is tied to pipes as a transport (at least for now), so we'll just