Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:nested_table_free

Proto:static void nested_table_free(union nested_table *ntbl, unsigned int size)

Type:void

Parameter:

TypeParameterName
union nested_table *ntbl
unsigned intsize
68  shift = PAGE_SHIFT determines the page size - log2 - log base 2 of 32-bit or a 64-bit unsigned value*@n: parameter* constant-capable log of base 2 calculation* - this can be used to initialise global variables from constant data, hence* the massive ternary operator construction* selects the ( size of * )
69  len = 1 << shift
72  ntbl = Dependency order vs. p above. (table)
73  If Not ntbl Then Return
76  If size > len Then
77  size >>= shift
78  When i < len cycle nested_table_free(ntbl + i, size)
82  kfree(ntbl)
Caller
NameDescribe
nested_table_free
nested_bucket_table_free