Skip to content

Commit 7f5d51e

Browse files
Madhuparna04paulmckrcu
authored andcommitted
rculist_nulls: Add docbook comments
This patch adds docbook comment headers for hlist_nulls_first_rcu() and hlist_nulls_next_rcu() in rculist_nulls.h. Signed-off-by: Madhuparna Bhowmik <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 02b99b3 commit 7f5d51e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

include/linux/rculist_nulls.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,17 @@ static inline void hlist_nulls_del_init_rcu(struct hlist_nulls_node *n)
3838
}
3939
}
4040

41+
/**
42+
* hlist_nulls_first_rcu - returns the first element of the hash list.
43+
* @head: the head of the list.
44+
*/
4145
#define hlist_nulls_first_rcu(head) \
4246
(*((struct hlist_nulls_node __rcu __force **)&(head)->first))
4347

48+
/**
49+
* hlist_nulls_next_rcu - returns the element of the list after @node.
50+
* @node: element of the list.
51+
*/
4452
#define hlist_nulls_next_rcu(node) \
4553
(*((struct hlist_nulls_node __rcu __force **)&(node)->next))
4654

0 commit comments

Comments
 (0)