函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Hash related functions* Every DMA-API request is saved into a struct dma_debug_entry. To* have quick access to these structs they are stored into a hash.

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

返回类型:int

参数:

类型参数名称
struct dma_debug_entry *entry
236  返回:dev_addr右移HASH_FN_SHIFT位按位与HASH_FN_MASK
调用者
名称描述
get_hash_bucketRequest exclusive access to a hash bucket for a given dma_debug_entry.