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_grow_above_75 - returns true if nelems > 0.75 * table-size*@ht: hash table*@tbl: current table

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

Type:bool

Parameter:

TypeParameterName
const struct rhashtable *ht
const struct bucket_table *tbl
186  Return atomic_read( & nelems) > size / 4 * 3 && ( Not max_size || size < max_size )
Caller
NameDescribe
rht_deferred_worker
rhashtable_insert_rehash
rhashtable_insert_one