Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Wrapper function for adding an entry to the hash.* This function takes care of locking itself.

Proto:static void add_dma_entry(struct dma_debug_entry *entry)

Type:void

Parameter:

TypeParameterName
struct dma_debug_entry *entry
608  bucket = Request exclusive access to a hash bucket for a given dma_debug_entry.
609  Add an entry to a hash bucket
610  Give up exclusive access to the hash bucket
612  rc = active_cacheline_insert(entry)
613  If rc == -ENOMEM Then
614  pr_err("cacheline tracking ENOMEM, dma-debug disabled\n")
615  Global disable flag - will be set in case of an error = true
Caller
NameDescribe
debug_dma_map_page
debug_dma_map_sg
debug_dma_alloc_coherent
debug_dma_map_resource