Function report |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-28 10:34:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:struct dma_entry allocator* The next two functions implement the allocator for* struct dma_debug_entries.
Proto:static struct dma_debug_entry *dma_entry_alloc(void)
Type:struct dma_debug_entry
Parameter:Nothing
| 678 | spin_lock_irqsave( & Lock for the list above , flags) |
| 679 | If num_free_entries == 0 Then |
| 683 | pr_err("debugging out of memory - disabling\n") |
| 684 | Return NULL |
| 689 | entry = __dma_entry_alloc() |
| 694 | stack_len = stack_trace_save(stack_entries, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(stack_entries), 1) |
| 698 | Return entry |
| Name | Describe |
|---|---|
| debug_dma_map_page | |
| debug_dma_map_sg | |
| debug_dma_alloc_coherent | |
| debug_dma_map_resource |
| 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 |