函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:active_cacheline_insert

函数原型:static int active_cacheline_insert(struct dma_debug_entry *entry)

返回类型:int

参数:

类型参数名称
struct dma_debug_entry *entry
512  cln等于to_cacheline_number(entry)
520  如果direction恒等于DMA_TO_DEVICE则返回:0
523  spin_lock_irqsave( & radix_lock, flags)
524  rc等于在radix树中插入节点
525  如果rc恒等于负EEXISTactive_cacheline_inc_overlap(cln)
527  spin_unlock_irqrestore( & radix_lock, flags)
529  返回:rc
调用者
名称描述
add_dma_entryWrapper function for adding an entry to the hash.* This function takes care of locking itself.