Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hashtable_walk_stop - Finish a hash table walk*@iter: Hash table iterator* Finish a hash table walk. Does not reset the iterator to the start of the* hash table.

Proto:void rhashtable_walk_stop(struct rhashtable_iter *iter)__releases(RCU)

Type:void

Parameter:

TypeParameterName
struct rhashtable_iter *iter
927  tbl = tbl
929  If Not tbl Then Go to out
932  ht = ht
934  spin_lock( & lock)
935  If _head_after_call_rcu - Has this rcu_head been passed to call_rcu()?*@rhp: The rcu_head structure to test.*@f: The function passed to call_rcu() along with @rhp.* Returns @true if the @rhp has been passed to call_rcu() with @func,* and @false otherwise Then tbl = NULL
938  Else list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
940  spin_unlock( & lock)
942  out :
943  _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()
Caller
NameDescribe
test_bucket_stats