Lines Matching refs:var
134 #define LIST_FOREACH(var, head, field) \ argument
135 for ((var) = ((head)->lh_first); \
136 (var); \
137 (var) = ((var)->field.le_next))
197 #define SLIST_FOREACH(var, head, field) \ argument
198 for((var) = (head)->slh_first; (var); (var) = (var)->field.sle_next)
269 #define STAILQ_FOREACH(var, head, field) \ argument
270 for ((var) = ((head)->stqh_first); \
271 (var); \
272 (var) = ((var)->field.stqe_next))
351 #define SIMPLEQ_FOREACH(var, head, field) \ argument
352 for ((var) = ((head)->sqh_first); \
353 (var); \
354 (var) = ((var)->field.sqe_next))
435 #define TAILQ_FOREACH(var, head, field) \ argument
436 for ((var) = ((head)->tqh_first); \
437 (var); \
438 (var) = ((var)->field.tqe_next))
440 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument
441 for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \
442 (var); \
443 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
546 #define CIRCLEQ_FOREACH(var, head, field) \ argument
547 for ((var) = ((head)->cqh_first); \
548 (var) != (const void *)(head); \
549 (var) = ((var)->field.cqe_next))
551 #define CIRCLEQ_FOREACH_REVERSE(var, head, field) \ argument
552 for ((var) = ((head)->cqh_last); \
553 (var) != (const void *)(head); \
554 (var) = ((var)->field.cqe_prev))