Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dma_debug_device_change

Proto:static int dma_debug_device_change(struct notifier_block *nb, unsigned long action, void *data)

Type:int

Parameter:

TypeParameterName
struct notifier_block *nb
unsigned longaction
void *data
881  dev = data
882  struct dma_debug_entry * entry = entry
885  If dma_debug_disabled() Then Return 0
889  Case action == driver is unboundfrom the device
890  count = device_dma_allocations(dev, & entry)
891  If count == 0 Then Break
901  Break
902  Default
903  Break
906  Return 0