Home
last modified time | relevance | path

Searched refs:listelm (Results 1 – 8 of 8) sorted by relevance

/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Dqueue.h132 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
133 QUEUEDEBUG_LIST_OP((listelm), field) \
134 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
135 (listelm)->field.le_next->field.le_prev = \
137 (listelm)->field.le_next = (elm); \
138 (elm)->field.le_prev = &(listelm)->field.le_next; \
141 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
142 QUEUEDEBUG_LIST_OP((listelm), field) \
143 (elm)->field.le_prev = (listelm)->field.le_prev; \
144 (elm)->field.le_next = (listelm); \
[all …]
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Dqueue.h132 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
133 QUEUEDEBUG_LIST_OP((listelm), field) \
134 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
135 (listelm)->field.le_next->field.le_prev = \
137 (listelm)->field.le_next = (elm); \
138 (elm)->field.le_prev = &(listelm)->field.le_next; \
141 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
142 QUEUEDEBUG_LIST_OP((listelm), field) \
143 (elm)->field.le_prev = (listelm)->field.le_prev; \
144 (elm)->field.le_next = (listelm); \
[all …]
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Dqueue.h132 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
133 QUEUEDEBUG_LIST_OP((listelm), field) \
134 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
135 (listelm)->field.le_next->field.le_prev = \
137 (listelm)->field.le_next = (elm); \
138 (elm)->field.le_prev = &(listelm)->field.le_next; \
141 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
142 QUEUEDEBUG_LIST_OP((listelm), field) \
143 (elm)->field.le_prev = (listelm)->field.le_prev; \
144 (elm)->field.le_next = (listelm); \
[all …]
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Dqueue.h132 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
133 QUEUEDEBUG_LIST_OP((listelm), field) \
134 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
135 (listelm)->field.le_next->field.le_prev = \
137 (listelm)->field.le_next = (elm); \
138 (elm)->field.le_prev = &(listelm)->field.le_next; \
141 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
142 QUEUEDEBUG_LIST_OP((listelm), field) \
143 (elm)->field.le_prev = (listelm)->field.le_prev; \
144 (elm)->field.le_next = (listelm); \
[all …]
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Dqueue.h132 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
133 QUEUEDEBUG_LIST_OP((listelm), field) \
134 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
135 (listelm)->field.le_next->field.le_prev = \
137 (listelm)->field.le_next = (elm); \
138 (elm)->field.le_prev = &(listelm)->field.le_next; \
141 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
142 QUEUEDEBUG_LIST_OP((listelm), field) \
143 (elm)->field.le_prev = (listelm)->field.le_prev; \
144 (elm)->field.le_next = (listelm); \
[all …]
/haiku/headers/compatibility/bsd/sys/
H A Dqueue.h372 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
373 QMD_LIST_CHECK_NEXT(listelm, field); \
374 if ((LIST_NEXT((elm), field) = LIST_NEXT((listelm), field)) != NULL)\
375 LIST_NEXT((listelm), field)->field.le_prev = \
377 LIST_NEXT((listelm), field) = (elm); \
378 (elm)->field.le_prev = &LIST_NEXT((listelm), field); \
381 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
382 QMD_LIST_CHECK_PREV(listelm, field); \
383 (elm)->field.le_prev = (listelm)->field.le_prev; \
384 LIST_NEXT((elm), field) = (listelm); \
[all …]
/haiku/headers/private/firewire/
H A Dqueue.h367 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
368 QMD_LIST_CHECK_NEXT(listelm, field); \
369 if ((LIST_NEXT((elm), field) = LIST_NEXT((listelm), field)) != NULL)\
370 LIST_NEXT((listelm), field)->field.le_prev = \
372 LIST_NEXT((listelm), field) = (elm); \
373 (elm)->field.le_prev = &LIST_NEXT((listelm), field); \
376 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
377 QMD_LIST_CHECK_PREV(listelm, field); \
378 (elm)->field.le_prev = (listelm)->field.le_prev; \
379 LIST_NEXT((elm), field) = (listelm); \
[all …]
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dqueue.h512 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
513 QMD_LIST_CHECK_NEXT(listelm, field); \
514 if ((LIST_NEXT((elm), field) = LIST_NEXT((listelm), field)) != NULL)\
515 LIST_NEXT((listelm), field)->field.le_prev = \
517 LIST_NEXT((listelm), field) = (elm); \
518 (elm)->field.le_prev = &LIST_NEXT((listelm), field); \
521 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
522 QMD_LIST_CHECK_PREV(listelm, field); \
523 (elm)->field.le_prev = (listelm)->field.le_prev; \
524 LIST_NEXT((elm), field) = (listelm); \
[all …]