/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | queue.h | 630 #define QMD_TAILQ_CHECK_TAIL(head, headname) argument 670 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 671 for ((var) = TAILQ_LAST((head), headname); \ 673 (var) = TAILQ_PREV((var), headname, field)) 675 #define TAILQ_FOREACH_REVERSE_FROM(var, head, headname, field) \ argument 676 for ((var) = ((var) ? (var) : TAILQ_LAST((head), headname)); \ 678 (var) = TAILQ_PREV((var), headname, field)) 680 #define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \ argument 681 for ((var) = TAILQ_LAST((head), headname); \ 682 (var) && ((tvar) = TAILQ_PREV((var), headname, field), 1); \ [all …]
|
/haiku/headers/compatibility/bsd/sys/ |
H A D | queue.h | 459 #define QMD_TAILQ_CHECK_TAIL(head, headname) argument 489 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 490 for ((var) = TAILQ_LAST((head), headname); \ 492 (var) = TAILQ_PREV((var), headname, field)) 494 #define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \ argument 495 for ((var) = TAILQ_LAST((head), headname); \ 496 (var) && ((tvar) = TAILQ_PREV((var), headname, field), 1); \ 553 #define TAILQ_LAST(head, headname) \ argument 554 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 558 #define TAILQ_PREV(elm, headname, field) \ argument [all …]
|
/haiku/headers/private/firewire/ |
H A D | queue.h | 454 #define QMD_TAILQ_CHECK_TAIL(head, headname) argument 484 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 485 for ((var) = TAILQ_LAST((head), headname); \ 487 (var) = TAILQ_PREV((var), headname, field)) 489 #define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \ argument 490 for ((var) = TAILQ_LAST((head), headname); \ 491 (var) && ((tvar) = TAILQ_PREV((var), headname, field), 1); \ 548 #define TAILQ_LAST(head, headname) \ argument 549 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 553 #define TAILQ_PREV(elm, headname, field) \ argument [all …]
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/ |
H A D | queue.h | 417 #define TAILQ_LAST(head, headname) \ argument 418 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 419 #define TAILQ_PREV(elm, headname, field) \ argument 420 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 427 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 428 for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \ 430 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/ |
H A D | queue.h | 417 #define TAILQ_LAST(head, headname) \ argument 418 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 419 #define TAILQ_PREV(elm, headname, field) \ argument 420 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 427 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 428 for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \ 430 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
|
/haiku/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | queue.h | 417 #define TAILQ_LAST(head, headname) \ argument 418 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 419 #define TAILQ_PREV(elm, headname, field) \ argument 420 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 427 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 428 for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \ 430 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/ |
H A D | queue.h | 417 #define TAILQ_LAST(head, headname) \ argument 418 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 419 #define TAILQ_PREV(elm, headname, field) \ argument 420 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 427 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 428 for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \ 430 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
|
/haiku/src/add-ons/kernel/drivers/audio/echo/ |
H A D | queue.h | 417 #define TAILQ_LAST(head, headname) \ argument 418 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 419 #define TAILQ_PREV(elm, headname, field) \ argument 420 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 427 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument 428 for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \ 430 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
|