/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/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/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/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 …]
|
/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
|
/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/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 …]
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/ |
H A D | nouveau_nvkm_engine_disp_vga.c | 32 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport() 54 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport() 74 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgas() 81 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgas() 88 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgag() 95 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgag() 102 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgac() 109 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgac() 116 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) in nvkm_rdvgai() 125 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) in nvkm_wrvgai()
|
/netbsd-src/sys/altq/ |
H A D | altq_afmap.c | 85 struct afm_head *head; in afm_alloc() local 105 struct afm_head *head; in afm_dealloc() local 125 struct afm_head *head; afm_top() local 140 struct afm_head *head; afm_add() local 185 struct afm_head *head; afm_removeall() local 203 struct afm_head *head; afm_lookup() local 221 afm_match4(struct afm_head * head,struct flowinfo_in * fp) afm_match4() argument 250 afm_match6(struct afm_head * head,struct flowinfo_in6 * fp) afm_match6() argument 291 struct afm_head *head; afm_match() local 331 struct afm_head *head; afmclose() local [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/elftoolchain/dist/common/ |
H A D | uthash.h | 141 #define HASH_ROLLBACK_BKT(hh, head, itemptrhh) \ argument 156 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ argument 168 #define HASH_FIND(hh,head,keyptr,keylen,out) \ argument 215 #define HASH_MAKE_TABLE(hh,head,oomed) \ argument 247 #define HASH_REPLACE_BYHASHVALUE_INORDER(hh,head,fieldname,keylen_in,hashval,add,replaced,cmpfcn) \ argument 257 #define HASH_REPLACE_BYHASHVALUE(hh,head,fieldname,keylen_in,hashval,add,replaced) \ argument 267 #define HASH_REPLACE(hh,head,fieldname,keylen_in,add,replaced) \ argument 274 #define HASH_REPLACE_INORDER(hh,head,fieldname,keylen_in,add,replaced,cmpfcn) \ argument 281 #define HASH_APPEND_LIST(hh, head, add) \ argument 289 #define HASH_AKBI_INNER_LOOP(hh,head,add,cmpfcn) \ argument [all …]
|
H A D | _elftc.h | 82 #define LIST_FOREACH_SAFE(var, head, field, tvar) \ argument 89 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument 106 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL) argument 117 #define STAILQ_FIRST(head) ((head)->stqh_first) argument 129 #define STAILQ_HEAD_INITIALIZER(head) \ argument 134 #define STAILQ_FOREACH(var, head, field) \ argument 141 #define STAILQ_FOREACH_SAFE(var, head, field, tvar) \ argument 148 #define STAILQ_INIT(head) do { \ argument 155 #define STAILQ_INSERT_HEAD(head, elm, field) do { \ argument 163 #define STAILQ_INSERT_TAIL(head, elm, field) do { \ argument [all …]
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/ |
H A D | list.h | 161 list_add(struct list_head *entry, struct list_head *head) in list_add() 182 list_add_tail(struct list_head *entry, struct list_head *head) in list_add_tail() 222 struct list_head *head) in list_move_tail() 237 list_empty(struct list_head *head) in list_empty() 316 #define list_for_each_entry(pos, head, member) \ argument 328 #define list_for_each_entry_safe(pos, tmp, head, member) \ argument 335 #define list_for_each_entry_reverse(pos, head, member) \ argument 340 #define list_for_each_entry_continue(pos, head, member) \ argument 345 #define list_for_each_entry_continue_reverse(pos, head, member) \ argument 350 #define list_for_each_entry_from(pos, head, member) \ argument
|