函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dma_alloc_from_global_coherent

函数原型:void *dma_alloc_from_global_coherent(struct device *dev, ssize_t size, dma_addr_t *dma_handle)

返回类型:void

参数:

类型参数名称
struct device *dev
ssize_tsize
dma_addr_t *dma_handle
186  如果非dma_coherent_default_memory则返回:NULL
189  返回:__dma_alloc_from_coherent(dev, dma_coherent_default_memory, size, dma_handle)