Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\debug.c Create Date:2022-07-28 10:35:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_nr_mapped_entries

Proto:static int get_nr_mapped_entries(struct device *dev, struct dma_debug_entry *ref)

Type:int

Parameter:

TypeParameterName
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  If entry Then mapped_ents = sg_mapped_ents
1393  Give up exclusive access to the hash bucket
1395  Return mapped_ents
Caller
NameDescribe
debug_dma_unmap_sg
debug_dma_sync_sg_for_cpu
debug_dma_sync_sg_for_device