Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static int hash_fn(struct dma_debug_entry *entry)

Type:int

Parameter:

TypeParameterName
struct dma_debug_entry *entry
236  Return dev_addr >> HASH_FN_SHIFT & HASH_FN_MASK
Caller
NameDescribe
get_hash_bucketRequest exclusive access to a hash bucket for a given dma_debug_entry.