Function report |
Source Code:lib\test_rhashtable.c |
Create Date:2022-07-28 06:31:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:print_ht
Proto:static unsigned int __init print_ht(struct rhltable *rhlt)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct rhltable * | rhlt |
489 | buff[512] = "" |
490 | cnt = 0 |
494 | mutex_lock( & mutex) |
495 | tbl = rht_dereference(tbl, ht) |
500 | pos = rht_ptr_exclusive(buckets + i) |
501 | next = !rht_is_a_nulls(pos) ? rht_dereference(next, ht) : NULL |
503 | If Not rht_is_a_nulls(pos) Then |
507 | When Not rht_is_a_nulls(pos) cycle |
510 | Do |
512 | list = rht_dereference(next, ht) |
517 | cnt++ |
520 | pos = next, next = !rht_is_a_nulls(pos) ? rht_dereference(next, ht) : NULL |
527 | printk(r conditions "\n---- ht: ----%s\n-------------\n", buff) |
528 | mutex_unlock( & mutex) |
530 | Return cnt |
Name | Describe |
---|---|
test_insert_dup |
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 |