Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Internal function, please use rhashtable_remove_fast() instead

Proto:static inline int __rhashtable_remove_fast(struct rhashtable *ht, struct rhash_head *obj, const struct rhashtable_params params, bool rhlist)

Type:int

Parameter:

TypeParameterName
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  When (err = Internal function, please use rhashtable_remove_fast() instead ) && (tbl = rht_dereference_rcu(future_tbl, ht)) cycle
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  Return err