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_add_bus

Proto:void dma_debug_add_bus(struct bus_type *bus)

Type:void

Parameter:

TypeParameterName
struct bus_type *bus
913  If dma_debug_disabled() Then Return
916  nb = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
917  If (nb == NULL) Then
918  pr_err("dma_debug_add_bus: out of memory\n")
919  Return
922  notifier_call = dma_debug_device_change
924  bus_register_notifier(bus, nb)