XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
dma_buf_export_info Struct Reference

#include <dma-buf.h>

Collaboration diagram for dma_buf_export_info:
Collaboration graph
[legend]

Public Attributes

const char * exp_name
 
struct module * owner
 
const struct dma_buf_ops * ops
 
size_t size
 
int flags
 
struct dma_resv * resv
 
void * priv
 

Detailed Description

struct dma_buf_export_info - holds information needed to export a dma_buf @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 - invariant over the lifetime 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

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

Member Data Documentation

◆ exp_name

const char* dma_buf_export_info::exp_name

◆ flags

int dma_buf_export_info::flags

◆ ops

const struct dma_buf_ops* dma_buf_export_info::ops

◆ owner

struct module* dma_buf_export_info::owner

◆ priv

void* dma_buf_export_info::priv

◆ resv

struct dma_resv* dma_buf_export_info::resv

◆ size

size_t dma_buf_export_info::size

The documentation for this struct was generated from the following file: