1DMA_BUF_END_CPU_ACCE(9) Device drivers infrastructure DMA_BUF_END_CPU_ACCE(9)
2
3
4
6 dma_buf_end_cpu_access - Must be called after accessing a dma_buf from
7 the cpu in the kernel context. Calls end_cpu_access to allow
8 exporter-specific actions. Coherency is only guaranteed in the
9 specified range for the specified access direction.
10
12 int dma_buf_end_cpu_access(struct dma_buf * dmabuf,
13 enum dma_data_direction direction);
14
16 dmabuf
17 [in] buffer to complete cpu access for.
18
19 direction
20 [in] length of range for cpu access.
21
23 This terminates CPU access started with dma_buf_begin_cpu_access.
24
25 Can return negative error values, returns 0 on success.
26
28Kernel Hackers Manual 3.10 June 2019 DMA_BUF_END_CPU_ACCE(9)