函数逻辑报告 |
Source Code:include\linux\rhashtable.h |
Create Date:2022-07-27 07:05:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Internal function, do not use.
函数原型:static inline struct rhash_head *__rhashtable_lookup(struct rhashtable *ht, const void *key, const struct rhashtable_params params)
返回类型:struct rhash_head
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rhashtable * | ht | |
const void * | key | |
const struct rhashtable_params | params |
601 | tbl等于rht_dereference_rcu(tbl, ht) |
602 | restart : |
604 | bkt等于rht_bucket(tbl, hash) |
605 | 循环 |
607 | 如果如果obj_cmpfn则obj_cmpfn( & arg, rht_obj(ht, he))否则rhashtable_compare( & arg, rht_obj(ht, he))则继续下一循环 |
611 | 返回:he |
616 | 当he不等于NULLS_MARKER() expects a hash value with the low* bits mostly likely to be significant, and it discards* the msb(bkt)循环 |
619 | smp_rmb() |
621 | tbl等于rht_dereference_rcu(future_tbl, ht) |
622 | 如果此条件成立可能性小(为编译器优化)(tbl)则转到:restart |
625 | 返回:NULL |
名称 | 描述 |
---|---|
rhashtable_lookup | hashtable_lookup - search hash table*@ht: hash table*@key: the pointer to the key*@params: hash table parameters* Computes the hash value for the key and traverses the bucket chain looking* for a entry with an identical key |
rhltable_lookup | hltable_lookup - search hash list table*@hlt: hash table*@key: the pointer to the key*@params: hash table parameters* Computes the hash value for the key and traverses the bucket chain looking* for a entry with an identical key |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |