Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ht_shrink_below_30 - returns true if nelems < 0.3 * table-size*@ht: hash table*@tbl: current table

Proto:static inline bool rht_shrink_below_30(const struct rhashtable *ht, const struct bucket_table *tbl)

Type:bool

Parameter:

TypeParameterName
const struct rhashtable *ht
const struct bucket_table *tbl
199  Return atomic_read( & nelems) < size * 3 / 10 && size > min_size
Caller
NameDescribe
rht_deferred_worker