/titanic_51/usr/src/man/man3head/ |
H A D | Makefile | 20 MANSECT= 3head 22 MANFILES= acct.h.3head \ 23 aio.h.3head \ 24 ar.h.3head \ 25 archives.h.3head \ 26 assert.h.3head \ 27 complex.h.3head \ 28 cpio.h.3head \ 29 dirent.h.3head \ 30 endian.h.3head \ [all...] |
/titanic_51/usr/src/uts/common/sys/ |
H A D | queue.h | 55 * head of the list. Elements being removed from the head of the list 65 * or after an existing element or at the head of the list. A list 68 * A simple queue is headed by a pair of pointers, one the head of the 71 * head of the list. New elements can be added to the list after 72 * an existing element, at the head of the list, or at the end of the 75 * A tail queue is headed by a pair of pointers, one to the head of the 79 * after an existing element, at the head of the list, or at the end of 82 * A circle queue is headed by a pair of pointers, one to the head of the 86 * an existing element, at the head o 101 LIST_HEAD_INITIALIZER(head) global() argument 114 QUEUEDEBUG_LIST_INSERT_HEAD(head,elm,field) global() argument 134 LIST_INIT(head) global() argument 158 LIST_INSERT_HEAD(head,elm,field) global() argument 177 LIST_FOREACH(var,head,field) global() argument 185 LIST_EMPTY(head) global() argument 186 LIST_FIRST(head) global() argument 198 SLIST_HEAD_INITIALIZER(head) global() argument 209 SLIST_INIT(head) global() argument 220 SLIST_INSERT_HEAD(head,elm,field) global() argument 226 SLIST_REMOVE_HEAD(head,field) global() argument 231 SLIST_REMOVE(head,elm,type,field) global() argument 245 SLIST_FOREACH(var,head,field) global() argument 251 SLIST_EMPTY(head) global() argument 252 SLIST_FIRST(head) global() argument 265 STAILQ_HEAD_INITIALIZER(head) global() argument 276 STAILQ_INIT(head) global() argument 282 STAILQ_INSERT_HEAD(head,elm,field) global() argument 289 STAILQ_INSERT_TAIL(head,elm,field) global() argument 296 STAILQ_INSERT_AFTER(head,listelm,elm,field) global() argument 304 STAILQ_REMOVE_HEAD(head,field) global() argument 311 STAILQ_REMOVE(head,elm,type,field) global() argument 325 STAILQ_FOREACH(var,head,field) global() argument 333 STAILQ_EMPTY(head) global() argument 334 STAILQ_FIRST(head) global() argument 347 SIMPLEQ_HEAD_INITIALIZER(head) global() argument 358 SIMPLEQ_INIT(head) global() argument 364 SIMPLEQ_INSERT_HEAD(head,elm,field) global() argument 371 SIMPLEQ_INSERT_TAIL(head,elm,field) global() argument 378 SIMPLEQ_INSERT_AFTER(head,listelm,elm,field) global() argument 385 SIMPLEQ_REMOVE_HEAD(head,field) global() argument 391 SIMPLEQ_REMOVE(head,elm,type,field) global() argument 405 SIMPLEQ_FOREACH(var,head,field) global() argument 413 SIMPLEQ_EMPTY(head) global() argument 414 SIMPLEQ_FIRST(head) global() argument 428 TAILQ_HEAD_INITIALIZER(head) global() argument 442 QUEUEDEBUG_TAILQ_INSERT_HEAD(head,elm,field) global() argument 447 QUEUEDEBUG_TAILQ_INSERT_TAIL(head,elm,field) global() argument 460 QUEUEDEBUG_TAILQ_PREREMOVE(head,elm,field) global() argument 476 TAILQ_INIT(head) global() argument 482 TAILQ_INSERT_HEAD(head,elm,field) global() argument 494 TAILQ_INSERT_TAIL(head,elm,field) global() argument 503 TAILQ_INSERT_AFTER(head,listelm,elm,field) global() argument 524 TAILQ_REMOVE(head,elm,field) global() argument 537 TAILQ_FOREACH(var,head,field) global() argument 542 TAILQ_FOREACH_REVERSE(var,head,headname,field) global() argument 551 TAILQ_EMPTY(head) global() argument 552 TAILQ_FIRST(head) global() argument 555 TAILQ_LAST(head,headname) global() argument 570 CIRCLEQ_HEAD_INITIALIZER(head) global() argument 582 CIRCLEQ_INIT(head) global() argument 588 CIRCLEQ_INSERT_AFTER(head,listelm,elm,field) global() argument 599 CIRCLEQ_INSERT_BEFORE(head,listelm,elm,field) global() argument 610 CIRCLEQ_INSERT_HEAD(head,elm,field) global() argument 621 CIRCLEQ_INSERT_TAIL(head,elm,field) global() argument 632 CIRCLEQ_REMOVE(head,elm,field) global() argument 646 CIRCLEQ_FOREACH(var,head,field) global() argument 651 CIRCLEQ_FOREACH_REVERSE(var,head,field) global() argument 659 CIRCLEQ_EMPTY(head) global() argument 660 CIRCLEQ_FIRST(head) global() argument 661 CIRCLEQ_LAST(head) global() argument 665 CIRCLEQ_LOOP_NEXT(head,elm,field) global() argument 669 CIRCLEQ_LOOP_PREV(head,elm,field) global() argument [all...] |
/titanic_51/usr/src/cmd/sendmail/db/include/ |
H A D | shqueue.h | 55 #define SH_LIST_FIRSTP(head, type) \ argument 56 ((struct type *)(((u_int8_t *)(head)) + (head)->slh_first)) 58 #define SH_LIST_FIRST(head, type) \ argument 59 ((head)->slh_first == -1 ? NULL : \ 60 ((struct type *)(((u_int8_t *)(head)) + (head)->slh_first))) 75 #define SH_LIST_END(head) NULL argument 85 #define SH_LIST_INIT(head) (head) argument 99 SH_LIST_INSERT_HEAD(head,elm,field,type) global() argument 138 SH_TAILQ_FIRSTP(head,type) global() argument 141 SH_TAILQ_FIRST(head,type) global() argument 153 SH_TAILQ_LAST(head) global() argument 159 SH_TAILQ_END(head) global() argument 161 SH_TAILQ_INIT(head) global() argument 166 SH_TAILQ_INSERT_HEAD(head,elm,field,type) global() argument 182 SH_TAILQ_INSERT_TAIL(head,elm,field) global() argument 197 SH_TAILQ_INSERT_AFTER(head,listelm,elm,field,type) global() argument 212 SH_TAILQ_REMOVE(head,elm,field,type) global() argument 244 SH_CIRCLEQ_FIRSTP(head,type) global() argument 247 SH_CIRCLEQ_FIRST(head,type) global() argument 251 SH_CIRCLEQ_LASTP(head,type) global() argument 254 SH_CIRCLEQ_LAST(head,type) global() argument 260 SH_CIRCLEQ_NEXT(head,elm,field,type) global() argument 267 SH_CIRCLEQ_PREV(head,elm,field,type) global() argument 271 SH_CIRCLEQ_END(head) global() argument 273 SH_CIRCLEQ_INIT(head) global() argument 278 SH_CIRCLEQ_INSERT_AFTER(head,listelm,elm,field,type) global() argument 292 SH_CIRCLEQ_INSERT_BEFORE(head,listelm,elm,field,type) global() argument 306 SH_CIRCLEQ_INSERT_HEAD(head,elm,field,type) global() argument 318 SH_CIRCLEQ_INSERT_TAIL(head,elm,field,type) global() argument 330 SH_CIRCLEQ_REMOVE(head,elm,field,type) global() argument [all...] |
H A D | queue.h | 56 * or after an existing element or at the head of the list. A list 59 * A tail queue is headed by a pair of pointers, one to the head of the 63 * after an existing element, at the head of the list, or at the end of 66 * A circle queue is headed by a pair of pointers, one to the head of the 70 * an existing element, at the head of the list, or at the end of the list. 91 #define LIST_FIRST(head) ((head)->lh_first) argument 93 #define LIST_END(head) NULL argument 98 #define LIST_INIT(head) { \ argument 99 (head) 117 LIST_INSERT_HEAD(head,elm,field) global() argument 146 TAILQ_FIRST(head) global() argument 148 TAILQ_END(head) global() argument 153 TAILQ_INIT(head) global() argument 158 TAILQ_INSERT_HEAD(head,elm,field) global() argument 168 TAILQ_INSERT_TAIL(head,elm,field) global() argument 175 TAILQ_INSERT_AFTER(head,listelm,elm,field) global() argument 192 TAILQ_REMOVE(head,elm,field) global() argument 216 CIRCLEQ_FIRST(head) global() argument 217 CIRCLEQ_LAST(head) global() argument 218 CIRCLEQ_END(head) global() argument 225 CIRCLEQ_INIT(head) global() argument 230 CIRCLEQ_INSERT_AFTER(head,listelm,elm,field) global() argument 240 CIRCLEQ_INSERT_BEFORE(head,listelm,elm,field) global() argument 250 CIRCLEQ_INSERT_HEAD(head,elm,field) global() argument 260 CIRCLEQ_INSERT_TAIL(head,elm,field) global() argument 270 CIRCLEQ_REMOVE(head,elm,field) global() argument [all...] |
/titanic_51/usr/src/boot/sys/sys/ |
H A D | queue.h | 45 * added to the list after an existing element or at the head of the list. 46 * Elements being removed from the head of the list should use the explicit 53 * head of the list and the other to the tail of the list. The elements are 56 * to the list after an existing element, at the head of the list, or at the 57 * end of the list. Elements being removed from the head of the tail queue 67 * or after an existing element or at the head of the list. A list 70 * A tail queue is headed by a pair of pointers, one to the head of the 74 * after an existing element, at the head of the list, or at the end of 112 /* Store the last 2 places the queue element or head was altered */ 125 #define QMD_TRACE_HEAD(head) d argument 141 QMD_TRACE_HEAD(head) global() argument 170 SLIST_HEAD_INITIALIZER(head) global() argument 186 SLIST_EMPTY(head) global() argument 188 SLIST_FIRST(head) global() argument 190 SLIST_FOREACH(var,head,field) global() argument 195 SLIST_FOREACH_FROM(var,head,field) global() argument 200 SLIST_FOREACH_SAFE(var,head,field,tvar) global() argument 205 SLIST_FOREACH_FROM_SAFE(var,head,field,tvar) global() argument 210 SLIST_FOREACH_PREVPTR(var,varp,head,field) global() argument 215 SLIST_INIT(head) global() argument 224 SLIST_INSERT_HEAD(head,elm,field) global() argument 231 SLIST_REMOVE(head,elm,type,field) global() argument 250 SLIST_REMOVE_HEAD(head,field) global() argument 275 STAILQ_HEAD_INITIALIZER(head) global() argument 299 STAILQ_EMPTY(head) global() argument 301 STAILQ_FIRST(head) global() argument 303 STAILQ_FOREACH(var,head,field) global() argument 308 STAILQ_FOREACH_FROM(var,head,field) global() argument 313 STAILQ_FOREACH_SAFE(var,head,field,tvar) global() argument 318 STAILQ_FOREACH_FROM_SAFE(var,head,field,tvar) global() argument 323 STAILQ_INIT(head) global() argument 328 STAILQ_INSERT_AFTER(head,tqelm,elm,field) global() argument 334 STAILQ_INSERT_HEAD(head,elm,field) global() argument 340 STAILQ_INSERT_TAIL(head,elm,field) global() argument 346 STAILQ_LAST(head,type,field) global() argument 353 STAILQ_REMOVE(head,elm,type,field) global() argument 367 STAILQ_REMOVE_AFTER(head,elm,field) global() argument 373 STAILQ_REMOVE_HEAD(head,field) global() argument 406 LIST_HEAD_INITIALIZER(head) global() argument 426 QMD_LIST_CHECK_HEAD(head,field) global() argument 445 QMD_LIST_CHECK_HEAD(head,field) global() argument 450 LIST_EMPTY(head) global() argument 452 LIST_FIRST(head) global() argument 454 LIST_FOREACH(var,head,field) global() argument 459 LIST_FOREACH_FROM(var,head,field) global() argument 464 LIST_FOREACH_SAFE(var,head,field,tvar) global() argument 469 LIST_FOREACH_FROM_SAFE(var,head,field,tvar) global() argument 474 LIST_INIT(head) global() argument 495 LIST_INSERT_HEAD(head,elm,field) global() argument 505 LIST_PREV(elm,head,type,field) global() argument 550 TAILQ_HEAD_INITIALIZER(head) global() argument 571 QMD_TAILQ_CHECK_HEAD(head,field) global() argument 578 QMD_TAILQ_CHECK_TAIL(head,field) global() argument 595 QMD_TAILQ_CHECK_HEAD(head,field) global() argument 596 QMD_TAILQ_CHECK_TAIL(head,headname) global() argument 612 TAILQ_EMPTY(head) global() argument 614 TAILQ_FIRST(head) global() argument 616 TAILQ_FOREACH(var,head,field) global() argument 621 TAILQ_FOREACH_FROM(var,head,field) global() argument 626 TAILQ_FOREACH_SAFE(var,head,field,tvar) global() argument 631 TAILQ_FOREACH_FROM_SAFE(var,head,field,tvar) global() argument 636 TAILQ_FOREACH_REVERSE(var,head,headname,field) global() argument 641 TAILQ_FOREACH_REVERSE_FROM(var,head,headname,field) global() argument 646 TAILQ_FOREACH_REVERSE_SAFE(var,head,headname,field,tvar) global() argument 651 TAILQ_FOREACH_REVERSE_FROM_SAFE(var,head,headname,field,tvar) global() argument 656 TAILQ_INIT(head) global() argument 662 TAILQ_INSERT_AFTER(head,listelm,elm,field) global() argument 687 TAILQ_INSERT_HEAD(head,elm,field) global() argument 700 TAILQ_INSERT_TAIL(head,elm,field) global() argument 710 TAILQ_LAST(head,headname) global() argument 718 TAILQ_REMOVE(head,elm,field) global() argument [all...] |
/titanic_51/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-queue.h | 61 * an existing element or at the head of the list. A list may only be 64 * A tail queue is headed by a pair of pointers, one to the head of the 68 * an existing element, at the head of the list, or at the end of the 71 * A circle queue is headed by a pair of pointers, one to the head of the 75 * an existing element, at the head of the list, or at the end of the list. 99 #define LIST_INIT(head) { \ argument 100 (head)->lh_first = NULL; \ 111 #define LIST_INSERT_HEAD(head, elm, field) { \ argument 112 if (((elm)->field.le_next = (head)->lh_first) != NULL) \ 113 (head) 143 TAILQ_INIT(head) global() argument 148 TAILQ_INSERT_HEAD(head,elm,field) global() argument 158 TAILQ_INSERT_TAIL(head,elm,field) global() argument 165 TAILQ_INSERT_AFTER(head,listelm,elm,field) global() argument 175 TAILQ_REMOVE(head,elm,field) global() argument 202 CIRCLEQ_INIT(head) global() argument 207 CIRCLEQ_INSERT_AFTER(head,listelm,elm,field) global() argument 217 CIRCLEQ_INSERT_BEFORE(head,listelm,elm,field) global() argument 227 CIRCLEQ_INSERT_HEAD(head,elm,field) global() argument 237 CIRCLEQ_INSERT_TAIL(head,elm,field) global() argument 247 CIRCLEQ_REMOVE(head,elm,field) global() argument [all...] |
/titanic_51/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_llist.c | 37 * A link list head points to the first member of a linked list, but 61 * Purpose: initialize a linked list head 64 dapl_llist_init_head(DAPL_LLIST_HEAD *head) in dapl_llist_init_head() argument 66 *head = NULL; in dapl_llist_init_head() 89 dapl_llist_is_empty(DAPL_LLIST_HEAD *head) in dapl_llist_is_empty() argument 91 return (*head == NULL); in dapl_llist_is_empty() 97 * Purpose: Add an entry to the head of a linked list 100 dapl_llist_add_head(DAPL_LLIST_HEAD *head, in dapl_llist_add_head() argument 107 if (dapl_llist_is_empty(head)) { in dapl_llist_add_head() 111 first = *head; in dapl_llist_add_head() 129 dapl_llist_add_tail(DAPL_LLIST_HEAD * head,DAPL_LLIST_ENTRY * entry,void * data) dapl_llist_add_tail() argument 158 dapl_llist_add_entry(DAPL_LLIST_HEAD * head,DAPL_LLIST_ENTRY * entry,DAPL_LLIST_ENTRY * new_entry,void * data) dapl_llist_add_entry() argument 189 dapl_llist_remove_head(DAPL_LLIST_HEAD * head) dapl_llist_remove_head() argument 216 dapl_llist_remove_tail(DAPL_LLIST_HEAD * head) dapl_llist_remove_tail() argument 243 dapl_llist_remove_entry(DAPL_LLIST_HEAD * head,DAPL_LLIST_ENTRY * entry) dapl_llist_remove_entry() argument 296 dapl_llist_peek_head(DAPL_LLIST_HEAD * head) dapl_llist_peek_head() argument 314 dapl_llist_next_entry(IN DAPL_LLIST_HEAD * head,IN DAPL_LLIST_ENTRY * cur_ent) dapl_llist_next_entry() argument 337 dapl_llist_debug_print_list(DAPL_LLIST_HEAD * head) dapl_llist_debug_print_list() argument [all...] |
/titanic_51/usr/src/uts/common/io/bnxe/577xx/include/ |
H A D | listq.h | 10 * void s_list_init (s_list_t *, *head, *tail, cnt) 25 * void d_list_init (d_list_t *, *head, *tail, cnt) 78 s_list_entry_t *head; member 96 s_list->head = head_entry; in s_list_init() 107 s_list->head = (s_list_entry_t *) 0; in s_list_clear() 119 s_entry->next = s_list->head; in s_list_push_head() 125 s_list->head = s_entry; in s_list_push_head() 138 s_entry = s_list->head; in s_list_pop_head() 139 if(s_list->head) in s_list_pop_head() 141 s_list->head in s_list_pop_head() 413 d_list_entry_t *head; global() member 910 q_list_entry_t *head; global() member [all...] |
/titanic_51/usr/src/cmd/sendmail/include/sm/ |
H A D | tailq.h | 48 * A tail queue is headed by a pair of pointers, one to the head of the 52 * after an existing element, at the head of the list, or at the end of 65 #define SM_TAILQ_HEAD_INITIALIZER(head) \ argument 66 { NULL, &(head).tqh_first } 77 #define SM_TAILQ_FIRST(head) ((head)->tqh_first) argument 78 #define SM_TAILQ_END(head) NULL argument 80 #define SM_TAILQ_LAST(head, headname) \ argument 81 (*(((struct headname *)((head)->tqh_last))->tqh_last)) 85 #define SM_TAILQ_EMPTY(head) \ argument 88 SM_TAILQ_FOREACH(var,head,field) global() argument 93 SM_TAILQ_FOREACH_REVERSE(var,head,headname,field) global() argument 101 SM_TAILQ_INIT(head) global() argument 106 SM_TAILQ_INSERT_HEAD(head,elm,field) global() argument 116 SM_TAILQ_INSERT_TAIL(head,elm,field) global() argument 123 SM_TAILQ_INSERT_AFTER(head,listelm,elm,field) global() argument 140 SM_TAILQ_REMOVE(head,elm,field) global() argument 149 SM_TAILQ_REPLACE(head,elm,elm2,field) global() argument [all...] |
/titanic_51/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 106 _lio_listio_cleanup(aio_lio_t *head) in _lio_listio_cleanup() argument 110 ASSERT(MUTEX_HELD(&head->lio_mutex)); in _lio_listio_cleanup() 111 if (head->lio_refcnt == 0) { in _lio_listio_cleanup() 112 ASSERT(head->lio_nent == 0); in _lio_listio_cleanup() 115 head->lio_waiting = 0; in _lio_listio_cleanup() 116 sig_mutex_unlock(&head->lio_mutex); in _lio_listio_cleanup() 118 _aio_lio_free(head); in _lio_listio_cleanup() 127 aio_lio_t *head = NULL; in lio_listio() local 194 * If LIO_WAIT, or notification required, allocate a list head. in lio_listio() 201 head in lio_listio() 320 _lio_list_decr(aio_lio_t * head) _lio_list_decr() argument 730 aio_lio_t *head; _lio_remove() local 749 __aio_fsync_bar(aiocb_t * aiocbp,aio_lio_t * head,aio_worker_t * aiowp,int workerscnt) __aio_fsync_bar() argument 775 aio_lio_t *head; aio_fsync() local 1324 aio_lio_t *head = NULL; lio_listio64() local 1607 __aio_fsync_bar64(aiocb64_t * aiocbp,aio_lio_t * head,aio_worker_t * aiowp,int workerscnt) __aio_fsync_bar64() argument 1633 aio_lio_t *head; aio_fsync64() local [all...] |
/titanic_51/usr/src/cmd/syslogd/ |
H A D | list.c | 36 ll_init(llh_t *head) in ll_init() argument 38 head->back = &head->front; in ll_init() 39 head->front = NULL; in ll_init() 42 ll_enqueue(llh_t *head, ll_t *data) in ll_enqueue() argument 45 *head->back = data; in ll_enqueue() 46 head->back = &data->n; in ll_enqueue() 54 ll_mapf(llh_t *head, void (*func)(void *)) in ll_mapf() argument 56 ll_t *t = head->front; in ll_mapf() 66 ll_peek(llh_t *head) in ll_peek() argument 71 ll_dequeue(llh_t * head) ll_dequeue() argument 104 ll_check(llh_t * head) ll_check() argument [all...] |
/titanic_51/usr/src/stand/lib/tcp/ |
H A D | tcp_sack.c | 50 * sack_blk_t *head: pointer to the array of SACK blks. 56 tcp_sack_insert(sack_blk_t *head, tcp_seq begin, tcp_seq end, int32_t *num) in tcp_sack_insert() argument 63 head[0].begin = begin; in tcp_sack_insert() 64 head[0].end = end; in tcp_sack_insert() 75 * 4. head part of new SACK blk overlaps with another blk. in tcp_sack_insert() 79 * to head. in tcp_sack_insert() 88 if (SEQ_LT(end, head[i].begin) || SEQ_GT(begin, head[i].end)) { in tcp_sack_insert() 90 tmp[j].begin = head[i].begin; in tcp_sack_insert() 91 tmp[j].end = head[ in tcp_sack_insert() 139 tcp_sack_remove(sack_blk_t * head,tcp_seq end,int32_t * num) tcp_sack_remove() argument 198 tcp_notsack_insert(notsack_blk_t ** head,tcp_seq begin,tcp_seq end,int32_t * num,uint32_t * sum) tcp_notsack_insert() argument 342 tcp_notsack_remove(notsack_blk_t ** head,tcp_seq end,int32_t * num,uint32_t * sum) tcp_notsack_remove() argument 398 tcp_notsack_update(notsack_blk_t ** head,tcp_seq begin,tcp_seq end,int32_t * num,uint32_t * sum) tcp_notsack_update() argument [all...] |
/titanic_51/usr/src/uts/common/inet/tcp/ |
H A D | tcp_sack.c | 44 * sack_blk_t *head: pointer to the array of SACK blks. 50 tcp_sack_insert(sack_blk_t *head, tcp_seq begin, tcp_seq end, int32_t *num) in tcp_sack_insert() argument 57 head[0].begin = begin; in tcp_sack_insert() 58 head[0].end = end; in tcp_sack_insert() 69 * 4. head part of new SACK blk overlaps with another blk. in tcp_sack_insert() 73 * to head. in tcp_sack_insert() 82 if (SEQ_LT(end, head[i].begin) || SEQ_GT(begin, head[i].end)) { in tcp_sack_insert() 84 tmp[j].begin = head[i].begin; in tcp_sack_insert() 85 tmp[j].end = head[ in tcp_sack_insert() 133 tcp_sack_remove(sack_blk_t * head,tcp_seq end,int32_t * num) tcp_sack_remove() argument 192 tcp_notsack_insert(notsack_blk_t ** head,tcp_seq begin,tcp_seq end,int32_t * num,uint32_t * sum) tcp_notsack_insert() argument 337 tcp_notsack_remove(notsack_blk_t ** head,tcp_seq end,int32_t * num,uint32_t * sum) tcp_notsack_remove() argument 391 tcp_notsack_update(notsack_blk_t ** head,tcp_seq begin,tcp_seq end,int32_t * num,uint32_t * sum) tcp_notsack_update() argument [all...] |
/titanic_51/usr/src/lib/libsmbfs/smb/ |
H A D | queue.h | 68 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument 70 #define SLIST_FIRST(head) ((head)->slh_first) argument 72 #define SLIST_FOREACH(var, head, field) \ argument 73 for ((var) = SLIST_FIRST((head)); \ 77 #define SLIST_INIT(head) do { \ argument 78 SLIST_FIRST((head)) = NULL; \ 86 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 87 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ 93 SLIST_REMOVE(head,elm,type,field) global() argument 106 SLIST_REMOVE_HEAD(head,field) global() argument [all...] |
/titanic_51/usr/src/uts/common/io/mega_sas/ |
H A D | list.h | 94 * @head: list head to add it after 96 * Insert a new entry after the specified head. 99 static void mlist_add(struct mlist_head *new, struct mlist_head *head) in mlist_add() argument 101 __list_add(new, head, head->next); in mlist_add() 108 * @head: list head to add it before 110 * Insert a new entry before the specified head. 113 static void mlist_add_tail(struct mlist_head *new, struct mlist_head *head) in mlist_add_tail() argument 165 mlist_empty(struct mlist_head * head) mlist_empty() argument 176 mlist_splice(struct mlist_head * list,struct mlist_head * head) mlist_splice() argument 216 mlist_for_each(pos,head) global() argument 227 mlist_for_each_safe(pos,n,head) global() argument [all...] |
/titanic_51/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_queue.c | 31 static void iscsi_enqueue_cmd_tail(iscsi_cmd_t **head, iscsi_cmd_t **tail, 59 queue->head = NULL; in iscsi_init_queue() 89 iscsi_enqueue_cmd_tail(&isp->sess_queue_pending.head, in iscsi_enqueue_pending_cmd() 94 iscsi_enqueue_cmd_head(&isp->sess_queue_pending.head, in iscsi_enqueue_pending_cmd() 115 rval = iscsi_dequeue_cmd(&isp->sess_queue_pending.head, in iscsi_dequeue_pending_cmd() 135 * older items are on the head. But, Do not assume that the list 138 * the current head, otherwise add to the tail. 166 * than the head of the active queue, put it at the head to keep in iscsi_enqueue_active_cmd() 171 iscsi_enqueue_cmd_tail(&icp->conn_queue_active.head, in iscsi_enqueue_active_cmd() 335 iscsi_dequeue_cmd(iscsi_cmd_t ** head,iscsi_cmd_t ** tail,iscsi_cmd_t * icmdp) iscsi_dequeue_cmd() argument 397 iscsi_enqueue_cmd_head(iscsi_cmd_t ** head,iscsi_cmd_t ** tail,iscsi_cmd_t * icmdp) iscsi_enqueue_cmd_head() argument 424 iscsi_enqueue_cmd_tail(iscsi_cmd_t ** head,iscsi_cmd_t ** tail,iscsi_cmd_t * icmdp) iscsi_enqueue_cmd_tail() argument [all...] |
/titanic_51/usr/src/uts/common/io/aggr/ |
H A D | aggr_recv.c | 84 mblk_t *cmp, *last, *head; in aggr_recv_cb() local 90 head = cmp = mp; in aggr_recv_cb() 94 if (head == cmp) { in aggr_recv_cb() 96 head = cmp->b_next; in aggr_recv_cb() 99 cmp = head; in aggr_recv_cb() 105 head); in aggr_recv_cb() 107 freemsgchain(head); in aggr_recv_cb() 109 head = cmp->b_next; in aggr_recv_cb() 112 cmp = head; in aggr_recv_cb() 126 if (head in aggr_recv_cb() [all...] |
/titanic_51/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 47 elf_config_validate(Addr addr, Rtc_head *head, Rt_map *lmp) in elf_config_validate() argument 65 if (head->ch_app) { in elf_config_validate() 69 obj = (Rtc_obj *)(head->ch_app + addr); in elf_config_validate() 112 for (dirtbl = (Rtc_dir *)(head->ch_dir + addr); in elf_config_validate() 199 Rtc_head *head; in elf_config() local 302 head = (Rtc_head *)addr; in elf_config() 307 if (head->ch_version > RTC_VER_CURRENT) in elf_config() 315 if (head->ch_cnflags & RTC_HDR_IGNORE) in elf_config() 321 if (head->ch_edlibpath) { in elf_config() 322 str = (const char *)(head in elf_config() [all...] |
/titanic_51/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas_list.c | 38 * @head: list head to add it after 40 * Insert a new entry after the specified head. 44 mlist_add(struct mlist_head *new, struct mlist_head *head) in mlist_add() argument 46 __list_add(new, head, head->next); in mlist_add() 52 * @head: list head to add it before 54 * Insert a new entry before the specified head. 58 mlist_add_tail(struct mlist_head *new, struct mlist_head *head) in mlist_add_tail() argument 93 mlist_empty(struct mlist_head * head) mlist_empty() argument 104 mlist_splice(struct mlist_head * list,struct mlist_head * head) mlist_splice() argument [all...] |
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | error_map.h | 34 static inline int gsserrmap_init (struct gsserrmap__head *head) in gsserrmap_init() argument 36 head->first = NULL; in gsserrmap_init() 39 static inline void gsserrmap_destroy (struct gsserrmap__head *head) in gsserrmap_destroy() argument 44 for (e = head->first; e; e = e_next) { in gsserrmap_destroy() 52 head->first = NULL; in gsserrmap_destroy() 56 gsserrmap__find_node (struct gsserrmap__head *head, OM_uint32 key) in gsserrmap__find_node() argument 59 for (e = head->first; e; e = e->next) in gsserrmap__find_node() 66 gsserrmap_find (struct gsserrmap__head *head, OM_uint32 key) in gsserrmap_find() argument 68 struct gsserrmap__element *e = gsserrmap__find_node(head, key); in gsserrmap_find() 86 gsserrmap_replace_or_insert (struct gsserrmap__head *head, in gsserrmap_replace_or_insert() argument [all...] |
/titanic_51/usr/src/lib/libc/amd64/unwind/ |
H A D | thrp_unwind.c | 53 __cleanup_t *head; in posix_stop_func() local 69 while ((head = *headp) != NULL && in posix_stop_func() 70 (caddr_t)cfa == head->fp + CFA_ADJUST) { in posix_stop_func() 71 *headp = head->next; in posix_stop_func() 72 (*head->func)(head->arg); in posix_stop_func() 91 __cleanup_t *head; in _thrp_unwind() local 114 while ((head = *headp) != NULL) { in _thrp_unwind() 115 *headp = head->next; in _thrp_unwind() 116 (*head in _thrp_unwind() [all...] |
/titanic_51/usr/src/cmd/sgs/crle/common/ |
H A D | config.c | 64 Rtc_head *head; in genconfig() local 210 head = (Rtc_head *)addr; in genconfig() 215 head->ch_hash = hashoff; in genconfig() 217 hashtbl = (Word *)(CAST_PTRINT(char *, head->ch_hash) + addr); in genconfig() 219 head->ch_obj = objoff; in genconfig() 221 objtbl = (Rtc_obj *)(CAST_PTRINT(char *, head->ch_obj) + addr); in genconfig() 224 head->ch_file = fileoff; in genconfig() 226 filetbl = (Rtc_file *)(CAST_PTRINT(char *, head->ch_file) + addr); in genconfig() 228 head->ch_dir = diroff; in genconfig() 230 dirtbl = (Rtc_dir *)(CAST_PTRINT(char *, head in genconfig() 631 Rtc_head *head = (Rtc_head *)crle->c_tempheadaddr; updateconfig() local [all...] |
/titanic_51/usr/src/cmd/mail/ |
H A D | gendeliv.c | 54 hdrlines[H_DAFWDFROM].head = hdrlines[H_AFWDFROM].head; 56 hdrlines[H_AFWDFROM].head = (struct hdrs *)NULL; 58 hdrlines[H_DRECEIVED].head = hdrlines[H_RECEIVED].head; 60 hdrlines[H_RECEIVED].head = (struct hdrs *)NULL; 62 hdrlines[H_DTCOPY].head = hdrlines[H_TCOPY].head; 64 hdrlines[H_TCOPY].head = (struct hdrs *)NULL; 109 hdrlines[H_TCOPY].head [all...] |
/titanic_51/usr/src/uts/sun4/io/efcode/ |
H A D | fc_subr.c | 333 if (rp->head != NULL) in fc_add_resource() 334 ip->next = rp->head; in fc_add_resource() 335 rp->head = ip; in fc_add_resource() 347 if (rp->head == NULL) { in fc_rem_resource() 348 cmn_err(CE_CONT, "fc_rem_resource: NULL list head!\n"); in fc_rem_resource() 353 if (rp->head == ip) { in fc_rem_resource() 354 rp->head = ip->next; in fc_rem_resource() 359 for (fp = rp->head; fp && (fp->next != ip); fp = fp->next) in fc_rem_resource() 449 fc_phandle_table_alloc(struct fc_phandle_entry **head) in fc_phandle_table_alloc() argument 454 fc_phandle_table_free(struct fc_phandle_entry **head) in fc_phandle_table_free() argument 469 fc_phandle_to_dip(struct fc_phandle_entry ** head,fc_phandle_t handle) fc_phandle_to_dip() argument 485 fc_dip_to_phandle(struct fc_phandle_entry ** head,dev_info_t * dip) fc_dip_to_phandle() argument 529 fc_add_dip_to_phandle(struct fc_phandle_entry ** head,dev_info_t * dip,fc_phandle_t h) fc_add_dip_to_phandle() argument 582 struct fc_device_tree **head = fc_handle_to_dtree_head(rp); fc_handle_to_dtree() local 592 fc_create_device_tree(dev_info_t * ap,struct fc_device_tree ** head) fc_create_device_tree() argument 632 fc_remove_device_tree(struct fc_device_tree ** head) fc_remove_device_tree() argument 642 fc_remove_device_tree(struct fc_device_tree ** head) fc_remove_device_tree() argument 706 fc_remove_child(dev_info_t * child,struct fc_device_tree * head) fc_remove_child() argument [all...] |
/titanic_51/usr/src/lib/efcode/engine/ |
H A D | resource.c | 37 find_resource(fc_resource_t **head, void *ptr, int (cmp)(void *, void *)) in find_resource() argument 39 fc_resource_t *f, *prev, *r = *head; in find_resource() 50 *head = r->next; in find_resource() 68 add_resource(fc_resource_t **head, void *ptr, int (cmp)(void *, void *)) in add_resource() argument 72 r = find_resource(head, ptr, cmp); in add_resource() 76 r->next = *head; in add_resource() 77 *head = r; in add_resource() 85 free_resource(fc_resource_t **head, void *ptr, int (cmp)(void *, void *)) in free_resource() argument 89 if ((r = find_resource(head, ptr, cmp)) != NULL) in free_resource() 108 fc_resource_t **head; in dump_resources() local [all...] |