diff options
Diffstat (limited to 'include/linux/rculist.h')
-rw-r--r-- | include/linux/rculist.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/rculist.h b/include/linux/rculist.h index aa79b3c24f66..529bc946f450 100644 --- a/include/linux/rculist.h +++ b/include/linux/rculist.h | |||
@@ -241,7 +241,7 @@ static inline void list_splice_init_rcu(struct list_head *list, | |||
241 | * list_entry_rcu - get the struct for this entry | 241 | * list_entry_rcu - get the struct for this entry |
242 | * @ptr: the &struct list_head pointer. | 242 | * @ptr: the &struct list_head pointer. |
243 | * @type: the type of the struct this is embedded in. | 243 | * @type: the type of the struct this is embedded in. |
244 | * @member: the name of the list_struct within the struct. | 244 | * @member: the name of the list_head within the struct. |
245 | * | 245 | * |
246 | * This primitive may safely run concurrently with the _rcu list-mutation | 246 | * This primitive may safely run concurrently with the _rcu list-mutation |
247 | * primitives such as list_add_rcu() as long as it's guarded by rcu_read_lock(). | 247 | * primitives such as list_add_rcu() as long as it's guarded by rcu_read_lock(). |
@@ -278,7 +278,7 @@ static inline void list_splice_init_rcu(struct list_head *list, | |||
278 | * list_first_or_null_rcu - get the first element from a list | 278 | * list_first_or_null_rcu - get the first element from a list |
279 | * @ptr: the list head to take the element from. | 279 | * @ptr: the list head to take the element from. |
280 | * @type: the type of the struct this is embedded in. | 280 | * @type: the type of the struct this is embedded in. |
281 | * @member: the name of the list_struct within the struct. | 281 | * @member: the name of the list_head within the struct. |
282 | * | 282 | * |
283 | * Note that if the list is empty, it returns NULL. | 283 | * Note that if the list is empty, it returns NULL. |
284 | * | 284 | * |
@@ -296,7 +296,7 @@ static inline void list_splice_init_rcu(struct list_head *list, | |||
296 | * list_for_each_entry_rcu - iterate over rcu list of given type | 296 | * list_for_each_entry_rcu - iterate over rcu list of given type |
297 | * @pos: the type * to use as a loop cursor. | 297 | * @pos: the type * to use as a loop cursor. |
298 | * @head: the head for your list. | 298 | * @head: the head for your list. |
299 | * @member: the name of the list_struct within the struct. | 299 | * @member: the name of the list_head within the struct. |
300 | * | 300 | * |
301 | * This list-traversal primitive may safely run concurrently with | 301 | * This list-traversal primitive may safely run concurrently with |
302 | * the _rcu list-mutation primitives such as list_add_rcu() | 302 | * the _rcu list-mutation primitives such as list_add_rcu() |
@@ -311,7 +311,7 @@ static inline void list_splice_init_rcu(struct list_head *list, | |||
311 | * list_for_each_entry_continue_rcu - continue iteration over list of given type | 311 | * list_for_each_entry_continue_rcu - continue iteration over list of given type |
312 | * @pos: the type * to use as a loop cursor. | 312 | * @pos: the type * to use as a loop cursor. |
313 | * @head: the head for your list. | 313 | * @head: the head for your list. |
314 | * @member: the name of the list_struct within the struct. | 314 | * @member: the name of the list_head within the struct. |
315 | * | 315 | * |
316 | * Continue to iterate over list of given type, continuing after | 316 | * Continue to iterate over list of given type, continuing after |
317 | * the current position. | 317 | * the current position. |