| /minix3/sys/sys/ |
| H A D | queue.h | 111 #define SLIST_HEAD_INITIALIZER(head) \ argument 122 #define SLIST_FIRST(head) ((head)->slh_first) argument 123 #define SLIST_END(head) NULL argument 124 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 127 #define SLIST_FOREACH(var, head, field) \ argument 132 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument 141 #define SLIST_INIT(head) do { \ argument 150 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 160 #define SLIST_REMOVE_HEAD(head, field) do { \ argument 164 #define SLIST_REMOVE(head, elm, type, field) do { \ argument [all …]
|
| /netbsd-src/external/bsd/ntp/dist/sntp/libevent/compat/sys/ |
| H A D | queue.h | 95 #define SLIST_HEAD_INITIALIZER(head) \ argument 108 #define SLIST_FIRST(head) ((head)->slh_first) argument 109 #define SLIST_END(head) NULL argument 110 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head)) argument 113 #define SLIST_FOREACH(var, head, field) \ argument 121 #define SLIST_INIT(head) { \ argument 130 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 135 #define SLIST_REMOVE_HEAD(head, field) do { \ argument 147 #define LIST_HEAD_INITIALIZER(head) \ argument 159 #define LIST_FIRST(head) ((head)->lh_first) argument [all …]
|
| /netbsd-src/external/gpl2/lvm2/dist/libdm/datastruct/ |
| H A D | list.c | 25 void dm_list_init(struct dm_list *head) in dm_list_init() 34 void dm_list_add(struct dm_list *head, struct dm_list *elem) in dm_list_add() 49 void dm_list_add_h(struct dm_list *head, struct dm_list *elem) in dm_list_add_h() 74 void dm_list_move(struct dm_list *head, struct dm_list *elem) in dm_list_move() 83 int dm_list_empty(const struct dm_list *head) in dm_list_empty() 91 int dm_list_start(const struct dm_list *head, const struct dm_list *elem) in dm_list_start() 99 int dm_list_end(const struct dm_list *head, const struct dm_list *elem) in dm_list_end() 107 struct dm_list *dm_list_first(const struct dm_list *head) in dm_list_first() 115 struct dm_list *dm_list_last(const struct dm_list *head) in dm_list_last() 123 struct dm_list *dm_list_prev(const struct dm_list *head, const struct dm_list *elem) in dm_list_prev() [all …]
|
| H A D | list.h | 103 #define dm_list_struct_base(v, t, head) \ argument 128 #define dm_list_iterate(v, head) \ argument 138 #define dm_list_uniterate(v, head, start) \ argument 146 #define dm_list_iterate_safe(v, t, head) \ argument 154 #define dm_list_iterate_items_gen(v, head, field) \ argument 164 #define dm_list_iterate_items(v, head) dm_list_iterate_items_gen(v, (head), list) argument 172 #define dm_list_iterate_items_gen_safe(v, t, head, field) \ argument 183 #define dm_list_iterate_items_safe(v, t, head) \ argument 192 #define dm_list_iterate_back_items_gen(v, head, field) \ argument 203 #define dm_list_iterate_back_items(v, head) dm_list_iterate_back_items_gen(v, (head), list) argument
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/datastruct/ |
| H A D | list.c | 24 void dm_list_init(struct dm_list *head) in dm_list_init() 33 void dm_list_add(struct dm_list *head, struct dm_list *elem) in dm_list_add() 48 void dm_list_add_h(struct dm_list *head, struct dm_list *elem) in dm_list_add_h() 73 void dm_list_move(struct dm_list *head, struct dm_list *elem) in dm_list_move() 82 int dm_list_empty(const struct dm_list *head) in dm_list_empty() 90 int dm_list_start(const struct dm_list *head, const struct dm_list *elem) in dm_list_start() 98 int dm_list_end(const struct dm_list *head, const struct dm_list *elem) in dm_list_end() 106 struct dm_list *dm_list_first(const struct dm_list *head) in dm_list_first() 114 struct dm_list *dm_list_last(const struct dm_list *head) in dm_list_last() 122 struct dm_list *dm_list_prev(const struct dm_list *head, const struct dm_list *elem) in dm_list_prev() [all …]
|
| H A D | list.h | 103 #define dm_list_struct_base(v, t, head) \ argument 128 #define dm_list_iterate(v, head) \ argument 138 #define dm_list_uniterate(v, head, start) \ argument 146 #define dm_list_iterate_safe(v, t, head) \ argument 154 #define dm_list_iterate_items_gen(v, head, field) \ argument 164 #define dm_list_iterate_items(v, head) dm_list_iterate_items_gen(v, (head), list) argument 172 #define dm_list_iterate_items_gen_safe(v, t, head, field) \ argument 183 #define dm_list_iterate_items_safe(v, t, head) \ argument 192 #define dm_list_iterate_back_items_gen(v, head, field) \ argument 203 #define dm_list_iterate_back_items(v, head) dm_list_iterate_back_items_gen(v, (head), list) argument
|
| /netbsd-src/sys/sys/ |
| H A D | queue.h | 107 #define SLIST_HEAD_INITIALIZER(head) \ argument 118 #define SLIST_FIRST(head) ((head)->slh_first) argument 119 #define SLIST_END(head) NULL argument 120 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 123 #define SLIST_FOREACH(var, head, field) \ argument 128 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument 137 #define SLIST_INIT(head) do { \ argument 146 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 156 #define SLIST_REMOVE_HEAD(head, field) do { \ argument 160 #define SLIST_REMOVE(head, elm, type, field) do { \ argument [all …]
|
| /netbsd-src/external/bsd/openldap/dist/include/ |
| H A D | ldap_queue.h | 143 #define LDAP_SLIST_HEAD_INITIALIZER(head) \ argument 157 #define LDAP_SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 159 #define LDAP_SLIST_FIRST(head) ((head)->slh_first) argument 161 #define LDAP_SLIST_FOREACH(var, head, field) \ argument 164 #define LDAP_SLIST_INIT(head) { \ argument 177 #define LDAP_SLIST_INSERT_HEAD(head, elm, field) do { \ argument 184 #define LDAP_SLIST_REMOVE_HEAD(head, field) do { \ argument 188 #define LDAP_SLIST_REMOVE(head, elm, type, field) do { \ argument 210 #define LDAP_STAILQ_HEAD_INITIALIZER(head) \ argument 224 #define LDAP_STAILQ_EMPTY(head) ((head)->stqh_first == NULL) argument [all …]
|
| /netbsd-src/crypto/dist/ipsec-tools/src/include-glibc/sys/ |
| H A D | queue.h | 114 #define SLIST_HEAD_INITIALIZER(head) \ argument 125 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 127 #define SLIST_FIRST(head) ((head)->slh_first) argument 129 #define SLIST_FOREACH(var, head, field) \ argument 134 #define SLIST_INIT(head) do { \ argument 143 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 150 #define SLIST_REMOVE(head, elm, type, field) do { \ argument 163 #define SLIST_REMOVE_HEAD(head, field) do { \ argument 176 #define STAILQ_HEAD_INITIALIZER(head) \ argument 187 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL) argument [all …]
|
| /netbsd-src/sys/dev/dm/ |
| H A D | dm_table.c | 67 dm_table_busy(dm_table_head_t *head, uint8_t table_id) in dm_table_busy() 88 dm_table_unbusy(dm_table_head_t *head) in dm_table_unbusy() 105 dm_table_get_entry(dm_table_head_t *head, uint8_t table_id) in dm_table_get_entry() 117 dm_table_release(dm_table_head_t *head, uint8_t table_id) in dm_table_release() 127 dm_table_switch_tables(dm_table_head_t *head) in dm_table_switch_tables() 147 dm_table_destroy(dm_table_head_t *head, uint8_t table_id) in dm_table_destroy() 185 dm_table_size_impl(dm_table_head_t *head, int table) in dm_table_size_impl() 215 dm_table_size(dm_table_head_t *head) in dm_table_size() 225 dm_inactive_table_size(dm_table_head_t *head) in dm_inactive_table_size() 235 dm_table_disksize(dm_table_head_t *head, uint64_t *numsecp, in dm_table_disksize() [all …]
|
| /minix3/minix/lib/libmagicrt/include/common/ut/ |
| H A D | utlist.h | 306 #define LL_PREPEND(head,add) \ argument 309 #define LL_PREPEND2(head,add,next) \ argument 330 #define LL_APPEND(head,add) \ argument 333 #define LL_APPEND2(head,add,next) \ argument 346 #define LL_DELETE(head,del) \ argument 349 #define LL_DELETE2(head,del,next) \ argument 366 #define LL_APPEND_VS2008(head,add) \ argument 369 #define LL_APPEND2_VS2008(head,add,next) \ argument 381 #define LL_DELETE_VS2008(head,del) \ argument 384 #define LL_DELETE2_VS2008(head,del,next) \ argument [all …]
|
| /minix3/crypto/external/bsd/heimdal/dist/base/ |
| H A D | heimqueue.h | 49 #define HEIM_TAILQ_HEAD_INITIALIZER(head) \ argument 61 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_HEAD(head, elm, field) \ argument 65 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_TAIL(head, elm, field) \ argument 75 #define QUEUEDEBUG_HEIM_TAILQ_PREREMOVE(head, elm, field) \ argument 84 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_HEAD(head, elm, field) argument 85 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_TAIL(head, elm, field) argument 87 #define QUEUEDEBUG_HEIM_TAILQ_PREREMOVE(head, elm, field) argument 91 #define HEIM_TAILQ_INIT(head) do { \ argument 96 #define HEIM_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument 107 #define HEIM_TAILQ_INSERT_TAIL(head, elm, field) do { \ argument [all …]
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/asn1/ |
| H A D | asn1_queue.h | 49 #define ASN1_TAILQ_HEAD_INITIALIZER(head) \ argument 61 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_HEAD(head, elm, field) \ argument 65 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_TAIL(head, elm, field) \ argument 75 #define QUEUEDEBUG_ASN1_TAILQ_PREREMOVE(head, elm, field) \ argument 84 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_HEAD(head, elm, field) argument 85 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_TAIL(head, elm, field) argument 87 #define QUEUEDEBUG_ASN1_TAILQ_PREREMOVE(head, elm, field) argument 91 #define ASN1_TAILQ_INIT(head) do { \ argument 96 #define ASN1_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument 107 #define ASN1_TAILQ_INSERT_TAIL(head, elm, field) do { \ argument [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/base/ |
| H A D | heimqueue.h | 49 #define HEIM_TAILQ_HEAD_INITIALIZER(head) \ argument 61 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_HEAD(head, elm, field) \ argument 65 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_TAIL(head, elm, field) \ argument 75 #define QUEUEDEBUG_HEIM_TAILQ_PREREMOVE(head, elm, field) \ argument 84 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_HEAD(head, elm, field) argument 85 #define QUEUEDEBUG_HEIM_TAILQ_INSERT_TAIL(head, elm, field) argument 87 #define QUEUEDEBUG_HEIM_TAILQ_PREREMOVE(head, elm, field) argument 91 #define HEIM_TAILQ_INIT(head) do { \ argument 96 #define HEIM_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument 107 #define HEIM_TAILQ_INSERT_TAIL(head, elm, field) do { \ argument [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/asn1/ |
| H A D | asn1_queue.h | 49 #define ASN1_TAILQ_HEAD_INITIALIZER(head) \ argument 61 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_HEAD(head, elm, field) \ argument 65 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_TAIL(head, elm, field) \ argument 75 #define QUEUEDEBUG_ASN1_TAILQ_PREREMOVE(head, elm, field) \ argument 84 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_HEAD(head, elm, field) argument 85 #define QUEUEDEBUG_ASN1_TAILQ_INSERT_TAIL(head, elm, field) argument 87 #define QUEUEDEBUG_ASN1_TAILQ_PREREMOVE(head, elm, field) argument 91 #define ASN1_TAILQ_INIT(head) do { \ argument 96 #define ASN1_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument 107 #define ASN1_TAILQ_INSERT_TAIL(head, elm, field) do { \ argument [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
| H A D | nouveau_dispnv50_head507d.c | 33 head507d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_procamp() 46 head507d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_dither() 60 head507d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_ovly() 87 head507d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_base() 114 head507d_curs_clr(struct nv50_head *head) in head507d_curs_clr() 126 head507d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_curs_set() 140 head507d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, in head507d_curs_format() 153 head507d_curs_layout(struct nv50_head *head, struct nv50_wndw_atom *asyw, in head507d_curs_layout() 166 head507d_core_clr(struct nv50_head *head) in head507d_core_clr() 178 head507d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_core_set() [all …]
|
| H A D | nouveau_dispnv50_headc37d.c | 32 headc37d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_or() 60 headc37d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_procamp() 74 headc37d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_dither() 88 headc37d_curs_clr(struct nv50_head *head) in headc37d_curs_clr() 102 headc37d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_curs_set() 121 headc37d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, in headc37d_curs_format() 129 headc37d_olut_clr(struct nv50_head *head) in headc37d_olut_clr() 141 headc37d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_olut_set() 157 headc37d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) in headc37d_olut() 171 headc37d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_mode() [all …]
|
| H A D | nouveau_dispnv50_head907d.c | 31 head907d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_or() 47 head907d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_procamp() 60 head907d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_dither() 74 head907d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_ovly() 102 head907d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_base() 129 head907d_curs_clr(struct nv50_head *head) in head907d_curs_clr() 143 head907d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_curs_set() 159 head907d_core_clr(struct nv50_head *head) in head907d_core_clr() 171 head907d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_core_set() 193 head907d_olut_clr(struct nv50_head *head) in head907d_olut_clr() [all …]
|
| /netbsd-src/lib/libpthread/ |
| H A D | pthread_queue.h | 64 #define PTQ_INIT(head) do { \ argument 69 #define PTQ_INSERT_HEAD(head, elm, field) do { \ argument 79 #define PTQ_INSERT_TAIL(head, elm, field) do { \ argument 88 #define PTQ_INSERT_AFTER(head, listelm, elm, field) do { \ argument 105 #define PTQ_REMOVE(head, elm, field) do { \ argument 118 #define PTQ_EMPTY(head) ((head)->ptqh_first == NULL) argument 119 #define PTQ_FIRST(head) ((head)->ptqh_first) argument 122 #define PTQ_LAST(head, headname) \ argument 127 #define PTQ_FOREACH(var, head, field) \ argument 132 #define PTQ_FOREACH_REVERSE(var, head, headname, field) \ argument
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/ |
| H A D | mechqueue.h | 47 #define HEIM_SLIST_HEAD_INITIALIZER(head) \ argument 58 #define HEIM_SLIST_INIT(head) do { \ argument 67 #define HEIM_SLIST_INSERT_HEAD(head, elm, field) do { \ argument 72 #define HEIM_SLIST_REMOVE_HEAD(head, field) do { \ argument 76 #define HEIM_SLIST_REMOVE(head, elm, type, field) do { \ argument 89 #define HEIM_SLIST_FOREACH(var, head, field) \ argument 95 #define HEIM_SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 96 #define HEIM_SLIST_FIRST(head) ((head)->slh_first) argument
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/ |
| H A D | mechqueue.h | 47 #define HEIM_SLIST_HEAD_INITIALIZER(head) \ argument 58 #define HEIM_SLIST_INIT(head) do { \ argument 67 #define HEIM_SLIST_INSERT_HEAD(head, elm, field) do { \ argument 72 #define HEIM_SLIST_REMOVE_HEAD(head, field) do { \ argument 76 #define HEIM_SLIST_REMOVE(head, elm, type, field) do { \ argument 89 #define HEIM_SLIST_FOREACH(var, head, field) \ argument 95 #define HEIM_SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 96 #define HEIM_SLIST_FIRST(head) ((head)->slh_first) argument
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
| H A D | hw.h | 62 int head, uint32_t reg) in NVReadCRTC() 73 int head, uint32_t reg, uint32_t val) in NVWriteCRTC() 82 int head, uint32_t reg) in NVReadRAMDAC() 93 int head, uint32_t reg, uint32_t val) in NVWriteRAMDAC() 122 int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc() 130 int head, uint8_t index) in NVReadVgaCrtc() 154 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc5758() 160 static inline uint8_t NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) in NVReadVgaCrtc5758() 167 int head, uint32_t reg) in NVReadPRMVIO() 183 int head, uint32_t reg, uint8_t value) in NVWritePRMVIO() [all …]
|
| /netbsd-src/sys/external/bsd/drm/dist/bsd-core/ |
| H A D | drm_linux_list.h | 43 INIT_LIST_HEAD(struct list_head *head) { in INIT_LIST_HEAD() 49 list_empty(struct list_head *head) { in list_empty() 54 list_add(struct list_head *new, struct list_head *head) { in list_add() 62 list_add_tail(struct list_head *entry, struct list_head *head) { in list_add_tail() 82 #define list_for_each(entry, head) \ argument 85 #define list_for_each_prev(entry, head) \ argument 89 #define list_for_each_safe(entry, temp, head) \ argument 101 #define list_for_each_entry_safe(pos, n, head, member) \ argument
|
| /netbsd-src/external/bsd/ntp/dist/sntp/libevent/ |
| H A D | ht-internal.h | 43 #define HT_EMPTY(head) \ argument 47 #define HT_SIZE(head) \ argument 51 #define HT_MEM_USAGE(head) \ argument 54 #define HT_FIND(name, head, elm) name##_HT_FIND((head), (elm)) argument 55 #define HT_INSERT(name, head, elm) name##_HT_INSERT((head), (elm)) argument 56 #define HT_REPLACE(name, head, elm) name##_HT_REPLACE((head), (elm)) argument 57 #define HT_REMOVE(name, head, elm) name##_HT_REMOVE((head), (elm)) argument 58 #define HT_START(name, head) name##_HT_START(head) argument 59 #define HT_NEXT(name, head, elm) name##_HT_NEXT((head), (elm)) argument 60 #define HT_NEXT_RMV(name, head, elm) name##_HT_NEXT_RMV((head), (elm)) argument [all …]
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | ht-internal.h | 42 #define HT_EMPTY(head) \ argument 46 #define HT_SIZE(head) \ argument 50 #define HT_MEM_USAGE(head) \ argument 53 #define HT_FIND(name, head, elm) name##_HT_FIND((head), (elm)) argument 54 #define HT_INSERT(name, head, elm) name##_HT_INSERT((head), (elm)) argument 55 #define HT_REPLACE(name, head, elm) name##_HT_REPLACE((head), (elm)) argument 56 #define HT_REMOVE(name, head, elm) name##_HT_REMOVE((head), (elm)) argument 57 #define HT_START(name, head) name##_HT_START(head) argument 58 #define HT_NEXT(name, head, elm) name##_HT_NEXT((head), (elm)) argument 59 #define HT_NEXT_RMV(name, head, elm) name##_HT_NEXT_RMV((head), (elm)) argument [all …]
|