函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\debug.c Create Date:2022-07-27 11:34:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:to_cacheline_number

函数原型:static phys_addr_t to_cacheline_number(struct dma_debug_entry *entry)

返回类型:phys_addr_t

参数:

类型参数名称
struct dma_debug_entry *entry
456  返回:pfn左移CACHELINE_PER_PAGE_SHIFT位的值加offset右移L1 cache line size 位的值
调用者
名称描述
active_cacheline_insert
active_cacheline_remove
debug_dma_assert_idledebug_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