dma-buf: implement vmap refcounting in the interface logic
[deliverable/linux.git] / include / linux / dma-buf.h
index 3d754a394e921a6f9e1e0cdc7b62c28df80f29c0..9978b614a1aac8627a24e6b42b3a0ff0761e941a 100644 (file)
@@ -119,8 +119,10 @@ struct dma_buf {
        struct file *file;
        struct list_head attachments;
        const struct dma_buf_ops *ops;
-       /* mutex to serialize list manipulation and attach/detach */
+       /* mutex to serialize list manipulation, attach/detach and vmap/unmap */
        struct mutex lock;
+       unsigned vmapping_counter;
+       void *vmap_ptr;
        void *priv;
 };
 
This page took 0.044473 seconds and 5 git commands to generate.