Lines Matching defs:dmabuf

90      * This is called with the dmabuf->resv object locked and is mutual
108 * This is called with the dmabuf->resv object locked and is mutual
141 * This is always called with the dmabuf->resv object locked when
240 int (*begin_cpu_access_partial)(struct dma_buf *dmabuf, enum dma_data_direction, unsigned int offset,
280 int (*end_cpu_access_partial)(struct dma_buf *dmabuf, enum dma_data_direction, unsigned int offset,
336 int (*get_uuid)(struct dma_buf *dmabuf, uuid_t *uuid);
350 int (*get_flags)(struct dma_buf *dmabuf, unsigned long *flags);
425 struct dma_buf *dmabuf;
470 * @dmabuf: buffer for this attachment.
472 * @node: list of dma_buf_attachment, protected by dma_resv lock of the dmabuf.
494 struct dma_buf *dmabuf;
548 * @dmabuf: [in] pointer to dma_buf
551 * that either need to create additional references to the dmabuf on the
552 * kernel side. For example, an exporter that needs to keep a dmabuf ptr
553 * so that subsequent exports don't create a new dmabuf.
555 static inline void get_dma_buf(struct dma_buf *dmabuf)
557 get_file(dmabuf->file);
562 * @dmabuf: the DMA-buf to check
568 static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf)
570 return !!dmabuf->ops->pin;
586 int get_each_dmabuf(int (*callback)(const struct dma_buf *dmabuf, void *private), void *private);
588 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf, struct device *dev);
589 struct dma_buf_attachment *dma_buf_dynamic_attach(struct dma_buf *dmabuf, struct device *dev,
591 void dma_buf_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach);
597 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
599 void dma_buf_put(struct dma_buf *dmabuf);
614 int dma_buf_get_flags(struct dma_buf *dmabuf, unsigned long *flags);
615 int dma_buf_get_uuid(struct dma_buf *dmabuf, uuid_t *uuid);