Function report |
Source Code:lib\rhashtable.c |
Create Date:2022-07-28 06:25:03 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hashtable_shrink - Shrink hash table while allowing concurrent lookups*@ht: the hash table to shrink* This function shrinks the hash table to fit, i
Proto:static int rhashtable_shrink(struct rhashtable *ht)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rhashtable * | ht | >mutex. |
| 380 | old_tbl = rht_dereference(tbl, >mutex.) |
| 381 | nelems = atomic_read( & nelems) |
| 382 | size = 0 |
| 392 | If rht_dereference(future_tbl, >mutex.) Then Return -EEXIST |
| 395 | Return rhashtable_rehash_alloc(>mutex., old_tbl, size) |
| Name | Describe |
|---|---|
| rht_deferred_worker |
| 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 |