函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Wrapper function for adding an entry to the hash.* This function takes care of locking itself.

函数原型:static void add_dma_entry(struct dma_debug_entry *entry)

返回类型:void

参数:

类型参数名称
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  如果rc恒等于负ENOMEM
614  打印错误信息("cacheline tracking ENOMEM, dma-debug disabled\n")
615  Global disable flag - will be set in case of an error = true
调用者
名称描述
debug_dma_map_page
debug_dma_map_sg
debug_dma_alloc_coherent
debug_dma_map_resource