Function report | 
Source Code:kernel\dma\debug.c | 
Create Date:2022-07-28 10:34:41 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:active_cacheline_insert
Proto:static int active_cacheline_insert(struct dma_debug_entry *entry)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dma_debug_entry * | entry | 
| 512 | cln = to_cacheline_number(entry) | 
| 520 | If direction == DMA_TO_DEVICE Then Return 0 | 
| 523 | spin_lock_irqsave( & radix_lock, flags) | 
| 524 | rc = __radix_tree_insert - insert into a radix tree*@root: radix tree root*@index: index key*@item: item to insert* Insert an item into the radix tree at position @index. | 
| 525 | If rc == -EEXIST Then active_cacheline_inc_overlap(cln) | 
| 527 | spin_unlock_irqrestore( & radix_lock, flags) | 
| 529 | Return rc | 
| Name | Describe | 
|---|---|
| add_dma_entry | Wrapper function for adding an entry to the hash.* This function takes care of locking itself. | 
| 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  |