| Function report | 
| 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 activity | Download SCCT | Chinese | 
Name:dma_debug_add_bus
Proto:void dma_debug_add_bus(struct bus_type *bus)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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 | 
| 924 | bus_register_notifier(bus, nb) | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |