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_next - Return the next object and advance the iterator*@iter: Hash table iterator* Note that you must call rhashtable_walk_stop when you are finished* with the walk.* Returns the next object or NULL when the end of the table is reached.

Proto:void *rhashtable_walk_next(struct rhashtable_iter *iter)

Type:void

Parameter:

TypeParameterName
struct rhashtable_iter *iter
854  list = list
855  ht = ht
856  p = p
857  rhlist = rhlist
859  If p Then
864  If Not rht_is_a_nulls(p) Then
865  skip++
866  p = p
867  list = list
868  Return rht_obj(ht, rhlist ? & rhead : p)
874  skip = 0
875  slot++
878  Return __rhashtable_walk_find_next - Find the next element in a table (or the first* one in case of a new walk).*@iter: Hash table iterator* Returns the found object or NULL when the end of the table is reached.* Returns -EAGAIN if resize event occurred.
Caller
NameDescribe
test_bucket_stats