函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rhashtable.h Create Date:2022-07-27 07:05:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Where 'bkt' is a bucket and might be locked:* rht_ptr_rcu() dereferences that pointer and clears the lock bit.* rht_ptr() dereferences in a context where the bucket is locked.* rht_ptr_exclusive() dereferences in a context where exclusive

函数原型:static inline struct rhash_head *rht_ptr_rcu(struct rhash_lock_head *const *bkt)

返回类型:struct rhash_head

参数:

类型参数名称
struct rhash_lock_head *const *bkt
370  __rcup等于__rht_ptr(bkt)
372  返回:cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(p)
调用者
名称描述
__rhashtable_lookupInternal function, do not use.