Function report |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-28 10:34:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:debug_dma_assert_idle() - assert that a page is not undergoing dma*@page: page to lookup in the dma_active_cacheline tree* Place a call to this routine in cases where the cpu touching the page* before the dma completes (page is dma_unmapped) will lead to
Proto:void debug_dma_assert_idle(struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
562 | struct dma_debug_entry * entry = NULL |
568 | If dma_debug_disabled() Then Return |
571 | If Not page Then Return |
574 | cln = page_to_pfn(page) << CACHELINE_PER_PAGE_SHIFT |
575 | spin_lock_irqsave( & radix_lock, flags) |
579 | ent_cln = to_cacheline_number(ents[i]) |
584 | Else if ent_cln >= cln + CACHELINES_PER_PAGE Then Break |
587 | spin_unlock_irqrestore( & radix_lock, flags) |
589 | If Not entry Then Return |
592 | cln = to_cacheline_number(entry) |
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 |