Home
last modified time | relevance | path

Searched refs:headname (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/lib/libpthread/
H A Dpthread_queue.h122 #define PTQ_LAST(head, headname) \ argument
123 (*(((struct headname *)(void *)((head)->ptqh_last))->ptqh_last))
124 #define PTQ_PREV(elm, headname, field) \ argument
125 (*(((struct headname *)(void *)((elm)->field.ptqe_prev))->ptqh_last))
132 #define PTQ_FOREACH_REVERSE(var, head, headname, field) \ argument
133 for ((var) = (*(((struct headname *)(void *)((head)->ptqh_last))->ptqh_last)); \
135 (var) = (*(((struct headname *)(void *)((var)->field.ptqe_prev))->ptqh_last)))
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/base/
H A Dheimqueue.h151 #define HEIM_TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument
152 for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \
154 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
163 #define HEIM_TAILQ_LAST(head, headname) \ argument
164 (*(((struct headname *)((head)->tqh_last))->tqh_last))
165 #define HEIM_TAILQ_PREV(elm, headname, field) \ argument
166 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dasn1_queue.h151 #define ASN1_TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument
152 for ((var) = (*(((struct headname *)((head)->tqh_last))->tqh_last)); \
154 (var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)))
163 #define ASN1_TAILQ_LAST(head, headname) \ argument
164 (*(((struct headname *)((head)->tqh_last))->tqh_last))
165 #define ASN1_TAILQ_PREV(elm, headname, field) \ argument
166 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dmisc.h56 #define RACOON_TAILQ_FOREACH_REVERSE(var, head, headname ,field) \ argument
57 TAILQ_FOREACH_REVERSE(var, head, field, headname)
59 #define RACOON_TAILQ_FOREACH_REVERSE(var, head, headname ,field) \ argument
60 TAILQ_FOREACH_REVERSE(var, head, headname, field)
/netbsd-src/crypto/dist/ipsec-tools/src/include-glibc/sys/
H A Dqueue.h347 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument
348 for ((var) = TAILQ_LAST((head), headname); \
350 (var) = TAILQ_PREV((var), headname, field))
391 #define TAILQ_LAST(head, headname) \ argument
392 (*(((struct headname *)((head)->tqh_last))->tqh_last))
396 #define TAILQ_PREV(elm, headname, field) \ argument
397 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
/netbsd-src/sys/sys/
H A Dqueue.h420 #define TAILQ_LAST(head, headname) \ argument
421 (*(((struct headname *)(void *)((head)->tqh_last))->tqh_last))
422 #define TAILQ_PREV(elm, headname, field) \ argument
423 (*(((struct headname *)(void *)((elm)->field.tqe_prev))->tqh_last))
437 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument
438 for ((var) = TAILQ_LAST((head), headname); \
440 (var) = TAILQ_PREV((var), headname, field))
442 #define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, prev) \ argument
443 for ((var) = TAILQ_LAST((head), headname); \
445 ((prev) = TAILQ_PREV((var), headname, field), 1); (var) = (prev))
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/compat/sys/
H A Dqueue.h298 #define TAILQ_LAST(head, headname) \ argument
299 (*(((struct headname *)((head)->tqh_last))->tqh_last))
301 #define TAILQ_PREV(elm, headname, field) \ argument
302 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
311 #define TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument
312 for((var) = TAILQ_LAST(head, headname); \
314 (var) = TAILQ_PREV(var, headname, field))
/netbsd-src/lib/libc/citrus/
H A Dcitrus_hash.h33 #define _CITRUS_HASH_HEAD(headname, type, hashsize) \ argument
34 struct headname { \
/netbsd-src/external/bsd/openldap/dist/include/
H A Dldap_queue.h391 #define LDAP_TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument
392 for ((var) = LDAP_TAILQ_LAST((head), headname); \
394 (var) = LDAP_TAILQ_PREV((var), headname, field))
398 #define LDAP_TAILQ_LAST(head, headname) \ argument
399 (*(((struct headname *)((head)->tqh_last))->tqh_last))
403 #define LDAP_TAILQ_PREV(elm, headname, field) \ argument
404 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
/netbsd-src/external/mpl/dhcp/dist/keama/
H A Ddata.h114 #define TAILQ_LAST(head, headname) \ argument
115 (*(((struct headname *)((head)->tqh_last))->tqh_last))
119 #define TAILQ_PREV(elm, headname) \ argument
120 (*(((struct headname *)((elm)->next.tqe_prev))->tqh_last))
/netbsd-src/sys/altq/
H A Daltq_var.h151 #define TAILQ_LAST(head, headname) \ argument
152 (*(((struct headname *)((head)->tqh_last))->tqh_last))