/openbsd-src/sys/sys/ |
H A D | queue.h | 99 #define SLIST_HEAD_INITIALIZER(head) \ argument 110 #define SLIST_FIRST(head) ((head)->slh_first) argument 111 #define SLIST_END(head) NULL argument 112 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head)) argument 115 #define SLIST_FOREACH(var, head, field) \ argument 120 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument 128 #define SLIST_INIT(head) { \ argument 137 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 146 #define SLIST_REMOVE_HEAD(head, field) do { \ argument 150 #define SLIST_REMOVE(head, elm, type, field) do { \ argument [all …]
|
H A D | smr.h | 157 #define SMR_SLIST_HEAD_INITIALIZER(head) \ argument 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 182 #define SMR_SLIST_FOREACH(var, head, field) \ argument 187 #define SMR_SLIST_FOREACH_LOCKED(var, head, field) \ argument 192 #define SMR_SLIST_FOREACH_SAFE_LOCKED(var, head, field, tvar) \ argument 200 #define SMR_SLIST_INIT(head) do { \ argument 210 #define SMR_SLIST_INSERT_HEAD_LOCKED(head, elm, field) do { \ 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 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 …]
|
/openbsd-src/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() 60 list_is_singular(const struct list_head *head) { in list_is_singular() 66 const struct list_head *head) in list_is_first() 73 const struct list_head *head) in list_is_last() 89 list_add(struct list_head *new, struct list_head *head) { in list_add() 97 list_add_tail(struct list_head *entry, struct list_head *head) { in list_add_tail() 128 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() 135 struct list_head *head) in list_move_tail() 142 list_rotate_to_front(struct list_head *list, struct list_head *head) in list_rotate_to_front() [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-src/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-src/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 104 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL) 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 139 #define STAILQ_FOREACH_SAFE(var, head, field, tvar) \ 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 [all …]
|
/openbsd-src/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-src/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-src/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 756 bitmap_initialize (head, using_obstack) in bitmap_initialize() argument [all …]
|
/openbsd-src/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() 150 bitmap_elt_clear_from (bitmap head, bitmap_element *elt) in bitmap_elt_clear_from() 190 bitmap_clear (bitmap head) in bitmap_clear() 299 bitmap_element_link (bitmap head, bitmap_element *element) in bitmap_element_link() 356 bitmap_elt_insert_after (bitmap head, bitmap_element *elt, unsigned int indx) in bitmap_elt_insert_after() 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() [all …]
|
/openbsd-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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()
|
/openbsd-src/usr.sbin/ac/ |
H A D | ac.c | 169 update_user(struct user_list *head, char *name, time_t secs) in update_user() 311 log_out(struct utmp_list *head, struct utmp *up) in log_out() 351 log_in(struct utmp_list *head, struct utmp *up) in log_in() 398 struct utmp_list *lp, *head = NULL; in ac() local
|