Function report |
Source Code:lib\rhashtable.c |
Create Date:2022-07-28 06:25:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__rhashtable_walk_find_next - Find the next element in a table (or the first* one in case of a new walk).*@iter: Hash table iterator* Returns the found object or NULL when the end of the table is reached.* Returns -EAGAIN if resize event occurred.
Proto:static void *__rhashtable_walk_find_next(struct rhashtable_iter *iter)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rhashtable_iter * | iter |
788 | If Not tbl Then Return NULL |
795 | If rhlist Then |
798 | Do |
801 | skip-- |
805 | Continue |
807 | If Not skip Then Break |
809 | skip-- |
812 | next : |
813 | If Not rht_is_a_nulls(p) Then |
820 | skip = 0 |
823 | p = NULL |
826 | smp_rmb() |
828 | tbl = rht_dereference_rcu(future_tbl, ht) |
829 | If tbl Then |
833 | Else |
834 | end_of_table = true |
837 | Return NULL |
Name | Describe |
---|---|
rhashtable_walk_next | hashtable_walk_next - Return the next object and advance the iterator*@iter: Hash table iterator* Note that you must call rhashtable_walk_stop when you are finished* with the walk.* Returns the next object or NULL when the end of the table is reached. |
rhashtable_walk_peek | hashtable_walk_peek - Return the next object but don't advance the iterator*@iter: Hash table iterator* Returns the next object or NULL when the end of the table is reached.* Returns -EAGAIN if resize event occurred. Note that the iterator |
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 |