Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rht_assign_locked

Proto:static inline void rht_assign_locked(struct rhash_lock_head **bkt, struct rhash_head *obj)

Type:void

Parameter:

TypeParameterName
struct rhash_lock_head **bkt
struct rhash_head *obj
392  __rcu * p = bkt
394  If rht_is_a_nulls(obj) Then obj = NULL
396  cu_assign_pointer() - assign to RCU-protected pointer*@p: pointer to assign to*@v: value to assign (publish)* Assigns the specified value to the specified RCU-protected* pointer, ensuring that any concurrent RCU readers will see* any prior initialization( * p, (void * )((unsignedlong)obj | BIT(0)))
Caller
NameDescribe
rhashtable_rehash_one
rhashtable_lookup_one
rhashtable_insert_one