函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bucket_find_contain

函数原型:static struct dma_debug_entry *bucket_find_contain(struct hash_bucket **bucket, struct dma_debug_entry *ref, unsigned long *flags)

返回类型:struct dma_debug_entry

参数:

类型参数名称
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 range小于等于max_range循环
352  entry等于Search a given entry in the hash bucket list
354  如果entry则返回: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  返回:NULL
调用者
名称描述
check_sync