Lines Matching refs:dmabuf
244 int (*begin_cpu_access_partial)(struct dma_buf *dmabuf,
285 int (*end_cpu_access_partial)(struct dma_buf *dmabuf,
342 int (*get_uuid)(struct dma_buf *dmabuf, uuid_t *uuid);
356 int (*get_flags)(struct dma_buf *dmabuf, unsigned long *flags);
373 typedef int (*dma_buf_destructor)(struct dma_buf *dmabuf, void *dtor_data);
439 struct dma_buf *dmabuf; member
512 struct dma_buf *dmabuf; member
573 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf() argument
575 get_file(dmabuf->file); in get_dma_buf()
586 static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf) in dma_buf_is_dynamic() argument
588 return !!dmabuf->ops->pin; in dma_buf_is_dynamic()
605 int get_each_dmabuf(int (*callback)(const struct dma_buf *dmabuf,
608 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf,
611 dma_buf_dynamic_attach(struct dma_buf *dmabuf, struct device *dev,
614 void dma_buf_detach(struct dma_buf *dmabuf,
621 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
623 void dma_buf_put(struct dma_buf *dmabuf);
645 long dma_buf_set_name(struct dma_buf *dmabuf, const char *name);
646 int dma_buf_get_flags(struct dma_buf *dmabuf, unsigned long *flags);
647 int dma_buf_get_uuid(struct dma_buf *dmabuf, uuid_t *uuid);
656 static inline void dma_buf_set_destructor(struct dma_buf *dmabuf, in dma_buf_set_destructor() argument
660 dmabuf->dtor = dtor; in dma_buf_set_destructor()
661 dmabuf->dtor_data = dtor_data; in dma_buf_set_destructor()