| Function report | 
| Source Code: lib\test_rhashtable.c | Create Date:2022-07-28 06:31:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:test_bucket_stats
Proto:static void test_bucket_stats(struct rhashtable *ht, unsigned int entries)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct rhashtable * | ht | |
| unsigned int | entries | 
| 182 | rhashtable_walk_start( & hti) | 
| 195 | total++ | 
| 201 | pr_info(" Traversal complete: counted=%u, nelems=%u, entries=%d, table-jumps=%u\n", total, atomic_read( & nelems), entries, chain_len) | 
| 204 | If total != atomic_read( & nelems) || total != entries Then pr_warn("Test failed: Total count mismatch ^^^") | 
| Name | Describe | 
|---|---|
| test_rhashtable | 
| 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 |