Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bucket_find_contain

Proto:static struct dma_debug_entry *bucket_find_contain(struct hash_bucket **bucket, struct dma_debug_entry *ref, unsigned long *flags)

Type:struct dma_debug_entry

Parameter:

TypeParameterName
struct hash_bucket **bucket
struct dma_debug_entry *ref
unsigned long *flags
347  max_range = dma_get_max_seg_size(dev)
348  index = ref
349  range = 0
351  When range <= max_range cycle
352  entry = Search a given entry in the hash bucket list
354  If entry Then Return entry
360  Give up exclusive access to the hash bucket
361  range += 1 << HASH_FN_SHIFT
362  dev_addr -= 1 << HASH_FN_SHIFT
363  bucket = Request exclusive access to a hash bucket for a given dma_debug_entry.
366  Return NULL
Caller
NameDescribe
check_sync