函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:report_addr

函数原型:static void report_addr(struct device *dev, dma_addr_t dma_addr, size_t size)

返回类型:void

参数:

类型参数名称
struct device *dev
dma_addr_tdma_addr
size_tsize
28  如果非 dma mask (if dma'able device)
29  dev_err_once(dev, "DMA map on device without dma_mask\n")
30  否则如果 dma mask (if dma'able device) 大于等于DMA_BIT_MASK(32)或 upstream dma constraint
31  dev_err_once(dev, "overflow %pad+%zu of DMA mask %llx bus limit %llx\n", & dma_addr, size, * dma mask (if dma'able device) , upstream dma constraint )
35  WARN_ON_ONCE(1)
调用者
名称描述
dma_direct_map_page
dma_direct_map_resource