dma_buf_end_cpu_access(9)

dma_buf_end_cpu_access9

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.

Usage

void dma_buf_end_cpu_access(struct dma_buf * dmabuf, size_t start, size_t len, enum dma_data_direction direction);

Arguments

dmabuf

[in] buffer to complete cpu access for.

start

[in] start of range for cpu access.

len

[in] length of range for cpu access.

direction

[in] length of range for cpu access.

Overview

This call must always succeed.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.