/openbsd/sys/sys/ |
H A D | queue.h | 111 #define SLIST_END(head) NULL argument 128 #define SLIST_INIT(head) { \ argument 185 #define LIST_END(head) NULL argument 202 #define LIST_INIT(head) do { \ argument 268 #define SIMPLEQ_END(head) NULL argument 285 #define SIMPLEQ_INIT(head) do { \ argument 348 #define XSIMPLEQ_END(head) NULL argument 429 #define TAILQ_END(head) NULL argument 436 #define TAILQ_EMPTY(head) \ argument 465 #define TAILQ_INIT(head) do { \ argument [all …]
|
H A D | smr.h | 168 #define SMR_SLIST_END(head) NULL argument 170 #define SMR_SLIST_FIRST(head) \ argument 175 #define SMR_SLIST_FIRST_LOCKED(head) \ argument 177 #define SMR_SLIST_EMPTY_LOCKED(head) \ argument 260 #define SMR_LIST_END(head) NULL argument 262 #define SMR_LIST_FIRST(head) \ argument 269 #define SMR_LIST_EMPTY_LOCKED(head) \ argument 290 #define SMR_LIST_INIT(head) do { \ argument 352 #define SMR_TAILQ_END(head) NULL argument 354 #define SMR_TAILQ_FIRST(head) \ argument [all …]
|
H A D | tree.h | 79 #define SPLAY_ROOT(head) (head)->sph_root argument 80 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) 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 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 728 #define RB_FOREACH(x, name, head) \ argument 733 #define RB_FOREACH_SAFE(x, name, head, y) \ argument [all …]
|
/openbsd/sys/dev/pci/drm/include/linux/ |
H A D | list.h | 44 INIT_LIST_HEAD(struct list_head *head) { in INIT_LIST_HEAD() 55 list_empty(const struct list_head *head) { in list_empty() 66 const struct list_head *head) in list_is_first() 73 const struct list_head *head) in list_is_last() 135 struct list_head *head) in list_move_tail() 176 #define list_for_each(entry, head) \ argument 179 #define list_for_each_prev(entry, head) \ argument 304 list_count_nodes(struct list_head *head) in list_count_nodes() 322 INIT_HLIST_HEAD(struct hlist_head *head) { in INIT_HLIST_HEAD() 327 hlist_empty(const struct hlist_head *head) { in hlist_empty() [all …]
|
H A D | llist.h | 19 llist_del_all(struct llist_head *head) in llist_del_all() 25 llist_del_first(struct llist_head *head) in llist_del_first() 40 llist_add(struct llist_node *new, struct llist_head *head) in llist_add() 53 struct llist_head *head) in llist_add_batch() 65 init_llist_head(struct llist_head *head) in init_llist_head() 71 llist_empty(struct llist_head *head) in llist_empty()
|
/openbsd/sys/dev/usb/dwc2/ |
H A D | list.h | 58 INIT_LIST_HEAD(struct list_head *head) { in INIT_LIST_HEAD() 64 list_empty(const struct list_head *head) { in list_empty() 69 list_add(struct list_head *new, struct list_head *head) { in list_add() 77 list_add_tail(struct list_head *entry, struct list_head *head) { in list_add_tail() 90 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() 97 struct list_head *head) in list_move_tail() 110 #define list_for_each(entry, head) \ argument 113 #define list_for_each_safe(entry, temp, head) \ argument 118 #define list_for_each_entry(pos, head, member) \ argument 123 #define list_for_each_entry_safe(pos, n, head, member) \ argument
|
/openbsd/lib/libelf/ |
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 …]
|
/openbsd/usr.sbin/ospf6d/ |
H A D | name2id.c | 87 _name2id(struct n2id_labels *head, const char *name) in _name2id() 137 _id2name(struct n2id_labels *head, u_int16_t id) in _id2name() 152 _id2tag(struct n2id_labels *head, u_int16_t id) in _id2tag() 167 _tag2id(struct n2id_labels *head, u_int32_t tag) in _tag2id() 182 _tag(struct n2id_labels *head, u_int16_t id, u_int32_t tag) in _tag() 195 _unref(struct n2id_labels *head, u_int16_t id) in _unref() 216 _ref(struct n2id_labels *head, u_int16_t id) in _ref()
|
/openbsd/usr.sbin/ospfd/ |
H A D | name2id.c | 87 _name2id(struct n2id_labels *head, const char *name) in _name2id() 137 _id2name(struct n2id_labels *head, u_int16_t id) in _id2name() 152 _id2tag(struct n2id_labels *head, u_int16_t id) in _id2tag() 167 _tag2id(struct n2id_labels *head, u_int32_t tag) in _tag2id() 182 _tag(struct n2id_labels *head, u_int16_t id, u_int32_t tag) in _tag() 195 _unref(struct n2id_labels *head, u_int16_t id) in _unref() 216 _ref(struct n2id_labels *head, u_int16_t id) in _ref()
|
H A D | auth.c | 213 md_list_add(struct auth_md_head *head, u_int8_t keyid, char *key) in md_list_add() 249 md_list_clr(struct auth_md_head *head) in md_list_clr() 260 md_list_find(struct auth_md_head *head, u_int8_t keyid) in md_list_find() 272 md_list_send(struct auth_md_head *head, struct imsgev *to) in md_list_send()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | bitmap.c | 56 bitmap_elem_to_freelist (head, elt) in bitmap_elem_to_freelist() argument 76 bitmap_element_free (head, elt) in bitmap_element_free() argument 106 bitmap_element_allocate (head) in bitmap_element_allocate() argument 204 bitmap_element_link (head, element) in bitmap_element_link() argument 261 bitmap_clear (head) in bitmap_clear() argument 329 bitmap_find_bit (head, bit) in bitmap_find_bit() argument 365 bitmap_clear_bit (head, bit) in bitmap_clear_bit() argument 386 bitmap_set_bit (head, bit) in bitmap_set_bit() argument 409 bitmap_bit_p (head, bit) in bitmap_bit_p() argument 772 debug_bitmap_file (file, head) in debug_bitmap_file() argument [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | bitmap.c | 50 bitmap_elem_to_freelist (bitmap head, bitmap_element *elt) in bitmap_elem_to_freelist() 71 bitmap_element_free (bitmap head, bitmap_element *elt) in bitmap_element_free() 101 bitmap_element_allocate (bitmap head) in bitmap_element_allocate() 190 bitmap_clear (bitmap head) in bitmap_clear() 428 bitmap_find_bit (bitmap head, unsigned int bit) in bitmap_find_bit() 474 bitmap_clear_bit (bitmap head, int bit) in bitmap_clear_bit() 493 bitmap_set_bit (bitmap head, int bit) in bitmap_set_bit() 514 bitmap_bit_p (bitmap head, int bit) in bitmap_bit_p() 1462 debug_bitmap_file (FILE *file, bitmap head) in debug_bitmap_file() 1499 debug_bitmap (bitmap head) in debug_bitmap() [all …]
|
/openbsd/usr.sbin/ripd/ |
H A D | name2id.c | 75 _name2id(struct n2id_labels *head, const char *name) in _name2id() 125 _id2name(struct n2id_labels *head, u_int16_t id) in _id2name() 140 _unref(struct n2id_labels *head, u_int16_t id) in _unref() 161 _ref(struct n2id_labels *head, u_int16_t id) in _ref()
|
/openbsd/usr.sbin/npppd/common/ |
H A D | radish.c | 78 struct radish_head *head; in rd_inithead() local 124 rd_mask(struct sockaddr *m_arg, struct radish_head *head, int *maskp) in rd_mask() 159 struct radish_head *head, void *rt) in rd_insert() 335 struct radish_head *head) in rd_glue() 413 rd_match(struct sockaddr *d_arg, struct radish_head *head, struct radish **rdp) in rd_match() 419 rd_match_next(struct sockaddr *d_arg, struct radish_head *head, in rd_match_next() 481 struct radish_head *head) in rd_lookup() 525 struct radish_head *head, void **item) in rd_delete()
|
/openbsd/lib/libc/db/mpool/ |
H A D | mpool.c | 107 struct _hqh *head; in mpool_new() local 141 struct _hqh *head; in mpool_delete() local 172 struct _hqh *head; in mpool_get() local 330 struct _hqh *head; in mpool_bkt() local 420 struct _hqh *head; in mpool_look() local
|
/openbsd/usr.sbin/relayd/ |
H A D | name2id.c | 96 _name2id(struct n2id_labels *head, const char *name) in _name2id() 146 _id2name(struct n2id_labels *head, u_int16_t id) in _id2name() 161 _unref(struct n2id_labels *head, u_int16_t id) in _unref() 182 _ref(struct n2id_labels *head, u_int16_t id) in _ref()
|
/openbsd/usr.sbin/bgpd/ |
H A D | name2id.c | 102 _name2id(struct n2id_labels *head, const char *name) in _name2id() 148 _id2name(struct n2id_labels *head, uint16_t id) in _id2name() 163 _unref(struct n2id_labels *head, uint16_t id) in _unref() 184 _ref(struct n2id_labels *head, uint16_t id) in _ref()
|
/openbsd/sys/kern/ |
H A D | kern_bufq.c | 317 struct bufq_fifo_head *head; in bufq_fifo_create() local 331 struct bufq_fifo_head *head = data; in bufq_fifo_destroy() local 339 struct bufq_fifo_head *head = data; in bufq_fifo_queue() local 347 struct bufq_fifo_head *head = data; in bufq_fifo_dequeue() local 360 struct bufq_fifo_head *head = data; in bufq_fifo_requeue() local 368 struct bufq_fifo_head *head = data; in bufq_fifo_peek() local 391 bufq_simple_nscan(struct bufq_nscan_head *head, struct buf *bp) in bufq_simple_nscan()
|
/openbsd/regress/sys/sys/tree/rb-linux/ |
H A D | rb-linux.c | 46 rb_find(struct rb_root *head, struct keynode *elm) in rb_find() 63 rb_insert(struct rb_root *head, struct keynode *elm) in rb_insert() 147 #define RB_ROOT(head) (head)->rbh_root argument
|
/openbsd/sys/net/ |
H A D | radix.c | 123 rn_search(void *v_arg, struct radix_node *head) in rn_search() 138 rn_search_m(void *v_arg, struct radix_node *head, void *m_arg) in rn_search_m() 185 rn_lookup(void *v_arg, void *m_arg, struct radix_node_head *head) in rn_lookup() 234 rn_match(void *v_arg, struct radix_node_head *head) in rn_match() 355 rn_insert(void *v_arg, struct radix_node_head *head, in rn_insert() 627 rn_add_dupedkey(struct radix_node *saved_tt, struct radix_node_head *head, in rn_add_dupedkey() 758 rn_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, in rn_addroute() 904 rn_delete(void *v_arg, void *n_arg, struct radix_node_head *head, in rn_delete() 1109 rn_inithead(void **head, int off) in rn_inithead()
|
/openbsd/sbin/fsck_msdos/ |
H A D | fat.c | 288 clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head) in clearchain() 302 tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *trunc) in tryclear() 329 cl_t head, p, h, n; in checkfat() local 514 cl_t head; in checklost() local
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | p2746.C | 45 IListBase::IListBase(Link *head) : head_(head) in IListBase() 57 Link *IListBase::head() in head() function 87 T *head() { return (T *)IListBase::head(); } in head() function
|
/openbsd/gnu/usr.bin/cvs/src/ |
H A D | hash.c | 304 Node *head, *p; local 333 Node *head, *p; local 362 Node *head, *p; local 402 Node *head, *remain, *p, **array; local
|
/openbsd/gnu/usr.bin/binutils/gdb/osf-share/ |
H A D | cma_list.h | 46 #define cma__list_empty(head) ((head)->link == cma__c_null_list) argument 51 #define cma__list_init(head) (void)((head)->link = cma__c_null_list) argument
|
/openbsd/usr.bin/cdio/ |
H A D | rip.c | 183 _add_pair(struct track_pair_head *head, int val1, int val2, int issorted) in _add_pair() 237 parse_tracks_init(struct track_pair_head *head) in parse_tracks_init() 245 parse_tracks_final(struct track_pair_head *head) in parse_tracks_final() 256 parse_tracks(struct track_pair_head *head, u_char first, u_char last, in parse_tracks() 295 parse_tracks_add(struct track_pair_head *head, u_char first, u_char last, in parse_tracks_add()
|