函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Internal function, please use rhashtable_remove_fast() instead

函数原型:static inline int __rhashtable_remove_fast(struct rhashtable *ht, struct rhash_head *obj, const struct rhashtable_params params, bool rhlist)

返回类型:int

参数:

类型参数名称
struct rhashtable *ht
struct rhash_head *obj
const struct rhashtable_paramsparams
boolrhlist
1081  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
1083  tbl等于rht_dereference_rcu(tbl, ht)
1090 err等于Internal function, please use rhashtable_remove_fast() instead tbl等于rht_dereference_rcu(future_tbl, ht)循环
1095  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
1097  返回:err
调用者
名称描述
rhashtable_remove_fasthashtable_remove_fast - remove object from hash table*@ht: hash table*@obj: pointer to hash head inside object*@params: hash table parameters* Since the hash chain is single linked, the removal operation needs to* walk the bucket chain upon removal
rhltable_removehltable_remove - remove object from hash list table*@hlt: hash list table*@list: pointer to hash list head inside object*@params: hash table parameters* Since the hash chain is single linked, the removal operation needs to