Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\debug.c Create Date:2022-07-28 10:34:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:to_cacheline_number

Proto:static phys_addr_t to_cacheline_number(struct dma_debug_entry *entry)

Type:phys_addr_t

Parameter:

TypeParameterName
struct dma_debug_entry *entry
456  Return (pfn << CACHELINE_PER_PAGE_SHIFT) + (offset >> L1 cache line size )
Caller
NameDescribe
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