函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rht_assign_locked

函数原型:static inline void rht_assign_locked(struct rhash_lock_head **bkt, struct rhash_head *obj)

返回类型:void

参数:

类型参数名称
struct rhash_lock_head **bkt
struct rhash_head *obj
392  __rcup等于bkt
394  如果rht_is_a_nulls(obj)则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)))
调用者
名称描述
rhashtable_rehash_one
rhashtable_lookup_one
rhashtable_insert_one