函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\contiguous.c Create Date:2022-07-27 11:33:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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).

函数原型:struct page *dma_alloc_from_contiguous(struct device *dev, size_t count, unsigned int align, bool no_warn)

返回类型:struct page

参数:

类型参数名称
struct device *dev
size_tcount
unsigned intalign
boolno_warn
196  如果align大于CONFIG_CMA_ALIGNMENTalign等于CONFIG_CMA_ALIGNMENT
199  返回:ma_alloc() - allocate pages from contiguous area*@cma: Contiguous memory region for which the allocation is performed