@@ -128,27 +128,27 @@ rt_inline unsigned int rt_list_len(const rt_list_t *l)
128
128
129
129
/**
130
130
* rt_list_for_each - iterate over a list
131
- * @pos: the rt_list_t * to use as a loop cursor.
132
- * @head: the head for your list.
131
+ * @param pos the rt_list_t * to use as a loop cursor.
132
+ * @param head the head for your list.
133
133
*/
134
134
#define rt_list_for_each (pos , head ) \
135
135
for (pos = (head)->next; pos != (head); pos = pos->next)
136
136
137
137
/**
138
138
* rt_list_for_each_safe - iterate over a list safe against removal of list entry
139
- * @pos: the rt_list_t * to use as a loop cursor.
140
- * @n: another rt_list_t * to use as temporary storage
141
- * @head: the head for your list.
139
+ * @param pos the rt_list_t * to use as a loop cursor.
140
+ * @param n another rt_list_t * to use as temporary storage
141
+ * @param head the head for your list.
142
142
*/
143
143
#define rt_list_for_each_safe (pos , n , head ) \
144
144
for (pos = (head)->next, n = pos->next; pos != (head); \
145
145
pos = n, n = pos->next)
146
146
147
147
/**
148
148
* rt_list_for_each_entry - iterate over list of given type
149
- * @pos: the type * to use as a loop cursor.
150
- * @head: the head for your list.
151
- * @member: the name of the list_struct within the struct.
149
+ * @param pos the type * to use as a loop cursor.
150
+ * @param head the head for your list.
151
+ * @param member the name of the list_struct within the struct.
152
152
*/
153
153
#define rt_list_for_each_entry (pos , head , member ) \
154
154
for (pos = rt_list_entry((head)->next, typeof(*pos), member); \
@@ -157,10 +157,10 @@ rt_inline unsigned int rt_list_len(const rt_list_t *l)
157
157
158
158
/**
159
159
* rt_list_for_each_entry_safe - iterate over list of given type safe against removal of list entry
160
- * @pos: the type * to use as a loop cursor.
161
- * @n: another type * to use as temporary storage
162
- * @head: the head for your list.
163
- * @member: the name of the list_struct within the struct.
160
+ * @param pos the type * to use as a loop cursor.
161
+ * @param n another type * to use as temporary storage
162
+ * @param head the head for your list.
163
+ * @param member the name of the list_struct within the struct.
164
164
*/
165
165
#define rt_list_for_each_entry_safe (pos , n , head , member ) \
166
166
for (pos = rt_list_entry((head)->next, typeof(*pos), member), \
@@ -170,9 +170,9 @@ rt_inline unsigned int rt_list_len(const rt_list_t *l)
170
170
171
171
/**
172
172
* rt_list_first_entry - get the first element from a list
173
- * @ptr: the list head to take the element from.
174
- * @type: the type of the struct this is embedded in.
175
- * @member: the name of the list_struct within the struct.
173
+ * @param ptr the list head to take the element from.
174
+ * @param type the type of the struct this is embedded in.
175
+ * @param member the name of the list_struct within the struct.
176
176
*
177
177
* Note, that list is expected to be not empty.
178
178
*/
@@ -267,17 +267,17 @@ rt_inline int rt_slist_isempty(rt_slist_t *l)
267
267
268
268
/**
269
269
* rt_slist_for_each - iterate over a single list
270
- * @pos: the rt_slist_t * to use as a loop cursor.
271
- * @head: the head for your single list.
270
+ * @param pos the rt_slist_t * to use as a loop cursor.
271
+ * @param head the head for your single list.
272
272
*/
273
273
#define rt_slist_for_each (pos , head ) \
274
274
for (pos = (head)->next; pos != RT_NULL; pos = pos->next)
275
275
276
276
/**
277
277
* rt_slist_for_each_entry - iterate over single list of given type
278
- * @pos: the type * to use as a loop cursor.
279
- * @head: the head for your single list.
280
- * @member: the name of the list_struct within the struct.
278
+ * @param pos the type * to use as a loop cursor.
279
+ * @param head the head for your single list.
280
+ * @param member the name of the list_struct within the struct.
281
281
*/
282
282
#define rt_slist_for_each_entry (pos , head , member ) \
283
283
for (pos = rt_slist_entry((head)->next, typeof(*pos), member); \
@@ -286,9 +286,9 @@ rt_inline int rt_slist_isempty(rt_slist_t *l)
286
286
287
287
/**
288
288
* rt_slist_first_entry - get the first element from a slist
289
- * @ptr: the slist head to take the element from.
290
- * @type: the type of the struct this is embedded in.
291
- * @member: the name of the slist_struct within the struct.
289
+ * @param ptr the slist head to take the element from.
290
+ * @param type the type of the struct this is embedded in.
291
+ * @param member the name of the slist_struct within the struct.
292
292
*
293
293
* Note, that slist is expected to be not empty.
294
294
*/
@@ -297,9 +297,9 @@ rt_inline int rt_slist_isempty(rt_slist_t *l)
297
297
298
298
/**
299
299
* rt_slist_tail_entry - get the tail element from a slist
300
- * @ptr: the slist head to take the element from.
301
- * @type: the type of the struct this is embedded in.
302
- * @member: the name of the slist_struct within the struct.
300
+ * @param ptr the slist head to take the element from.
301
+ * @param type the type of the struct this is embedded in.
302
+ * @param member the name of the slist_struct within the struct.
303
303
*
304
304
* Note, that slist is expected to be not empty.
305
305
*/
0 commit comments