函数逻辑报告 |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-27 11:34:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void debug_dma_assert_idle(struct page *page)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
562 | struct dma_debug_entry * entry = NULL |
568 | 如果dma_debug_disabled()则返回 |
571 | 如果非page则返回 |
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 | 否则如果ent_cln大于等于cln加CACHELINES_PER_PAGE则退出 |
587 | spin_unlock_irqrestore( & radix_lock, flags) |
589 | 如果非entry则返回 |
592 | cln等于to_cacheline_number(entry) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |