/freebsd/contrib/ntp/sntp/libevent/compat/sys/ |
H A D | queue.h | 107 #define SLIST_END(head) NULL argument 119 #define SLIST_INIT(head) { \ argument 158 #define LIST_END(head) NULL argument 170 #define LIST_INIT(head) do { \ argument 232 #define SIMPLEQ_END(head) NULL argument 244 #define SIMPLEQ_INIT(head) do { \ argument 294 #define TAILQ_END(head) NULL argument 301 #define TAILQ_EMPTY(head) \ argument 317 #define TAILQ_INIT(head) do { \ argument 401 #define CIRCLEQ_EMPTY(head) \ argument [all …]
|
/freebsd/contrib/libevent/compat/sys/ |
H A D | queue.h | 107 #define SLIST_END(head) NULL argument 119 #define SLIST_INIT(head) { \ argument 158 #define LIST_END(head) NULL argument 170 #define LIST_INIT(head) do { \ argument 232 #define SIMPLEQ_END(head) NULL argument 244 #define SIMPLEQ_INIT(head) do { \ argument 294 #define TAILQ_END(head) NULL argument 301 #define TAILQ_EMPTY(head) \ argument 317 #define TAILQ_INIT(head) do { \ argument 401 #define CIRCLEQ_EMPTY(head) \ argument [all …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | sys-queue.h | 203 #define SLIST_END(head) NULL argument 220 #define SLIST_INIT(head) { \ argument 277 #define LIST_END(head) NULL argument 294 #define LIST_INIT(head) do { \ argument 360 #define SIMPLEQ_END(head) NULL argument 377 #define SIMPLEQ_INIT(head) do { \ argument 440 #define XSIMPLEQ_END(head) NULL argument 458 #define XSIMPLEQ_INIT(head) do { \ argument 521 #define TAILQ_END(head) NULL argument 528 #define TAILQ_EMPTY(head) \ argument [all …]
|
/freebsd/sys/dev/sound/midi/ |
H A D | midiq.h | 40 #define MIDIQ_INIT(head, buf, size) do { \ argument 46 #define MIDIQ_EMPTY(head) ((head).h == (head).t ) argument 48 #define MIDIQ_LENBASE(head) ((head).h - (head).t < 0 ? \ argument 52 #define MIDIQ_FULL(head) ((head).h == -1) argument 54 #define MIDIQ_LEN(head) ((head).s - MIDIQ_AVAIL(head)) argument 99 #define MIDIQ_SIZE(head) ((head).s) argument 100 #define MIDIQ_CLEAR(head) ((head).h = (head).t = 0) argument 101 #define MIDIQ_BUF(head) ((head).b) argument 102 #define MIDIQ_DEQ(head, buf, size) MIDIQ_DEQ_I(head, buf, size, 1, 1) argument 103 #define MIDIQ_PEEK(head, buf, size) MIDIQ_DEQ_I(head, buf, size, 1, 0) argument [all …]
|
/freebsd/contrib/openbsm/compat/ |
H A D | queue.h | 116 #define QMD_TRACE_HEAD(head) do { \ argument 132 #define QMD_TRACE_HEAD(head) argument 145 #define SLIST_HEAD_INITIALIZER(head) \ argument 175 #define SLIST_INIT(head) do { \ argument 218 #define STAILQ_HEAD_INITIALIZER(head) \ argument 252 #define STAILQ_INIT(head) do { \ argument 317 #define LIST_HEAD_INITIALIZER(head) \ argument 350 #define QMD_LIST_CHECK_HEAD(head, field) argument 369 #define LIST_INIT(head) do { \ argument 469 #define TAILQ_INIT(head) do { \ argument [all …]
|
/freebsd/contrib/libucl/uthash/ |
H A D | utlist.h | 309 #define LL_PREPEND(head,add) \ argument 312 #define LL_PREPEND2(head,add,next) \ argument 333 #define LL_APPEND(head,add) \ argument 336 #define LL_APPEND2(head,add,next) \ argument 349 #define LL_DELETE(head,del) \ argument 352 #define LL_DELETE2(head,del,next) \ argument 369 #define LL_APPEND_VS2008(head,add) \ argument 372 #define LL_APPEND2_VS2008(head,add,next) \ argument 384 #define LL_DELETE_VS2008(head,del) \ argument 387 #define LL_DELETE2_VS2008(head,del,next) \ argument [all …]
|
H A D | uthash.h | 95 #define HASH_FIND(hh,head,keyptr,keylen,out) \ argument 142 #define HASH_MAKE_TABLE(hh,head) \ argument 161 #define HASH_ADD(hh,head,fieldname,keylen_in,add) \ argument 164 #define HASH_REPLACE(hh,head,fieldname,keylen_in,add,replaced) \ argument 174 #define HASH_ADD_KEYPTR(hh,head,keyptr,keylen_in,add) \ argument 216 #define HASH_DELETE(hh,head,delptr) \ argument 331 #define HASH_FSCK(hh,head) argument 345 #define HASH_EMIT_KEY(hh,head,keyptr,fieldlen) argument 490 #define HASH_SORT(head,cmpfcn) HASH_SRT(hh,head,cmpfcn) argument 649 #define HASH_COUNT(head) HASH_CNT(hh,head) argument [all …]
|
/freebsd/sys/sys/ |
H A D | queue.h | 135 #define QMD_TRACE_HEAD(head) do { \ argument 151 #define QMD_TRACE_HEAD(head) argument 256 #define SLIST_INIT(head) do { \ argument 309 #define SLIST_END(head) NULL argument 374 #define STAILQ_INIT(head) do { \ argument 443 #define STAILQ_END(head) NULL argument 515 #define QMD_LIST_CHECK_HEAD(head, field) argument 561 #define LIST_INIT(head) do { \ argument 638 #define LIST_END(head) NULL argument 785 #define TAILQ_INIT(head) do { \ argument [all …]
|
/freebsd/sys/contrib/ck/include/ |
H A D | ck_queue.h | 131 #define CK_SLIST_HEAD_INITIALIZER(head) \ argument 142 #define CK_SLIST_EMPTY(head) \ argument 145 #define CK_SLIST_FIRST(head) \ argument 151 #define CK_SLIST_FOREACH(var, head, field) \ argument 171 #define CK_SLIST_INIT(head) do { \ argument 241 #define CK_STAILQ_HEAD_INITIALIZER(head) \ argument 265 #define CK_STAILQ_FOREACH(var, head, field) \ argument 281 #define CK_STAILQ_INIT(head) do { \ argument 369 #define CK_LIST_HEAD_INITIALIZER(head) \ argument 382 #define CK_LIST_FOREACH(var, head, field) \ argument [all …]
|
/freebsd/contrib/libarchive/unzip/ |
H A D | la_queue.h | 105 #define QMD_TRACE_HEAD(head) do { \ argument 121 #define QMD_TRACE_HEAD(head) argument 158 #define SLIST_HEAD_INITIALIZER(head) \ argument 226 #define SLIST_INIT(head) do { \ argument 340 #define STAILQ_INIT(head) do { \ argument 423 #define LIST_HEAD_INITIALIZER(head) \ argument 479 #define QMD_LIST_CHECK_HEAD(head, field) argument 525 #define LIST_INIT(head) do { \ argument 668 #define QMD_TAILQ_CHECK_HEAD(head, field) argument 729 #define TAILQ_INIT(head) do { \ argument [all …]
|
/freebsd/contrib/sendmail/include/sm/ |
H A D | tailq.h | 63 #define SM_TAILQ_HEAD_INITIALIZER(head) \ argument 75 #define SM_TAILQ_FIRST(head) ((head)->tqh_first) argument 76 #define SM_TAILQ_END(head) NULL argument 78 #define SM_TAILQ_LAST(head, headname) \ argument 83 #define SM_TAILQ_EMPTY(head) \ argument 86 #define SM_TAILQ_FOREACH(var, head, field) \ argument 99 #define SM_TAILQ_INIT(head) do { \ argument 104 #define SM_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument 114 #define SM_TAILQ_INSERT_TAIL(head, elm, field) do { \ argument 138 #define SM_TAILQ_REMOVE(head, elm, field) do { \ argument [all …]
|
/freebsd/crypto/heimdal/base/ |
H A D | heimqueue.h | 47 #define HEIM_TAILQ_HEAD_INITIALIZER(head) \ argument 82 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_HEAD(head, elm, field) argument 83 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_TAIL(head, elm, field) argument 85 #define QUEUEDEBUG_HEIM_TAILQ_PREREMOVE(head, elm, field) argument 89 #define HEIM_TAILQ_INIT(head) do { \ argument 94 #define HEIM_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument 105 #define HEIM_TAILQ_INSERT_TAIL(head, elm, field) do { \ argument 132 #define HEIM_TAILQ_REMOVE(head, elm, field) do { \ argument 144 #define HEIM_TAILQ_FOREACH(var, head, field) \ argument 158 #define HEIM_TAILQ_FIRST(head) ((head)->tqh_first) argument [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | asn1_queue.h | 47 #define ASN1_TAILQ_HEAD_INITIALIZER(head) \ argument 82 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_HEAD(head, elm, field) argument 83 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_TAIL(head, elm, field) argument 85 #define QUEUEDEBUG_ASN1_TAILQ_PREREMOVE(head, elm, field) argument 89 #define ASN1_TAILQ_INIT(head) do { \ argument 94 #define ASN1_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument 105 #define ASN1_TAILQ_INSERT_TAIL(head, elm, field) do { \ argument 132 #define ASN1_TAILQ_REMOVE(head, elm, field) do { \ argument 144 #define ASN1_TAILQ_FOREACH(var, head, field) \ argument 158 #define ASN1_TAILQ_FIRST(head) ((head)->tqh_first) argument [all …]
|
/freebsd/sys/kern/ |
H A D | subr_disk.c | 152 bioq_init(struct bio_queue_head *head) in bioq_init() 163 bioq_remove(struct bio_queue_head *head, struct bio *bp) in bioq_remove() 179 bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error) in bioq_flush() 188 bioq_insert_head(struct bio_queue_head *head, struct bio *bp) in bioq_insert_head() 199 bioq_insert_tail(struct bio_queue_head *head, struct bio *bp) in bioq_insert_tail() 210 bioq_first(struct bio_queue_head *head) in bioq_first() 217 bioq_takefirst(struct bio_queue_head *head) in bioq_takefirst() 233 bioq_bio_key(struct bio_queue_head *head, struct bio *bp) in bioq_bio_key() 247 bioq_disksort(struct bio_queue_head *head, struct bio *bp) in bioq_disksort()
|
/freebsd/tools/tools/drm/radeon/mkregtable/ |
H A D | mkregtable.c | 181 struct list_head *head) in list_move_tail() 193 const struct list_head *head) in list_is_last() 236 struct list_head *head, in __list_cut_position() 263 struct list_head *head, in list_cut_position() 295 struct list_head *head) in list_splice() 307 struct list_head *head) in list_splice_tail() 321 struct list_head *head) in list_splice_init() 338 struct list_head *head) in list_splice_tail_init() 371 #define list_for_each(pos, head) \ argument 385 #define __list_for_each(pos, head) \ argument [all …]
|
/freebsd/crypto/heimdal/lib/gssapi/mech/ |
H A D | mechqueue.h | 45 #define HEIM_SLIST_HEAD_INITIALIZER(head) \ argument 56 #define HEIM_SLIST_INIT(head) do { \ argument 65 #define HEIM_SLIST_INSERT_HEAD(head, elm, field) do { \ argument 70 #define HEIM_SLIST_REMOVE_HEAD(head, field) do { \ argument 74 #define HEIM_SLIST_REMOVE(head, elm, type, field) do { \ argument 87 #define HEIM_SLIST_FOREACH(var, head, field) \ argument 93 #define HEIM_SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 94 #define HEIM_SLIST_FIRST(head) ((head)->slh_first) argument
|
/freebsd/sys/dev/drm2/ |
H A D | drm_linux_list.h | 43 INIT_LIST_HEAD(struct list_head *head) { in INIT_LIST_HEAD() 54 list_empty(const struct list_head *head) { in list_empty() 96 struct list_head *head) in list_move_tail() 109 #define list_for_each(entry, head) \ argument 112 #define list_for_each_prev(entry, head) \ argument 116 #define list_for_each_safe(entry, temp, head) \ argument 121 #define list_for_each_entry(pos, head, member) \ argument 191 #define INIT_HLIST_HEAD(head) (head)->first = NULL argument 275 #define hlist_for_each(p, head) \ argument 278 #define hlist_for_each_safe(p, n, head) \ argument [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | ht-internal.h | 41 #define HT_EMPTY(head) \ argument 45 #define HT_SIZE(head) \ argument 49 #define HT_MEM_USAGE(head) \ argument 52 #define HT_FIND(name, head, elm) name##_HT_FIND((head), (elm)) argument 56 #define HT_START(name, head) name##_HT_START(head) argument 57 #define HT_NEXT(name, head, elm) name##_HT_NEXT((head), (elm)) argument 59 #define HT_CLEAR(name, head) name##_HT_CLEAR(head) argument 60 #define HT_INIT(name, head) name##_HT_INIT(head) argument 121 #define HT_BUCKET_(head, field, elm, hashfn) \ argument 124 #define HT_FOREACH(x, name, head) \ argument [all …]
|
/freebsd/contrib/libevent/ |
H A D | ht-internal.h | 41 #define HT_EMPTY(head) \ argument 45 #define HT_SIZE(head) \ argument 49 #define HT_MEM_USAGE(head) \ argument 52 #define HT_FIND(name, head, elm) name##_HT_FIND((head), (elm)) argument 56 #define HT_START(name, head) name##_HT_START(head) argument 57 #define HT_NEXT(name, head, elm) name##_HT_NEXT((head), (elm)) argument 59 #define HT_CLEAR(name, head) name##_HT_CLEAR(head) argument 60 #define HT_INIT(name, head) name##_HT_INIT(head) argument 121 #define HT_BUCKET_(head, field, elm, hashfn) \ argument 124 #define HT_FOREACH(x, name, head) \ argument [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | rculist.h | 37 #define list_next_rcu(head) (*((struct list_head **)(&(head)->next))) argument 38 #define list_prev_rcu(head) (*((struct list_head **)(&(head)->prev))) argument 40 #define list_for_each_entry_rcu(pos, head, member) \ argument 45 #define list_for_each_entry_from_rcu(pos, head, member) \ argument 50 #define list_for_each_entry_lockless(pos, head, member) \ argument 64 list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu() 70 list_add_tail_rcu(struct list_head *new, struct list_head *head) in list_add_tail_rcu() 94 #define hlist_first_rcu(head) (*((struct hlist_node **)(&(head)->first))) argument 108 #define hlist_for_each_entry_rcu(pos, head, member) \ argument
|
H A D | list.h | 95 list_empty(const struct list_head *head) in list_empty() 102 list_empty_careful(const struct list_head *head) in list_empty_careful() 185 #define list_for_each(p, head) \ argument 188 #define list_for_each_safe(p, n, head) \ argument 345 #define INIT_HLIST_HEAD(head) (head)->first = NULL argument 434 struct list_head *head, struct list_head *entry) in __list_cut_position() 446 struct list_head *head, struct list_head *entry) in list_cut_position() 460 const struct list_head *head) in list_is_first() 467 const struct list_head *head) in list_is_last() 488 #define hlist_for_each(p, head) \ argument [all …]
|
/freebsd/contrib/elftoolchain/common/ |
H A D | _elftc.h | 80 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ argument 87 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument 115 #define STAILQ_FIRST(head) ((head)->stqh_first) argument 127 #define STAILQ_HEAD_INITIALIZER(head) \ argument 132 #define STAILQ_FOREACH(var, head, field) \ argument 146 #define STAILQ_INIT(head) do { \ argument 153 #define STAILQ_INSERT_HEAD(head, elm, field) do { \ argument 161 #define STAILQ_INSERT_TAIL(head, elm, field) do { \ argument 177 #define STAILQ_LAST(head, type, field) \ argument 203 #define STAILQ_REMOVE_HEAD(head, field) do { \ argument [all …]
|
/freebsd/sys/dev/hpt27xx/ |
H A D | list.h | 54 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add() 59 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() 81 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() 88 struct list_head *head) in __list_splice() 101 static HPT_INLINE void list_splice(struct list_head *list, struct list_head *head) in list_splice() 107 static HPT_INLINE void list_splice_init(struct list_head *list, struct list_head *head) in list_splice_init() 118 #define list_for_each(pos, head) \ argument 121 #define list_for_each_safe(pos, n, head) \ argument
|
/freebsd/sys/dev/hptnr/ |
H A D | list.h | 53 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add() 58 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() 80 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() 87 struct list_head *head) in __list_splice() 100 static HPT_INLINE void list_splice(struct list_head *list, struct list_head *head) in list_splice() 106 static HPT_INLINE void list_splice_init(struct list_head *list, struct list_head *head) in list_splice_init() 117 #define list_for_each(pos, head) \ argument 120 #define list_for_each_safe(pos, n, head) \ argument
|
/freebsd/sys/dev/hptrr/ |
H A D | list.h | 56 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add() 61 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() 83 static HPT_INLINE int list_empty(struct list_head *head) in list_empty() 90 struct list_head *head) in __list_splice() 103 static HPT_INLINE void list_splice(struct list_head *list, struct list_head *head) in list_splice() 109 static HPT_INLINE void list_splice_init(struct list_head *list, struct list_head *head) in list_splice_init() 120 #define list_for_each(pos, head) \ argument 123 #define list_for_each_safe(pos, n, head) \ argument
|