函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_nr_mapped_entries

函数原型:static int get_nr_mapped_entries(struct device *dev, struct dma_debug_entry *ref)

返回类型:int

参数:

类型参数名称
struct device *dev
struct dma_debug_entry *ref
1387  bucket等于Request exclusive access to a hash bucket for a given dma_debug_entry.
1388  entry等于bucket_find_exact(bucket, ref)
1389  mapped_ents等于0
1391  如果entrymapped_ents等于sg_mapped_ents
1393  Give up exclusive access to the hash bucket
1395  返回:mapped_ents
调用者
名称描述
debug_dma_unmap_sg
debug_dma_sync_sg_for_cpu
debug_dma_sync_sg_for_device