Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rhashtable.h Create Date:2022-07-28 06:07:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline struct rhash_head *rht_ptr_rcu(struct rhash_lock_head *const *bkt)

Type:struct rhash_head

Parameter:

TypeParameterName
struct rhash_lock_head *const *bkt
370  __rcu * p = __rht_ptr(bkt)
372  Return fetch RCU-protected pointer for dereferencing(p)