Home
last modified time | relevance | path

Searched defs:head (Results 1 – 25 of 462) sorted by relevance

12345678910>>...19

/illumos-gate/usr/src/uts/common/sys/
H A Dqueue.h110 #define QMD_TRACE_HEAD(head) do { \ argument
169 #define SLIST_HEAD_INITIALIZER(head) \ argument
185 #define SLIST_FIRST(head) ((head)->slh_first) argument
186 #define SLIST_END(head) NULL argument
188 #define SLIST_EMPTY(head) ((head)->slh_first == SLIST_END(head)) argument
190 #define SLIST_FOREACH(var, head, field) \ argument
195 #define SLIST_FOREACH_FROM(var, head, field) \ argument
200 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
206 #define SLIST_FOREACH_FROM_SAFE(var, head, field, tvar) \ argument
215 #define SLIST_INIT(head) do { \ argument
[all …]
/illumos-gate/usr/src/contrib/bhyve/sys/
H A Dqueue.h129 #define QMD_TRACE_HEAD(head) do { \ argument
145 #define QMD_TRACE_HEAD(head) argument
174 #define SLIST_HEAD_INITIALIZER(head) \ argument
203 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
205 #define SLIST_FIRST(head) ((head)->slh_first) argument
207 #define SLIST_FOREACH(var, head, field) \ argument
212 #define SLIST_FOREACH_FROM(var, head, field) \ argument
217 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
222 #define SLIST_FOREACH_FROM_SAFE(var, head, field, tvar) \ argument
227 #define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ argument
[all …]
H A Dtree.h82 #define SPLAY_ROOT(head) (head)->sph_root argument
83 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument
86 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
92 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
98 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument
104 #define SPLAY_LINKRIGHT(head, tmp, field) do { \ argument
110 #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ argument
290 #define SPLAY_FOREACH(x, name, head) \ argument
322 #define RB_ROOT(head) (head)->rbh_root argument
323 #define RB_EMPTY(head) (RB_ROOT(head) == NULL) argument
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dqueue.h125 #define QMD_TRACE_HEAD(head) do { \ argument
141 #define QMD_TRACE_HEAD(head) argument
170 #define SLIST_HEAD_INITIALIZER(head) \ argument
186 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
188 #define SLIST_FIRST(head) ((head)->slh_first) argument
190 #define SLIST_FOREACH(var, head, field) \ argument
195 #define SLIST_FOREACH_FROM(var, head, field) \ argument
200 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
205 #define SLIST_FOREACH_FROM_SAFE(var, head, field, tvar) \ argument
210 #define SLIST_FOREACH_PREVPTR(var, varp, head, field) \ argument
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dshqueue.h53 #define SH_LIST_FIRSTP(head, type) \ argument
56 #define SH_LIST_FIRST(head, type) \ argument
73 #define SH_LIST_END(head) NULL argument
83 #define SH_LIST_INIT(head) (head)->slh_first = -1 argument
97 #define SH_LIST_INSERT_HEAD(head, elm, field, type) do { \ argument
136 #define SH_TAILQ_FIRSTP(head, type) \ argument
139 #define SH_TAILQ_FIRST(head, type) \ argument
151 #define SH_TAILQ_LAST(head) \ argument
157 #define SH_TAILQ_END(head) NULL argument
159 #define SH_TAILQ_INIT(head) { \ argument
[all …]
H A Dqueue.h89 #define LIST_FIRST(head) ((head)->lh_first) argument
91 #define LIST_END(head) NULL argument
96 #define LIST_INIT(head) { \ argument
115 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument
144 #define TAILQ_FIRST(head) ((head)->tqh_first) argument
146 #define TAILQ_END(head) NULL argument
151 #define TAILQ_INIT(head) do { \ argument
156 #define TAILQ_INSERT_HEAD(head, elm, field) do { \ argument
166 #define TAILQ_INSERT_TAIL(head, elm, field) do { \ argument
173 #define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ argument
[all …]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_llist.c64 dapl_llist_init_head(DAPL_LLIST_HEAD *head) in dapl_llist_init_head()
89 dapl_llist_is_empty(DAPL_LLIST_HEAD *head) in dapl_llist_is_empty()
100 dapl_llist_add_head(DAPL_LLIST_HEAD *head, in dapl_llist_add_head()
129 dapl_llist_add_tail(DAPL_LLIST_HEAD *head, in dapl_llist_add_tail()
158 dapl_llist_add_entry(DAPL_LLIST_HEAD * head, in dapl_llist_add_entry()
189 dapl_llist_remove_head(DAPL_LLIST_HEAD *head) in dapl_llist_remove_head()
216 dapl_llist_remove_tail(DAPL_LLIST_HEAD *head) in dapl_llist_remove_tail()
243 dapl_llist_remove_entry(DAPL_LLIST_HEAD *head, DAPL_LLIST_ENTRY *entry) in dapl_llist_remove_entry()
296 dapl_llist_peek_head(DAPL_LLIST_HEAD *head) in dapl_llist_peek_head()
314 dapl_llist_next_entry(IN DAPL_LLIST_HEAD *head, in dapl_llist_next_entry()
[all …]
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dtailq.h63 #define SM_TAILQ_HEAD_INITIALIZER(head) \ argument
75 #define SM_TAILQ_FIRST(head) ((head)->tqh_first) argument
76 #define SM_TAILQ_END(head) NULL argument
78 #define SM_TAILQ_LAST(head, headname) \ argument
83 #define SM_TAILQ_EMPTY(head) \ argument
86 #define SM_TAILQ_FOREACH(var, head, field) \ argument
91 #define SM_TAILQ_FOREACH_REVERSE(var, head, headname, field) \ argument
99 #define SM_TAILQ_INIT(head) do { \ argument
104 #define SM_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument
114 #define SM_TAILQ_INSERT_TAIL(head, elm, field) do { \ argument
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-queue.h97 #define LIST_INIT(head) { \ argument
109 #define LIST_INSERT_HEAD(head, elm, field) { \ argument
141 #define TAILQ_INIT(head) { \ argument
146 #define TAILQ_INSERT_HEAD(head, elm, field) { \ argument
156 #define TAILQ_INSERT_TAIL(head, elm, field) { \ argument
163 #define TAILQ_INSERT_AFTER(head, listelm, elm, field) { \ argument
173 #define TAILQ_REMOVE(head, elm, field) { \ argument
200 #define CIRCLEQ_INIT(head) { \ argument
205 #define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) { \ argument
215 #define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) { \ argument
[all …]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dqueue.h66 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
68 #define SLIST_FIRST(head) ((head)->slh_first) argument
70 #define SLIST_FOREACH(var, head, field) \ argument
75 #define SLIST_INIT(head) do { \ argument
84 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
91 #define SLIST_REMOVE(head, elm, type, field) do { \ argument
104 #define SLIST_REMOVE_HEAD(head, field) do { \ argument
/illumos-gate/usr/src/tools/smatch/src/
H A Dptrlist.c27 int ptr_list_size(struct ptr_list *head) in ptr_list_size()
44 bool ptr_list_empty(const struct ptr_list *head) in ptr_list_empty()
63 bool ptr_list_multiple(const struct ptr_list *head) in ptr_list_multiple()
84 void *first_ptr_list(struct ptr_list *head) in first_ptr_list()
103 void *last_ptr_list(struct ptr_list *head) in last_ptr_list()
124 struct ptr_list *head = list; in ptr_list_nth_entry() local
154 int linearize_ptr_list(struct ptr_list *head, void **arr, int max) in linearize_ptr_list()
186 struct ptr_list *head = *listp; in pack_ptr_list() local
224 void split_ptr_list_head(struct ptr_list *head) in split_ptr_list_head()
309 bool lookup_ptr_list_entry(const struct ptr_list *head, const void *entry) in lookup_ptr_list_entry()
[all …]
H A Dptrlist.h14 #define CHECK_TYPE(head,ptr) (void)(&(ptr) == &(head)->list[0]) argument
15 #define TYPEOF(head) __typeof__(&(head)->list[0]) argument
16 #define VRFY_PTR_LIST(head) (void)(sizeof((head)->list[0])) argument
79 #define PREPARE_PTR_LIST(head, ptr) \ argument
96 #define FOR_EACH_PTR(head, ptr) \ argument
99 #define FOR_EACH_PTR_TAG(head, ptr) \ argument
105 #define FOR_EACH_PTR_REVERSE(head, ptr) \ argument
108 #define FOR_EACH_PTR_REVERSE_TAG(head, ptr) \ argument
160 #define DO_PREPARE(head, ptr, __head, __list, __nr, PTR_ENTRY) \ argument
187 #define DO_FOR_EACH(head, ptr, __head, __list, __nr, PTR_ENTRY) do { \ argument
[all …]
H A Dlib.h261 static inline void free_instruction_list(struct instruction_list **head) in free_instruction_list()
266 static inline struct instruction * delete_last_instruction(struct instruction_list **head) in delete_last_instruction()
271 static inline struct basic_block *first_basic_block(struct basic_block_list *head) in first_basic_block()
275 static inline struct instruction *last_instruction(struct instruction_list *head) in last_instruction()
280 static inline struct instruction *first_instruction(struct instruction_list *head) in first_instruction()
285 static inline struct expression *first_expression(struct expression_list *head) in first_expression()
290 static inline pseudo_t first_pseudo(struct pseudo_list *head) in first_pseudo()
/illumos-gate/usr/src/cmd/syslogd/
H A Dlist.c35 ll_init(llh_t *head) in ll_init()
42 ll_enqueue(llh_t *head, ll_t *data) in ll_enqueue()
55 ll_mapf(llh_t *head, void (*func)(void *)) in ll_mapf()
68 ll_peek(llh_t *head) in ll_peek()
74 ll_dequeue(llh_t *head) in ll_dequeue()
109 ll_check(llh_t *head) in ll_check()
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dlist.h99 static void mlist_add(struct mlist_head *new, struct mlist_head *head) in mlist_add()
113 static void mlist_add_tail(struct mlist_head *new, struct mlist_head *head) in mlist_add_tail()
165 static int mlist_empty(struct mlist_head *head) in mlist_empty()
176 static void mlist_splice(struct mlist_head *list, struct mlist_head *head) in mlist_splice()
216 #define mlist_for_each(pos, head) \ argument
227 #define mlist_for_each_safe(pos, n, head) \ argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Derror_map.h34 static inline int gsserrmap_init (struct gsserrmap__head *head) in gsserrmap_init()
39 static inline void gsserrmap_destroy (struct gsserrmap__head *head) in gsserrmap_destroy()
56 gsserrmap__find_node (struct gsserrmap__head *head, OM_uint32 key) in gsserrmap__find_node()
66 gsserrmap_find (struct gsserrmap__head *head, OM_uint32 key) in gsserrmap_find()
86 gsserrmap_replace_or_insert (struct gsserrmap__head *head, in gsserrmap_replace_or_insert()
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas_list.c44 mlist_add(struct mlist_head *new, struct mlist_head *head) in mlist_add()
58 mlist_add_tail(struct mlist_head *new, struct mlist_head *head) in mlist_add_tail()
93 mlist_empty(struct mlist_head *head) in mlist_empty()
104 mlist_splice(struct mlist_head *list, struct mlist_head *head) in mlist_splice()
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp_sack.c56 tcp_sack_insert(sack_blk_t *head, tcp_seq begin, tcp_seq end, int32_t *num) in tcp_sack_insert()
139 tcp_sack_remove(sack_blk_t *head, tcp_seq end, int32_t *num) in tcp_sack_remove()
198 tcp_notsack_insert(notsack_blk_t **head, tcp_seq begin, tcp_seq end, in tcp_notsack_insert()
342 tcp_notsack_remove(notsack_blk_t **head, tcp_seq end, int32_t *num, in tcp_notsack_remove()
398 void tcp_notsack_update(notsack_blk_t **head, tcp_seq begin, tcp_seq end, in tcp_notsack_update()
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_subr.c449 fc_phandle_table_alloc(struct fc_phandle_entry **head) in fc_phandle_table_alloc()
454 fc_phandle_table_free(struct fc_phandle_entry **head) in fc_phandle_table_free()
469 fc_phandle_to_dip(struct fc_phandle_entry **head, fc_phandle_t handle) in fc_phandle_to_dip()
485 fc_dip_to_phandle(struct fc_phandle_entry **head, dev_info_t *dip) in fc_dip_to_phandle()
529 fc_add_dip_to_phandle(struct fc_phandle_entry **head, dev_info_t *dip, in fc_add_dip_to_phandle()
582 struct fc_device_tree **head = fc_handle_to_dtree_head(rp); in fc_handle_to_dtree() local
592 fc_create_device_tree(dev_info_t *ap, struct fc_device_tree **head) in fc_create_device_tree()
632 fc_remove_device_tree(struct fc_device_tree **head) in fc_remove_device_tree()
642 fc_remove_device_tree(struct fc_device_tree **head) in fc_remove_device_tree()
706 fc_remove_child(dev_info_t *child, struct fc_device_tree *head) in fc_remove_child()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_sack.c50 tcp_sack_insert(sack_blk_t *head, tcp_seq begin, tcp_seq end, int32_t *num) in tcp_sack_insert()
133 tcp_sack_remove(sack_blk_t *head, tcp_seq end, int32_t *num) in tcp_sack_remove()
192 tcp_notsack_insert(notsack_blk_t **head, tcp_seq begin, tcp_seq end, in tcp_notsack_insert()
337 tcp_notsack_remove(notsack_blk_t **head, tcp_seq end, int32_t *num, in tcp_notsack_remove()
391 void tcp_notsack_update(notsack_blk_t **head, tcp_seq begin, tcp_seq end, in tcp_notsack_update()
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_list.h65 qede_list_t head; member
75 qede_list_t head; member
118 QEDE_LIST_ADD(qede_list_t *new, qede_list_t *head) in QEDE_LIST_ADD()
124 QEDE_LIST_ADD_TAIL(qede_list_t *new, qede_list_t *head) in QEDE_LIST_ADD_TAIL()
130 QEDE_LIST_REMOVE(qede_list_t *entry, qede_list_t *head) in QEDE_LIST_REMOVE()
152 qede_list_t *head) in qede_list_splice()
161 qede_list_t *head) in qede_list_splice_tail()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/
H A Dmpool.c120 struct _hqh *head; local
156 struct _hqh *head; local
188 struct _hqh *head; local
353 struct _hqh *head; local
449 struct _hqh *head; local
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c70 typedef struct head { /* Generic cache header: */ struct
79 } head_t; argument
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_tsearchhash.c326 const struct hs_base *head = (const struct hs_base *)headp_in; in dwarf_tdump() local
350 resize_table(struct hs_base *head, in resize_table()
438 tsearch_inner( const void *key, struct hs_base* head, in tsearch_inner()
521 struct hs_base *head = *rootp; in dwarf_tsearch() local
547 struct hs_base *head = *proot; in dwarf_tfind() local
574 struct hs_base *head = *proot; in dwarf_tdelete() local
648 const struct hs_base *head = (const struct hs_base *)rootp; in dwarf_twalk() local
698 struct hs_base *head = (struct hs_base *)rootp; in dwarf_tdestroy() local
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c105 _lio_listio_cleanup(aio_lio_t *head) in _lio_listio_cleanup()
126 aio_lio_t *head = NULL; in lio_listio() local
319 _lio_list_decr(aio_lio_t *head) in _lio_list_decr()
729 aio_lio_t *head; in _lio_remove() local
748 __aio_fsync_bar(aiocb_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, in __aio_fsync_bar()
774 aio_lio_t *head; in aio_fsync() local
1322 aio_lio_t *head = NULL; in lio_listio64() local
1605 __aio_fsync_bar64(aiocb64_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp, in __aio_fsync_bar64()
1631 aio_lio_t *head; in aio_fsync64() local

12345678910>>...19