函数逻辑报告 |
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 |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:We lock a bucket by setting BIT(0) in the pointer - this is always* zero in real pointers. The NULLS mark is never stored in the bucket,* rather we store NULL if the bucket is empty.* bit_spin_locks do not handle contention well, but the whole point
函数原型:static inline void rht_lock(struct bucket_table *tbl, struct rhash_lock_head **bkt)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bucket_table * | tbl | |
| struct rhash_lock_head ** | bkt |
| 330 | local_bh_disable() |
| 332 | lock_map_acquire( & dep_map) |
| 名称 | 描述 |
|---|---|
| rhashtable_rehash_chain | |
| rhashtable_try_insert | |
| __rhashtable_insert_fast | Internal 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(). |
| __rhashtable_remove_fast_one | Internal function, please use rhashtable_remove_fast() instead |
| __rhashtable_replace_fast | Internal function, please use rhashtable_replace_fast() instead |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |