Function report |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-28 10:35:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_sync
Proto:static void check_sync(struct device *dev, struct dma_debug_entry *ref, bool to_cpu)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct device * | dev | |
| struct dma_debug_entry * | ref | |
| bool | to_cpu |
| 1143 | entry = bucket_find_contain( & bucket, ref, & flags) |
| 1145 | If Not entry Then |
| 1150 | Go to out |
| 1163 | If direction == DMA_BIDIRECTIONAL Then Go to out |
| 1176 | If to_cpu && direction != DMA_FROM_DEVICE && direction != DMA_TO_DEVICE Then |
| 1186 | If Not to_cpu && direction != DMA_TO_DEVICE && direction != DMA_FROM_DEVICE Then |
| 1196 | If sg_call_ents && type == dma_debug_sg && sg_call_ents != sg_call_ents Then |
| 1204 | out : |
| Name | Describe |
|---|---|
| debug_dma_sync_single_for_cpu | |
| debug_dma_sync_single_for_device | |
| debug_dma_sync_sg_for_cpu | |
| debug_dma_sync_sg_for_device |
| 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 |