Scroll to navigation

STRUCT DMA_BUF_EXPOR(9) Device drivers infrastructure STRUCT DMA_BUF_EXPOR(9)

NAME

struct_dma_buf_export_info - holds information needed to export a dma_buf

SYNOPSIS

struct dma_buf_export_info {
  const char * exp_name;
  struct module * owner;
  const struct dma_buf_ops * ops;
  size_t size;
  int flags;
  struct reservation_object * resv;
  void * priv;
};  

MEMBERS

exp_name
name of the exporter - useful for debugging.
owner
pointer to exporter module - used for refcounting kernel module
ops
Attach allocator-defined dma buf ops to the new buffer
size
Size of the buffer
flags
mode flags for the file
resv
reservation-object, NULL to allocate default one
priv
Attach private data of allocator to this buffer

DESCRIPTION

This structure holds the information required to export the buffer. Used with dma_buf_export only.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.