Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\contiguous.c Create Date:2022-07-28 10:33:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dma_alloc_from_contiguous() - allocate pages from contiguous area*@dev: Pointer to device for which the allocation is performed.*@count: Requested number of pages.*@align: Requested alignment of pages (in PAGE_SIZE order).

Proto:struct page *dma_alloc_from_contiguous(struct device *dev, size_t count, unsigned int align, bool no_warn)

Type:struct page

Parameter:

TypeParameterName
struct device *dev
size_tcount
unsigned intalign
boolno_warn
196  If align > CONFIG_CMA_ALIGNMENT Then align = CONFIG_CMA_ALIGNMENT
199  Return ma_alloc() - allocate pages from contiguous area*@cma: Contiguous memory region for which the allocation is performed