1DMA_BUF_BEGIN_CPU_AC(9)  Device drivers infrastructure DMA_BUF_BEGIN_CPU_AC(9)
2
3
4

NAME

6       dma_buf_begin_cpu_access - Must be called before accessing a dma_buf
7       from the cpu in the kernel context. Calls begin_cpu_access to allow
8       exporter-specific preparations. Coherency is only guaranteed in the
9       specified range for the specified access direction.
10

SYNOPSIS

12       int dma_buf_begin_cpu_access(struct dma_buf * dmabuf, size_t start,
13                                    size_t len,
14                                    enum dma_data_direction direction);
15

ARGUMENTS

17       dmabuf
18           [in] buffer to prepare cpu access for.
19
20       start
21           [in] start of range for cpu access.
22
23       len
24           [in] length of range for cpu access.
25
26       direction
27           [in] length of range for cpu access.
28

DESCRIPTION

30       Can return negative error values, returns 0 on success.
31
33Kernel Hackers Manual 2.6.         June 2019           DMA_BUF_BEGIN_CPU_AC(9)
Impressum