Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 713) sorted by relevance

12345678910>>...29

/illumos-gate/usr/src/man/man3head/
H A DMakefile399 aio.3head := LINKSRC = aio.h.3head
400 ar.3head := LINKSRC = ar.h.3head
413 ftw.3head := LINKSRC = ftw.h.3head
415 grp.3head := LINKSRC = grp.h.3head
417 if.3head := LINKSRC = if.h.3head
418 in.3head := LINKSRC = in.h.3head
421 ipc.3head := LINKSRC = ipc.h.3head
432 msg.3head := LINKSRC = msg.h.3head
438 pwd.3head := LINKSRC = pwd.h.3head
444 sem.3head := LINKSRC = sem.h.3head
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dqueue.h185 #define SLIST_FIRST(head) ((head)->slh_first) argument
188 #define SLIST_EMPTY(head) ((head)->slh_first == SLIST_END(head)) argument
216 (head)->slh_first = SLIST_END(head); \
313 #define STAILQ_EMPTY(head) ((head)->stqh_first == STAILQ_END(head)) argument
458 #define LIST_EMPTY(head) ((head)->lh_first == LIST_END(head)) argument
511 LIST_FIRST((head)) = LIST_END(head); \
597 #define SIMPLEQ_EMPTY(head) ((head)->sqh_first == SIMPLEQ_END(head)) argument
740 #define TAILQ_EMPTY(head) ((head)->tqh_first == TAILQ_END(head)) argument
920 { (void *)&head, (void *)&head }
931 #define CIRCLEQ_EMPTY(head) ((head)->cqh_first == (void *)(head)) argument
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dshqueue.h83 #define SH_LIST_INIT(head) (head)->slh_first = -1 argument
100 (head)->slh_first - SH_PTR_TO_OFF(head, elm); \
105 (head)->slh_first = SH_PTR_TO_OFF(head, elm); \
161 (head)->stqh_last = SH_PTR_TO_OFF(head, &(head)->stqh_first); \
175 (head)->stqh_first = SH_PTR_TO_OFF(head, elm); \
186 (head)->stqh_first = SH_PTR_TO_OFF(head, elm); \
188 *SH_TAILQ_LAST(head) = -(head)->stqh_last + \
247 (void *)head : SH_CIRCLEQ_FIRSTP(head, type))
253 ((head)->scqh_last == -1 ? (void *)head : SH_CIRCLEQ_LASTP(head, type))
269 #define SH_CIRCLEQ_END(head) ((void *)(head)) argument
[all …]
H A Dqueue.h89 #define LIST_FIRST(head) ((head)->lh_first) argument
91 #define LIST_END(head) NULL argument
144 #define TAILQ_FIRST(head) ((head)->tqh_first) argument
153 (head)->tqh_last = &(head)->tqh_first; \
214 #define CIRCLEQ_FIRST(head) ((head)->cqh_first) argument
215 #define CIRCLEQ_LAST(head) ((head)->cqh_last) argument
216 #define CIRCLEQ_END(head) ((void *)(head)) argument
224 (head)->cqh_first = (void *)(head); \
225 (head)->cqh_last = (void *)(head); \
251 if ((head)->cqh_last == (void *)(head)) \
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dqueue.h126 (head)->trace.prevline = (head)->trace.lastline; \
127 (head)->trace.prevfile = (head)->trace.lastfile; \
186 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
188 #define SLIST_FIRST(head) ((head)->slh_first) argument
301 #define STAILQ_FIRST(head) ((head)->stqh_first) argument
325 (head)->stqh_last = &STAILQ_FIRST((head)); \
376 (head)->stqh_last = &STAILQ_FIRST((head)); \
450 #define LIST_EMPTY(head) ((head)->lh_first == NULL) argument
452 #define LIST_FIRST(head) ((head)->lh_first) argument
614 #define TAILQ_FIRST(head) ((head)->tqh_first) argument
[all …]
/illumos-gate/usr/src/contrib/bhyve/sys/
H A Dqueue.h130 (head)->trace.prevline = (head)->trace.lastline; \
131 (head)->trace.prevfile = (head)->trace.lastfile; \
203 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
205 #define SLIST_FIRST(head) ((head)->slh_first) argument
318 #define STAILQ_FIRST(head) ((head)->stqh_first) argument
342 (head)->stqh_last = &STAILQ_FIRST((head)); \
393 (head)->stqh_last = &STAILQ_FIRST((head)); \
484 #define LIST_EMPTY(head) ((head)->lh_first == NULL) argument
486 #define LIST_FIRST(head) ((head)->lh_first) argument
648 #define TAILQ_FIRST(head) ((head)->tqh_first) argument
[all …]
H A Dtree.h82 #define SPLAY_ROOT(head) (head)->sph_root argument
83 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument
101 (head)->sph_root = SPLAY_LEFT((head)->sph_root, field); \
107 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field); \
129 if (SPLAY_EMPTY(head)) \
195 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field);\
198 (head)->sph_root = SPLAY_LEFT((head)->sph_root, field);\
322 #define RB_ROOT(head) (head)->rbh_root argument
323 #define RB_EMPTY(head) (RB_ROOT(head) == NULL) argument
485 elm = RB_ROOT(head); \
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-queue.h97 #define LIST_INIT(head) { \ argument
98 (head)->lh_first = NULL; \
112 (head)->lh_first = (elm); \
142 (head)->tqh_first = NULL; \
143 (head)->tqh_last = &(head)->tqh_first; \
201 (head)->cqh_first = (void *)(head); \
202 (head)->cqh_last = (void *)(head); \
209 (head)->cqh_last = (elm); \
228 if ((head)->cqh_last == (void *)(head)) \
229 (head)->cqh_last = (elm); \
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlistq.h141 s_list->head = s_list->head->next; in s_list_pop_head()
234 s_list->head = s_list_head->head; in s_list_add_head()
267 s_list_head->head = s_list->head; in s_list_split()
275 s_list_head->head = s_list->head; in s_list_split()
361 (_s_list)->head = (_s_list_head)->head; \
379 (_s_list_head)->head = (_s_list)->head; \
386 (_s_list_head)->head = (_s_list)->head; \
482 d_list->head = d_list->head->next; in d_list_pop_head()
669 d_list->head = d_list_head->head; in d_list_add_head()
689 d_list->head = d_list_tail->head; in d_list_add_tail()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/include/
H A Dlistq.h149 s_list->head = s_list->head->next; in s_list_pop_head()
242 s_list->head = s_list_head->head; in s_list_add_head()
275 s_list_head->head = s_list->head; in s_list_split()
283 s_list_head->head = s_list->head; in s_list_split()
369 (_s_list)->head = (_s_list_head)->head; \
387 (_s_list_head)->head = (_s_list)->head; \
394 (_s_list_head)->head = (_s_list)->head; \
490 d_list->head = d_list->head->next; in d_list_pop_head()
677 d_list->head = d_list_head->head; in d_list_add_head()
697 d_list->head = d_list_tail->head; in d_list_add_tail()
[all …]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_llist.c66 *head = NULL; in dapl_llist_init_head()
111 first = *head; in dapl_llist_add_head()
118 *head = entry; in dapl_llist_add_head()
137 *head = entry; in dapl_llist_add_tail()
167 *head = entry; in dapl_llist_add_entry()
194 first = *head; in dapl_llist_remove_head()
201 *head = NULL; in dapl_llist_remove_head()
227 *head = NULL; in dapl_llist_remove_tail()
248 first = *head; in dapl_llist_remove_entry()
301 first = *head; in dapl_llist_peek_head()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dptrlist.c31 if (head) { in ptr_list_size()
48 if (!head) in ptr_list_empty()
68 if (!head) in ptr_list_multiple()
88 if (!head) in first_ptr_list()
107 if (!head) in last_ptr_list()
126 if (!head) in ptr_list_nth_entry()
188 if (head) { in pack_ptr_list()
231 head->nr = old; in split_ptr_list_head()
313 if (!head) in lookup_ptr_list_entry()
445 head = *listp; in copy_ptr_list()
[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
162 __typeof__(head) __head = (head); \
163 __typeof__(head) __list = __head; \
188 __typeof__(head) __head = (head); \
205 __typeof__(head) __head = (head); \
[all …]
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dtailq.h64 { NULL, &(head).tqh_first }
75 #define SM_TAILQ_FIRST(head) ((head)->tqh_first) argument
76 #define SM_TAILQ_END(head) NULL argument
83 #define SM_TAILQ_EMPTY(head) \ argument
84 (SM_TAILQ_FIRST(head) == SM_TAILQ_END(head))
88 (var) != SM_TAILQ_END(head); \
93 (var) != SM_TAILQ_END(head); \
100 (head)->tqh_first = NULL; \
101 (head)->tqh_last = &(head)->tqh_first; \
110 (head)->tqh_first = (elm); \
[all …]
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c202 if (head) { in lio_listio()
227 head->lio_nent = head->lio_refcnt = nent; in lio_listio()
238 if (head) in lio_listio()
248 if (head) in lio_listio()
269 if (head) in lio_listio()
287 if (head != NULL && head->lio_nent > 0) { in lio_listio()
304 ASSERT(head->lio_nent == 0 && head->lio_refcnt == 0); in lio_listio()
735 ASSERT(head->lio_refcnt == head->lio_nent); in _lio_remove()
834 head->lio_nent = head->lio_refcnt = __rw_workerscnt; in aio_fsync()
1423 head->lio_nent = head->lio_refcnt = nent; in lio_listio64()
[all …]
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp_sack.c64 head[0].end = end; in tcp_sack_insert()
88 if (SEQ_LT(end, head[i].begin) || SEQ_GT(begin, head[i].end)) { in tcp_sack_insert()
98 end = head[i].end; in tcp_sack_insert()
121 head[0].end = end; in tcp_sack_insert()
208 tmp = *head; in tcp_notsack_insert()
312 tmp = *head; in tcp_notsack_insert()
348 if (*head == NULL) in tcp_notsack_remove()
352 tmp = *head; in tcp_notsack_remove()
367 tmp = *head; in tcp_notsack_remove()
403 tmp = *head; in tcp_notsack_update()
[all …]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_sack.c58 head[0].end = end; in tcp_sack_insert()
82 if (SEQ_LT(end, head[i].begin) || SEQ_GT(begin, head[i].end)) { in tcp_sack_insert()
92 end = head[i].end; in tcp_sack_insert()
115 head[0].end = end; in tcp_sack_insert()
202 tmp = *head; in tcp_notsack_insert()
307 tmp = *head; in tcp_notsack_insert()
343 if (*head == NULL) in tcp_notsack_remove()
347 tmp = *head; in tcp_notsack_remove()
361 tmp = *head; in tcp_notsack_remove()
396 tmp = *head; in tcp_notsack_update()
[all …]
/illumos-gate/usr/src/cmd/syslogd/
H A Dlist.c35 ll_init(llh_t *head) in ll_init() argument
37 head->back = &head->front; in ll_init()
38 head->front = NULL; in ll_init()
45 *head->back = data; in ll_enqueue()
46 head->back = &data->n; in ll_enqueue()
57 ll_t *t = head->front; in ll_mapf()
68 ll_peek(llh_t *head) in ll_peek() argument
70 return (head->front); in ll_peek()
77 ptr = head->front; in ll_dequeue()
79 head->back = &head->front; in ll_dequeue()
[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
71 for ((var) = SLIST_FIRST((head)); \
75 #define SLIST_INIT(head) do { \ argument
76 SLIST_FIRST((head)) = NULL; \
86 SLIST_FIRST((head)) = (elm); \
92 if (SLIST_FIRST((head)) == (elm)) { \
93 SLIST_REMOVE_HEAD((head), field); \
96 struct type *curelm = SLIST_FIRST((head)); \
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_tsearchhash.c327 if(!head) { in dwarf_tdump()
358 newhead = *head; in resize_table()
430 head->hashtab_ = 0; in resize_table()
431 *head = newhead; in resize_table()
461 if( head->record_count_ > head->allowed_fill_) { in tsearch_inner()
527 if (!head) { in dwarf_tsearch()
555 if (!head) { in dwarf_tfind()
580 if (!head) { in dwarf_tdelete()
650 if(!head) { in dwarf_twalk()
700 if(!head) { in dwarf_tdestroy()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_queue.c59 queue->head = NULL; in iscsi_init_queue()
317 dst_queue->head = src_queue->head; in iscsi_move_queue()
341 ASSERT(head != NULL); in iscsi_dequeue_cmd()
345 if (*head == NULL) { in iscsi_dequeue_cmd()
350 if (*head == icmdp) { in iscsi_dequeue_cmd()
351 *head = NULL; in iscsi_dequeue_cmd()
358 if (*head == icmdp) { in iscsi_dequeue_cmd()
403 ASSERT(icmdp != *head); in iscsi_enqueue_cmd_head()
406 if (*head == NULL) { in iscsi_enqueue_cmd_head()
416 *head = icmdp; in iscsi_enqueue_cmd_head()
[all …]
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dlist.h101 __list_add(new, head, head->next); in mlist_add()
115 __list_add(new, head->prev, head); in mlist_add_tail()
165 static int mlist_empty(struct mlist_head *head) in mlist_empty() argument
167 return (head->next == head); in mlist_empty()
182 struct mlist_head *at = head->next; in mlist_splice()
184 first->prev = head; in mlist_splice()
185 head->next = first; in mlist_splice()
216 #define mlist_for_each(pos, head) \ argument
217 for (pos = (head)->next, prefetch(pos->next); pos != (head); \
227 #define mlist_for_each_safe(pos, n, head) \ argument
[all …]
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_recv.c92 head = cmp = mp; in aggr_recv_path_cb()
96 if (head == cmp) { in aggr_recv_path_cb()
101 cmp = head; in aggr_recv_path_cb()
107 head); in aggr_recv_path_cb()
114 cmp = head; in aggr_recv_path_cb()
128 if (head == cmp) { in aggr_recv_path_cb()
134 cmp = head; in aggr_recv_path_cb()
142 head); in aggr_recv_path_cb()
150 cmp = head; in aggr_recv_path_cb()
158 if (head != NULL) { in aggr_recv_path_cb()
[all …]
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dillumos_4149_builtin_head.sh34 builtin head tail
55 [[ $(head -1 $t1) == 'test00' ]] || \
58 [[ $(head -2 $t1) == $'test00\ntest01' ]] || \
61 [[ $(head -s 2 -n2 $t1) == $'test02\ntest03' ]] || \
64 [[ $(head -5 $t1) == $'test00\ntest01\ntest02\ntest03\ntest04' ]] || \
67 [[ $(head -10 $t1) == $'test00\ntest01\ntest02\ntest03\ntest04' ]] || \
81 [[ $(head -1 $t3) == 'nonewline' ]] || \
84 [[ $(head -2 $t3) == 'nonewline' ]] || \
95 [[ $(head -1 $t2) == "test00" ]] || \
98 [[ $(head -2 $t2) == $'test00\ntest01' ]] || \
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dconfig_elf.c65 if (head->ch_app) { in elf_config_validate()
69 obj = (Rtc_obj *)(head->ch_app + addr); in elf_config_validate()
200 Rtc_head *head; in elf_config() local
303 head = (Rtc_head *)addr; in elf_config()
316 if (head->ch_cnflags & RTC_HDR_IGNORE) in elf_config()
322 if (head->ch_edlibpath) { in elf_config()
337 if (head->ch_eslibpath) { in elf_config()
358 if ((head->ch_version >= RTC_VER_THREE) && head->ch_env && in elf_config()
369 if ((head->ch_version >= RTC_VER_FOUR) && head->ch_fltr && in elf_config()
405 if (head->ch_resbgn) { in elf_config()
[all …]

12345678910>>...29