函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:debug_dma_mapping_error

函数原型:void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr)

返回类型:void

参数:

类型参数名称
struct device *dev
dma_addr_tdma_addr
1293  如果此条件成立可能性小(为编译器优化)(dma_debug_disabled())则返回
1296  dev等于dev
1297  dev_addr等于dma_addr
1298  bucket等于Request exclusive access to a hash bucket for a given dma_debug_entry.
1301  如果非exact_match( & ref, entry)则继续下一循环
1314  如果map_err_type恒等于MAP_ERR_NOT_CHECKED
1315  map_err_type等于MAP_ERR_CHECKED
1316  退出
1320  Give up exclusive access to the hash bucket