| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/compat/sys/ |
| 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/lib/datastruct/ |
| 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 …]
|
| 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/libdm/datastruct/ |
| 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 …]
|
| 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/ |
| 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/ |
| 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/ |
| 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/ |
| 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 …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/asn1/ |
| 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/lib/libpthread/ |
| 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
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/ |
| 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/altq/ |
| D | altq_afmap.c | 85 struct afm_head *head; in afm_alloc() local 105 struct afm_head *head; in afm_dealloc() local 121 struct afm_head *head; in afm_top() local 132 struct afm_head *head; in afm_add() local 173 struct afm_head *head; in afm_removeall() local 187 struct afm_head *head; in afm_lookup() local 201 afm_match4(struct afm_head *head, struct flowinfo_in *fp) in afm_match4() 230 afm_match6(struct afm_head *head, struct flowinfo_in6 *fp) in afm_match6() 271 struct afm_head *head; in afm_match() local 294 struct afm_head *head; in afmhead_if() local [all …]
|
| /netbsd/src/sys/external/bsd/drm/dist/bsd-core/ |
| 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/ |
| 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/ |
| 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 …]
|
| /netbsd/src/crypto/dist/ipsec-tools/src/racoon/ |
| D | genlist.c | 50 genlist_insert (struct genlist *head, void *data) in genlist_insert() 59 genlist_append (struct genlist *head, void *data) in genlist_append() 68 genlist_foreach (struct genlist *head, genlist_func_t func, void *arg) in genlist_foreach() 82 genlist_next (struct genlist *head, struct genlist_entry **buf) in genlist_next() 96 genlist_free (struct genlist *head, genlist_freedata_t func) in genlist_free()
|
| /netbsd/src/libexec/httpd/ |
| D | netbsd_queue.h | 55 #define SIMPLEQ_INIT(head) do { \ argument 60 #define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \ argument 66 #define SIMPLEQ_FOREACH(var, head, field) \ argument 71 #define SIMPLEQ_FOREACH_SAFE(var, head, field, next) \ argument 79 #define SIMPLEQ_FIRST(head) ((head)->sqh_first) argument
|
| /netbsd/src/external/bsd/iscsi/dist/src/lib/ |
| D | parameters.c | 66 param_list_add(iscsi_parameter_t ** head, int type, const char *key, const char *dflt, const char *… in param_list_add() 161 param_list_destroy(iscsi_parameter_t * head) in param_list_destroy() 187 param_get(iscsi_parameter_t * head, const char *key) in param_get() 201 param_val(iscsi_parameter_t * head, const char *key) in param_val() 207 param_val_which(iscsi_parameter_t * head, const char *key, int which) in param_val_which() 235 param_val_delete_all(iscsi_parameter_t * head, char *key) in param_val_delete_all() 255 param_val_reset(iscsi_parameter_t * head, const char *key) in param_val_reset() 270 param_atoi(iscsi_parameter_t * head, const char *key) in param_atoi() 295 param_equiv(iscsi_parameter_t * head, const char *key, const char *val) in param_equiv() 318 param_num_vals(iscsi_parameter_t * head, char *key) in param_num_vals() [all …]
|
| /netbsd/src/sys/netatalk/ |
| D | at_rmx.c | 82 at_addroute(const void *v_arg, const void *n_arg, struct radix_node_head * head, in at_addroute() 99 at_matroute(const void *v_arg, struct radix_node_head * head) in at_matroute() 114 at_lookup(const void *v_arg, const void *m_arg, struct radix_node_head * head) in at_lookup() 130 at_delroute(const void *v_arg, const void *netmask_arg, struct radix_node_head * head) in at_delroute() 149 at_inithead(void **head, int off) in at_inithead()
|
| /netbsd/src/sys/external/bsd/common/include/linux/ |
| D | list.h | 61 INIT_LIST_HEAD(struct list_head *head) in INIT_LIST_HEAD() 68 list_first(const struct list_head *head) in list_first() 74 list_last(const struct list_head *head) in list_last() 92 list_empty(const struct list_head *head) in list_empty() 98 list_is_singular(const struct list_head *head) in list_is_singular() 109 list_is_first(const struct list_head *entry, const struct list_head *head) in list_is_first() 115 list_is_last(const struct list_head *entry, const struct list_head *head) in list_is_last() 131 list_add(struct list_head *node, struct list_head *head) in list_add() 137 list_add_rcu(struct list_head *node, struct list_head *head) in list_add_rcu() 153 list_add_tail(struct list_head *node, struct list_head *head) in list_add_tail() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/include/linux/ |
| D | llist.h | 47 init_llist_head(struct llist_head *head) in init_llist_head() 56 llist_empty(struct llist_head *head) in llist_empty() 66 llist_add(struct llist_node *node, struct llist_head *head) in llist_add() 81 struct llist_head *head) in llist_add_batch() 94 llist_del_all(struct llist_head *head) in llist_del_all() 105 llist_del_first(struct llist_head *head) in llist_del_first()
|
| /netbsd/src/external/bsd/pcc/dist/pcc/cc/driver/ |
| D | strlist.h | 62 #define STRLIST_FIRST(head) ((head)->first) argument 64 #define STRLIST_FOREACH(var, head) \ argument 68 #define STRLIST_FOREACH_MUTABLE(var, head, var2) \ argument 72 #define STRLIST_EMPTY(head) (STRLIST_FIRST(head) == NULL) argument
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/WIN32-Code/ |
| D | tree.h | 79 #define SPLAY_ROOT(head) (head)->sph_root argument 80 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument 83 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument 89 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument 95 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument 101 #define SPLAY_LINKRIGHT(head, tmp, field) do { \ argument 107 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument 287 #define SPLAY_FOREACH(x, name, head) \ argument 319 #define RB_ROOT(head) (head)->rbh_root argument 320 #define RB_EMPTY(head) (RB_ROOT(head) == NULL) argument [all …]
|
| /netbsd/src/external/bsd/libevent/dist/WIN32-Code/ |
| D | tree.h | 78 #define SPLAY_ROOT(head) (head)->sph_root argument 79 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument 82 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument 88 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument 94 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument 100 #define SPLAY_LINKRIGHT(head, tmp, field) do { \ argument 106 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument 286 #define SPLAY_FOREACH(x, name, head) \ argument 318 #define RB_ROOT(head) (head)->rbh_root argument 319 #define RB_EMPTY(head) (RB_ROOT(head) == NULL) argument [all …]
|