函数逻辑报告 |
Source Code:lib\rhashtable.c |
Create Date:2022-07-27 07:22:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rhashtable_lookup_one
函数原型:static void *rhashtable_lookup_one(struct rhashtable *ht, struct rhash_lock_head **bkt, struct bucket_table *tbl, unsigned int hash, const void *key, struct rhash_head *obj)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rhashtable * | ht | |
struct rhash_lock_head ** | bkt | |
struct bucket_table * | tbl | |
unsigned int | hash | |
const void * | key | |
struct rhash_head * | obj |
487 | struct rhash_head __rcu * * pprev = NULL |
491 | elasticity等于Maximum chain length before rehash* The maximum (not average) chain length grows with the size of the hash* table, at a rate of (log N)/(log log N) |
496 | elasticity自减 |
512 | head等于rht_dereference_bucket(next, tbl, hash) |
516 | 否则rht_assign_locked(bkt, obj) |
520 | 返回:NULL |
523 | 如果elasticity小于等于0则返回:错误号 |
526 | 返回:错误号 |
名称 | 描述 |
---|---|
rhashtable_try_insert |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |