| Function report | 
| Source Code: include\linux\rhashtable.h | Create Date:2022-07-28 06:07:06 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:static inline void rht_lock(struct bucket_table *tbl, struct rhash_lock_head **bkt)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bucket_table * | tbl | |
| struct rhash_lock_head ** | bkt | 
| 330 | local_bh_disable() | 
| 332 | lock_map_acquire( & dep_map) | 
| Name | Describe | 
|---|---|
| rhashtable_rehash_chain | |
| rhashtable_try_insert | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |