函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dma-mapping.h Create Date:2022-07-27 06:51:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dma_mapping_error

函数原型:static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)

返回类型:int

参数:

类型参数名称
struct device *dev
dma_addr_tdma_addr
435  debug_dma_mapping_error(dev, dma_addr)
437  如果dma_addr恒等于DMA_MAPPING_ERROR则返回:负ENOMEM
439  返回:0
调用者
名称描述
check_unmap
debug_dma_map_page
pci_dma_mapping_error
ib_dma_mapping_error_dma_mapping_error - check a DMA addr for error*@dev: The device for which the dma_addr was created*@dma_addr: The DMA address to check