Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:device_dma_allocations

Proto:static int device_dma_allocations(struct device *dev, struct dma_debug_entry **out_entry)

Type:int

Parameter:

TypeParameterName
struct device *dev
struct dma_debug_entry **out_entry
863  count = 0
865  When i < HASH_SIZE cycle
866  spin_lock_irqsave( & lock, flags)
868  If dev == dev Then
869  count += 1
870  out_entry = entry
873  spin_unlock_irqrestore( & lock, flags)
876  Return count
Caller
NameDescribe
dma_debug_device_change