Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:print_ht

Proto:static unsigned int __init print_ht(struct rhltable *rhlt)

Type:unsigned int

Parameter:

TypeParameterName
struct rhltable *rhlt
489  buff[512] = ""
490  cnt = 0
492  ht = ht
494  mutex_lock( & mutex)
495  tbl = rht_dereference(tbl, ht)
496  When i < size cycle
500  pos = rht_ptr_exclusive(buckets + i)
501  next = !rht_is_a_nulls(pos) ? rht_dereference(next, ht) : NULL
503  If Not rht_is_a_nulls(pos) Then
507  When Not rht_is_a_nulls(pos) cycle
510  Do
518  When list cycle
520  pos = next, next = !rht_is_a_nulls(pos) ? rht_dereference(next, ht) : NULL
527  printk(r conditions "\n---- ht: ----%s\n-------------\n", buff)
528  mutex_unlock( & mutex)
530  Return cnt
Caller
NameDescribe
test_insert_dup