函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rhashtable.h Create Date:2022-07-27 07:05:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ht_grow_above_75 - returns true if nelems > 0.75 * table-size*@ht: hash table*@tbl: current table

函数原型:static inline bool rht_grow_above_75(const struct rhashtable *ht, const struct bucket_table *tbl)

返回类型:bool

参数:

类型参数名称
const struct rhashtable *ht
const struct bucket_table *tbl
186  返回:atomic_read( & nelems)大于size除4乘3且非max_sizesize小于max_size的值
调用者
名称描述
rht_deferred_worker
rhashtable_insert_rehash
rhashtable_insert_one
__rhashtable_insert_fastInternal function, please use rhashtable_insert_fast() instead. This* function returns the existing element already in hashes in there is a clash,* otherwise it returns an error via ERR_PTR().