函数逻辑报告

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

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

返回类型:bool

参数:

类型参数名称
const struct rhashtable *ht
const struct bucket_table *tbl
199  返回:atomic_read( & nelems)小于size乘3除10且size大于min_size
调用者
名称描述
rht_deferred_worker
__rhashtable_remove_fast_oneInternal function, please use rhashtable_remove_fast() instead