函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rht_bucket

函数原型:static inline struct rhash_lock_head *const *rht_bucket(const struct bucket_table *tbl, unsigned int hash)

返回类型:struct rhash_lock_head

参数:

类型参数名称
const struct bucket_table *tbl
unsigned inthash
290  返回:如果此条件成立可能性小(为编译器优化)(nest)则rht_bucket_nested(tbl, hash)否则buckets[hash]
调用者
名称描述
rhashtable_free_and_destroyhashtable_free_and_destroy - free elements and destroy hash table*@ht: the hash table to destroy*@free_fn: callback to release resources of element*@arg: pointer passed to free_fn* Stops an eventual async resize. If defined, invokes free_fn for each
__rhashtable_lookupInternal function, do not use.