Scroll to navigation

STRUCT DMA_BUF_ATTAC(9) Device drivers infrastructure STRUCT DMA_BUF_ATTAC(9)

NAME

struct_dma_buf_attachment - holds device-buffer attachment data

SYNOPSIS

struct dma_buf_attachment {
  struct dma_buf * dmabuf;
  struct device * dev;
  struct list_head node;
  void * priv;
};  

MEMBERS

dmabuf
buffer for this attachment.
dev
device attached to the buffer.
node
list of dma_buf_attachment.
priv
exporter specific attachment data.

DESCRIPTION

This structure holds the attachment information between the dma_buf buffer and its user device(s). The list contains one attachment struct per device attached to the buffer.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.