Name

dma_buf_end_cpu_access — Must be called after accessing a dma_buf from the cpu in the kernel context. Calls end_cpu_access to allow exporter-specific actions. Coherency is only guaranteed in the specified range for the specified access direction.

Synopsis

int dma_buf_end_cpu_access (struct dma_buf * dmabuf,
 enum dma_data_direction direction);
 

Arguments

dmabuf

[in] buffer to complete cpu access for.

direction

[in] length of range for cpu access.

Description

Can return negative error values, returns 0 on success.