usr/src/boot/common/multiboot2.c
1278
head = &relocator->rel_chunk_head;
usr/src/boot/common/multiboot2.c
1279
STAILQ_INIT(head);
usr/src/boot/common/multiboot2.c
1287
STAILQ_INSERT_TAIL(head, chunk, chunk_next);
usr/src/boot/common/multiboot2.c
1306
STAILQ_INSERT_TAIL(head, chunk, chunk_next);
usr/src/boot/common/multiboot2.c
1318
STAILQ_INSERT_TAIL(head, chunk, chunk_next);
usr/src/boot/common/multiboot2.c
421
insert_cmdline(const char *head, const char *prop)
usr/src/boot/common/multiboot2.c
427
tail = strstr(head, prop_opt);
usr/src/boot/common/multiboot2.c
431
diff = tail - head;
usr/src/boot/common/multiboot2.c
438
asprintf(&cmdline, "%s%s%s", head, prop_opt, prop);
usr/src/boot/common/multiboot2.c
440
asprintf(&cmdline, "%.*s%s,%s", len, head, prop, tail);
usr/src/boot/common/multiboot2.c
848
struct chunk_head *head;
usr/src/boot/efi/loader/copy.c
267
struct chunk_head *head;
usr/src/boot/efi/loader/copy.c
274
head = &relocator->rel_chunk_head;
usr/src/boot/efi/loader/copy.c
275
chunk = STAILQ_LAST(head, chunk, chunk_next);
usr/src/boot/efi/loader/copy.c
293
STAILQ_FOREACH_FROM(chunk, head, chunk_next) {
usr/src/boot/efi/loader/copy.c
306
STAILQ_FOREACH(c, head, chunk_next) {
usr/src/boot/efi/loader/memmap.c
122
STAILQ_INSERT_TAIL(&head, next, sb_bufs);
usr/src/boot/efi/loader/memmap.c
143
STAILQ_FOREACH(cur, &head, sb_bufs)
usr/src/boot/efi/loader/memmap.c
146
cur = STAILQ_FIRST(&head);
usr/src/boot/efi/loader/memmap.c
78
STAILQ_HEAD(smap_head, smap_buf) head =
usr/src/boot/efi/loader/memmap.c
79
STAILQ_HEAD_INITIALIZER(head);
usr/src/boot/efi/loader/memmap.c
95
STAILQ_INIT(&head);
usr/src/boot/i386/libi386/biosdisk.c
544
struct edd_params head;
usr/src/boot/i386/libi386/biosdisk.c
551
params = &dparams.head;
usr/src/boot/i386/libi386/biossmap.c
105
STAILQ_FOREACH(cur, &head, bufs)
usr/src/boot/i386/libi386/biossmap.c
111
cur = STAILQ_FIRST(&head);
usr/src/boot/i386/libi386/biossmap.c
59
STAILQ_HEAD(smap_head, smap_buf) head =
usr/src/boot/i386/libi386/biossmap.c
60
STAILQ_HEAD_INITIALIZER(head);
usr/src/boot/i386/libi386/biossmap.c
64
STAILQ_INIT(&head);
usr/src/boot/i386/libi386/biossmap.c
89
STAILQ_INSERT_TAIL(&head, next, bufs);
usr/src/boot/i386/libi386/biossmap.c
98
STAILQ_FOREACH(cur, &head, bufs)
usr/src/boot/libsa/zfs/nvlist.c
1157
nvp_header_t head, *hp;
usr/src/boot/libsa/zfs/nvlist.c
1195
head.encoded_size = NVPE_SIZE(namelen, encoded_size);
usr/src/boot/libsa/zfs/nvlist.c
1196
head.decoded_size = NVP_SIZE(namelen + 1, decoded_size);
usr/src/boot/libsa/zfs/nvlist.c
1198
if (nvl->nv_asize - nvl->nv_size < head.encoded_size + 8) {
usr/src/boot/libsa/zfs/nvlist.c
1199
ptr = realloc(nvl->nv_data, nvl->nv_asize + head.encoded_size);
usr/src/boot/libsa/zfs/nvlist.c
1203
nvl->nv_asize += head.encoded_size;
usr/src/boot/libsa/zfs/nvlist.c
1206
bzero(nvl->nv_idx, head.encoded_size + 8);
usr/src/boot/libsa/zfs/nvlist.c
1208
*hp = head;
usr/src/boot/libsa/zfs/nvlist.c
1336
nvl->nv_size += head.encoded_size;
usr/src/boot/libsa/zfs/nvlist.c
795
uint8_t *head, *tail;
usr/src/boot/libsa/zfs/nvlist.c
815
head = (uint8_t *)nvp;
usr/src/boot/libsa/zfs/nvlist.c
830
tail = head + nvp->encoded_size;
usr/src/boot/libsa/zfs/nvlist.c
835
bcopy(tail, head, size);
usr/src/boot/libsa/zfs/nvlist.c
839
head = head + nvp->encoded_size;
usr/src/boot/libsa/zfs/nvlist.c
840
nvp = (nvp_header_t *)head;
usr/src/boot/libsa/zfs/zfs.c
349
size_t res, head, tail, total_size, full_sec_size;
usr/src/boot/libsa/zfs/zfs.c
394
head = offset % secsz;
usr/src/boot/libsa/zfs/zfs.c
395
total_size = roundup2(head + bytes, secsz);
usr/src/boot/libsa/zfs/zfs.c
396
tail = total_size - (head + bytes);
usr/src/boot/libsa/zfs/zfs.c
397
do_tail_read = ((tail > 0) && (head + bytes > secsz));
usr/src/boot/libsa/zfs/zfs.c
399
if (head > 0)
usr/src/boot/libsa/zfs/zfs.c
405
if ((head > 0) || do_tail_read || bytes < secsz) {
usr/src/boot/libsa/zfs/zfs.c
419
if (head > 0) {
usr/src/boot/libsa/zfs/zfs.c
425
memcpy(outbuf, bouncebuf + head, min(secsz - head, bytes));
usr/src/boot/libsa/zfs/zfs.c
426
outbuf += min(secsz - head, bytes);
usr/src/boot/libsa/zfs/zfs.c
468
size_t head, tail, total_size, full_sec_size;
usr/src/boot/libsa/zfs/zfs.c
483
head = offset % secsz;
usr/src/boot/libsa/zfs/zfs.c
484
total_size = roundup2(head + bytes, secsz);
usr/src/boot/libsa/zfs/zfs.c
485
tail = total_size - (head + bytes);
usr/src/boot/libsa/zfs/zfs.c
486
do_tail_write = ((tail > 0) && (head + bytes > secsz));
usr/src/boot/libsa/zfs/zfs.c
488
if (head > 0)
usr/src/boot/libsa/zfs/zfs.c
494
if ((head > 0) || do_tail_write || bytes < secsz) {
usr/src/boot/libsa/zfs/zfs.c
508
if (head > 0) {
usr/src/boot/libsa/zfs/zfs.c
514
memcpy(bouncebuf + head, outbuf, min(secsz - head, bytes));
usr/src/boot/libsa/zfs/zfs.c
521
outbuf += min(secsz - head, bytes);
usr/src/boot/sys/sys/queue.h
125
#define QMD_TRACE_HEAD(head) do { \
usr/src/boot/sys/sys/queue.h
126
(head)->trace.prevline = (head)->trace.lastline; \
usr/src/boot/sys/sys/queue.h
127
(head)->trace.prevfile = (head)->trace.lastfile; \
usr/src/boot/sys/sys/queue.h
128
(head)->trace.lastline = __LINE__; \
usr/src/boot/sys/sys/queue.h
129
(head)->trace.lastfile = __FILE__; \
usr/src/boot/sys/sys/queue.h
141
#define QMD_TRACE_HEAD(head)
usr/src/boot/sys/sys/queue.h
170
#define SLIST_HEAD_INITIALIZER(head) \
usr/src/boot/sys/sys/queue.h
186
#define SLIST_EMPTY(head) ((head)->slh_first == NULL)
usr/src/boot/sys/sys/queue.h
188
#define SLIST_FIRST(head) ((head)->slh_first)
usr/src/boot/sys/sys/queue.h
190
#define SLIST_FOREACH(var, head, field) \
usr/src/boot/sys/sys/queue.h
191
for ((var) = SLIST_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
195
#define SLIST_FOREACH_FROM(var, head, field) \
usr/src/boot/sys/sys/queue.h
196
for ((var) = ((var) ? (var) : SLIST_FIRST((head))); \
usr/src/boot/sys/sys/queue.h
200
#define SLIST_FOREACH_SAFE(var, head, field, tvar) \
usr/src/boot/sys/sys/queue.h
201
for ((var) = SLIST_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
205
#define SLIST_FOREACH_FROM_SAFE(var, head, field, tvar) \
usr/src/boot/sys/sys/queue.h
206
for ((var) = ((var) ? (var) : SLIST_FIRST((head))); \
usr/src/boot/sys/sys/queue.h
210
#define SLIST_FOREACH_PREVPTR(var, varp, head, field) \
usr/src/boot/sys/sys/queue.h
211
for ((varp) = &SLIST_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
215
#define SLIST_INIT(head) do { \
usr/src/boot/sys/sys/queue.h
216
SLIST_FIRST((head)) = NULL; \
usr/src/boot/sys/sys/queue.h
224
#define SLIST_INSERT_HEAD(head, elm, field) do { \
usr/src/boot/sys/sys/queue.h
225
SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
226
SLIST_FIRST((head)) = (elm); \
usr/src/boot/sys/sys/queue.h
231
#define SLIST_REMOVE(head, elm, type, field) do { \
usr/src/boot/sys/sys/queue.h
233
if (SLIST_FIRST((head)) == (elm)) { \
usr/src/boot/sys/sys/queue.h
234
SLIST_REMOVE_HEAD((head), field); \
usr/src/boot/sys/sys/queue.h
237
QUEUE_TYPEOF(type) *curelm = SLIST_FIRST(head); \
usr/src/boot/sys/sys/queue.h
250
#define SLIST_REMOVE_HEAD(head, field) do { \
usr/src/boot/sys/sys/queue.h
251
SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
usr/src/boot/sys/sys/queue.h
275
#define STAILQ_HEAD_INITIALIZER(head) \
usr/src/boot/sys/sys/queue.h
276
{ NULL, &(head).stqh_first }
usr/src/boot/sys/sys/queue.h
299
#define STAILQ_EMPTY(head) ((head)->stqh_first == NULL)
usr/src/boot/sys/sys/queue.h
301
#define STAILQ_FIRST(head) ((head)->stqh_first)
usr/src/boot/sys/sys/queue.h
303
#define STAILQ_FOREACH(var, head, field) \
usr/src/boot/sys/sys/queue.h
304
for((var) = STAILQ_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
308
#define STAILQ_FOREACH_FROM(var, head, field) \
usr/src/boot/sys/sys/queue.h
309
for ((var) = ((var) ? (var) : STAILQ_FIRST((head))); \
usr/src/boot/sys/sys/queue.h
313
#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \
usr/src/boot/sys/sys/queue.h
314
for ((var) = STAILQ_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
318
#define STAILQ_FOREACH_FROM_SAFE(var, head, field, tvar) \
usr/src/boot/sys/sys/queue.h
319
for ((var) = ((var) ? (var) : STAILQ_FIRST((head))); \
usr/src/boot/sys/sys/queue.h
323
#define STAILQ_INIT(head) do { \
usr/src/boot/sys/sys/queue.h
324
STAILQ_FIRST((head)) = NULL; \
usr/src/boot/sys/sys/queue.h
325
(head)->stqh_last = &STAILQ_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
328
#define STAILQ_INSERT_AFTER(head, tqelm, elm, field) do { \
usr/src/boot/sys/sys/queue.h
330
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
usr/src/boot/sys/sys/queue.h
334
#define STAILQ_INSERT_HEAD(head, elm, field) do { \
usr/src/boot/sys/sys/queue.h
335
if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
usr/src/boot/sys/sys/queue.h
336
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
usr/src/boot/sys/sys/queue.h
337
STAILQ_FIRST((head)) = (elm); \
usr/src/boot/sys/sys/queue.h
340
#define STAILQ_INSERT_TAIL(head, elm, field) do { \
usr/src/boot/sys/sys/queue.h
342
*(head)->stqh_last = (elm); \
usr/src/boot/sys/sys/queue.h
343
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
usr/src/boot/sys/sys/queue.h
346
#define STAILQ_LAST(head, type, field) \
usr/src/boot/sys/sys/queue.h
347
(STAILQ_EMPTY((head)) ? NULL : \
usr/src/boot/sys/sys/queue.h
348
__containerof((head)->stqh_last, \
usr/src/boot/sys/sys/queue.h
353
#define STAILQ_REMOVE(head, elm, type, field) do { \
usr/src/boot/sys/sys/queue.h
355
if (STAILQ_FIRST((head)) == (elm)) { \
usr/src/boot/sys/sys/queue.h
356
STAILQ_REMOVE_HEAD((head), field); \
usr/src/boot/sys/sys/queue.h
359
QUEUE_TYPEOF(type) *curelm = STAILQ_FIRST(head); \
usr/src/boot/sys/sys/queue.h
362
STAILQ_REMOVE_AFTER(head, curelm, field); \
usr/src/boot/sys/sys/queue.h
367
#define STAILQ_REMOVE_AFTER(head, elm, field) do { \
usr/src/boot/sys/sys/queue.h
370
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
usr/src/boot/sys/sys/queue.h
373
#define STAILQ_REMOVE_HEAD(head, field) do { \
usr/src/boot/sys/sys/queue.h
374
if ((STAILQ_FIRST((head)) = \
usr/src/boot/sys/sys/queue.h
375
STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \
usr/src/boot/sys/sys/queue.h
376
(head)->stqh_last = &STAILQ_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
406
#define LIST_HEAD_INITIALIZER(head) \
usr/src/boot/sys/sys/queue.h
426
#define QMD_LIST_CHECK_HEAD(head, field) do { \
usr/src/boot/sys/sys/queue.h
427
if (LIST_FIRST((head)) != NULL && \
usr/src/boot/sys/sys/queue.h
428
LIST_FIRST((head))->field.le_prev != \
usr/src/boot/sys/sys/queue.h
429
&LIST_FIRST((head))) \
usr/src/boot/sys/sys/queue.h
430
panic("Bad list head %p first->prev != head", (head)); \
usr/src/boot/sys/sys/queue.h
445
#define QMD_LIST_CHECK_HEAD(head, field)
usr/src/boot/sys/sys/queue.h
450
#define LIST_EMPTY(head) ((head)->lh_first == NULL)
usr/src/boot/sys/sys/queue.h
452
#define LIST_FIRST(head) ((head)->lh_first)
usr/src/boot/sys/sys/queue.h
454
#define LIST_FOREACH(var, head, field) \
usr/src/boot/sys/sys/queue.h
455
for ((var) = LIST_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
459
#define LIST_FOREACH_FROM(var, head, field) \
usr/src/boot/sys/sys/queue.h
460
for ((var) = ((var) ? (var) : LIST_FIRST((head))); \
usr/src/boot/sys/sys/queue.h
464
#define LIST_FOREACH_SAFE(var, head, field, tvar) \
usr/src/boot/sys/sys/queue.h
465
for ((var) = LIST_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
469
#define LIST_FOREACH_FROM_SAFE(var, head, field, tvar) \
usr/src/boot/sys/sys/queue.h
470
for ((var) = ((var) ? (var) : LIST_FIRST((head))); \
usr/src/boot/sys/sys/queue.h
474
#define LIST_INIT(head) do { \
usr/src/boot/sys/sys/queue.h
475
LIST_FIRST((head)) = NULL; \
usr/src/boot/sys/sys/queue.h
495
#define LIST_INSERT_HEAD(head, elm, field) do { \
usr/src/boot/sys/sys/queue.h
496
QMD_LIST_CHECK_HEAD((head), field); \
usr/src/boot/sys/sys/queue.h
497
if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
usr/src/boot/sys/sys/queue.h
498
LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
usr/src/boot/sys/sys/queue.h
499
LIST_FIRST((head)) = (elm); \
usr/src/boot/sys/sys/queue.h
500
(elm)->field.le_prev = &LIST_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
505
#define LIST_PREV(elm, head, type, field) \
usr/src/boot/sys/sys/queue.h
506
((elm)->field.le_prev == &LIST_FIRST((head)) ? NULL : \
usr/src/boot/sys/sys/queue.h
550
#define TAILQ_HEAD_INITIALIZER(head) \
usr/src/boot/sys/sys/queue.h
551
{ NULL, &(head).tqh_first, TRACEBUF_INITIALIZER }
usr/src/boot/sys/sys/queue.h
571
#define QMD_TAILQ_CHECK_HEAD(head, field) do { \
usr/src/boot/sys/sys/queue.h
572
if (!TAILQ_EMPTY(head) && \
usr/src/boot/sys/sys/queue.h
573
TAILQ_FIRST((head))->field.tqe_prev != \
usr/src/boot/sys/sys/queue.h
574
&TAILQ_FIRST((head))) \
usr/src/boot/sys/sys/queue.h
575
panic("Bad tailq head %p first->prev != head", (head)); \
usr/src/boot/sys/sys/queue.h
578
#define QMD_TAILQ_CHECK_TAIL(head, field) do { \
usr/src/boot/sys/sys/queue.h
579
if (*(head)->tqh_last != NULL) \
usr/src/boot/sys/sys/queue.h
580
panic("Bad tailq NEXT(%p->tqh_last) != NULL", (head)); \
usr/src/boot/sys/sys/queue.h
595
#define QMD_TAILQ_CHECK_HEAD(head, field)
usr/src/boot/sys/sys/queue.h
596
#define QMD_TAILQ_CHECK_TAIL(head, headname)
usr/src/boot/sys/sys/queue.h
612
#define TAILQ_EMPTY(head) ((head)->tqh_first == NULL)
usr/src/boot/sys/sys/queue.h
614
#define TAILQ_FIRST(head) ((head)->tqh_first)
usr/src/boot/sys/sys/queue.h
616
#define TAILQ_FOREACH(var, head, field) \
usr/src/boot/sys/sys/queue.h
617
for ((var) = TAILQ_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
621
#define TAILQ_FOREACH_FROM(var, head, field) \
usr/src/boot/sys/sys/queue.h
622
for ((var) = ((var) ? (var) : TAILQ_FIRST((head))); \
usr/src/boot/sys/sys/queue.h
626
#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
usr/src/boot/sys/sys/queue.h
627
for ((var) = TAILQ_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
631
#define TAILQ_FOREACH_FROM_SAFE(var, head, field, tvar) \
usr/src/boot/sys/sys/queue.h
632
for ((var) = ((var) ? (var) : TAILQ_FIRST((head))); \
usr/src/boot/sys/sys/queue.h
636
#define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
usr/src/boot/sys/sys/queue.h
637
for ((var) = TAILQ_LAST((head), headname); \
usr/src/boot/sys/sys/queue.h
641
#define TAILQ_FOREACH_REVERSE_FROM(var, head, headname, field) \
usr/src/boot/sys/sys/queue.h
642
for ((var) = ((var) ? (var) : TAILQ_LAST((head), headname)); \
usr/src/boot/sys/sys/queue.h
646
#define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \
usr/src/boot/sys/sys/queue.h
647
for ((var) = TAILQ_LAST((head), headname); \
usr/src/boot/sys/sys/queue.h
651
#define TAILQ_FOREACH_REVERSE_FROM_SAFE(var, head, headname, field, tvar) \
usr/src/boot/sys/sys/queue.h
652
for ((var) = ((var) ? (var) : TAILQ_LAST((head), headname)); \
usr/src/boot/sys/sys/queue.h
656
#define TAILQ_INIT(head) do { \
usr/src/boot/sys/sys/queue.h
657
TAILQ_FIRST((head)) = NULL; \
usr/src/boot/sys/sys/queue.h
658
(head)->tqh_last = &TAILQ_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
659
QMD_TRACE_HEAD(head); \
usr/src/boot/sys/sys/queue.h
662
#define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
usr/src/boot/sys/sys/queue.h
668
(head)->tqh_last = &TAILQ_NEXT((elm), field); \
usr/src/boot/sys/sys/queue.h
669
QMD_TRACE_HEAD(head); \
usr/src/boot/sys/sys/queue.h
687
#define TAILQ_INSERT_HEAD(head, elm, field) do { \
usr/src/boot/sys/sys/queue.h
688
QMD_TAILQ_CHECK_HEAD(head, field); \
usr/src/boot/sys/sys/queue.h
689
if ((TAILQ_NEXT((elm), field) = TAILQ_FIRST((head))) != NULL) \
usr/src/boot/sys/sys/queue.h
690
TAILQ_FIRST((head))->field.tqe_prev = \
usr/src/boot/sys/sys/queue.h
693
(head)->tqh_last = &TAILQ_NEXT((elm), field); \
usr/src/boot/sys/sys/queue.h
694
TAILQ_FIRST((head)) = (elm); \
usr/src/boot/sys/sys/queue.h
695
(elm)->field.tqe_prev = &TAILQ_FIRST((head)); \
usr/src/boot/sys/sys/queue.h
696
QMD_TRACE_HEAD(head); \
usr/src/boot/sys/sys/queue.h
700
#define TAILQ_INSERT_TAIL(head, elm, field) do { \
usr/src/boot/sys/sys/queue.h
701
QMD_TAILQ_CHECK_TAIL(head, field); \
usr/src/boot/sys/sys/queue.h
703
(elm)->field.tqe_prev = (head)->tqh_last; \
usr/src/boot/sys/sys/queue.h
704
*(head)->tqh_last = (elm); \
usr/src/boot/sys/sys/queue.h
705
(head)->tqh_last = &TAILQ_NEXT((elm), field); \
usr/src/boot/sys/sys/queue.h
706
QMD_TRACE_HEAD(head); \
usr/src/boot/sys/sys/queue.h
710
#define TAILQ_LAST(head, headname) \
usr/src/boot/sys/sys/queue.h
711
(*(((struct headname *)((head)->tqh_last))->tqh_last))
usr/src/boot/sys/sys/queue.h
718
#define TAILQ_REMOVE(head, elm, field) do { \
usr/src/boot/sys/sys/queue.h
727
(head)->tqh_last = (elm)->field.tqe_prev; \
usr/src/boot/sys/sys/queue.h
728
QMD_TRACE_HEAD(head); \
usr/src/cmd/abi/appcert/static_prof/static_prof.c
1404
dt_list *head = p, *tail;
usr/src/cmd/abi/appcert/static_prof/static_prof.c
1406
if (!head)
usr/src/cmd/abi/appcert/static_prof/static_prof.c
1407
head = node;
usr/src/cmd/abi/appcert/static_prof/static_prof.c
1409
tail = head;
usr/src/cmd/abi/appcert/static_prof/static_prof.c
1412
return (head);
usr/src/cmd/abi/appcert/static_prof/static_prof.c
1418
return (head);
usr/src/cmd/abi/appcert/static_prof/static_prof.c
1423
return (head);
usr/src/cmd/ast/libshell/common/illumos_cmdlist.h
115
ASTCMDLIST(head)
usr/src/cmd/ast/libshell/common/illumos_cmdlist.h
116
BINCMDLIST(head)
usr/src/cmd/audio/include/AudioList.h
65
AudioListEntry head; // list head
usr/src/cmd/audio/utilities/AudioList.cc
124
return (head.next);
usr/src/cmd/audio/utilities/AudioList.cc
309
prev = &head; // this is the first extent
usr/src/cmd/audio/utilities/AudioList.cc
342
for (prev = &head; prev->next != 0; prev = prev->next)
usr/src/cmd/backup/restore/interactive.c
335
if (ap->head != ap->last) {
usr/src/cmd/backup/restore/interactive.c
336
(void) strncpy(name, ap->head->fname, namesiz);
usr/src/cmd/backup/restore/interactive.c
345
freename(ap->head->fname);
usr/src/cmd/backup/restore/interactive.c
346
ap->head++;
usr/src/cmd/backup/restore/interactive.c
433
(void) strcpy(name, ap->head->fname);
usr/src/cmd/backup/restore/interactive.c
436
freename(ap->head->fname);
usr/src/cmd/backup/restore/interactive.c
437
ap->head++;
usr/src/cmd/backup/restore/interactive.c
595
ap->head = ap->last = (struct afile *)0;
usr/src/cmd/backup/restore/interactive.c
606
ap->head = &single;
usr/src/cmd/backup/restore/interactive.c
607
ap->last = ap->head + 1;
usr/src/cmd/backup/restore/interactive.c
610
if ((ap->last - ap->head) > ULONG_MAX) {
usr/src/cmd/backup/restore/interactive.c
615
qsort((char *)ap->head, (size_t)(ap->last - ap->head),
usr/src/cmd/backup/restore/interactive.c
616
sizeof (*ap->head),
usr/src/cmd/backup/restore/interactive.c
641
alist.head = &single;
usr/src/cmd/backup/restore/interactive.c
642
alist.last = alist.head + 1;
usr/src/cmd/backup/restore/interactive.c
648
alist.head = (struct afile *)0;
usr/src/cmd/backup/restore/interactive.c
66
for (; alist.head < alist.last; alist.head++)
usr/src/cmd/backup/restore/interactive.c
67
freename(alist.head->fname);
usr/src/cmd/backup/restore/interactive.c
676
if (alist.head != 0) {
usr/src/cmd/backup/restore/interactive.c
677
if ((alist.last - alist.head) > ULONG_MAX) {
usr/src/cmd/backup/restore/interactive.c
681
qsort((char *)alist.head,
usr/src/cmd/backup/restore/interactive.c
683
(size_t)(alist.last - alist.head),
usr/src/cmd/backup/restore/interactive.c
684
sizeof (*alist.head),
usr/src/cmd/backup/restore/interactive.c
688
for (fp = alist.head; fp < alist.last; fp++)
usr/src/cmd/backup/restore/interactive.c
690
alist.head = NULL;
usr/src/cmd/backup/restore/interactive.c
711
int nentry = (int)(ap->last - ap->head);
usr/src/cmd/backup/restore/interactive.c
717
if (ap->head == ap->last)
usr/src/cmd/backup/restore/interactive.c
759
for (fp = ap->head; fp < ap->last; fp++) {
usr/src/cmd/backup/restore/interactive.c
777
fp = ap->head + j * lines + i;
usr/src/cmd/backup/restore/main.c
481
while ((alist.last - alist.head) > 0) {
usr/src/cmd/backup/restore/main.c
482
fname = alist.head->fname;
usr/src/cmd/backup/restore/main.c
490
alist.head++;
usr/src/cmd/backup/restore/main.c
492
alist.head = (struct afile *)NULL;
usr/src/cmd/backup/restore/restore.h
197
struct afile *head; /* start of argument list */
usr/src/cmd/backup/restore/tape.c
1182
metacheck(struct s_spcl *head)
usr/src/cmd/backup/restore/tape.c
1184
if (! (head->c_flags & DR_HASMETA))
usr/src/cmd/backup/restore/tape.c
1186
if ((metadata = malloc(metasize = (size_t)sizeof (head->c_shadow)))
usr/src/cmd/backup/restore/tape.c
1192
bcopy(&(head->c_shadow), metadata, metasize);
usr/src/cmd/backup/restore/utilities.c
782
if (ap->head == NULL)
usr/src/cmd/backup/restore/utilities.c
783
ap->head = ap->last = ap->base;
usr/src/cmd/backup/restore/utilities.c
788
if (fp == ap->head + ap->nent) {
usr/src/cmd/backup/restore/utilities.c
796
ap->head = ap->base;
usr/src/cmd/backup/restore/utilities.c
797
fp = ap->head + ap->nent;
usr/src/cmd/backup/restore/utilities.c
883
sindex = (int)(ap->last - ap->head);
usr/src/cmd/backup/restore/utilities.c
904
lindex = (int)(ap->last - ap->head);
usr/src/cmd/backup/restore/utilities.c
908
size = expand(ap->head[rindexa].fname,
usr/src/cmd/backup/restore/utilities.c
919
bcopy((void *)(&ap->head[lindex]),
usr/src/cmd/backup/restore/utilities.c
920
(void *)(&ap->head[sindex]),
usr/src/cmd/backup/restore/utilities.c
921
(size_t)((ap->last - &ap->head[rindexa])) *
usr/src/cmd/backup/restore/utilities.c
922
sizeof (*ap->head));
usr/src/cmd/bhyve/common/gdb.c
1684
uint8_t *head, *hash, *p, sum;
usr/src/cmd/bhyve/common/gdb.c
1691
head = io_buffer_head(&cur_comm);
usr/src/cmd/bhyve/common/gdb.c
1692
switch (*head) {
usr/src/cmd/bhyve/common/gdb.c
1734
hash = memchr(head, '#', avail);
usr/src/cmd/bhyve/common/gdb.c
1737
plen = (hash - head + 1) + 2;
usr/src/cmd/bhyve/common/gdb.c
1740
debug("<- %.*s\n", (int)plen, head);
usr/src/cmd/bhyve/common/gdb.c
1743
for (sum = 0, p = head + 1; p < hash; p++)
usr/src/cmd/bhyve/common/gdb.c
1754
handle_command(head + 1, hash - (head + 1));
usr/src/cmd/bhyve/common/gdb.c
1763
debug("-> %02x\n", *head);
usr/src/cmd/bhyve/common/pci_e82545.c
1061
e82545_transmit_done(struct e82545_softc *sc, uint16_t head, uint16_t tail,
usr/src/cmd/bhyve/common/pci_e82545.c
1066
for ( ; head != tail; head = (head + 1) % dsize) {
usr/src/cmd/bhyve/common/pci_e82545.c
1067
dsc = &sc->esc_txdesc[head];
usr/src/cmd/bhyve/common/pci_e82545.c
1076
e82545_transmit(struct e82545_softc *sc, uint16_t head, uint16_t tail,
usr/src/cmd/bhyve/common/pci_e82545.c
1097
ohead = head;
usr/src/cmd/bhyve/common/pci_e82545.c
1103
for (desc = 0; ; desc++, head = (head + 1) % dsize) {
usr/src/cmd/bhyve/common/pci_e82545.c
1104
if (head == tail) {
usr/src/cmd/bhyve/common/pci_e82545.c
1105
*rhead = head;
usr/src/cmd/bhyve/common/pci_e82545.c
1108
dsc = &sc->esc_txdesc[head];
usr/src/cmd/bhyve/common/pci_e82545.c
1116
head, dsc->td.buffer_addr,
usr/src/cmd/bhyve/common/pci_e82545.c
1123
head, dsc->td.upper.data, dsc->td.lower.data);
usr/src/cmd/bhyve/common/pci_e82545.c
1132
head, dsc->td.upper.data, dsc->td.lower.data);
usr/src/cmd/bhyve/common/pci_e82545.c
1142
head, dsc->td.upper.data, dsc->td.lower.data);
usr/src/cmd/bhyve/common/pci_e82545.c
1489
head = (head + 1) % dsize;
usr/src/cmd/bhyve/common/pci_e82545.c
1490
e82545_transmit_done(sc, ohead, head, dsize, tdwb);
usr/src/cmd/bhyve/common/pci_e82545.c
1492
*rhead = head;
usr/src/cmd/bhyve/common/pci_e82545.c
1500
uint16_t head, rhead, tail, size;
usr/src/cmd/bhyve/common/pci_e82545.c
1507
head = sc->esc_TDH % size;
usr/src/cmd/bhyve/common/pci_e82545.c
1513
rhead = head;
usr/src/cmd/bhyve/common/pci_e82545.c
1516
sent = e82545_transmit(sc, head, tail, size, &rhead, &tdwb);
usr/src/cmd/bhyve/common/pci_e82545.c
1519
head = rhead;
usr/src/cmd/bhyve/common/pci_e82545.c
1523
sc->esc_TDH = head;
usr/src/cmd/bhyve/common/pci_e82545.c
838
uint16_t *tp, tag, head;
usr/src/cmd/bhyve/common/pci_e82545.c
854
head = sc->esc_RDH;
usr/src/cmd/bhyve/common/pci_e82545.c
855
left = (size + sc->esc_RDT - head) % size;
usr/src/cmd/bhyve/common/pci_e82545.c
871
rxd = &sc->esc_rxdesc[(head + i) % size];
usr/src/cmd/bhyve/common/pci_e82545.c
894
len, n, head);
usr/src/cmd/bhyve/common/pci_e82545.c
913
rxd = &sc->esc_rxdesc[(head + i) % size];
usr/src/cmd/bhyve/common/pci_e82545.c
920
rxd = &sc->esc_rxdesc[(head + i) % size];
usr/src/cmd/bhyve/common/pci_e82545.c
937
head = (head + n) % size;
usr/src/cmd/bhyve/common/pci_e82545.c
947
sc->esc_RDH = head;
usr/src/cmd/bhyve/common/pci_e82545.c
949
left = (size + sc->esc_RDT - head) % size;
usr/src/cmd/bhyve/common/pci_nvme.c
1052
sc->submit_queues[i].head = 0;
usr/src/cmd/bhyve/common/pci_nvme.c
1061
sc->compl_queues[i].head = 0;
usr/src/cmd/bhyve/common/pci_nvme.c
1213
cqe->sqhd = sq->head;
usr/src/cmd/bhyve/common/pci_nvme.c
1280
nsq->head = nsq->tail = 0;
usr/src/cmd/bhyve/common/pci_nvme.c
1402
ncq->head = ncq->tail = 0;
usr/src/cmd/bhyve/common/pci_nvme.c
174
uint16_t head; /* guest progress */
usr/src/cmd/bhyve/common/pci_nvme.c
183
uint16_t head; /* nvme progress */
usr/src/cmd/bhyve/common/pci_nvme.c
2056
sqhead = sq->head;
usr/src/cmd/bhyve/common/pci_nvme.c
2147
sq->head = sqhead;
usr/src/cmd/bhyve/common/pci_nvme.c
2149
if (cq->head != cq->tail)
usr/src/cmd/bhyve/common/pci_nvme.c
2299
if (cq->head != cq->tail) {
usr/src/cmd/bhyve/common/pci_nvme.c
2748
sqhead = sq->head;
usr/src/cmd/bhyve/common/pci_nvme.c
2819
sq->head = sqhead;
usr/src/cmd/bhyve/common/pci_nvme.c
2839
if (sq->head == sq->tail)
usr/src/cmd/bhyve/common/pci_nvme.c
2841
else if (sq->head > sq->tail)
usr/src/cmd/bhyve/common/pci_nvme.c
2842
capacity = sq->size - (sq->head - sq->tail) - 1;
usr/src/cmd/bhyve/common/pci_nvme.c
2844
capacity = sq->tail - sq->head - 1;
usr/src/cmd/bhyve/common/pci_nvme.c
2849
__func__, sq->size, sq->head, sq->tail, capacity, value);
usr/src/cmd/bhyve/common/pci_nvme.c
2916
atomic_store_short(&sc->compl_queues[idx].head,
usr/src/cmd/bhyve/common/pci_xhci.c
1599
for (i = xfer->head; xfer->ndata > 0; ) {
usr/src/cmd/bhyve/common/pci_xhci.c
1612
xfer->head = i;
usr/src/cmd/bhyve/common/pci_xhci.c
1736
if (USB_DATA_GET_ERRCODE(&xfer->data[xfer->head]) ==
usr/src/cmd/bhyve/common/usb_emul.h
114
int head;
usr/src/cmd/bhyve/common/usb_emul.h
143
(x)->head = (x)->tail = 0; \
usr/src/cmd/bhyve/common/usb_mouse.c
333
idx = xfer->head;
usr/src/cmd/bhyve/common/usb_mouse.c
709
idx = xfer->head;
usr/src/cmd/bhyve/common/usb_mouse.c
740
USB_DATA_SET_ERRCODE(&xfer->data[xfer->head], USB_NAK);
usr/src/cmd/boot/bootadm/bootadm.c
10257
if (flistp->head == NULL)
usr/src/cmd/boot/bootadm/bootadm.c
10258
flistp->head = lp;
usr/src/cmd/boot/bootadm/bootadm.c
1783
flistp->head = flistp->tail = NULL;
usr/src/cmd/boot/bootadm/bootadm.c
1787
assert(flistp->head && flistp->tail);
usr/src/cmd/boot/bootadm/bootadm.c
1789
for (lp = flistp->head; lp; lp = lp->next) {
usr/src/cmd/boot/bootadm/bootadm.c
209
line_t *head;
usr/src/cmd/boot/bootadm/bootadm.c
2785
flistp->head = flistp->tail = NULL;
usr/src/cmd/boot/bootadm/bootadm.c
2849
if (flistp->head == NULL) {
usr/src/cmd/boot/bootadm/bootadm.c
3004
for (lp = flistp->head; lp; lp = lp->next) {
usr/src/cmd/boot/bootadm/bootadm.c
3137
flistp->head = flistp->tail = NULL;
usr/src/cmd/boot/bootadm/bootadm.c
3179
assert(flistp->head && flistp->tail);
usr/src/cmd/boot/bootadm/bootadm.c
3258
for (lp = flist.head; lp; lp = lp->next) {
usr/src/cmd/boot/bootadm/bootadm.c
3274
for (lp = flist.head; lp; lp = lp->next)
usr/src/cmd/boot/bootadm/bootadm.c
4458
INJECT_ERROR1("GET_CURR_CKSUM_OUTPUT", flist.head = NULL);
usr/src/cmd/boot/bootadm/bootadm.c
4459
if ((flist.head == NULL) || (flist.head != flist.tail)) {
usr/src/cmd/boot/bootadm/bootadm.c
4466
curr_cksum_str = strtok(flist.head->line, " \t");
usr/src/cmd/boot/bootadm/bootadm.c
6021
INJECT_ERROR1("Z_MOUNT_LEG_GET_MOUNTED_OUT", flist.head = NULL);
usr/src/cmd/boot/bootadm/bootadm.c
6022
if ((flist.head == NULL) || (flist.head != flist.tail)) {
usr/src/cmd/boot/bootadm/bootadm.c
6028
is_mounted = strtok(flist.head->line, " \t\n");
usr/src/cmd/boot/bootadm/bootadm.c
6117
if (flist.head && (flist.head == flist.tail)) {
usr/src/cmd/boot/bootadm/bootadm.c
6118
char *legacy = strtok(flist.head->line, " \t\n");
usr/src/cmd/boot/bootadm/bootadm.c
6142
INJECT_ERROR1("Z_MOUNT_TOP_NONLEG_GET_MOUNTED_VAL", flist.head = NULL);
usr/src/cmd/boot/bootadm/bootadm.c
6143
if ((flist.head == NULL) || (flist.head != flist.tail)) {
usr/src/cmd/boot/bootadm/bootadm.c
6149
is_mounted = strtok(flist.head->line, " \t\n");
usr/src/cmd/boot/bootadm/bootadm.c
6192
INJECT_ERROR1("Z_MOUNT_TOP_NONLEG_GET_MNTPT_OUT", flist.head = NULL);
usr/src/cmd/boot/bootadm/bootadm.c
6193
if ((flist.head == NULL) || (flist.head != flist.tail)) {
usr/src/cmd/boot/bootadm/bootadm.c
6198
mntpt = strtok(flist.head->line, " \t\n");
usr/src/cmd/boot/bootadm/bootadm.c
6329
INJECT_ERROR1("GET_POOL_FSTYP_OUT", flist.head = NULL);
usr/src/cmd/boot/bootadm/bootadm.c
6330
if ((flist.head == NULL) || (flist.head != flist.tail)) {
usr/src/cmd/boot/bootadm/bootadm.c
6336
(void) strtok(flist.head->line, "'");
usr/src/cmd/boot/bootadm/bootadm.c
6655
if ((flist.head == NULL) || (flist.head != flist.tail)) {
usr/src/cmd/boot/bootadm/bootadm.c
6663
fstype = strtok(flist.head->line, " \t\n");
usr/src/cmd/boot/bootadm/bootadm.c
8035
INJECT_ERROR1("ZFS_GET_PHYS_STATUS_OUT", flist.head = NULL);
usr/src/cmd/boot/bootadm/bootadm.c
8036
if (flist.head == NULL) {
usr/src/cmd/boot/bootadm/bootadm.c
8042
for (lp = flist.head; lp; lp = lp->next) {
usr/src/cmd/boot/bootadm/bootadm.c
8056
for (lp = flist.head; lp; lp = lp->next) {
usr/src/cmd/boot/bootadm/bootadm.c
9946
linelist_free(flistp->head);
usr/src/cmd/boot/bootadm/bootadm.c
9947
flistp->head = NULL;
usr/src/cmd/cdrw/bstream.c
552
uchar_t head[] = PRE_DEF_AU_HDR;
usr/src/cmd/cdrw/bstream.c
560
if (write(fd, head, PRE_DEF_AU_HDR_LEN) != PRE_DEF_AU_HDR_LEN) {
usr/src/cmd/cdrw/bstream.c
582
uchar_t head[] = PRE_DEF_WAV_HDR;
usr/src/cmd/cdrw/bstream.c
589
if (write(fd, head, PRE_DEF_WAV_HDR_LEN) != PRE_DEF_WAV_HDR_LEN) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
392
ipmgmt_aobjmap_t *head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
461
head = aobjmap.aobjmap_head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
462
for (; head; head = head->am_next) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
463
if (strcmp(head->am_aobjname, aobjname) != 0)
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
472
if (head->am_atype != IPADM_ADDR_IPV6_ADDRCONF ||
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
473
head->ipmgmt_am_linklocal) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
477
if (head == NULL) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
482
(void) strlcpy(aobjrval.ir_ifname, head->am_ifname,
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
484
aobjrval.ir_lnum = head->am_lnum;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
485
aobjrval.ir_family = head->am_family;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
486
aobjrval.ir_flags = head->am_flags;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
487
aobjrval.ir_atype = head->am_atype;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
488
aobjrval.ir_atype_cache = head->am_atype_cache;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
500
head = aobjmap.aobjmap_head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
501
for (; head; head = head->am_next) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
502
if (strcmp(head->am_ifname, ifname) == 0 &&
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
503
head->am_lnum == lnum &&
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
504
head->am_family == af) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
508
if (head == NULL) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
513
(void) strlcpy(aobjrval.ir_aobjname, head->am_aobjname,
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
515
aobjrval.ir_atype = head->am_atype;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
516
aobjrval.ir_flags = head->am_flags;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
517
aobjrval.ir_atype_cache = head->am_atype_cache;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
536
ipmgmt_aobjmap_t *head, *next, *prev;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
542
head = aobjmap.aobjmap_head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
543
for (; head; head = next) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
544
next = head->am_next;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
545
if (strcmp(head->am_ifname, ifname) != 0 ||
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
546
head->am_family != af) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
547
prev = head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
551
if (head->am_flags == (IPMGMT_ACTIVE|IPMGMT_PERSIST) &&
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
561
head->am_flags &= ~IPMGMT_ACTIVE;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
562
head->am_lnum = -1;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
571
(void) ipmgmt_persist_aobjmap(head, db_op);
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c
573
free(head);
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1040
ipmgmt_aobjmap_t *new, *head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1042
head = aobjmap.aobjmap_head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1049
if (head == NULL) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1095
ipmgmt_aobjmap_t *head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1098
for (head = aobjmap.aobjmap_head; head != NULL; head = head->am_next)
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1099
if (strcmp(head->am_ifname, nodep->am_ifname) == 0)
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1101
nextnum = (head == NULL ? 0 : head->am_nextnum);
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1124
for (head = aobjmap.aobjmap_head; head != NULL;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1125
head = head->am_next) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1126
if (strcmp(head->am_aobjname, nodep->am_aobjname) == 0)
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1144
ipmgmt_aobjmap_t *head, *prev, *matched = NULL;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1151
head = aobjmap.aobjmap_head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1158
for (; head != NULL; head = head->am_next) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1163
if (strcmp(head->am_aobjname,
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1165
(head->am_atype != IPADM_ADDR_IPV6_ADDRCONF ||
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1166
head->ipmgmt_am_linklocal ==
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1171
if (head != NULL) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1173
(void) strlcpy(head->am_ifname, nodep->am_ifname,
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1174
sizeof (head->am_ifname));
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1175
head->am_lnum = nodep->am_lnum;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1176
head->am_family = nodep->am_family;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1177
head->am_flags = nodep->am_flags;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1178
head->am_atype = nodep->am_atype;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1179
head->am_atype_cache = nodep->am_atype_cache;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1181
for (head = aobjmap.aobjmap_head; head != NULL;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1182
head = head->am_next) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1183
if (strcmp(head->am_ifname,
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1187
nodep->am_nextnum = (head == NULL ? 0 :
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1188
head->am_nextnum);
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1194
prev = head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1195
while (head != NULL) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1196
if (strcmp(head->am_aobjname,
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1198
nodep->am_atype = head->am_atype;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1204
if (head->am_atype !=
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1206
nodep->am_lnum == head->am_lnum)
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1209
prev = head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1210
head = head->am_next;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1212
if (head != NULL) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1221
if (head->am_flags == (IPMGMT_ACTIVE|IPMGMT_PERSIST) &&
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1224
head->am_flags &= ~IPMGMT_ACTIVE;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1225
head->am_lnum = -1;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1229
*nodep = *head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1232
head->am_ifname,
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1235
if (head == aobjmap.aobjmap_head)
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1236
aobjmap.aobjmap_head = head->am_next;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1238
prev->am_next = head->am_next;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1239
free(head);
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1252
for (; head != NULL; head = head->am_next) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1253
if (strcmp(head->am_ifname,
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1255
head->am_family == nodep->am_family &&
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1256
head->am_lnum == nodep->am_lnum) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1260
if (strcmp(head->am_aobjname,
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
1262
matched = head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
858
ipmgmt_aobjmap_t *head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
910
head = aobjmap.aobjmap_head;
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
911
while (head != NULL) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
912
if (strcmp(head->am_aobjname, aobjname) == 0) {
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
914
if (head->am_family == cbarg->cb_family)
usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_persist.c
917
head = head->am_next;
usr/src/cmd/cmd-inet/sbin/dhcpagent/packet.c
812
free_pkt_list(PKT_LIST **head)
usr/src/cmd/cmd-inet/sbin/dhcpagent/packet.c
816
while ((plp = *head) != NULL) {
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
6407
sctp_conn_report_item(const mib_item_t *head, boolean_t print_sctp_hdr,
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
6415
const mib_item_t *local = head;
usr/src/cmd/cmd-inet/usr.bin/netstat/netstat.c
6416
const mib_item_t *remote = head;
usr/src/cmd/cmd-inet/usr.bin/pppdump/zlib.c
1148
p = &s->head[n];
usr/src/cmd/cmd-inet/usr.bin/pppdump/zlib.c
255
Posf *head; /* Heads of the hash chains or NIL. */
usr/src/cmd/cmd-inet/usr.bin/pppdump/zlib.c
567
s->prev[(str) & s->w_mask] = match_head = s->head[s->ins_h], \
usr/src/cmd/cmd-inet/usr.bin/pppdump/zlib.c
568
s->head[s->ins_h] = (str))
usr/src/cmd/cmd-inet/usr.bin/pppdump/zlib.c
575
s->head[s->hash_size-1] = NIL; \
usr/src/cmd/cmd-inet/usr.bin/pppdump/zlib.c
576
zmemzero((charf *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head));
usr/src/cmd/cmd-inet/usr.bin/pppdump/zlib.c
635
s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
usr/src/cmd/cmd-inet/usr.bin/pppdump/zlib.c
641
if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
usr/src/cmd/cmd-inet/usr.bin/pppdump/zlib.c
863
TRY_FREE(strm, state->head, state->hash_size * sizeof(Pos));
usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c
172
link_in(void **head, void *strp, size_t loffs)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c
178
hlp->hl_prev = head;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c
179
if ((hlp->hl_next = *head) != NULL) {
usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c
181
((struct hlinkage *)((char *)*head + loffs))->hl_prev =
usr/src/cmd/cmd-inet/usr.sbin/in.routed/if.c
184
*head = strp;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
113
rn_search(void *v_arg, struct radix_node *head)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
118
for (x = head, v = v_arg; x->rn_b >= 0; ) {
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
128
rn_search_m(void *v_arg, struct radix_node *head, void *m_arg)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
133
for (x = head; x->rn_b >= 0; ) {
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
167
rn_lookup(void *v_arg, void *m_arg, struct radix_node_head *head)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
173
if ((x = rn_addmask(m_arg, 1, head->rnh_treetop->rn_off)) ==
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
180
x = rn_match(v_arg, head);
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
216
rn_match(void *v_arg, struct radix_node_head *head)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
219
struct radix_node *t = head->rnh_treetop, *x;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
356
rn_insert(void* v_arg, struct radix_node_head *head, boolean_t *dupentry,
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
360
struct radix_node *top = head->rnh_treetop;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
542
rn_addroute(void *v_arg, void *n_arg, struct radix_node_head *head,
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
547
struct radix_node *saved_tt, *top = head->rnh_treetop;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
572
saved_tt = tt = rn_insert(v, head, &keyduplicated, treenodes);
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
707
rn_delete(void *v_arg, void *netmask_arg, struct radix_node_head *head)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
718
x = head->rnh_treetop;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
952
rn_inithead(void **head, uint_t off)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
956
if (*head)
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.c
960
*head = rnh;
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.h
121
(void *v, void *mask, struct radix_node_head *head,
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.h
124
(void *v, void *mask, struct radix_node_head *head,
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.h
127
(void *v, void *mask, struct radix_node_head *head);
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.h
129
(void *v, void *mask, struct radix_node_head *head);
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.h
131
(void *v, struct radix_node_head *head);
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.h
133
(void *v, void *mask, struct radix_node_head *head);
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.h
135
(void *v, struct radix_node_head *head);
usr/src/cmd/cmd-inet/usr.sbin/in.routed/radix.h
137
int (*rnh_walktree)(struct radix_node_head *head,
usr/src/cmd/cmd-inet/usr.sbin/ping/ping.c
749
struct targetaddr *head = NULL;
usr/src/cmd/cmd-inet/usr.sbin/ping/ping.c
762
nextp = &head;
usr/src/cmd/cmd-inet/usr.sbin/ping/ping.c
779
*nextp = head; /* keep going indefinitely */
usr/src/cmd/cmd-inet/usr.sbin/ping/ping.c
781
return (head);
usr/src/cmd/cmd-inet/usr.sbin/snoop/ntp.h
157
struct ntp_peer *head;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_dns.c
501
HEADER *head;
usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_dns.c
543
rcode += headptr.head->rcode; /* And pluck out the rcode. */
usr/src/cmd/cpio/cpio.c
348
sl_info_t *head;
usr/src/cmd/cpio/cpio.c
9099
sl_info_t *head;
usr/src/cmd/cpio/cpio.c
9107
head = sl_devhash_lookup(device);
usr/src/cmd/cpio/cpio.c
9109
if (head == NULL) {
usr/src/cmd/cpio/cpio.c
9110
head = sl_info_alloc();
usr/src/cmd/cpio/cpio.c
9111
head->llink = NULL;
usr/src/cmd/cpio/cpio.c
9112
head->bal = 0;
usr/src/cmd/cpio/cpio.c
9114
p = head->rlink = sl_info_alloc();
usr/src/cmd/cpio/cpio.c
9121
sl_devhash_insert(device, head);
usr/src/cmd/cpio/cpio.c
9125
t = head;
usr/src/cmd/cpio/cpio.c
9126
s = p = head->rlink;
usr/src/cmd/cpio/cpio.c
9216
head->llink = (sl_info_t *)((intptr_t)head->llink + 1);
usr/src/cmd/cpio/cpio.c
9633
sl_info_t *head;
usr/src/cmd/cpio/cpio.c
9635
head = sl_devhash_lookup(device);
usr/src/cmd/cpio/cpio.c
9636
if (head != NULL) {
usr/src/cmd/cpio/cpio.c
9637
for (p = head->rlink; p; ) {
usr/src/cmd/cpio/cpio.c
9661
return (devcache->head);
usr/src/cmd/cpio/cpio.c
9668
return (lp->head);
usr/src/cmd/cpio/cpio.c
9675
sl_devhash_insert(dev_t device, sl_info_t *head)
usr/src/cmd/cpio/cpio.c
9682
lp->head = head;
usr/src/cmd/csh/sh.set.c
379
value1(tchar *var, struct varent *head)
usr/src/cmd/csh/sh.set.c
386
vp = adrof1(var, head);
usr/src/cmd/csh/sh.set.c
442
set1(tchar *var, tchar **vec, struct varent *head)
usr/src/cmd/csh/sh.set.c
469
setq(var, vec, head);
usr/src/cmd/csh/sh.set.c
520
unset1(tchar *v[], struct varent *head)
usr/src/cmd/csh/sh.set.c
530
while (vp = madrof(*v, head->v_left))
usr/src/cmd/dcs/sparc/sun4u/ri_init.c
1697
dev_list_append(ri_dev_t **head, ri_dev_t *dev)
usr/src/cmd/dcs/sparc/sun4u/ri_init.c
1701
if ((tmp = *head) == NULL) {
usr/src/cmd/dcs/sparc/sun4u/ri_init.c
1702
*head = dev;
usr/src/cmd/dd/dd.c
1863
const char *head = "";
usr/src/cmd/dd/dd.c
1899
head = "\r";
usr/src/cmd/dd/dd.c
1948
"(%siB/sec)%s"), head, obytes, hobytes, secs, bps, tail);
usr/src/cmd/devfsadm/cfg_link.c
929
#define headlen (sizeof (head) - 1)
usr/src/cmd/devfsadm/cfg_link.c
939
(void) strcpy(np, head);
usr/src/cmd/devfsadm/devfsadm.c
1070
assert((dep->head == NULL) ^ (dep->tail != NULL));
usr/src/cmd/devfsadm/devfsadm.c
1073
for (smp = NULL, mp = dep->head; mp; mp = mp->next) {
usr/src/cmd/devfsadm/devfsadm.c
1865
if (cdep != NULL && cdep->head != NULL) {
usr/src/cmd/devfsadm/devfsadm.c
1996
assert(dep->head == NULL || dep->tail != NULL);
usr/src/cmd/devfsadm/devfsadm.c
1997
if (dep->head == NULL) {
usr/src/cmd/devfsadm/devfsadm.c
1998
dep->head = mp;
usr/src/cmd/devfsadm/devfsadm.c
3308
linkhead_t *head;
usr/src/cmd/devfsadm/devfsadm.c
3342
head = get_cached_links(dir_re);
usr/src/cmd/devfsadm/devfsadm.c
3344
assert(head->nextlink == NULL);
usr/src/cmd/devfsadm/devfsadm.c
3346
for (link = head->link; link != NULL; link = head->nextlink) {
usr/src/cmd/devfsadm/devfsadm.c
3350
head->nextlink = link->next;
usr/src/cmd/devfsadm/devfsadm.c
4246
linkhead_t *head;
usr/src/cmd/devfsadm/devfsadm.c
4277
head = get_cached_links(rm->remove->dev_dirs_re);
usr/src/cmd/devfsadm/devfsadm.c
4278
assert(head->nextlink == NULL);
usr/src/cmd/devfsadm/devfsadm.c
4279
for (link = head->link;
usr/src/cmd/devfsadm/devfsadm.c
4280
link != NULL; link = head->nextlink) {
usr/src/cmd/devfsadm/devfsadm.c
4291
head->nextlink = link->next;
usr/src/cmd/devfsadm/devfsadm.c
5312
temp_t *head = NULL;
usr/src/cmd/devfsadm/devfsadm.c
5365
previous = &head;
usr/src/cmd/devfsadm/devfsadm.c
5366
for (ptr = head; ptr != NULL; ptr = ptr->next) {
usr/src/cmd/devfsadm/devfsadm.c
5380
for (ptr = head; ptr != NULL; ptr = ptr->next) {
usr/src/cmd/devfsadm/devfsadm.c
5392
for (ptr = head; ptr != NULL; ) {
usr/src/cmd/devfsadm/devfsadm.c
6466
link_list_t *head = NULL;
usr/src/cmd/devfsadm/devfsadm.c
6534
for (ptr = &head; *ptr != NULL; ptr = &((*ptr)->next))
usr/src/cmd/devfsadm/devfsadm.c
6541
return (head);
usr/src/cmd/devfsadm/devfsadm.c
6545
free_link_list(head);
usr/src/cmd/devfsadm/devfsadm.c
6898
free_selector_list(selector_list_t *head)
usr/src/cmd/devfsadm/devfsadm.c
6902
while (head != NULL) {
usr/src/cmd/devfsadm/devfsadm.c
6903
temp = head;
usr/src/cmd/devfsadm/devfsadm.c
6904
head = head->next;
usr/src/cmd/devfsadm/devfsadm.c
6911
free_link_list(link_list_t *head)
usr/src/cmd/devfsadm/devfsadm.c
6915
while (head != NULL) {
usr/src/cmd/devfsadm/devfsadm.c
6916
temp = head;
usr/src/cmd/devfsadm/devfsadm.c
6917
head = head->next;
usr/src/cmd/devfsadm/devfsadm.c
8642
devfsadm_reserve_id_cache(devlink_re_t re_array[], enumerate_file_t *head)
usr/src/cmd/devfsadm/devfsadm.c
8672
entry = head ? head : enumerate_reserved;
usr/src/cmd/devfsadm/devfsadm.c
8692
if (head) {
usr/src/cmd/devfsadm/devfsadm.c
8711
entry = head ? head : enumerate_reserved;
usr/src/cmd/devfsadm/devfsadm.c
8715
if (head) {
usr/src/cmd/devfsadm/devfsadm.h
251
int devfsadm_reserve_id_cache(devlink_re_t re_array[], enumerate_file_t *head);
usr/src/cmd/devfsadm/devfsadm_impl.h
266
struct minor *head;
usr/src/cmd/devfsadm/devfsadm_impl.h
375
static void free_link_list(link_list_t *head);
usr/src/cmd/devfsadm/devfsadm_impl.h
376
static void free_selector_list(selector_list_t *head);
usr/src/cmd/devfsadm/disk_link.c
786
dvlist_t *head;
usr/src/cmd/devfsadm/disk_link.c
813
head = NULL;
usr/src/cmd/devfsadm/disk_link.c
815
DI_PRIMARY_LINK, &head, dvlink_cb);
usr/src/cmd/devfsadm/disk_link.c
821
if (head == NULL && (*mn == *(MN_SMI) ||
usr/src/cmd/devfsadm/disk_link.c
835
phys_path, DI_PRIMARY_LINK, &head, dvlink_cb);
usr/src/cmd/devfsadm/disk_link.c
838
if (head == NULL) {
usr/src/cmd/devfsadm/disk_link.c
851
if (!devfsadm_is_reserved(disks_re_array, head->dv_link)) {
usr/src/cmd/devfsadm/disk_link.c
854
"are NOT reserved\n", modname, head->dv_link);
usr/src/cmd/devfsadm/disk_link.c
855
free_dvlist(&head);
usr/src/cmd/devfsadm/disk_link.c
860
"reserved list\n", modname, head->dv_link);
usr/src/cmd/devfsadm/disk_link.c
867
for (entry = head; entry; entry = entry->dv_next) {
usr/src/cmd/devfsadm/disk_link.c
902
free_dvlist(&head);
usr/src/cmd/fdisk/fdisk.c
5429
logical_drive_t *head = fdisk_get_ld_head(epp);
usr/src/cmd/fdisk/fdisk.c
5439
for (temp = head, pno = 5; temp != NULL; temp = temp->next, pno++) {
usr/src/cmd/fm/fmadm/common/faulty.c
1291
char *head;
usr/src/cmd/fm/fmadm/common/faulty.c
1296
head = "--------------- "
usr/src/cmd/fm/fmadm/common/faulty.c
1305
head = "--------------- "
usr/src/cmd/fm/fmadm/common/faulty.c
1314
(void) printf("%s\n", dgettext("FMD", head));
usr/src/cmd/fm/fmdump/common/fmdump.c
629
struct loglink *head = NULL;
usr/src/cmd/fm/fmdump/common/fmdump.c
661
addlink(&head, dirname, dp->d_name, -1);
usr/src/cmd/fm/fmdump/common/fmdump.c
664
addlink(&head, dirname, dp->d_name, suffix);
usr/src/cmd/fm/fmdump/common/fmdump.c
669
return (head);
usr/src/cmd/fm/modules/common/eversholt/eval.c
601
if (arrowp->head->myevent->count == 0) {
usr/src/cmd/fm/modules/common/eversholt/eval.c
648
if (!(arrowp->head->myevent->cached_state & REQMNTS_CREDIBLE))
usr/src/cmd/fm/modules/common/eversholt/eval.c
716
if (!(arrowp->head->myevent->cached_state & REQMNTS_CREDIBLE))
usr/src/cmd/fm/modules/common/eversholt/eval.c
806
if (arrowp->head->myevent->count == 0) {
usr/src/cmd/fm/modules/common/eversholt/eval.c
873
if (arrowp->head->myevent->count == 0) {
usr/src/cmd/fm/modules/common/eversholt/fme.c
3639
struct event *ep2 = ap->arrowp->head->myevent;
usr/src/cmd/fm/modules/common/eversholt/fme.c
3960
ep2 = ap->arrowp->head->myevent;
usr/src/cmd/fm/modules/common/eversholt/fme.c
3979
ep2 = ap->arrowp->head->myevent;
usr/src/cmd/fm/modules/common/eversholt/ipath.c
153
ipp = arrowp->head->myevent->ipp_un;
usr/src/cmd/fm/modules/common/eversholt/itree.c
1524
arrowp->head = tobp;
usr/src/cmd/fm/modules/common/eversholt/itree.c
1644
ASSERT(ap->arrowp->head == bp);
usr/src/cmd/fm/modules/common/eversholt/itree.c
1657
ASSERT(ap->arrowp->head != NULL);
usr/src/cmd/fm/modules/common/eversholt/itree.c
1658
ASSERT(ap->arrowp->head->myevent != NULL);
usr/src/cmd/fm/modules/common/eversholt/itree.c
1661
itree_pevent_brief(flags, ap->arrowp->head->myevent);
usr/src/cmd/fm/modules/common/eversholt/itree.c
194
arrowp->head = G.tobp;
usr/src/cmd/fm/modules/common/eversholt/itree.c
2065
itree_delete_arrow(al->arrowp->head, al->arrowp);
usr/src/cmd/fm/modules/common/eversholt/itree.h
107
struct bubble *head;
usr/src/cmd/fm/modules/common/eversholt/platform.c
1270
arrowp->head->myevent->enode->u.event.ename->u.name.s,
usr/src/cmd/fm/modules/common/eversholt/platform.c
1271
arrowp->head->myevent->ipp);
usr/src/cmd/fm/modules/common/eversholt/platform.c
1273
if (arrowp->head->myevent->enode->file == NULL) {
usr/src/cmd/fm/modules/common/eversholt/platform.c
1277
envvalues[2] = STRDUP(arrowp->head->myevent->enode->file);
usr/src/cmd/fm/modules/common/eversholt/platform.c
1282
arrowp->head->myevent->enode->line);
usr/src/cmd/format/ctlr_ata.c
295
new_defect->head =
usr/src/cmd/format/ctlr_ata.c
478
(uint_t)chs2bn(dlist->cyl, dlist->head, dlist->sect);
usr/src/cmd/format/ctlr_scsi.c
1831
new_defect->head = old_defect->head;
usr/src/cmd/format/ctlr_scsi.c
1863
(old_defect->head == old_defect1->head) &&
usr/src/cmd/format/defect.c
119
for (head = 0; head < LISTCOUNT; head++) {
usr/src/cmd/format/defect.c
124
(diskaddr_t)chs2bn(ncyl + 1, head, 0), 1,
usr/src/cmd/format/defect.c
142
(diskaddr_t)chs2bn(ncyl + 1, head, 1), size,
usr/src/cmd/format/defect.c
179
head = bt->bt_trksec >> 8;
usr/src/cmd/format/defect.c
180
if ((bt->bt_cyl >= pcyl) || (head >= nhead) ||
usr/src/cmd/format/defect.c
181
((bt->bt_trksec & 0xff) >= sectors(head))) {
usr/src/cmd/format/defect.c
245
fmt_print("%4d%8d%7d", num, def->cyl, def->head);
usr/src/cmd/format/defect.c
258
fmt_print("%8llu", chs2bn(def->cyl, def->head, def->sect));
usr/src/cmd/format/defect.c
300
if (def->head < ptr->head)
usr/src/cmd/format/defect.c
302
if (def->head != ptr->head)
usr/src/cmd/format/defect.c
322
int size, head, status;
usr/src/cmd/format/defect.c
360
for (head = 0; head < LISTCOUNT; head++) {
usr/src/cmd/format/defect.c
362
(diskaddr_t)chs2bn(ncyl + 1, head, 0), 1,
usr/src/cmd/format/defect.c
370
(diskaddr_t)chs2bn(ncyl + 1, head, 1), size,
usr/src/cmd/format/defect.c
417
def.head = bn2h(blkno);
usr/src/cmd/format/defect.c
71
int size, head;
usr/src/cmd/format/defect.h
57
short head;
usr/src/cmd/format/io.c
317
int cyl, head, sect;
usr/src/cmd/format/io.c
379
if (geti(buf, &head, &wild))
usr/src/cmd/format/io.c
381
if ((head < 0) || (head >= nhead)) {
usr/src/cmd/format/io.c
382
err_print("`%d' is out of range [0-%u].\n", head, nhead - 1);
usr/src/cmd/format/io.c
389
wild = sectors(head) - 1;
usr/src/cmd/format/io.c
392
if ((sect < 0) || (sect >= sectors(head))) {
usr/src/cmd/format/io.c
394
sectors(head) - 1);
usr/src/cmd/format/io.c
400
*iptr = chs2bn(cyl, head, sect);
usr/src/cmd/format/label.c
255
int error = 0, head, sec;
usr/src/cmd/format/label.c
423
head = 2;
usr/src/cmd/format/label.c
425
head = nhead - 1;
usr/src/cmd/format/label.c
433
((chs2bn(ncyl + acyl - 1, head, sec))
usr/src/cmd/format/menu_command.c
1872
int sec, head, i;
usr/src/cmd/format/menu_command.c
1924
head = 2;
usr/src/cmd/format/menu_command.c
1926
head = nhead - 1;
usr/src/cmd/format/menu_command.c
1932
bn = chs2bn(ncyl + acyl - 1, head, sec) + solaris_offset;
usr/src/cmd/format/menu_command.c
2120
int sec, head, i, status;
usr/src/cmd/format/menu_command.c
2194
head = 2;
usr/src/cmd/format/menu_command.c
2196
head = nhead - 1;
usr/src/cmd/format/menu_command.c
2204
bn = chs2bn(ncyl + acyl - 1, head, sec) + solaris_offset;
usr/src/cmd/format/menu_defect.c
290
def.head = bn2h(bn);
usr/src/cmd/format/menu_defect.c
304
def.head = input(FIO_INT, "Enter defect's head number",
usr/src/cmd/format/menu_defect.c
580
i+1, dptr->cyl, dptr->head,
usr/src/cmd/format/menu_defect.c
702
&dptr->head, &dptr->bfi, &dptr->nbits, &dptr->sect);
usr/src/cmd/fs.d/autofs/auto_subr.c
809
btree_lookup(struct dir_entry *head, char *name)
usr/src/cmd/fs.d/autofs/auto_subr.c
814
for (p = head; p != NULL; ) {
usr/src/cmd/fs.d/autofs/auto_subr.c
830
btree_enter(struct dir_entry **head, struct dir_entry *ent)
usr/src/cmd/fs.d/autofs/auto_subr.c
836
if (*head == NULL) {
usr/src/cmd/fs.d/autofs/auto_subr.c
837
*head = ent;
usr/src/cmd/fs.d/autofs/auto_subr.c
841
for (p = *head; p != NULL; ) {
usr/src/cmd/fs.d/autofs/autod_nfs.c
1216
prevhead = head;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1218
if (!head)
usr/src/cmd/fs.d/autofs/autod_nfs.c
1219
head = tail = argp;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1274
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1307
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1334
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1371
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1386
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1415
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1431
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1485
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1503
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1533
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1568
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1623
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1658
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1705
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1743
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1777
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1850
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1887
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
1941
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
2005
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
2077
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
2152
head = prevhead;
usr/src/cmd/fs.d/autofs/autod_nfs.c
2343
head, sizeof (*head), mopts, MAX_MNTOPT_STR) < 0) {
usr/src/cmd/fs.d/autofs/autod_nfs.c
2376
alp->action.action_list_entry_u.mounta.dataptr = (char *)head;
usr/src/cmd/fs.d/autofs/autod_nfs.c
2378
sizeof (*head);
usr/src/cmd/fs.d/autofs/autod_nfs.c
2390
argp = head;
usr/src/cmd/fs.d/autofs/autod_nfs.c
2405
head = argp;
usr/src/cmd/fs.d/autofs/autod_nfs.c
2407
free(head);
usr/src/cmd/fs.d/autofs/autod_nfs.c
644
struct nfs_args *argp = NULL, *head = NULL, *tail = NULL,
usr/src/cmd/fs.d/autofs/autod_readdir.c
424
free_offset_tbl(struct off_tbl *head)
usr/src/cmd/fs.d/autofs/autod_readdir.c
428
for (p = head; p != NULL; p = next) {
usr/src/cmd/fs.d/autofs/autod_readdir.c
438
free_dir_list(struct dir_entry *head)
usr/src/cmd/fs.d/autofs/autod_readdir.c
442
for (p = head; p != NULL; p = next) {
usr/src/cmd/fs.d/autofs/autod_readdir.c
54
static void free_offset_tbl(struct off_tbl *head);
usr/src/cmd/fs.d/autofs/autod_readdir.c
55
static void free_dir_list(struct dir_entry *head);
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
210
struct logtab_ent_list *head = NULL, *tail = NULL, *tmpl;
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
240
if (head == NULL) {
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
244
head = tail = tmpl;
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
271
for (tmpl = head; tmpl != NULL; tmpl = tmpl->lel_next)
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
275
logtab_ent_list_free(head);
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
294
struct logtab_ent_list *lelp, *head = NULL, *tail = NULL;
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
323
if (head == NULL) {
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
327
head = tail = lelp;
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
354
for (lelp = head; lelp != NULL; lelp = lelp->lel_next)
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
358
logtab_ent_list_free(head);
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
399
logtab_ent_list_free(struct logtab_ent_list *head)
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
403
if (head == NULL)
usr/src/cmd/fs.d/nfs/lib/nfslogtab.c
406
for (lelp = head; lelp != NULL; lelp = next) {
usr/src/cmd/fs.d/nfs/mountd/mountd.c
2116
char *head, *p, *val;
usr/src/cmd/fs.d/nfs/mountd/mountd.c
2121
head = strdup(opts);
usr/src/cmd/fs.d/nfs/mountd/mountd.c
2122
if (head == NULL) {
usr/src/cmd/fs.d/nfs/mountd/mountd.c
2127
p = head;
usr/src/cmd/fs.d/nfs/mountd/mountd.c
2130
free(head);
usr/src/cmd/fs.d/nfs/mountd/mountd.c
2135
free(head);
usr/src/cmd/fs.d/nfs/nfslog/nfslogd.c
703
} *head, *next, *p;
usr/src/cmd/fs.d/nfs/nfslog/nfslogd.c
705
head = (struct list *)(*list);
usr/src/cmd/fs.d/nfs/nfslog/nfslogd.c
710
for (p = head; p != NULL; p = next) {
usr/src/cmd/fs.d/nfs/nfslog/nfslogd.c
714
head = NULL;
usr/src/cmd/fs.d/nfs/nfslog/nfslogd.c
720
for (p = head; p != NULL; p = p->next) {
usr/src/cmd/fs.d/nfs/nfslog/nfslogd.c
737
p->next = head;
usr/src/cmd/fs.d/nfs/nfslog/nfslogd.c
738
head = p;
usr/src/cmd/fs.d/ufs/mkfs/mkfs.c
2971
if (bufhead->head == NULL) {
usr/src/cmd/fs.d/ufs/mkfs/mkfs.c
2999
bufhead->head = bufhead;
usr/src/cmd/fs.d/ufs/mkfs/mkfs.c
3002
pbuf->head = bufhead;
usr/src/cmd/fs.d/ufs/mkfs/mkfs.c
3050
bufhead = pbuf->head;
usr/src/cmd/fs.d/ufs/mkfs/mkfs.c
372
struct bufhdr *head;
usr/src/cmd/halt/halt.c
1005
char *head, *newarg;
usr/src/cmd/halt/halt.c
1029
head = &bootargs_scratch[0];
usr/src/cmd/halt/halt.c
1128
rootlen = (newarg) ? (newarg - head) : buflen;
usr/src/cmd/halt/halt.c
1161
rootlen = (newarg) ? (newarg - head) : buflen;
usr/src/cmd/hotplugd/hotplugd_info.c
217
(void) hp_fini(children.head);
usr/src/cmd/hotplugd/hotplugd_info.c
224
self->hp_child = children.head;
usr/src/cmd/hotplugd/hotplugd_info.c
350
node->hp_child = ports.head;
usr/src/cmd/hotplugd/hotplugd_info.c
354
if (connections.head == NULL)
usr/src/cmd/hotplugd/hotplugd_info.c
356
*retp = connections.head;
usr/src/cmd/hotplugd/hotplugd_info.c
360
(void) hp_fini(ports.head);
usr/src/cmd/hotplugd/hotplugd_info.c
361
(void) hp_fini(connections.head);
usr/src/cmd/hotplugd/hotplugd_info.c
42
hp_node_t head;
usr/src/cmd/hotplugd/hotplugd_info.c
445
listp->head = node;
usr/src/cmd/ipf/tools/ipf_y.y
278
with keep head group
usr/src/cmd/ipf/tools/ipf_y.y
502
head: | IPFY_HEAD YY_STR { DOALL(strncpy(fr->fr_grhead, $2, \
usr/src/cmd/keyserv/keyserv_cache.c
677
struct cachekey_disklist **head,
usr/src/cmd/keyserv/keyserv_cache.c
685
*head = item->next;
usr/src/cmd/keyserv/keyserv_cache.c
706
struct cachekey_disklist **head,
usr/src/cmd/keyserv/keyserv_cache.c
714
*head = item->nexthash;
usr/src/cmd/keyserv/keyserv_cache.c
735
struct cachekey_disklist **head,
usr/src/cmd/keyserv/keyserv_cache.c
748
if (*head == 0)
usr/src/cmd/keyserv/keyserv_cache.c
749
*head = item;
usr/src/cmd/keyserv/keyserv_cache.c
751
item->next = *head;
usr/src/cmd/keyserv/keyserv_cache.c
755
*head = item;
usr/src/cmd/keyserv/keyserv_cache.c
764
struct cachekey_disklist **head,
usr/src/cmd/keyserv/keyserv_cache.c
777
if (*head == 0)
usr/src/cmd/keyserv/keyserv_cache.c
778
*head = item;
usr/src/cmd/keyserv/keyserv_cache.c
780
item->nexthash = *head;
usr/src/cmd/keyserv/keyserv_cache.c
784
*head = item;
usr/src/cmd/kvmstat/kvmstat.c
121
kstat_instances_update(kstat_ctl_t *kcp, kstat_instance_t **head,
usr/src/cmd/kvmstat/kvmstat.c
129
if ((kid = kstat_chain_update(kcp)) == 0 && *head != NULL)
usr/src/cmd/kvmstat/kvmstat.c
135
for (ksi = *head; ksi != NULL; ksi = ksi->ksi_next)
usr/src/cmd/kvmstat/kvmstat.c
149
for (ksi = *head; ksi != NULL; ksi = ksi->ksi_next) {
usr/src/cmd/kvmstat/kvmstat.c
176
assert(*head == NULL);
usr/src/cmd/kvmstat/kvmstat.c
177
*head = ksi;
usr/src/cmd/kvmstat/kvmstat.c
193
for (ksi = *head; ksi != NULL; ksi = next) {
usr/src/cmd/kvmstat/kvmstat.c
204
*head = NULL;
usr/src/cmd/kvmstat/kvmstat.c
211
*head = sorted[0];
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1161
getldap_get_server_stat(server_info_t *head, char **output,
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1181
if (head == NULL) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1204
for (info = head; info; info = info->next) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1445
getldap_set_refresh_ttl(server_info_t *head, int *refresh_ttl,
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1470
if (!head || !refresh_ttl || !no_gd_server) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
1538
for (info = head; info; info = info->next) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
169
static int getldap_destroy_serverInfo(server_info_t *head);
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
170
static void test_server_change(server_info_t *head);
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
172
static ns_server_status_t set_server_status(char *input, server_info_t *head);
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
2747
test_server_change(server_info_t *head)
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
2756
for (info = head; info; info = info->next) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
2785
for (info = head; info; info = info->next) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
2934
set_server_status(char *input, server_info_t *head)
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
2940
for (info = head; info != NULL; info = info->next) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
654
getldap_init_serverInfo(server_info_t **head)
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
661
*head = NULL;
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
683
*head = info;
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
730
if (head && *head) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
731
(void) getldap_destroy_serverInfo(*head);
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
732
*head = NULL;
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
739
getldap_destroy_serverInfo(server_info_t *head)
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
747
if (head == NULL) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
753
for (info = head; info; info = next) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
777
getldap_set_serverInfo(server_info_t *head, int reset_bindtime, info_op_t op)
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
791
if (head == NULL) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
812
for (info = head; info; info = info->next)
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
828
for (info = head, i = 0; info; info = info->next, i++) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
851
test_server_change(head);
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
890
getldap_get_serverInfo(server_info_t *head, char *input,
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
917
if (head == NULL) {
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
944
(head->sinfo[0].info_status == INFO_STATUS_NEW))
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
946
for (info = head; info; info = info->next) {
usr/src/cmd/listen/listen.c
540
queue(head, cp)
usr/src/cmd/listen/listen.c
541
struct call_list *head;
usr/src/cmd/listen/listen.c
545
if (head->cl_tail == (struct callsave *) NULL) {
usr/src/cmd/listen/listen.c
547
head->cl_head = head->cl_tail = cp;
usr/src/cmd/listen/listen.c
550
cp->c_np = head->cl_tail->c_np;
usr/src/cmd/listen/listen.c
551
head->cl_tail->c_np = cp;
usr/src/cmd/listen/listen.c
552
head->cl_tail = cp;
usr/src/cmd/listen/listen.c
564
pqueue(head, cp)
usr/src/cmd/listen/listen.c
565
struct call_list *head;
usr/src/cmd/listen/listen.c
568
if (head->cl_head == (struct callsave *) NULL) {
usr/src/cmd/listen/listen.c
570
head->cl_head = head->cl_tail = cp;
usr/src/cmd/listen/listen.c
573
cp->c_np = head->cl_head;
usr/src/cmd/listen/listen.c
574
head->cl_head = cp;
usr/src/cmd/listen/listen.c
587
dequeue(head)
usr/src/cmd/listen/listen.c
588
struct call_list *head;
usr/src/cmd/listen/listen.c
593
if (head->cl_head == (struct callsave *) NULL) {
usr/src/cmd/listen/listen.c
601
ret = head->cl_head;
usr/src/cmd/listen/listen.c
602
head->cl_head = ret->c_np;
usr/src/cmd/listen/listen.c
603
if (head->cl_head == (struct callsave *) NULL)
usr/src/cmd/listen/listen.c
604
head->cl_tail = (struct callsave *) NULL;
usr/src/cmd/lp/cmd/lpadmin/pick_opts.c
51
char ** head;
usr/src/cmd/lp/cmd/lpadmin/pick_opts.c
58
head = new_opts;
usr/src/cmd/lp/cmd/lpadmin/pick_opts.c
79
for (new_opts = head; *new_opts != NULL; new_opts++) {
usr/src/cmd/lp/cmd/lpfilter.c
765
char * head;
usr/src/cmd/lp/cmd/lpfilter.c
804
head = makestr(headings[fld].v, " ", (char *)0);
usr/src/cmd/lp/cmd/lpfilter.c
806
printlist_setup (head, "", "\n", "\n");
usr/src/cmd/lp/filter/postscript/postcomm/postcomm.c
123
int head = 0; /* block[head] is the next character */
usr/src/cmd/lp/filter/postscript/postcomm/postcomm.c
493
if (head >= tail)
usr/src/cmd/lp/filter/postscript/postcomm/postcomm.c
497
head = 0;
usr/src/cmd/lp/filter/postscript/postcomm/postcomm.c
500
return(tail - head);
usr/src/cmd/lp/filter/postscript/postcomm/postcomm.c
522
if ((count = write(ttyo, &block[head], tail - head)) == -1)
usr/src/cmd/lp/filter/postscript/postcomm/postcomm.c
528
head += count;
usr/src/cmd/lp/filter/postscript/postio/parallel.c
357
if ((actual = write(fd, block + head, tail - head)) == -1) {
usr/src/cmd/lp/filter/postscript/postio/parallel.c
371
head += actual;
usr/src/cmd/lp/filter/postscript/postio/parallel.c
374
logit("Writing (%d) at 0x%x actual: %d, %s\n", count++, head,
usr/src/cmd/lp/filter/postscript/postio/parallel.c
61
extern int head, tail;
usr/src/cmd/lp/filter/postscript/postio/postio.c
176
int head = 0; /* block[head] is the next character */
usr/src/cmd/lp/filter/postscript/postio/postio.c
882
if (head >= tail) { /* done with the last block */
usr/src/cmd/lp/filter/postscript/postio/postio.c
887
head = 0;
usr/src/cmd/lp/filter/postscript/postio/postio.c
890
return (tail - head);
usr/src/cmd/lp/filter/postscript/postio/postio.c
906
if ((count = write(ttyo, &block[head], tail - head)) == -1)
usr/src/cmd/lp/filter/postscript/postio/postio.c
911
head += count;
usr/src/cmd/lp/filter/postscript/postio/slowsend.c
145
if ( num > tail - head )
usr/src/cmd/lp/filter/postscript/postio/slowsend.c
146
num = tail - head;
usr/src/cmd/lp/filter/postscript/postio/slowsend.c
148
if ( (count = write(ttyo, &block[head], num)) == -1 )
usr/src/cmd/lp/filter/postscript/postio/slowsend.c
153
head += count;
usr/src/cmd/lp/filter/postscript/postio/slowsend.c
55
extern int head;
usr/src/cmd/lp/lib/forms/wrform.c
187
print_sdn(int fd, char *head, SCALED sdn)
usr/src/cmd/lp/lib/forms/wrform.c
192
(void)fdprintf(fd, "%s ", head);
usr/src/cmd/lp/lib/forms/wrform.c
199
print_str(int fd, char *head, char *str)
usr/src/cmd/lp/lib/forms/wrform.c
204
(void)fdprintf(fd, "%s %s\n", head, str);
usr/src/cmd/lp/lib/printers/putprinter.c
502
print_sdn(int fd, char *head, SCALED sdn)
usr/src/cmd/lp/lib/printers/putprinter.c
507
(void)fdprintf (fd, "%s ", head);
usr/src/cmd/lp/lib/printers/putprinter.c
514
print_l(int fd, char *head, char **list)
usr/src/cmd/lp/lib/printers/putprinter.c
516
(void)fdprintf (fd, "%s ", head);
usr/src/cmd/lp/lib/printers/putprinter.c
525
print_str(int fd, char *head, char *str)
usr/src/cmd/lp/lib/printers/putprinter.c
530
(void)fdprintf (fd, "%s %s\n", head, str);
usr/src/cmd/ls/ls.c
2207
findincache(struct cachenode **head, long val)
usr/src/cmd/ls/ls.c
2209
struct cachenode **parent = head;
usr/src/cmd/luxadm/fchba.c
1451
add_lun_path(struct lun_tracking *head, HBA_FCPSCSIENTRYV2 *map,
usr/src/cmd/luxadm/fchba.c
1456
for (tmp = head; tmp != NULL; tmp = tmp->next_lun) {
usr/src/cmd/luxadm/fchba.c
1486
for (tmp = head; tmp->next_lun != NULL; tmp = tmp->next_lun) {}
usr/src/cmd/luxadm/fchba.c
1530
struct lun_tracking *head = NULL;
usr/src/cmd/luxadm/fchba.c
1632
if (matched && head == NULL) {
usr/src/cmd/luxadm/fchba.c
1634
head = (struct lun_tracking *)calloc(1,
usr/src/cmd/luxadm/fchba.c
1636
(void) memcpy(&head->map, &map->entry[mapIndex],
usr/src/cmd/luxadm/fchba.c
1637
sizeof (head->map));
usr/src/cmd/luxadm/fchba.c
1638
(void) memcpy(&head->hba_pwwn, &portAttrs.PortWWN,
usr/src/cmd/luxadm/fchba.c
1639
sizeof (head->hba_pwwn));
usr/src/cmd/luxadm/fchba.c
1640
(void) snprintf(head->hba_path, MAXPATHLEN,
usr/src/cmd/luxadm/fchba.c
1642
scsi_vhci_details(head);
usr/src/cmd/luxadm/fchba.c
1645
add_lun_path(head, &map->entry[mapIndex],
usr/src/cmd/luxadm/fchba.c
1698
for (outer = head; outer != NULL;
usr/src/cmd/luxadm/fchba.c
1714
if (matched && head == NULL) {
usr/src/cmd/luxadm/fchba.c
1716
head = (struct lun_tracking *)calloc(1,
usr/src/cmd/luxadm/fchba.c
1718
(void) memcpy(&head->map, &map->entry[mapIndex],
usr/src/cmd/luxadm/fchba.c
1719
sizeof (head->map));
usr/src/cmd/luxadm/fchba.c
1720
(void) memcpy(&head->hba_pwwn, &portAttrs.PortWWN,
usr/src/cmd/luxadm/fchba.c
1721
sizeof (head->hba_pwwn));
usr/src/cmd/luxadm/fchba.c
1722
(void) snprintf(head->hba_path, MAXPATHLEN,
usr/src/cmd/luxadm/fchba.c
1724
scsi_vhci_details(head);
usr/src/cmd/luxadm/fchba.c
1727
add_lun_path(head, &map->entry[mapIndex],
usr/src/cmd/luxadm/fchba.c
1747
for (first_time = head; first_time != NULL;
usr/src/cmd/luxadm/fchba.c
358
void add_path(struct path_entry *head, struct path_entry *cur) {
usr/src/cmd/luxadm/fchba.c
360
for (tmp = head; tmp->next != NULL; tmp = tmp->next) { }
usr/src/cmd/luxadm/fchba.c
363
struct path_entry *is_duplicate_path(struct path_entry *head, char *path) {
usr/src/cmd/luxadm/fchba.c
365
for (tmp = head; tmp != NULL; tmp = tmp->next) {
usr/src/cmd/luxadm/fchba.c
372
void free_path_list(struct path_entry *head) {
usr/src/cmd/luxadm/fchba.c
375
for (tmp = head; tmp != NULL; ) {
usr/src/cmd/luxadm/fchba.c
524
struct path_entry *head = NULL;
usr/src/cmd/luxadm/fchba.c
577
if (!head) {
usr/src/cmd/luxadm/fchba.c
578
head = (struct path_entry *)calloc(1,
usr/src/cmd/luxadm/fchba.c
580
tmpPath = head;
usr/src/cmd/luxadm/fchba.c
581
strncpy(head->path,
usr/src/cmd/luxadm/fchba.c
588
} else if (tmpPath = is_duplicate_path(head,
usr/src/cmd/luxadm/fchba.c
604
add_path(head, tmpPath);
usr/src/cmd/luxadm/fchba.c
627
if (head) {
usr/src/cmd/luxadm/fchba.c
630
for (tmp = head; tmp != NULL; tmp = tmp->next) {
usr/src/cmd/luxadm/fchba.c
666
free_path_list(head);
usr/src/cmd/mail/ckdlivopts.c
78
if ((hp = hdrlines[H_DEFOPTS].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/ckdlivopts.c
83
if ((hp = hdrlines[H_TROPTS].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/ckdlivopts.c
88
if ((hp = hdrlines[tcopy_hdr].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/clr_hinfo.c
65
while (hdrlines[hdrtype].head != (struct hdrs *)NULL) {
usr/src/cmd/mail/copylet.c
124
if ((hptr = hdrlines[H_CLEN].head) !=
usr/src/cmd/mail/copylet.c
206
if ((hptr = hdrlines[H_TCOPY].head) !=
usr/src/cmd/mail/copylet.c
209
strlen(hdrlines[H_TCOPY].head->value);
usr/src/cmd/mail/copylet.c
212
if ((hptr = hdrlines[H_RECEIVED].head) !=
usr/src/cmd/mail/copylet.c
219
if ((hptr = hdrlines[H_MIMEVERS].head) !=
usr/src/cmd/mail/copylet.c
221
i += strlen(hdrlines[H_MIMEVERS].head->value);
usr/src/cmd/mail/copylet.c
223
if ((hptr = hdrlines[H_CTYPE].head) !=
usr/src/cmd/mail/copylet.c
225
i += strlen(hdrlines[H_CTYPE].head->value);
usr/src/cmd/mail/copylet.c
227
if ((hptr = hdrlines[H_CLEN].head) !=
usr/src/cmd/mail/copylet.c
229
i += strlen(hdrlines[H_CLEN].head->value);
usr/src/cmd/mail/copylet.c
313
hptr = hdrlines[htype].head;
usr/src/cmd/mail/dumpaff.c
73
for (hptr = hdrlines[H_AFWDFROM].head;
usr/src/cmd/mail/dumprcv.c
66
for (hptr = hdrlines[H_RECEIVED].head;
usr/src/cmd/mail/gendeliv.c
107
hdrlines[H_TCOPY].head->value);
usr/src/cmd/mail/gendeliv.c
112
if ((hptr = hdrlines[H_DATE].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/gendeliv.c
155
if ((hptr = hdrlines[H_SUBJ].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/gendeliv.c
159
if ((hptr = hdrlines[H_MSVC].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/gendeliv.c
166
if ((hptr = hdrlines[H_MTSID].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/gendeliv.c
170
if ((hptr = hdrlines[H_UAID].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/gendeliv.c
175
if ((hptr = hdrlines[H_DTCOPY].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/gendeliv.c
233
if ((hptr = hdrlines[H_DAFWDFROM].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/gendeliv.c
256
hdrlines[H_AFWDFROM].head = hdrlines[H_DAFWDFROM].head;
usr/src/cmd/mail/gendeliv.c
258
hdrlines[H_DAFWDFROM].head = (struct hdrs *)NULL;
usr/src/cmd/mail/gendeliv.c
260
hdrlines[H_RECEIVED].head = hdrlines[H_DRECEIVED].head;
usr/src/cmd/mail/gendeliv.c
262
hdrlines[H_DRECEIVED].head = (struct hdrs *)NULL;
usr/src/cmd/mail/gendeliv.c
264
hdrlines[H_TCOPY].head = hdrlines[H_DTCOPY].head;
usr/src/cmd/mail/gendeliv.c
266
hdrlines[H_DTCOPY].head = (struct hdrs *)NULL;
usr/src/cmd/mail/gendeliv.c
52
hdrlines[H_DAFWDFROM].head = hdrlines[H_AFWDFROM].head;
usr/src/cmd/mail/gendeliv.c
54
hdrlines[H_AFWDFROM].head = (struct hdrs *)NULL;
usr/src/cmd/mail/gendeliv.c
56
hdrlines[H_DRECEIVED].head = hdrlines[H_RECEIVED].head;
usr/src/cmd/mail/gendeliv.c
58
hdrlines[H_RECEIVED].head = (struct hdrs *)NULL;
usr/src/cmd/mail/gendeliv.c
60
hdrlines[H_DTCOPY].head = hdrlines[H_TCOPY].head;
usr/src/cmd/mail/gendeliv.c
62
hdrlines[H_TCOPY].head = (struct hdrs *)NULL;
usr/src/cmd/mail/goback.c
135
hdrlines[H_DAFWDFROM].head = hdrlines[H_AFWDFROM].head;
usr/src/cmd/mail/goback.c
137
hdrlines[H_AFWDFROM].head = (struct hdrs *)NULL;
usr/src/cmd/mail/goback.c
139
hdrlines[H_DRECEIVED].head = hdrlines[H_RECEIVED].head;
usr/src/cmd/mail/goback.c
141
hdrlines[H_RECEIVED].head = (struct hdrs *)NULL;
usr/src/cmd/mail/goback.c
143
hdrlines[H_DTCOPY].head = hdrlines[H_TCOPY].head;
usr/src/cmd/mail/goback.c
145
hdrlines[H_TCOPY].head = (struct hdrs *)NULL;
usr/src/cmd/mail/mail.h
217
struct hdrs *head;
usr/src/cmd/mail/pckaffspot.c
44
if (hdrlines[H_AFWDFROM].head == (struct hdrs *)NULL) {
usr/src/cmd/mail/pckaffspot.c
49
if (hdrlines[H_EOH].head != (struct hdrs *)NULL) {
usr/src/cmd/mail/pckaffspot.c
50
if (hdrlines[H_DATE].head != (struct hdrs *)NULL) {
usr/src/cmd/mail/pckaffspot.c
57
(hdrlines[H_EOH].head != (struct hdrs *)NULL)) {
usr/src/cmd/mail/pckrcvspot.c
43
if (hdrlines[H_RECEIVED].head == (struct hdrs *)NULL) {
usr/src/cmd/mail/pckrcvspot.c
50
if (hdrlines[H_EOH].head != (struct hdrs *)NULL) {
usr/src/cmd/mail/pckrcvspot.c
51
if (hdrlines[H_DATE].head != (struct hdrs *)NULL) {
usr/src/cmd/mail/pckrcvspot.c
58
(hdrlines[H_EOH].head != (struct hdrs *)NULL)) {
usr/src/cmd/mail/poplist.c
38
hdrlines[hdrtype].head : hdrlines[hdrtype].tail);
usr/src/cmd/mail/poplist.c
46
hdrlines[hdrtype].head = hdrlines[hdrtype].tail =
usr/src/cmd/mail/poplist.c
49
hdrlines[hdrtype].head = hdr2rm->next;
usr/src/cmd/mail/poplist.c
55
hdrlines[hdrtype].head = hdrlines[hdrtype].tail =
usr/src/cmd/mail/pushlist.c
109
hdrlines[hdrtype].head = hdrlines[hdrtype].tail = nhp;
usr/src/cmd/mail/pushlist.c
114
hdrlines[hdrtype].head = ohp->prev = nhp;
usr/src/cmd/mail/pushlist.c
60
ohp = (where == HEAD ? hdrlines[hdrtype].head : hdrlines[hdrtype].tail);
usr/src/cmd/mail/savehdrs.c
63
if (hdrlines[H_FROM1].head == (struct hdrs *)NULL) {
usr/src/cmd/mail/sendmail.c
257
if ((hptr = hdrlines[H_MIMEVERS].head) !=
usr/src/cmd/mail/sendmail.c
265
if ((hptr = hdrlines[H_CTYPE].head) !=
usr/src/cmd/mail/sendmail.c
273
if ((hptr = hdrlines[H_CLEN].head) !=
usr/src/cmd/mail/sendmail.c
293
if ((hptr = hdrlines[H_MIMEVERS].head) !=
usr/src/cmd/mail/sendmail.c
301
if ((hptr = hdrlines[H_CTYPE].head) !=
usr/src/cmd/mail/sendmail.c
309
if ((hptr = hdrlines[H_CLEN].head) !=
usr/src/cmd/mail/sendmail.c
336
if (hdrlines[H_MIMEVERS].head == (struct hdrs *)NULL) {
usr/src/cmd/mail/sendmail.c
343
if (hdrlines[H_CTYPE].head == (struct hdrs *)NULL) {
usr/src/cmd/mail/sendmail.c
350
if (hdrlines[H_CLEN].head == (struct hdrs *)NULL) {
usr/src/cmd/mail/sendmail.c
402
if ((hptr = hdrlines[H_MIMEVERS].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/sendmail.c
411
if ((hptr = hdrlines[H_CTYPE].head) != (struct hdrs *)NULL) {
usr/src/cmd/mail/sendmail.c
420
if ((hptr = hdrlines[H_CLEN].head) != (struct hdrs *)NULL) {
usr/src/cmd/mailx/cmd3.c
307
struct header head;
usr/src/cmd/mailx/cmd3.c
348
head.h_seq = 1;
usr/src/cmd/mailx/cmd3.c
356
head.h_to = cp;
usr/src/cmd/mailx/cmd3.c
357
head.h_subject = hfield("subject", mp, addone);
usr/src/cmd/mailx/cmd3.c
358
if (head.h_subject == NOSTR)
usr/src/cmd/mailx/cmd3.c
359
head.h_subject = hfield("subj", mp, addone);
usr/src/cmd/mailx/cmd3.c
360
head.h_subject = reedit(head.h_subject);
usr/src/cmd/mailx/cmd3.c
361
head.h_cc = NOSTR;
usr/src/cmd/mailx/cmd3.c
375
head.h_cc = detract(np, 0);
usr/src/cmd/mailx/cmd3.c
377
head.h_bcc = NOSTR;
usr/src/cmd/mailx/cmd3.c
378
head.h_defopt = NOSTR;
usr/src/cmd/mailx/cmd3.c
379
head.h_others = NOSTRPTR;
usr/src/cmd/mailx/cmd3.c
380
mail1(&head, useauthor, useauthor ? rcv : NOSTR);
usr/src/cmd/mailx/cmd3.c
928
struct header head;
usr/src/cmd/mailx/cmd3.c
942
head.h_to = cp;
usr/src/cmd/mailx/cmd3.c
952
head.h_seq = 1;
usr/src/cmd/mailx/cmd3.c
955
head.h_subject = reedit(subject);
usr/src/cmd/mailx/cmd3.c
957
head.h_seq++;
usr/src/cmd/mailx/cmd3.c
958
head.h_cc = NOSTR;
usr/src/cmd/mailx/cmd3.c
959
head.h_bcc = NOSTR;
usr/src/cmd/mailx/cmd3.c
960
head.h_defopt = NOSTR;
usr/src/cmd/mailx/cmd3.c
961
head.h_others = NOSTRPTR;
usr/src/cmd/mailx/cmd3.c
962
mail1(&head, useauthor, NOSTR);
usr/src/cmd/mailx/lex.c
786
NODE *head;
usr/src/cmd/mailx/lex.c
795
for (head = fplist; head != (NODE *)NULL; head = head->next) {
usr/src/cmd/mailx/lex.c
796
if (head->fp == stdin || head->fp == stdout)
usr/src/cmd/mailx/lex.c
798
if (head->fp == itf || head->fp == otf)
usr/src/cmd/mailx/lex.c
800
if (head->fp == stderr)
usr/src/cmd/mailx/lex.c
802
if (head->fp == semfp)
usr/src/cmd/mailx/lex.c
804
if (head->fp == pipef) {
usr/src/cmd/mailx/lex.c
809
fclose(head->fp);
usr/src/cmd/mailx/receipt.c
55
char head[LINESIZE];
usr/src/cmd/mailx/receipt.c
78
readline(fp, head);
usr/src/cmd/mailx/receipt.c
79
if (parse_headline(head, hl) != 0) {
usr/src/cmd/mailx/send.c
285
struct header head;
usr/src/cmd/mailx/send.c
305
head.h_to = buf;
usr/src/cmd/mailx/send.c
306
head.h_subject = head.h_cc = head.h_bcc = head.h_defopt = NOSTR;
usr/src/cmd/mailx/send.c
307
head.h_others = NOSTRPTR;
usr/src/cmd/mailx/send.c
308
head.h_seq = 0;
usr/src/cmd/mailx/send.c
309
mail1(&head, Fflag, NOSTR);
usr/src/cmd/mailx/send.c
336
struct header head;
usr/src/cmd/mailx/send.c
338
head.h_to = NOSTR;
usr/src/cmd/mailx/send.c
339
head.h_subject = head.h_cc = head.h_bcc = head.h_defopt = NOSTR;
usr/src/cmd/mailx/send.c
340
head.h_others = NOSTRPTR;
usr/src/cmd/mailx/send.c
341
head.h_seq = 0;
usr/src/cmd/mailx/send.c
342
mail1(&head, Fflag, NOSTR);
usr/src/cmd/mailx/send.c
353
struct header head;
usr/src/cmd/mailx/send.c
356
head.h_to = NOSTR;
usr/src/cmd/mailx/send.c
358
head.h_to = addto(NOSTR, str);
usr/src/cmd/mailx/send.c
359
head.h_subject = head.h_cc = head.h_bcc = head.h_defopt = NOSTR;
usr/src/cmd/mailx/send.c
360
head.h_others = NOSTRPTR;
usr/src/cmd/mailx/send.c
361
head.h_seq = 0;
usr/src/cmd/mailx/send.c
362
mail1(&head, 0, NOSTR);
usr/src/cmd/mailx/send.c
374
struct header head;
usr/src/cmd/mailx/send.c
377
head.h_to = NOSTR;
usr/src/cmd/mailx/send.c
379
head.h_to = addto(NOSTR, str);
usr/src/cmd/mailx/send.c
380
head.h_subject = head.h_cc = head.h_bcc = head.h_defopt = NOSTR;
usr/src/cmd/mailx/send.c
381
head.h_others = NOSTRPTR;
usr/src/cmd/mailx/send.c
382
head.h_seq = 0;
usr/src/cmd/mailx/send.c
383
mail1(&head, 1, NOSTR);
usr/src/cmd/make/bin/nse_printdep.cc
218
print_deplist(Dependency head)
usr/src/cmd/make/bin/nse_printdep.cc
222
for (dp = head; dp != NULL; dp = dp->next) {
usr/src/cmd/make/bin/nse_printdep.cc
41
static void print_deplist(Dependency head);
usr/src/cmd/mandoc/man_html.c
428
n1 = n1->head->child;
usr/src/cmd/mandoc/man_html.c
429
n2 = n2->head->child;
usr/src/cmd/mandoc/man_macro.c
268
if (tok == MAN_RE && nn->head->aux > 0)
usr/src/cmd/mandoc/man_macro.c
269
roff_setreg(man->roff, "an-margin", nn->head->aux, '-');
usr/src/cmd/mandoc/man_macro.c
298
struct roff_node *head;
usr/src/cmd/mandoc/man_macro.c
307
head = roff_head_alloc(man, line, ppos, tok);
usr/src/cmd/mandoc/man_macro.c
316
if ((head->aux = strtod(p, NULL) * 24.0) > 0)
usr/src/cmd/mandoc/man_macro.c
318
head->aux, '+');
usr/src/cmd/mandoc/man_macro.c
327
man_unscope(man, head);
usr/src/cmd/mandoc/man_term.c
439
if ((nn = n->parent->head->child) != NULL &&
usr/src/cmd/mandoc/man_term.c
527
if ((nn = n->parent->head->child) != NULL &&
usr/src/cmd/mandoc/man_term.c
602
if ((nn = n->parent->head->child) != NULL &&
usr/src/cmd/mandoc/man_term.c
773
n = n->parent->head;
usr/src/cmd/mandoc/man_term.c
808
mt->offset -= n->parent->head->aux;
usr/src/cmd/mandoc/man_term.c
832
nn = n->parent->head->child;
usr/src/cmd/mandoc/man_validate.c
427
if (n->head->child == NULL && n->body->child == NULL)
usr/src/cmd/mandoc/man_validate.c
434
if (n->parent->head->child == NULL && n->child == NULL)
usr/src/cmd/mandoc/mandocdb.c
1477
const struct roff_node *head, *body;
usr/src/cmd/mandoc/mandocdb.c
1494
if ((head = body->parent->head) != NULL &&
usr/src/cmd/mandoc/mandocdb.c
1495
(head = head->child) != NULL &&
usr/src/cmd/mandoc/mandocdb.c
1496
head->next == NULL &&
usr/src/cmd/mandoc/mandocdb.c
1497
head->type == ROFFT_TEXT &&
usr/src/cmd/mandoc/mandocdb.c
1498
strcmp(head->string, "NAME") == 0 &&
usr/src/cmd/mandoc/mdoc_html.c
1725
n->parent->head->child == NULL &&
usr/src/cmd/mandoc/mdoc_html.c
1730
n->parent->head->child != NULL && (n->child != NULL ||
usr/src/cmd/mandoc/mdoc_html.c
1749
body = n->child != NULL || n->parent->head->child != NULL;
usr/src/cmd/mandoc/mdoc_html.c
545
id = html_make_id(sn->head, 0);
usr/src/cmd/mandoc/mdoc_html.c
548
print_mdoc_nodelist(meta, sn->head->child, h);
usr/src/cmd/mandoc/mdoc_html.c
555
id = html_make_id(subn->head, 0);
usr/src/cmd/mandoc/mdoc_html.c
565
subn->head->child, h);
usr/src/cmd/mandoc/mdoc_macro.c
1071
head = body = NULL;
usr/src/cmd/mandoc/mdoc_macro.c
1088
head = roff_head_alloc(mdoc, line, ppos, tok);
usr/src/cmd/mandoc/mdoc_macro.c
1089
rew_last(mdoc, head);
usr/src/cmd/mandoc/mdoc_macro.c
1151
if (head == NULL &&
usr/src/cmd/mandoc/mdoc_macro.c
1162
if (head == NULL)
usr/src/cmd/mandoc/mdoc_macro.c
1163
head = roff_head_alloc(mdoc, line, ppos, tok);
usr/src/cmd/mandoc/mdoc_macro.c
1172
rew_last(mdoc, body == NULL ? head : body);
usr/src/cmd/mandoc/mdoc_macro.c
1197
if (head == NULL)
usr/src/cmd/mandoc/mdoc_macro.c
1198
head = roff_head_alloc(mdoc, line, ppos, tok);
usr/src/cmd/mandoc/mdoc_macro.c
1203
if (find_pending(mdoc, tok, line, ppos, head))
usr/src/cmd/mandoc/mdoc_macro.c
1208
rew_last(mdoc, head);
usr/src/cmd/mandoc/mdoc_macro.c
1321
struct roff_node *head; /* keep track of head */
usr/src/cmd/mandoc/mdoc_macro.c
1333
head = NULL;
usr/src/cmd/mandoc/mdoc_macro.c
1342
if (head == NULL && mdoc_isdelim(p) == DELIM_OPEN) {
usr/src/cmd/mandoc/mdoc_macro.c
1349
if (head == NULL) {
usr/src/cmd/mandoc/mdoc_macro.c
1350
head = roff_head_alloc(mdoc, line, ppos, tok);
usr/src/cmd/mandoc/mdoc_macro.c
1353
rew_last(mdoc, head);
usr/src/cmd/mandoc/mdoc_macro.c
1371
if (head == NULL) {
usr/src/cmd/mandoc/mdoc_macro.c
957
struct roff_node *head; /* Our own head. */
usr/src/cmd/mandoc/mdoc_man.c
1201
n->parent->head->child == NULL &&
usr/src/cmd/mandoc/mdoc_man.c
1206
n->parent->head->child != NULL && (n->child != NULL ||
usr/src/cmd/mandoc/mdoc_man.c
1222
body = n->child != NULL || n->parent->head->child != NULL;
usr/src/cmd/mandoc/mdoc_man.c
292
char *head;
usr/src/cmd/mandoc/mdoc_man.c
353
if (fontqueue.head + fontqueue.size <= ++fontqueue.tail) {
usr/src/cmd/mandoc/mdoc_man.c
355
fontqueue.head = mandoc_realloc(fontqueue.head,
usr/src/cmd/mandoc/mdoc_man.c
369
if (fontqueue.tail > fontqueue.head)
usr/src/cmd/mandoc/mdoc_man.c
631
fontqueue.head = fontqueue.tail = mandoc_malloc(8);
usr/src/cmd/mandoc/mdoc_markdown.c
1017
n->parent->head->child == NULL &&
usr/src/cmd/mandoc/mdoc_markdown.c
1022
n->parent->head->child != NULL && (n->child != NULL ||
usr/src/cmd/mandoc/mdoc_markdown.c
1036
if (n->child == NULL && n->parent->head->child == NULL)
usr/src/cmd/mandoc/mdoc_term.c
1696
n->parent->head->child == NULL &&
usr/src/cmd/mandoc/mdoc_term.c
1701
n->parent->head->child != NULL && (n->child != NULL ||
usr/src/cmd/mandoc/mdoc_term.c
1721
body = n->child != NULL || n->parent->head->child != NULL;
usr/src/cmd/mandoc/mdoc_term.c
759
if (n->type == ROFFT_BODY && n->parent->head->child != NULL)
usr/src/cmd/mandoc/mdoc_validate.c
1163
nn = nn->head->child == NULL ? n : nn->head;
usr/src/cmd/mandoc/mdoc_validate.c
1177
nn = nn->head;
usr/src/cmd/mandoc/mdoc_validate.c
1728
if (nit->head->child == NULL)
usr/src/cmd/mandoc/mdoc_validate.c
1743
if ((nch = nit->head->child) != NULL)
usr/src/cmd/mandoc/mdoc_validate.c
1752
assert(nit->head->child == NULL);
usr/src/cmd/mandoc/mdoc_validate.c
1754
if (nit->head->next->child == NULL &&
usr/src/cmd/mandoc/mdoc_validate.c
1755
nit->head->next->next == NULL) {
usr/src/cmd/mandoc/mdoc_validate.c
1773
else if (nit->head->next->child != NULL &&
usr/src/cmd/mandoc/mdoc_validate.c
1774
nit->head->next->child->flags & NODE_LINE)
usr/src/cmd/mandoc/mdoc_validate.c
2007
if ((nnext = nchild->head->child) == NULL)
usr/src/cmd/mandoc/roff.c
942
n->parent->head = n;
usr/src/cmd/mandoc/roff.h
503
struct roff_node *head; /* BLOCK */
usr/src/cmd/mandoc/tag.c
224
np = np->parent->head;
usr/src/cmd/mandoc/term.c
69
term_begin(struct termp *p, term_margin head,
usr/src/cmd/mandoc/term.c
73
p->headf = head;
usr/src/cmd/mdb/common/mdb/mdb_kvm.c
163
uintptr_t addr, head;
usr/src/cmd/mdb/common/mdb/mdb_kvm.c
184
addr = head = (uintptr_t)sym.st_value;
usr/src/cmd/mdb/common/mdb/mdb_kvm.c
317
} while ((addr = (uintptr_t)ctl.mod_next) != head);
usr/src/cmd/mdb/common/modules/genunix/findstack.c
789
stacks_entry_t *head = NULL, *tail = NULL, *sp;
usr/src/cmd/mdb/common/modules/genunix/findstack.c
802
if (head == NULL)
usr/src/cmd/mdb/common/modules/genunix/findstack.c
803
head = sp;
usr/src/cmd/mdb/common/modules/genunix/findstack.c
810
if (head == NULL)
usr/src/cmd/mdb/common/modules/genunix/findstack.c
814
cur = sep = head;
usr/src/cmd/mdb/common/modules/genunix/kmem.c
3334
vmem_node_t *head = NULL, *root = NULL, *current = NULL, *parent, *vp;
usr/src/cmd/mdb/common/modules/genunix/kmem.c
3345
vp->vn_next = head;
usr/src/cmd/mdb/common/modules/genunix/kmem.c
3346
head = vp;
usr/src/cmd/mdb/common/modules/genunix/kmem.c
3359
for (vp = head; vp != NULL; vp = vp->vn_next) {
usr/src/cmd/mdb/common/modules/genunix/kmem.c
3367
for (parent = head; parent != NULL; parent = parent->vn_next) {
usr/src/cmd/mdb/common/modules/genunix/kmem.c
3394
for (vp = head; head != NULL; vp = head) {
usr/src/cmd/mdb/common/modules/genunix/kmem.c
3395
head = vp->vn_next;
usr/src/cmd/mdb/common/modules/idm/idm.c
1599
sess->sess_queue_pending.head);
usr/src/cmd/mdb/common/modules/idm/idm.c
1601
sess->sess_queue_completion.head);
usr/src/cmd/mdb/common/modules/idm/idm.c
1646
if (sess->sess_queue_pending.head) {
usr/src/cmd/mdb/common/modules/idm/idm.c
1648
idc, (uintptr_t)sess->sess_queue_pending.head)
usr/src/cmd/mdb/common/modules/idm/idm.c
1653
if (sess->sess_queue_completion.head) {
usr/src/cmd/mdb/common/modules/idm/idm.c
1655
idc, (uintptr_t)sess->sess_queue_completion.head)
usr/src/cmd/mdb/common/modules/idm/idm.c
1943
if (ini_conn.conn_queue_active.head &&
usr/src/cmd/mdb/common/modules/idm/idm.c
1945
(uintptr_t)ini_conn.conn_queue_active.head) == -1)) {
usr/src/cmd/mdb/common/modules/idm/idm.c
1948
if (ini_conn.conn_queue_idm_aborting.head &&
usr/src/cmd/mdb/common/modules/idm/idm.c
1950
(uintptr_t)ini_conn.conn_queue_idm_aborting.head) == -1)) {
usr/src/cmd/mdb/common/modules/idm/idm.c
2138
ini_conn.conn_queue_active.head);
usr/src/cmd/mdb/common/modules/idm/idm.c
2140
ini_conn.conn_queue_idm_aborting.head);
usr/src/cmd/mdb/common/modules/ip/ip.c
3321
list_t head;
usr/src/cmd/mdb/common/modules/ip/ip.c
3327
if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
usr/src/cmd/mdb/common/modules/ip/ip.c
3337
if ((char *)head.list_head.list_next != khead +
usr/src/cmd/mdb/common/modules/ip/ip.c
3339
entry = list_object(&head, head.list_head.list_next);
usr/src/cmd/mdb/common/modules/ip/ip.c
3359
list_t head;
usr/src/cmd/mdb/common/modules/ip/ip.c
3379
if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
usr/src/cmd/mdb/common/modules/ip/ip.c
3393
wsp->walk_addr = (uintptr_t)list_object(&head,
usr/src/cmd/mdb/common/modules/ip/ip.c
3403
if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
usr/src/cmd/mdb/common/modules/ip/ip.c
3408
if ((char *)head.list_head.list_next != khead +
usr/src/cmd/mdb/common/modules/ip/ip.c
3410
next_entry = list_object(&head,
usr/src/cmd/mdb/common/modules/ip/ip.c
3411
head.list_head.list_next);
usr/src/cmd/mdb/common/modules/ip/ip.c
3440
ilb_conn_hash_t head;
usr/src/cmd/mdb/common/modules/ip/ip.c
3465
if (mdb_vread(&head, sizeof (ilb_conn_hash_t),
usr/src/cmd/mdb/common/modules/ip/ip.c
3472
if (head.ilb_connp != NULL)
usr/src/cmd/mdb/common/modules/ip/ip.c
3476
if (head.ilb_connp == NULL)
usr/src/cmd/mdb/common/modules/ip/ip.c
3479
wsp->walk_addr = (uintptr_t)head.ilb_connp;
usr/src/cmd/mdb/common/modules/ip/ip.c
3491
ilb_conn_hash_t head;
usr/src/cmd/mdb/common/modules/ip/ip.c
3518
if (mdb_vread(&head, sizeof (ilb_conn_hash_t),
usr/src/cmd/mdb/common/modules/ip/ip.c
3525
if (head.ilb_connp != NULL)
usr/src/cmd/mdb/common/modules/ip/ip.c
3529
if (head.ilb_connp == NULL)
usr/src/cmd/mdb/common/modules/ip/ip.c
3532
wsp->walk_addr = (uintptr_t)head.ilb_connp;
usr/src/cmd/mdb/common/modules/ip/ip.c
3562
list_t head;
usr/src/cmd/mdb/common/modules/ip/ip.c
3568
if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
usr/src/cmd/mdb/common/modules/ip/ip.c
3579
if ((char *)head.list_head.list_next != khead +
usr/src/cmd/mdb/common/modules/ip/ip.c
3581
st = list_object(&head, head.list_head.list_next);
usr/src/cmd/mdb/common/modules/ip/ip.c
3601
list_t head;
usr/src/cmd/mdb/common/modules/ip/ip.c
3620
if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
usr/src/cmd/mdb/common/modules/ip/ip.c
3634
wsp->walk_addr = (uintptr_t)list_object(&head,
usr/src/cmd/mdb/common/modules/ip/ip.c
3644
if (mdb_vread(&head, sizeof (list_t), (uintptr_t)khead) == -1) {
usr/src/cmd/mdb/common/modules/ip/ip.c
3650
if ((char *)head.list_head.list_next != khead +
usr/src/cmd/mdb/common/modules/ip/ip.c
3652
st_next = list_object(&head,
usr/src/cmd/mdb/common/modules/ip/ip.c
3653
head.list_head.list_next);
usr/src/cmd/mdb/common/modules/ipc/ipc.c
134
uintptr_t head;
usr/src/cmd/mdb/common/modules/ipc/ipc.c
137
head = ((ulong_t)addr) + sizeof (list_t)*ii +
usr/src/cmd/mdb/common/modules/ipc/ipc.c
139
if (head != (uintptr_t)walk_this[ii].list_head.list_next) {
usr/src/cmd/mdb/common/modules/ipc/ipc.c
142
while (head != (uintptr_t)walker) {
usr/src/cmd/mdb/common/modules/klmmod/klmmod.c
401
struct nlm_vhold_list head;
usr/src/cmd/mdb/common/modules/klmmod/klmmod.c
421
if (mdb_vread(&head, sizeof (head), addr) < 0) {
usr/src/cmd/mdb/common/modules/klmmod/klmmod.c
426
wsp->walk_addr = (uintptr_t)head.tqh_first;
usr/src/cmd/mdb/common/modules/klmmod/klmmod.c
533
struct nlm_slreq_list head;
usr/src/cmd/mdb/common/modules/klmmod/klmmod.c
553
if (mdb_vread(&head, sizeof (head), addr) < 0) {
usr/src/cmd/mdb/common/modules/klmmod/klmmod.c
558
wsp->walk_addr = (uintptr_t)head.tqh_first;
usr/src/cmd/mdb/common/modules/libc/libc.c
1423
d_mutex_output_push(d_mutex_output_t **head, const char *out)
usr/src/cmd/mdb/common/modules/libc/libc.c
1429
new->mo_next = *head;
usr/src/cmd/mdb/common/modules/libc/libc.c
1433
*head = new;
usr/src/cmd/mdb/common/modules/libc/libc.c
1437
d_mutex_output_reverse(d_mutex_output_t **head)
usr/src/cmd/mdb/common/modules/libc/libc.c
1441
for (current = *head; current != NULL; current = next) {
usr/src/cmd/mdb/common/modules/libc/libc.c
1451
*head = current;
usr/src/cmd/mdb/common/modules/libc/libc.c
796
prt_addr(uberdata.atexit_root.head, 1),
usr/src/cmd/mdb/common/modules/libc/libc.c
803
prt_addr(uberdata.quickexit_root.head, 0));
usr/src/cmd/mdb/common/modules/libumem/umem.c
2952
vmem_node_t *head = NULL, *root = NULL, *current = NULL, *parent, *vp;
usr/src/cmd/mdb/common/modules/libumem/umem.c
2963
vp->vn_next = head;
usr/src/cmd/mdb/common/modules/libumem/umem.c
2964
head = vp;
usr/src/cmd/mdb/common/modules/libumem/umem.c
2977
for (vp = head; vp != NULL; vp = vp->vn_next) {
usr/src/cmd/mdb/common/modules/libumem/umem.c
2985
for (parent = head; parent != NULL; parent = parent->vn_next) {
usr/src/cmd/mdb/common/modules/libumem/umem.c
3012
for (vp = head; head != NULL; vp = head) {
usr/src/cmd/mdb/common/modules/libumem/umem.c
3013
head = vp->vn_next;
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
194
uintptr_t head; /* kernel va of head of hash chain */
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
242
for (i = 0, head = nc_hash_addr; i < nc_hashsz;
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
243
i++, head += sizeof (nc_hash_t)) {
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
259
if (mdb_vread(&nch, sizeof (nc_hash_t), head) == -1) {
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
265
ncprev_va = head;
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
268
while (nc_va != head) {
usr/src/cmd/mdb/common/modules/nfs/nfs.c
814
nfs4_print_messages(uintptr_t head)
usr/src/cmd/mdb/common/modules/nfs/nfs.c
819
mdb_pwalk("list", nfs4_show_message, NULL, (uintptr_t)head);
usr/src/cmd/modload/drvsubr.c
611
static struct n_to_m_cache *head = NULL;
usr/src/cmd/modload/drvsubr.c
625
ptr = head;
usr/src/cmd/modload/drvsubr.c
720
ptr->next = head;
usr/src/cmd/modload/drvsubr.c
721
head = ptr;
usr/src/cmd/msgfmt/xgettext.c
1884
write_one_file(struct domain_st *head)
usr/src/cmd/msgfmt/xgettext.c
1906
if ((head != NULL) &&
usr/src/cmd/msgfmt/xgettext.c
1907
(head->dname != NULL)) {
usr/src/cmd/msgfmt/xgettext.c
1908
(void) strcpy(dname, head->dname);
usr/src/cmd/msgfmt/xgettext.c
1934
if (head == NULL) {
usr/src/cmd/msgfmt/xgettext.c
1938
head->gettext_head = append_list(existing_po_list,
usr/src/cmd/msgfmt/xgettext.c
1939
head->gettext_head);
usr/src/cmd/msgfmt/xgettext.c
1941
if (head->dname != NULL) {
usr/src/cmd/msgfmt/xgettext.c
1943
head->dname);
usr/src/cmd/msgfmt/xgettext.c
1947
print_one_domain(head);
usr/src/cmd/msgfmt/xgettext.c
1961
if (head == NULL)
usr/src/cmd/msgfmt/xgettext.c
1972
p = head->textdomain_head;
usr/src/cmd/msgfmt/xgettext.c
1984
p = head->gettext_head;
usr/src/cmd/ndmpd/ndmp/ndmpd_connect.c
94
#define LIST_FOREACH(var, head, field) \
usr/src/cmd/ndmpd/ndmp/ndmpd_connect.c
95
for ((var) = (head)->lh_first; (var); (var) = (var)->field.le_next)
usr/src/cmd/od/od.c
296
static output_t *head = NULL;
usr/src/cmd/od/od.c
297
static output_t **tailp = &head;
usr/src/cmd/od/od.c
855
if (head == NULL) {
usr/src/cmd/od/od.c
900
for (out = head; out != NULL; out = out->next) {
usr/src/cmd/od/od.c
902
if (out == head) {
usr/src/cmd/picl/plugins/sun4u/envmon/piclenvmon.c
274
ptr->head = NULL;
usr/src/cmd/picl/plugins/sun4u/envmon/piclenvmon.c
289
while ((pel = pnl->head) != NULL) {
usr/src/cmd/picl/plugins/sun4u/envmon/piclenvmon.c
290
pnl->head = pel->next;
usr/src/cmd/picl/plugins/sun4u/envmon/piclenvmon.c
311
listp->head = pel;
usr/src/cmd/picl/plugins/sun4u/envmon/piclenvmon.c
446
if (listp->head == NULL) {
usr/src/cmd/picl/plugins/sun4u/envmon/piclenvmon.c
451
*envmoninfh = listp->head->nodeh;
usr/src/cmd/picl/plugins/sun4u/envmon/piclenvmon.h
110
node_el_t *head;
usr/src/cmd/pools/poolstat/poolstat.c
328
poolstat_list_element_t *head = le;
usr/src/cmd/pools/poolstat/poolstat.c
339
head = le;
usr/src/cmd/pools/poolstat/poolstat.c
350
return (head);
usr/src/cmd/pr/pr.c
632
char *head = NULL;
usr/src/cmd/pr/pr.c
663
if (head == NULL)
usr/src/cmd/pr/pr.c
664
head = Head != NULL ? Head :
usr/src/cmd/pr/pr.c
72
#define HEAD gettext("%s %s Page %d\n\n\n"), date, head, Page
usr/src/cmd/praudit/format.c
96
findincache(struct cachenode **head, long val)
usr/src/cmd/praudit/format.c
98
struct cachenode **parent = head;
usr/src/cmd/prtfru/prtfru.c
899
uint8_t head, num;
usr/src/cmd/prtfru/prtfru.c
937
head = data[HEAD_ITER];
usr/src/cmd/prtfru/prtfru.c
940
head = 0;
usr/src/cmd/prtfru/prtfru.c
954
for (i = head, n = 0, data += 4;
usr/src/cmd/rcm_daemon/common/rcm_script.c
1678
rcm_queue_t *head;
usr/src/cmd/rcm_daemon/common/rcm_script.c
1683
head = &module->client_q;
usr/src/cmd/rcm_daemon/common/rcm_script.c
1685
for (q = head->next; q != head; q = q->next) {
usr/src/cmd/rcm_daemon/common/rcm_script.c
1698
rcm_queue_t *head;
usr/src/cmd/rcm_daemon/common/rcm_script.c
1703
head = &module->client_q;
usr/src/cmd/rcm_daemon/common/rcm_script.c
1705
for (q = head->next; q != head; q = q->next) {
usr/src/cmd/rcm_daemon/common/rcm_script.c
1721
rcm_queue_t *head;
usr/src/cmd/rcm_daemon/common/rcm_script.c
1726
head = &module->client_q;
usr/src/cmd/rcm_daemon/common/rcm_script.c
1728
for (q = head->next; q != head; q = q->next) {
usr/src/cmd/rcm_daemon/common/rcm_script.c
1811
rcm_queue_t *head = &rsi->drreq_q;
usr/src/cmd/rcm_daemon/common/rcm_script.c
1816
for (q = head->next; q != head; q = q->next) {
usr/src/cmd/rcm_daemon/common/rcm_script.c
1835
rcm_queue_t *head = &rsi->drreq_q;
usr/src/cmd/rcm_daemon/common/rcm_script.c
1840
for (q = head->next; q != head; q = q->next) {
usr/src/cmd/rcm_daemon/common/rcm_script.c
1846
if (q != head) {
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1912
rcm_init_queue(rcm_queue_t *head)
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1914
head->next = head->prev = head;
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1918
rcm_enqueue_head(rcm_queue_t *head, rcm_queue_t *element)
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1920
rcm_enqueue(head, element);
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1924
rcm_enqueue_tail(rcm_queue_t *head, rcm_queue_t *element)
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1926
rcm_enqueue(head->prev, element);
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1939
rcm_dequeue_head(rcm_queue_t *head)
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1941
rcm_queue_t *element = head->next;
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1947
rcm_dequeue_tail(rcm_queue_t *head)
usr/src/cmd/rcm_daemon/common/rcm_subr.c
1949
rcm_queue_t *element = head->prev;
usr/src/cmd/rmformat/rmf_menu.c
1055
uint32_t cyl, head;
usr/src/cmd/rmformat/rmf_menu.c
1065
for (head = 0; head < med_info.sm_nhead; head++) {
usr/src/cmd/rmformat/rmf_menu.c
1066
if (smedia_format_track(handle, cyl, head, SM_FORMAT_HD)
usr/src/cmd/rmformat/rmf_menu.c
1086
uint32_t cyl, head;
usr/src/cmd/rmformat/rmf_menu.c
1095
for (head = 0; head < med_info.sm_nhead; head++) {
usr/src/cmd/rmformat/rmf_menu.c
1096
if (smedia_format_track(handle, cyl, head, SM_FORMAT_DD)
usr/src/cmd/rpcinfo/rpcinfo.c
1015
(char *)&head, minutetimeout) != RPC_SUCCESS) {
usr/src/cmd/rpcinfo/rpcinfo.c
1019
if (head == NULL) {
usr/src/cmd/rpcinfo/rpcinfo.c
1024
for (; head != NULL; head = head->rpcb_entry_next) {
usr/src/cmd/rpcinfo/rpcinfo.c
1028
re = &head->rpcb_entry_map;
usr/src/cmd/rpcinfo/rpcinfo.c
489
pmaplist_ptr head = NULL;
usr/src/cmd/rpcinfo/rpcinfo.c
527
NULL, (xdrproc_t)xdr_pmaplist_ptr, (char *)&head,
usr/src/cmd/rpcinfo/rpcinfo.c
542
if (head == NULL) {
usr/src/cmd/rpcinfo/rpcinfo.c
546
for (; head != NULL; head = head->pml_next) {
usr/src/cmd/rpcinfo/rpcinfo.c
548
head->pml_map.pm_prog,
usr/src/cmd/rpcinfo/rpcinfo.c
549
head->pml_map.pm_vers);
usr/src/cmd/rpcinfo/rpcinfo.c
550
if (head->pml_map.pm_prot == IPPROTO_UDP)
usr/src/cmd/rpcinfo/rpcinfo.c
552
else if (head->pml_map.pm_prot == IPPROTO_TCP)
usr/src/cmd/rpcinfo/rpcinfo.c
555
(void) printf("%6ld", head->pml_map.pm_prot);
usr/src/cmd/rpcinfo/rpcinfo.c
556
(void) printf("%7ld", head->pml_map.pm_port);
usr/src/cmd/rpcinfo/rpcinfo.c
557
rpc = getrpcbynumber(head->pml_map.pm_prog);
usr/src/cmd/rpcinfo/rpcinfo.c
711
rpcblist_ptr head = NULL;
usr/src/cmd/rpcinfo/rpcinfo.c
761
NULL, (xdrproc_t)xdr_rpcblist_ptr, (char *)&head,
usr/src/cmd/rpcinfo/rpcinfo.c
774
(xdrproc_t)xdr_rpcblist_ptr, (char *)&head,
usr/src/cmd/rpcinfo/rpcinfo.c
795
for (head = NULL; pmaphead != NULL;
usr/src/cmd/rpcinfo/rpcinfo.c
800
if (head == NULL)
usr/src/cmd/rpcinfo/rpcinfo.c
801
head = list;
usr/src/cmd/rpcinfo/rpcinfo.c
837
if (head == NULL) {
usr/src/cmd/rpcinfo/rpcinfo.c
842
for (; head != NULL; head = head->rpcb_next) {
usr/src/cmd/rpcinfo/rpcinfo.c
844
head->rpcb_map.r_prog, head->rpcb_map.r_vers);
usr/src/cmd/rpcinfo/rpcinfo.c
845
(void) printf("%-9s ", head->rpcb_map.r_netid);
usr/src/cmd/rpcinfo/rpcinfo.c
846
(void) printf("%-19s", head->rpcb_map.r_addr);
usr/src/cmd/rpcinfo/rpcinfo.c
847
rpc = getrpcbynumber(head->rpcb_map.r_prog);
usr/src/cmd/rpcinfo/rpcinfo.c
852
(void) printf(" %s\n", head->rpcb_map.r_owner);
usr/src/cmd/rpcinfo/rpcinfo.c
855
for (; head != NULL; head = head->rpcb_next) {
usr/src/cmd/rpcinfo/rpcinfo.c
857
if (head->rpcb_map.r_prog == rs->prog)
usr/src/cmd/rpcinfo/rpcinfo.c
872
rs->prog = head->rpcb_map.r_prog;
usr/src/cmd/rpcinfo/rpcinfo.c
873
rs->owner = head->rpcb_map.r_owner;
usr/src/cmd/rpcinfo/rpcinfo.c
877
if (add_version(rs, head->rpcb_map.r_vers) == FALSE)
usr/src/cmd/rpcinfo/rpcinfo.c
879
if (add_netid(rs, head->rpcb_map.r_netid) == FALSE)
usr/src/cmd/rpcinfo/rpcinfo.c
943
rpcb_entry_list_ptr head = NULL;
usr/src/cmd/savecore/savecore.c
1143
if (s->bound || s->blocks.head == NULL)
usr/src/cmd/savecore/savecore.c
1148
while (s->blocks.head != NULL) {
usr/src/cmd/savecore/savecore.c
697
block_t *head;
usr/src/cmd/savecore/savecore.c
756
h->head = b;
usr/src/cmd/savecore/savecore.c
765
block_t *b = h->head;
usr/src/cmd/savecore/savecore.c
768
h->head = b->next;
usr/src/cmd/savecore/savecore.c
769
if (h->head == NULL)
usr/src/cmd/savecore/savecore.c
832
while (s->bound || s->blocks.head != NULL)
usr/src/cmd/sendmail/db/db/db_dispatch.c
189
LIST_INIT(&headp->head);
usr/src/cmd/sendmail/db/db/db_dispatch.c
217
LIST_INSERT_HEAD(&hp->head, elp, links);
usr/src/cmd/sendmail/db/db/db_dispatch.c
243
for (p = hp->head.lh_first; p != NULL; p = p->links.le_next)
usr/src/cmd/sendmail/db/db/db_dispatch.c
264
while ((p = LIST_FIRST(&hp->head)) != LIST_END(&hp->head)) {
usr/src/cmd/sendmail/db/db/db_dispatch.c
313
for (p = hp->head.lh_first; p != NULL; p = p->links.le_next)
usr/src/cmd/sendmail/db/include/db_dispatch.h
53
LIST_HEAD(__db_headlink, __db_txnlist) head;
usr/src/cmd/sendmail/db/include/queue.h
115
#define LIST_INSERT_HEAD(head, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
116
if (((elm)->field.le_next = (head)->lh_first) != NULL) \
usr/src/cmd/sendmail/db/include/queue.h
117
(head)->lh_first->field.le_prev = &(elm)->field.le_next;\
usr/src/cmd/sendmail/db/include/queue.h
118
(head)->lh_first = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
119
(elm)->field.le_prev = &(head)->lh_first; \
usr/src/cmd/sendmail/db/include/queue.h
144
#define TAILQ_FIRST(head) ((head)->tqh_first)
usr/src/cmd/sendmail/db/include/queue.h
146
#define TAILQ_END(head) NULL
usr/src/cmd/sendmail/db/include/queue.h
151
#define TAILQ_INIT(head) do { \
usr/src/cmd/sendmail/db/include/queue.h
152
(head)->tqh_first = NULL; \
usr/src/cmd/sendmail/db/include/queue.h
153
(head)->tqh_last = &(head)->tqh_first; \
usr/src/cmd/sendmail/db/include/queue.h
156
#define TAILQ_INSERT_HEAD(head, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
157
if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
usr/src/cmd/sendmail/db/include/queue.h
158
(head)->tqh_first->field.tqe_prev = \
usr/src/cmd/sendmail/db/include/queue.h
161
(head)->tqh_last = &(elm)->field.tqe_next; \
usr/src/cmd/sendmail/db/include/queue.h
162
(head)->tqh_first = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
163
(elm)->field.tqe_prev = &(head)->tqh_first; \
usr/src/cmd/sendmail/db/include/queue.h
166
#define TAILQ_INSERT_TAIL(head, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
168
(elm)->field.tqe_prev = (head)->tqh_last; \
usr/src/cmd/sendmail/db/include/queue.h
169
*(head)->tqh_last = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
170
(head)->tqh_last = &(elm)->field.tqe_next; \
usr/src/cmd/sendmail/db/include/queue.h
173
#define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
178
(head)->tqh_last = &(elm)->field.tqe_next; \
usr/src/cmd/sendmail/db/include/queue.h
190
#define TAILQ_REMOVE(head, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
195
(head)->tqh_last = (elm)->field.tqe_prev; \
usr/src/cmd/sendmail/db/include/queue.h
214
#define CIRCLEQ_FIRST(head) ((head)->cqh_first)
usr/src/cmd/sendmail/db/include/queue.h
215
#define CIRCLEQ_LAST(head) ((head)->cqh_last)
usr/src/cmd/sendmail/db/include/queue.h
216
#define CIRCLEQ_END(head) ((void *)(head))
usr/src/cmd/sendmail/db/include/queue.h
223
#define CIRCLEQ_INIT(head) do { \
usr/src/cmd/sendmail/db/include/queue.h
224
(head)->cqh_first = (void *)(head); \
usr/src/cmd/sendmail/db/include/queue.h
225
(head)->cqh_last = (void *)(head); \
usr/src/cmd/sendmail/db/include/queue.h
228
#define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
231
if ((listelm)->field.cqe_next == (void *)(head)) \
usr/src/cmd/sendmail/db/include/queue.h
232
(head)->cqh_last = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
238
#define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
241
if ((listelm)->field.cqe_prev == (void *)(head)) \
usr/src/cmd/sendmail/db/include/queue.h
242
(head)->cqh_first = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
248
#define CIRCLEQ_INSERT_HEAD(head, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
249
(elm)->field.cqe_next = (head)->cqh_first; \
usr/src/cmd/sendmail/db/include/queue.h
250
(elm)->field.cqe_prev = (void *)(head); \
usr/src/cmd/sendmail/db/include/queue.h
251
if ((head)->cqh_last == (void *)(head)) \
usr/src/cmd/sendmail/db/include/queue.h
252
(head)->cqh_last = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
254
(head)->cqh_first->field.cqe_prev = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
255
(head)->cqh_first = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
258
#define CIRCLEQ_INSERT_TAIL(head, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
259
(elm)->field.cqe_next = (void *)(head); \
usr/src/cmd/sendmail/db/include/queue.h
260
(elm)->field.cqe_prev = (head)->cqh_last; \
usr/src/cmd/sendmail/db/include/queue.h
261
if ((head)->cqh_first == (void *)(head)) \
usr/src/cmd/sendmail/db/include/queue.h
262
(head)->cqh_first = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
264
(head)->cqh_last->field.cqe_next = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
265
(head)->cqh_last = (elm); \
usr/src/cmd/sendmail/db/include/queue.h
268
#define CIRCLEQ_REMOVE(head, elm, field) do { \
usr/src/cmd/sendmail/db/include/queue.h
269
if ((elm)->field.cqe_next == (void *)(head)) \
usr/src/cmd/sendmail/db/include/queue.h
270
(head)->cqh_last = (elm)->field.cqe_prev; \
usr/src/cmd/sendmail/db/include/queue.h
274
if ((elm)->field.cqe_prev == (void *)(head)) \
usr/src/cmd/sendmail/db/include/queue.h
275
(head)->cqh_first = (elm)->field.cqe_next; \
usr/src/cmd/sendmail/db/include/queue.h
89
#define LIST_FIRST(head) ((head)->lh_first)
usr/src/cmd/sendmail/db/include/queue.h
91
#define LIST_END(head) NULL
usr/src/cmd/sendmail/db/include/queue.h
96
#define LIST_INIT(head) { \
usr/src/cmd/sendmail/db/include/queue.h
97
(head)->lh_first = NULL; \
usr/src/cmd/sendmail/db/include/shqueue.h
100
(head)->slh_first - SH_PTR_TO_OFF(head, elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
101
SH_LIST_FIRSTP(head, type)->field.sle_prev = \
usr/src/cmd/sendmail/db/include/shqueue.h
105
(head)->slh_first = SH_PTR_TO_OFF(head, elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
106
(elm)->field.sle_prev = SH_PTR_TO_OFF(elm, &(head)->slh_first); \
usr/src/cmd/sendmail/db/include/shqueue.h
136
#define SH_TAILQ_FIRSTP(head, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
137
((struct type *)((u_int8_t *)(head) + (head)->stqh_first))
usr/src/cmd/sendmail/db/include/shqueue.h
139
#define SH_TAILQ_FIRST(head, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
140
((head)->stqh_first == -1 ? NULL : SH_TAILQ_FIRSTP(head, type))
usr/src/cmd/sendmail/db/include/shqueue.h
151
#define SH_TAILQ_LAST(head) \
usr/src/cmd/sendmail/db/include/shqueue.h
152
((ssize_t *)(((u_int8_t *)(head)) + (head)->stqh_last))
usr/src/cmd/sendmail/db/include/shqueue.h
157
#define SH_TAILQ_END(head) NULL
usr/src/cmd/sendmail/db/include/shqueue.h
159
#define SH_TAILQ_INIT(head) { \
usr/src/cmd/sendmail/db/include/shqueue.h
160
(head)->stqh_first = -1; \
usr/src/cmd/sendmail/db/include/shqueue.h
161
(head)->stqh_last = SH_PTR_TO_OFF(head, &(head)->stqh_first); \
usr/src/cmd/sendmail/db/include/shqueue.h
164
#define SH_TAILQ_INSERT_HEAD(head, elm, field, type) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
165
if ((head)->stqh_first != -1) { \
usr/src/cmd/sendmail/db/include/shqueue.h
167
(head)->stqh_first - SH_PTR_TO_OFF(head, elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
168
SH_TAILQ_FIRSTP(head, type)->field.stqe_prev = \
usr/src/cmd/sendmail/db/include/shqueue.h
172
(head)->stqh_last = \
usr/src/cmd/sendmail/db/include/shqueue.h
173
SH_PTR_TO_OFF(head, &(elm)->field.stqe_next); \
usr/src/cmd/sendmail/db/include/shqueue.h
175
(head)->stqh_first = SH_PTR_TO_OFF(head, elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
177
SH_PTR_TO_OFF(elm, &(head)->stqh_first); \
usr/src/cmd/sendmail/db/include/shqueue.h
180
#define SH_TAILQ_INSERT_TAIL(head, elm, field) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
183
-SH_PTR_TO_OFF(head, elm) + (head)->stqh_last; \
usr/src/cmd/sendmail/db/include/shqueue.h
184
if ((head)->stqh_last == \
usr/src/cmd/sendmail/db/include/shqueue.h
185
SH_PTR_TO_OFF((head), &(head)->stqh_first)) \
usr/src/cmd/sendmail/db/include/shqueue.h
186
(head)->stqh_first = SH_PTR_TO_OFF(head, elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
188
*SH_TAILQ_LAST(head) = -(head)->stqh_last + \
usr/src/cmd/sendmail/db/include/shqueue.h
190
SH_PTR_TO_OFF(head, elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
191
(head)->stqh_last = \
usr/src/cmd/sendmail/db/include/shqueue.h
192
SH_PTR_TO_OFF(head, &((elm)->field.stqe_next)); \
usr/src/cmd/sendmail/db/include/shqueue.h
195
#define SH_TAILQ_INSERT_AFTER(head, listelm, elm, field, type) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
203
(head)->stqh_last = \
usr/src/cmd/sendmail/db/include/shqueue.h
204
SH_PTR_TO_OFF(head, &elm->field.stqe_next); \
usr/src/cmd/sendmail/db/include/shqueue.h
210
#define SH_TAILQ_REMOVE(head, elm, field, type) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
218
(head)->stqh_last = (elm)->field.stqe_prev + \
usr/src/cmd/sendmail/db/include/shqueue.h
219
SH_PTR_TO_OFF(head, elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
242
#define SH_CIRCLEQ_FIRSTP(head, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
243
((struct type *)(((u_int8_t *)(head)) + (head)->scqh_first))
usr/src/cmd/sendmail/db/include/shqueue.h
245
#define SH_CIRCLEQ_FIRST(head, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
246
((head)->scqh_first == -1 ? \
usr/src/cmd/sendmail/db/include/shqueue.h
247
(void *)head : SH_CIRCLEQ_FIRSTP(head, type))
usr/src/cmd/sendmail/db/include/shqueue.h
249
#define SH_CIRCLEQ_LASTP(head, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
250
((struct type *)(((u_int8_t *)(head)) + (head)->scqh_last))
usr/src/cmd/sendmail/db/include/shqueue.h
252
#define SH_CIRCLEQ_LAST(head, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
253
((head)->scqh_last == -1 ? (void *)head : SH_CIRCLEQ_LASTP(head, type))
usr/src/cmd/sendmail/db/include/shqueue.h
258
#define SH_CIRCLEQ_NEXT(head, elm, field, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
259
((elm)->field.scqe_next == SH_PTR_TO_OFF(elm, head) ? \
usr/src/cmd/sendmail/db/include/shqueue.h
260
(void *)head : SH_CIRCLEQ_NEXTP(elm, field, type))
usr/src/cmd/sendmail/db/include/shqueue.h
265
#define SH_CIRCLEQ_PREV(head, elm, field, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
266
((elm)->field.scqe_prev == SH_PTR_TO_OFF(elm, head) ? \
usr/src/cmd/sendmail/db/include/shqueue.h
267
(void *)head : SH_CIRCLEQ_PREVP(elm, field, type))
usr/src/cmd/sendmail/db/include/shqueue.h
269
#define SH_CIRCLEQ_END(head) ((void *)(head))
usr/src/cmd/sendmail/db/include/shqueue.h
271
#define SH_CIRCLEQ_INIT(head) { \
usr/src/cmd/sendmail/db/include/shqueue.h
272
(head)->scqh_first = 0; \
usr/src/cmd/sendmail/db/include/shqueue.h
273
(head)->scqh_last = 0; \
usr/src/cmd/sendmail/db/include/shqueue.h
276
#define SH_CIRCLEQ_INSERT_AFTER(head, listelm, elm, field, type) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
280
if (SH_CIRCLEQ_NEXTP(listelm, field, type) == (void *)head) \
usr/src/cmd/sendmail/db/include/shqueue.h
281
(head)->scqh_last = SH_PTR_TO_OFF(head, elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
290
#define SH_CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field, type) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
294
if (SH_CIRCLEQ_PREVP(listelm, field, type) == (void *)(head)) \
usr/src/cmd/sendmail/db/include/shqueue.h
295
(head)->scqh_first = SH_PTR_TO_OFF(head, elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
304
#define SH_CIRCLEQ_INSERT_HEAD(head, elm, field, type) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
305
(elm)->field.scqe_prev = SH_PTR_TO_OFF(elm, head); \
usr/src/cmd/sendmail/db/include/shqueue.h
306
(elm)->field.scqe_next = (head)->scqh_first + \
usr/src/cmd/sendmail/db/include/shqueue.h
308
if ((head)->scqh_last == 0) \
usr/src/cmd/sendmail/db/include/shqueue.h
309
(head)->scqh_last = -(elm)->field.scqe_prev; \
usr/src/cmd/sendmail/db/include/shqueue.h
311
SH_CIRCLEQ_FIRSTP(head, type)->field.scqe_prev = \
usr/src/cmd/sendmail/db/include/shqueue.h
312
SH_PTR_TO_OFF(SH_CIRCLEQ_FIRSTP(head, type), elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
313
(head)->scqh_first = -(elm)->field.scqe_prev; \
usr/src/cmd/sendmail/db/include/shqueue.h
316
#define SH_CIRCLEQ_INSERT_TAIL(head, elm, field, type) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
317
(elm)->field.scqe_next = SH_PTR_TO_OFF(elm, head); \
usr/src/cmd/sendmail/db/include/shqueue.h
318
(elm)->field.scqe_prev = (head)->scqh_last + \
usr/src/cmd/sendmail/db/include/shqueue.h
320
if ((head)->scqh_first == 0) \
usr/src/cmd/sendmail/db/include/shqueue.h
321
(head)->scqh_first = -(elm)->field.scqe_next; \
usr/src/cmd/sendmail/db/include/shqueue.h
323
SH_CIRCLEQ_LASTP(head, type)->field.scqe_next = \
usr/src/cmd/sendmail/db/include/shqueue.h
324
SH_PTR_TO_OFF(SH_CIRCLEQ_LASTP(head, type), elm); \
usr/src/cmd/sendmail/db/include/shqueue.h
325
(head)->scqh_last = -(elm)->field.scqe_next; \
usr/src/cmd/sendmail/db/include/shqueue.h
328
#define SH_CIRCLEQ_REMOVE(head, elm, field, type) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
329
if (SH_CIRCLEQ_NEXTP(elm, field, type) == (void *)(head)) \
usr/src/cmd/sendmail/db/include/shqueue.h
330
(head)->scqh_last += (elm)->field.scqe_prev; \
usr/src/cmd/sendmail/db/include/shqueue.h
334
if (SH_CIRCLEQ_PREVP(elm, field, type) == (void *)(head)) \
usr/src/cmd/sendmail/db/include/shqueue.h
335
(head)->scqh_first += (elm)->field.scqe_next; \
usr/src/cmd/sendmail/db/include/shqueue.h
53
#define SH_LIST_FIRSTP(head, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
54
((struct type *)(((u_int8_t *)(head)) + (head)->slh_first))
usr/src/cmd/sendmail/db/include/shqueue.h
56
#define SH_LIST_FIRST(head, type) \
usr/src/cmd/sendmail/db/include/shqueue.h
57
((head)->slh_first == -1 ? NULL : \
usr/src/cmd/sendmail/db/include/shqueue.h
58
((struct type *)(((u_int8_t *)(head)) + (head)->slh_first)))
usr/src/cmd/sendmail/db/include/shqueue.h
73
#define SH_LIST_END(head) NULL
usr/src/cmd/sendmail/db/include/shqueue.h
83
#define SH_LIST_INIT(head) (head)->slh_first = -1
usr/src/cmd/sendmail/db/include/shqueue.h
97
#define SH_LIST_INSERT_HEAD(head, elm, field, type) do { \
usr/src/cmd/sendmail/db/include/shqueue.h
98
if ((head)->slh_first != -1) { \
usr/src/cmd/sendmail/include/sm/tailq.h
100
(head)->tqh_first = NULL; \
usr/src/cmd/sendmail/include/sm/tailq.h
101
(head)->tqh_last = &(head)->tqh_first; \
usr/src/cmd/sendmail/include/sm/tailq.h
104
#define SM_TAILQ_INSERT_HEAD(head, elm, field) do { \
usr/src/cmd/sendmail/include/sm/tailq.h
105
if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
usr/src/cmd/sendmail/include/sm/tailq.h
106
(head)->tqh_first->field.tqe_prev = \
usr/src/cmd/sendmail/include/sm/tailq.h
109
(head)->tqh_last = &(elm)->field.tqe_next; \
usr/src/cmd/sendmail/include/sm/tailq.h
110
(head)->tqh_first = (elm); \
usr/src/cmd/sendmail/include/sm/tailq.h
111
(elm)->field.tqe_prev = &(head)->tqh_first; \
usr/src/cmd/sendmail/include/sm/tailq.h
114
#define SM_TAILQ_INSERT_TAIL(head, elm, field) do { \
usr/src/cmd/sendmail/include/sm/tailq.h
116
(elm)->field.tqe_prev = (head)->tqh_last; \
usr/src/cmd/sendmail/include/sm/tailq.h
117
*(head)->tqh_last = (elm); \
usr/src/cmd/sendmail/include/sm/tailq.h
118
(head)->tqh_last = &(elm)->field.tqe_next; \
usr/src/cmd/sendmail/include/sm/tailq.h
121
#define SM_TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
usr/src/cmd/sendmail/include/sm/tailq.h
126
(head)->tqh_last = &(elm)->field.tqe_next; \
usr/src/cmd/sendmail/include/sm/tailq.h
138
#define SM_TAILQ_REMOVE(head, elm, field) do { \
usr/src/cmd/sendmail/include/sm/tailq.h
143
(head)->tqh_last = (elm)->field.tqe_prev; \
usr/src/cmd/sendmail/include/sm/tailq.h
147
#define SM_TAILQ_REPLACE(head, elm, elm2, field) do { \
usr/src/cmd/sendmail/include/sm/tailq.h
152
(head)->tqh_last = &(elm2)->field.tqe_next; \
usr/src/cmd/sendmail/include/sm/tailq.h
63
#define SM_TAILQ_HEAD_INITIALIZER(head) \
usr/src/cmd/sendmail/include/sm/tailq.h
64
{ NULL, &(head).tqh_first }
usr/src/cmd/sendmail/include/sm/tailq.h
75
#define SM_TAILQ_FIRST(head) ((head)->tqh_first)
usr/src/cmd/sendmail/include/sm/tailq.h
76
#define SM_TAILQ_END(head) NULL
usr/src/cmd/sendmail/include/sm/tailq.h
78
#define SM_TAILQ_LAST(head, headname) \
usr/src/cmd/sendmail/include/sm/tailq.h
79
(*(((struct headname *)((head)->tqh_last))->tqh_last))
usr/src/cmd/sendmail/include/sm/tailq.h
83
#define SM_TAILQ_EMPTY(head) \
usr/src/cmd/sendmail/include/sm/tailq.h
84
(SM_TAILQ_FIRST(head) == SM_TAILQ_END(head))
usr/src/cmd/sendmail/include/sm/tailq.h
86
#define SM_TAILQ_FOREACH(var, head, field) \
usr/src/cmd/sendmail/include/sm/tailq.h
87
for((var) = SM_TAILQ_FIRST(head); \
usr/src/cmd/sendmail/include/sm/tailq.h
88
(var) != SM_TAILQ_END(head); \
usr/src/cmd/sendmail/include/sm/tailq.h
91
#define SM_TAILQ_FOREACH_REVERSE(var, head, headname, field) \
usr/src/cmd/sendmail/include/sm/tailq.h
92
for((var) = SM_TAILQ_LAST(head, headname); \
usr/src/cmd/sendmail/include/sm/tailq.h
93
(var) != SM_TAILQ_END(head); \
usr/src/cmd/sendmail/include/sm/tailq.h
99
#define SM_TAILQ_INIT(head) do { \
usr/src/cmd/sgs/crle/common/config.c
210
head = (Rtc_head *)addr;
usr/src/cmd/sgs/crle/common/config.c
215
head->ch_hash = hashoff;
usr/src/cmd/sgs/crle/common/config.c
217
hashtbl = (Word *)(CAST_PTRINT(char *, head->ch_hash) + addr);
usr/src/cmd/sgs/crle/common/config.c
219
head->ch_obj = objoff;
usr/src/cmd/sgs/crle/common/config.c
221
objtbl = (Rtc_obj *)(CAST_PTRINT(char *, head->ch_obj) + addr);
usr/src/cmd/sgs/crle/common/config.c
224
head->ch_file = fileoff;
usr/src/cmd/sgs/crle/common/config.c
226
filetbl = (Rtc_file *)(CAST_PTRINT(char *, head->ch_file) + addr);
usr/src/cmd/sgs/crle/common/config.c
228
head->ch_dir = diroff;
usr/src/cmd/sgs/crle/common/config.c
230
dirtbl = (Rtc_dir *)(CAST_PTRINT(char *, head->ch_dir) + addr);
usr/src/cmd/sgs/crle/common/config.c
232
head->ch_env = envoff;
usr/src/cmd/sgs/crle/common/config.c
234
envtbl = (Rtc_env *)(CAST_PTRINT(char *, head->ch_env) + addr);
usr/src/cmd/sgs/crle/common/config.c
236
head->ch_fltr = fltroff;
usr/src/cmd/sgs/crle/common/config.c
238
fltrtbl = (Rtc_fltr *)(CAST_PTRINT(char *, head->ch_fltr) + addr);
usr/src/cmd/sgs/crle/common/config.c
239
head->ch_flte = flteoff;
usr/src/cmd/sgs/crle/common/config.c
241
fltetbl = _fltetbl = (Rtc_flte *)(CAST_PTRINT(char *, head->ch_flte) +
usr/src/cmd/sgs/crle/common/config.c
244
head->ch_str = stroff;
usr/src/cmd/sgs/crle/common/config.c
245
strtbl = _strtbl = (char *)(CAST_PTRINT(char *, head->ch_str) + addr);
usr/src/cmd/sgs/crle/common/config.c
250
head->ch_version = RTC_VER_CURRENT;
usr/src/cmd/sgs/crle/common/config.c
253
head->ch_cnflags |= RTC_HDR_ALTER;
usr/src/cmd/sgs/crle/common/config.c
255
head->ch_cnflags |= RTC_HDR_IGNORE;
usr/src/cmd/sgs/crle/common/config.c
256
head->ch_dlflags = crle->c_dlflags;
usr/src/cmd/sgs/crle/common/config.c
259
head->ch_cnflags |= RTC_HDR_64;
usr/src/cmd/sgs/crle/common/config.c
262
head->ch_cnflags |= RTC_HDR_UPM;
usr/src/cmd/sgs/crle/common/config.c
429
head->ch_app = _filetbl[_id].cf_obj;
usr/src/cmd/sgs/crle/common/config.c
517
head->ch_edlibpath = head->ch_str + (_strtbl - strtbl);
usr/src/cmd/sgs/crle/common/config.c
522
head->ch_edlibpath = 0;
usr/src/cmd/sgs/crle/common/config.c
528
head->ch_adlibpath = 0;
usr/src/cmd/sgs/crle/common/config.c
531
head->ch_eslibpath = head->ch_str + (_strtbl - strtbl);
usr/src/cmd/sgs/crle/common/config.c
536
head->ch_eslibpath = 0;
usr/src/cmd/sgs/crle/common/config.c
542
head->ch_aslibpath = 0;
usr/src/cmd/sgs/crle/common/config.c
552
envtbl->env_str = head->ch_str + (_strtbl - strtbl);
usr/src/cmd/sgs/crle/common/config.c
625
Rtc_head *head = (Rtc_head *)crle->c_tempheadaddr;
usr/src/cmd/sgs/crle/common/config.c
628
head->ch_cnflags &= ~RTC_HDR_IGNORE;
usr/src/cmd/sgs/crle/common/config.c
64
Rtc_head *head;
usr/src/cmd/sgs/crle/common/print.c
190
Rtc_head *head;
usr/src/cmd/sgs/crle/common/print.c
217
head = (Rtc_head *) addr;
usr/src/cmd/sgs/crle/common/print.c
227
if (!(head->ch_cnflags & RTC_HDR_64)) {
usr/src/cmd/sgs/crle/common/print.c
234
if (head->ch_cnflags & RTC_HDR_64)
usr/src/cmd/sgs/crle/common/print.c
276
objtbl = (Rtc_obj *)(CAST_PTRINT(char *, head->ch_obj) + addr);
usr/src/cmd/sgs/crle/common/print.c
277
strtbl = (const char *)(CAST_PTRINT(char *, head->ch_str) + addr);
usr/src/cmd/sgs/crle/common/print.c
291
if (head->ch_version > RTC_VER_CURRENT) {
usr/src/cmd/sgs/crle/common/print.c
295
(int)head->ch_version, RTC_VER_CURRENT);
usr/src/cmd/sgs/crle/common/print.c
300
(int)head->ch_version, RTC_VER_CURRENT);
usr/src/cmd/sgs/crle/common/print.c
308
if (head->ch_version == RTC_VER_ONE) {
usr/src/cmd/sgs/crle/common/print.c
310
crle->c_confil, (int)head->ch_version);
usr/src/cmd/sgs/crle/common/print.c
314
if (!(crle->c_flags & CRLE_UPDATE) && (head->ch_cnflags & RTC_HDR_64)) {
usr/src/cmd/sgs/crle/common/print.c
330
if (head->ch_dlflags)
usr/src/cmd/sgs/crle/common/print.c
331
fmt = conv_dl_flag(head->ch_dlflags, 0, &dl_flag_buf);
usr/src/cmd/sgs/crle/common/print.c
335
(void) printf(MSG_INTL(MSG_DMP_HEAD), (int)head->ch_version,
usr/src/cmd/sgs/crle/common/print.c
362
if (head->ch_dlflags &&
usr/src/cmd/sgs/crle/common/print.c
363
(head->ch_dlflags != RTLD_REL_RELATIVE)) {
usr/src/cmd/sgs/crle/common/print.c
365
conv_dl_flag(head->ch_dlflags, CONV_FMT_ALT_CRLE,
usr/src/cmd/sgs/crle/common/print.c
376
if (head->ch_dlflags &&
usr/src/cmd/sgs/crle/common/print.c
377
(head->ch_dlflags != RTLD_REL_RELATIVE))
usr/src/cmd/sgs/crle/common/print.c
378
crle->c_dlflags = head->ch_dlflags;
usr/src/cmd/sgs/crle/common/print.c
386
if (head->ch_app) {
usr/src/cmd/sgs/crle/common/print.c
389
obj = (Rtc_obj *)(head->ch_app + addr);
usr/src/cmd/sgs/crle/common/print.c
432
if (head->ch_edlibpath) {
usr/src/cmd/sgs/crle/common/print.c
435
str = (const char *)(head->ch_edlibpath + addr);
usr/src/cmd/sgs/crle/common/print.c
439
if ((head->ch_cnflags & RTC_HDR_UPM) == 0) {
usr/src/cmd/sgs/crle/common/print.c
440
if (head->ch_cnflags & RTC_HDR_64)
usr/src/cmd/sgs/crle/common/print.c
489
if (head->ch_eslibpath) {
usr/src/cmd/sgs/crle/common/print.c
492
str = (const char *)(head->ch_eslibpath + addr);
usr/src/cmd/sgs/crle/common/print.c
496
if ((head->ch_cnflags & RTC_HDR_UPM) == 0) {
usr/src/cmd/sgs/crle/common/print.c
497
if (head->ch_cnflags & RTC_HDR_64)
usr/src/cmd/sgs/crle/common/print.c
549
if ((head->ch_version >= RTC_VER_THREE) && head->ch_env) {
usr/src/cmd/sgs/crle/common/print.c
55
printcmd(Crle_desc *crle, Rtc_head * head, APlist *cmdline)
usr/src/cmd/sgs/crle/common/print.c
555
for (envtbl = (Rtc_env *)(head->ch_env + addr);
usr/src/cmd/sgs/crle/common/print.c
589
if ((head->ch_version >= RTC_VER_FOUR) && head->ch_fltr) {
usr/src/cmd/sgs/crle/common/print.c
596
(CAST_PTRINT(char *, head->ch_fltr) + addr);
usr/src/cmd/sgs/crle/common/print.c
599
(CAST_PTRINT(char *, head->ch_flte) + addr);
usr/src/cmd/sgs/crle/common/print.c
632
if (head->ch_resbgn && ((crle->c_flags & CRLE_UPDATE) == 0))
usr/src/cmd/sgs/crle/common/print.c
634
(u_longlong_t)head->ch_resbgn,
usr/src/cmd/sgs/crle/common/print.c
635
(u_longlong_t)head->ch_resend,
usr/src/cmd/sgs/crle/common/print.c
636
(u_longlong_t)(head->ch_resend - head->ch_resbgn));
usr/src/cmd/sgs/crle/common/print.c
641
if (head->ch_hash == 0) {
usr/src/cmd/sgs/crle/common/print.c
643
printcmd(crle, head, cmdline);
usr/src/cmd/sgs/crle/common/print.c
650
for (dirtbl = (Rtc_dir *)(head->ch_dir + addr);
usr/src/cmd/sgs/crle/common/print.c
666
(head->ch_version == RTC_VER_ONE)) {
usr/src/cmd/sgs/crle/common/print.c
68
} else if (head->ch_version > RTC_VER_ONE) {
usr/src/cmd/sgs/crle/common/print.c
737
((head->ch_version == RTC_VER_ONE) &&
usr/src/cmd/sgs/crle/common/print.c
827
printcmd(crle, head, cmdline);
usr/src/cmd/sgs/crle/common/print.c
836
hash = (Word *)(CAST_PTRINT(char *, head->ch_hash) + addr);
usr/src/cmd/sgs/include/list.h
51
Listnode *head; /* the first element */
usr/src/cmd/sgs/include/list.h
66
Elf32_Addr head; /* the first element */
usr/src/cmd/sgs/libcrle/common/dump.c
127
Rtc_head * head = (Rtc_head *)addr;
usr/src/cmd/sgs/libcrle/common/dump.c
134
strtbl = (const char *)((char *)addr + head->ch_str);
usr/src/cmd/sgs/libcrle/common/dump.c
139
for (dirtbl = (Rtc_dir *)(head->ch_dir + addr);
usr/src/cmd/sgs/libcrle/common/dump.c
166
if (head->ch_app) {
usr/src/cmd/sgs/libcrle/common/dump.c
185
obj = (Rtc_obj *)((char *)addr + head->ch_app);
usr/src/cmd/sgs/librtld_db/common/rd_elf.c
835
for (lnp = (Addr)list.head; lnp; lnp = (Addr)lnode.next) {
usr/src/cmd/sgs/rtld/common/config_elf.c
112
for (dirtbl = (Rtc_dir *)(head->ch_dir + addr);
usr/src/cmd/sgs/rtld/common/config_elf.c
200
Rtc_head *head;
usr/src/cmd/sgs/rtld/common/config_elf.c
303
head = (Rtc_head *)addr;
usr/src/cmd/sgs/rtld/common/config_elf.c
308
if (head->ch_version > RTC_VER_CURRENT)
usr/src/cmd/sgs/rtld/common/config_elf.c
316
if (head->ch_cnflags & RTC_HDR_IGNORE)
usr/src/cmd/sgs/rtld/common/config_elf.c
322
if (head->ch_edlibpath) {
usr/src/cmd/sgs/rtld/common/config_elf.c
323
str = (const char *)(head->ch_edlibpath + addr);
usr/src/cmd/sgs/rtld/common/config_elf.c
324
if ((head->ch_cnflags & RTC_HDR_UPM) == 0) {
usr/src/cmd/sgs/rtld/common/config_elf.c
337
if (head->ch_eslibpath) {
usr/src/cmd/sgs/rtld/common/config_elf.c
338
str = (const char *)(head->ch_eslibpath + addr);
usr/src/cmd/sgs/rtld/common/config_elf.c
339
if ((head->ch_cnflags & RTC_HDR_UPM) == 0) {
usr/src/cmd/sgs/rtld/common/config_elf.c
358
if ((head->ch_version >= RTC_VER_THREE) && head->ch_env &&
usr/src/cmd/sgs/rtld/common/config_elf.c
360
if (readenv_config((Rtc_env *)(head->ch_env + addr),
usr/src/cmd/sgs/rtld/common/config_elf.c
369
if ((head->ch_version >= RTC_VER_FOUR) && head->ch_fltr &&
usr/src/cmd/sgs/rtld/common/config_elf.c
372
config->c_fltr = (Rtc_fltr *)(head->ch_fltr + addr);
usr/src/cmd/sgs/rtld/common/config_elf.c
373
config->c_flte = (Rtc_flte *)(head->ch_flte + addr);
usr/src/cmd/sgs/rtld/common/config_elf.c
380
if ((!(rtld_flags & RT_FL_NODIRCFG)) && head->ch_hash) {
usr/src/cmd/sgs/rtld/common/config_elf.c
381
config->c_hashtbl = (Word *)(head->ch_hash + addr);
usr/src/cmd/sgs/rtld/common/config_elf.c
384
config->c_objtbl = (Rtc_obj *)(head->ch_obj + addr);
usr/src/cmd/sgs/rtld/common/config_elf.c
385
config->c_strtbl = (const char *)(head->ch_str + addr);
usr/src/cmd/sgs/rtld/common/config_elf.c
399
(head->ch_cnflags & RTC_HDR_ALTER)) {
usr/src/cmd/sgs/rtld/common/config_elf.c
403
elf_config_validate(addr, head, lmp);
usr/src/cmd/sgs/rtld/common/config_elf.c
405
if (head->ch_resbgn) {
usr/src/cmd/sgs/rtld/common/config_elf.c
407
if (((config->c_bgn <= head->ch_resbgn) &&
usr/src/cmd/sgs/rtld/common/config_elf.c
408
(config->c_bgn >= head->ch_resend)) ||
usr/src/cmd/sgs/rtld/common/config_elf.c
410
(caddr_t)(uintptr_t)head->ch_resbgn,
usr/src/cmd/sgs/rtld/common/config_elf.c
411
(head->ch_resend - head->ch_resbgn), PROT_NONE,
usr/src/cmd/sgs/rtld/common/config_elf.c
47
elf_config_validate(Addr addr, Rtc_head *head, Rt_map *lmp)
usr/src/cmd/sgs/rtld/common/config_elf.c
65
if (head->ch_app) {
usr/src/cmd/sgs/rtld/common/config_elf.c
69
obj = (Rtc_obj *)(head->ch_app + addr);
usr/src/cmd/split/split.c
195
(void) getcwd(head, sizeof (head));
usr/src/cmd/split/split.c
198
(void) strcpy(head, output_file_name);
usr/src/cmd/split/split.c
199
last = strrchr(head, '/');
usr/src/cmd/split/split.c
203
if (statvfs(head, &stbuf) < 0) {
usr/src/cmd/split/split.c
204
perror(head);
usr/src/cmd/split/split.c
68
char head[MAXPATHLEN];
usr/src/cmd/svr4pkg/libinst/pathdup.c
55
static struct dup *head, *tail, *new;
usr/src/cmd/svr4pkg/libinst/pathdup.c
71
if (head == NULL)
usr/src/cmd/svr4pkg/libinst/pathdup.c
75
tail = head->next;
usr/src/cmd/svr4pkg/libinst/pathdup.c
81
tail = head;
usr/src/cmd/svr4pkg/libinst/pathdup.c
98
if (head == NULL)
usr/src/cmd/svr4pkg/libinst/pathdup.c
99
head = new;
usr/src/cmd/syslogd/list.c
109
ll_check(llh_t *head)
usr/src/cmd/syslogd/list.c
112
ll_t *ptr = head->front;
usr/src/cmd/syslogd/list.c
114
ll_t **prev = &head->front;
usr/src/cmd/syslogd/list.c
124
assert(head->back == prev);
usr/src/cmd/syslogd/list.c
35
ll_init(llh_t *head)
usr/src/cmd/syslogd/list.c
37
head->back = &head->front;
usr/src/cmd/syslogd/list.c
38
head->front = NULL;
usr/src/cmd/syslogd/list.c
42
ll_enqueue(llh_t *head, ll_t *data)
usr/src/cmd/syslogd/list.c
45
*head->back = data;
usr/src/cmd/syslogd/list.c
46
head->back = &data->n;
usr/src/cmd/syslogd/list.c
55
ll_mapf(llh_t *head, void (*func)(void *))
usr/src/cmd/syslogd/list.c
57
ll_t *t = head->front;
usr/src/cmd/syslogd/list.c
68
ll_peek(llh_t *head)
usr/src/cmd/syslogd/list.c
70
return (head->front);
usr/src/cmd/syslogd/list.c
74
ll_dequeue(llh_t *head)
usr/src/cmd/syslogd/list.c
77
ptr = head->front;
usr/src/cmd/syslogd/list.c
78
if (ptr && ((head->front = ptr->n) == NULL))
usr/src/cmd/syslogd/list.c
79
head->back = &head->front;
usr/src/cmd/syslogd/llt.h
39
void ll_init(llh_t *head);
usr/src/cmd/syslogd/llt.h
40
void ll_enqueue(llh_t *head, ll_t *data);
usr/src/cmd/syslogd/llt.h
41
void ll_mapf(llh_t *head, void (*func)(void *));
usr/src/cmd/syslogd/llt.h
42
ll_t * ll_peek(llh_t *head);
usr/src/cmd/syslogd/llt.h
43
ll_t * ll_dequeue(llh_t *head);
usr/src/cmd/syslogd/llt.h
45
int ll_check(llh_t *head);
usr/src/cmd/syslogd/syslogd.c
1734
char head[MAXLINE+1];
usr/src/cmd/syslogd/syslogd.c
1799
hlen = snprintf(head, sizeof (head),
usr/src/cmd/syslogd/syslogd.c
1802
DPRINT2(5, "writemsg(%u): head = \"%s\"\n", mythreadno, head);
usr/src/cmd/syslogd/syslogd.c
1811
(void) strncpy(tmpbuf, head, hlen);
usr/src/cmd/tic/tic_parse.c
119
struct use_item *head, *tail;
usr/src/cmd/tic/tic_parse.c
203
while (use_list.head != NULL && old_use_count != use_count) {
usr/src/cmd/tic/tic_parse.c
217
for (ptr = use_list.head; ptr != NULL;
usr/src/cmd/tic/tic_parse.c
234
if (use_list.head != NULL && !check_only) {
usr/src/cmd/tic/tic_parse.c
240
for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) {
usr/src/cmd/tic/tic_parse.c
257
for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) {
usr/src/cmd/tic/tic_parse.c
450
if (use_list.head != NULL) {
usr/src/cmd/tic/tic_parse.c
456
use_list.tail = use_list.head = item;
usr/src/cmd/tic/tic_parse.c
479
use_list.head = ptr->fptr;
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
100
for (entry = head; entry != NULL; entry = entry->next)
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
107
add_addr(struct tsol_addr_list **head, int prefix_len, in6_addr_t addr,
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
124
entry->next = *head;
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
126
*head = entry;
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
130
find_addr(struct tsol_addr_list *head, int prefix_len, in6_addr_t addr)
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
134
for (entry = head; entry != NULL; entry = entry->next)
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
75
add_name(struct tsol_name_list **head, const char *name, int linenum)
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
90
entry->next = *head;
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
92
*head = entry;
usr/src/cmd/tsol/tnchkdb/tnchkdb.c
96
find_name(struct tsol_name_list *head, const char *name)
usr/src/cmd/vi/misc/ctags.c
149
static NODE *head; /* the head of the sorted binary tree */
usr/src/cmd/vi/misc/ctags.c
261
put_entries(head);
usr/src/cmd/vi/misc/ctags.c
278
put_entries(head);
usr/src/cmd/vi/misc/ctags.c
405
put_entries(head);
usr/src/cmd/vi/misc/ctags.c
406
free_tree(head);
usr/src/cmd/vi/misc/ctags.c
407
head = np = (NODE *) malloc(sizeof (NODE));
usr/src/cmd/vi/misc/ctags.c
443
if (head == NULL)
usr/src/cmd/vi/misc/ctags.c
444
head = np;
usr/src/cmd/vi/misc/ctags.c
446
add_node(np, head);
usr/src/cmd/vscan/vscand/vs_icap.c
1212
char head[VS_HDR_SZ + 1];
usr/src/cmd/vscan/vscand/vs_icap.c
1224
hlen = snprintf(head, sizeof (head), "%x\r\n", nread);
usr/src/cmd/vscan/vscand/vs_icap.c
1226
(void) memcpy(hdr, head, hlen);
usr/src/cmd/zfs/zfs_project.c
212
list_t *head)
usr/src/cmd/zfs/zfs_project.c
252
zfs_project_item_alloc(head, fullname);
usr/src/cmd/zfs/zfs_project.c
271
list_t head;
usr/src/cmd/zfs/zfs_project.c
294
list_create(&head, sizeof (zfs_project_item_t),
usr/src/cmd/zfs/zfs_project.c
296
zfs_project_item_alloc(&head, name);
usr/src/cmd/zfs/zfs_project.c
297
while ((zpi = list_remove_head(&head)) != NULL) {
usr/src/cmd/zfs/zfs_project.c
299
ret = zfs_project_handle_dir(zpi->zpi_name, zpc, &head);
usr/src/cmd/zfs/zfs_project.c
54
zfs_project_item_alloc(list_t *head, const char *name)
usr/src/cmd/zfs/zfs_project.c
60
list_insert_tail(head, zpi);
usr/src/common/ctf/ctf_util.c
77
ctf_list_insert_before(ctf_list_t *head, void *item, void *nitem)
usr/src/common/ctf/ctf_util.c
89
ASSERT(head->l_next == lp);
usr/src/common/ctf/ctf_util.c
90
head->l_next = new;
usr/src/common/fs/bootfsops.c
172
fp->bf_next = head;
usr/src/common/fs/bootfsops.c
173
head = fp;
usr/src/common/fs/bootfsops.c
194
for (fp = head; fp != NULL; fp = fp->bf_next) {
usr/src/common/fs/bootfsops.c
301
while (head != NULL) {
usr/src/common/fs/bootfsops.c
302
fp = head;
usr/src/common/fs/bootfsops.c
303
head = head->bf_next;
usr/src/common/fs/bootfsops.c
53
static bfile_t *head;
usr/src/common/fs/hsfs.c
132
fileid_t *filep = head;
usr/src/common/fs/hsfs.c
135
while ((filep = filep->fi_forw) != head)
usr/src/common/fs/hsfs.c
409
head = bkmem_alloc(sizeof (*head));
usr/src/common/fs/hsfs.c
410
bzero(head, sizeof (*head));
usr/src/common/fs/hsfs.c
411
head->fi_back = head->fi_forw = head;
usr/src/common/fs/hsfs.c
414
head->fi_blocknum = hdbtodb(ISO_VOLDESC_SEC);
usr/src/common/fs/hsfs.c
415
head->fi_offset = 0;
usr/src/common/fs/hsfs.c
416
head->fi_count = ISO_SECTOR_SIZE;
usr/src/common/fs/hsfs.c
417
head->fi_memp = head->fi_buf;
usr/src/common/fs/hsfs.c
418
if (diskread(head)) {
usr/src/common/fs/hsfs.c
425
bufp = head->fi_buf;
usr/src/common/fs/hsfs.c
480
filep->fi_back = head->fi_back;
usr/src/common/fs/hsfs.c
481
filep->fi_forw = head;
usr/src/common/fs/hsfs.c
482
head->fi_back->fi_forw = filep;
usr/src/common/fs/hsfs.c
483
head->fi_back = filep;
usr/src/common/fs/hsfs.c
521
if (filep->fi_taken == 0 || filep == head) {
usr/src/common/fs/hsfs.c
544
while ((filep = head->fi_forw) != head)
usr/src/common/fs/hsfs.c
549
bkmem_free(head, sizeof (fileid_t));
usr/src/common/fs/hsfs.c
551
head = NULL;
usr/src/common/fs/hsfs.c
89
static fileid_t *head;
usr/src/common/fs/pcfs.c
104
static fileid_t *head;
usr/src/common/fs/pcfs.c
121
head = (fileid_t *)bkmem_alloc(sizeof (fileid_t));
usr/src/common/fs/pcfs.c
122
head->fi_back = head->fi_forw = head;
usr/src/common/fs/pcfs.c
123
head->fi_filedes = 0;
usr/src/common/fs/pcfs.c
124
head->fi_taken = 0;
usr/src/common/fs/pcfs.c
127
head->fi_blocknum = 0;
usr/src/common/fs/pcfs.c
128
head->fi_count = SECSIZ;
usr/src/common/fs/pcfs.c
129
head->fi_memp = (caddr_t)pcfsp->f_sector;
usr/src/common/fs/pcfs.c
130
if (diskread(head)) {
usr/src/common/fs/pcfs.c
174
head->fi_blocknum = nsec_start =
usr/src/common/fs/pcfs.c
176
head->fi_count = nsec_cache * SECSIZ;
usr/src/common/fs/pcfs.c
177
head->fi_memp = cluster_cache;
usr/src/common/fs/pcfs.c
178
if (diskread(head)) {
usr/src/common/fs/pcfs.c
214
filep->fi_back = head->fi_back;
usr/src/common/fs/pcfs.c
215
filep->fi_forw = head;
usr/src/common/fs/pcfs.c
216
head->fi_back->fi_forw = filep;
usr/src/common/fs/pcfs.c
217
head->fi_back = filep;
usr/src/common/fs/pcfs.c
244
if (filep->fi_taken == 0 || filep == head) {
usr/src/common/fs/pcfs.c
263
while ((filep = head->fi_forw) != head)
usr/src/common/fs/pcfs.c
268
bkmem_free(head, sizeof (fileid_t));
usr/src/common/fs/pcfs.c
270
head = NULL;
usr/src/common/fs/pcfs.c
383
fileid_t *filep = head;
usr/src/common/fs/pcfs.c
386
while ((filep = filep->fi_forw) != head)
usr/src/common/fs/pcfs.c
601
head->fi_blocknum = sector;
usr/src/common/fs/pcfs.c
602
head->fi_count = nsec * SECSIZ;
usr/src/common/fs/pcfs.c
603
head->fi_memp = head->fi_buf;
usr/src/common/fs/pcfs.c
604
if (diskread(head)) {
usr/src/common/fs/pcfs.c
609
return (head->fi_buf);
usr/src/common/fs/ufsops.c
122
fileid_t *filep = head;
usr/src/common/fs/ufsops.c
125
while ((filep = filep->fi_forw) != head)
usr/src/common/fs/ufsops.c
55
static fileid_t *head;
usr/src/common/fs/ufsops.c
562
head = (fileid_t *)bkmem_alloc(sizeof (fileid_t));
usr/src/common/fs/ufsops.c
563
head->fi_back = head->fi_forw = head;
usr/src/common/fs/ufsops.c
564
head->fi_filedes = 0;
usr/src/common/fs/ufsops.c
565
head->fi_taken = 0;
usr/src/common/fs/ufsops.c
568
head->fi_devp = ufs_devp;
usr/src/common/fs/ufsops.c
569
head->fi_blocknum = SBLOCK;
usr/src/common/fs/ufsops.c
570
head->fi_count = (uint_t)SBSIZE;
usr/src/common/fs/ufsops.c
571
head->fi_memp = (caddr_t)&(ufs_devp->un_fs.di_fs);
usr/src/common/fs/ufsops.c
572
head->fi_offset = 0;
usr/src/common/fs/ufsops.c
574
if (diskread(head)) {
usr/src/common/fs/ufsops.c
626
filep->fi_back = head->fi_back;
usr/src/common/fs/ufsops.c
627
filep->fi_forw = head;
usr/src/common/fs/ufsops.c
628
head->fi_back->fi_forw = filep;
usr/src/common/fs/ufsops.c
629
head->fi_back = filep;
usr/src/common/fs/ufsops.c
752
if (filep->fi_taken && (filep != head)) {
usr/src/common/fs/ufsops.c
788
fileid_t *filep = head;
usr/src/common/fs/ufsops.c
790
while ((filep = filep->fi_forw) != head)
usr/src/common/fs/ufsops.c
798
bkmem_free((char *)head, sizeof (fileid_t));
usr/src/common/fs/ufsops.c
800
head = NULL;
usr/src/common/list/list.c
142
list_node_t *head = list->list_head.list_next;
usr/src/common/list/list.c
143
if (head == &list->list_head)
usr/src/common/list/list.c
145
list_remove_node(head);
usr/src/common/list/list.c
146
return (list_object(list, head));
usr/src/common/net/patricia/radix.c
1188
rn_inithead(head, off)
usr/src/common/net/patricia/radix.c
1189
void **head;
usr/src/common/net/patricia/radix.c
1194
if (*head)
usr/src/common/net/patricia/radix.c
1202
*head = rnh;
usr/src/common/net/patricia/radix.c
176
rn_search(v_arg, head)
usr/src/common/net/patricia/radix.c
178
struct radix_node *head;
usr/src/common/net/patricia/radix.c
183
for (x = head, v = v_arg; x->rn_bit >= 0; ) {
usr/src/common/net/patricia/radix.c
196
rn_search_m(v_arg, head, m_arg)
usr/src/common/net/patricia/radix.c
197
struct radix_node *head;
usr/src/common/net/patricia/radix.c
203
for (x = head; x->rn_bit >= 0; ) {
usr/src/common/net/patricia/radix.c
247
rn_lookup(v_arg, m_arg, head)
usr/src/common/net/patricia/radix.c
249
struct radix_node_head *head;
usr/src/common/net/patricia/radix.c
255
x = rn_addmask(m_arg, 1, head->rnh_treetop->rn_offset);
usr/src/common/net/patricia/radix.c
260
x = rn_match(v_arg, head);
usr/src/common/net/patricia/radix.c
304
rn_match(v_arg, head)
usr/src/common/net/patricia/radix.c
306
struct radix_node_head *head;
usr/src/common/net/patricia/radix.c
308
return (rn_match_args(v_arg, head, NULL, NULL));
usr/src/common/net/patricia/radix.c
312
rn_match_args(v_arg, head, rn_leaf_fn, rn_leaf_arg)
usr/src/common/net/patricia/radix.c
314
struct radix_node_head *head;
usr/src/common/net/patricia/radix.c
319
struct radix_node *t = head->rnh_treetop, *x;
usr/src/common/net/patricia/radix.c
482
rn_insert(v_arg, head, dupentry, nodes)
usr/src/common/net/patricia/radix.c
484
struct radix_node_head *head;
usr/src/common/net/patricia/radix.c
489
struct radix_node *top = head->rnh_treetop;
usr/src/common/net/patricia/radix.c
688
rn_addroute(v_arg, n_arg, head, treenodes)
usr/src/common/net/patricia/radix.c
690
struct radix_node_head *head;
usr/src/common/net/patricia/radix.c
695
struct radix_node *saved_tt, *top = head->rnh_treetop;
usr/src/common/net/patricia/radix.c
718
saved_tt = tt = rn_insert(v, head, &keyduplicated, treenodes);
usr/src/common/net/patricia/radix.c
884
rn_delete(v_arg, netmask_arg, head)
usr/src/common/net/patricia/radix.c
886
struct radix_node_head *head;
usr/src/common/net/patricia/radix.c
896
x = head->rnh_treetop;
usr/src/grub/grub-0.97/stage2/bios.c
113
int head;
usr/src/grub/grub-0.97/stage2/bios.c
117
head = sector / geometry->sectors;
usr/src/grub/grub-0.97/stage2/bios.c
118
head_offset = head % geometry->heads;
usr/src/grub/grub-0.97/stage2/bios.c
119
cylinder_offset = head / geometry->heads;
usr/src/grub/grub-0.97/stage2/builtins.c
1838
char *cylinder, *head, *sector, *total_sector;
usr/src/grub/grub-0.97/stage2/builtins.c
1842
head = skip_to (0, cylinder);
usr/src/grub/grub-0.97/stage2/builtins.c
1843
sector = skip_to (0, head);
usr/src/grub/grub-0.97/stage2/builtins.c
1846
|| ! safe_parse_maxint (&head, &num_head)
usr/src/grub/grub-0.97/stage2/builtins.c
3285
int cylinder, head, sector;
usr/src/grub/grub-0.97/stage2/builtins.c
3288
head = (lba / buf_geom.sectors) % buf_geom.heads;
usr/src/grub/grub-0.97/stage2/builtins.c
3296
*dh = head;
usr/src/lib/auditd_plugins/binfile/binfile.c
141
freedirlist(dirlist_t *head)
usr/src/lib/auditd_plugins/binfile/binfile.c
147
if (head != NULL) {
usr/src/lib/auditd_plugins/binfile/binfile.c
148
n1 = head;
usr/src/lib/auditd_plugins/binfile/binfile.c
155
} while (n1 != head);
usr/src/lib/auditd_plugins/remote/audit_remote.h
92
struct transq_node_s *head;
usr/src/lib/auditd_plugins/remote/transport.c
1116
cur_node = transq_hdr.head;
usr/src/lib/auditd_plugins/remote/transport.c
1391
transq_dequeue(transq_hdr.head);
usr/src/lib/auditd_plugins/remote/transport.c
1440
transq_hdr.head = node_ptr->next;
usr/src/lib/auditd_plugins/remote/transport.c
1476
if (transq_hdr.head == NULL) {
usr/src/lib/auditd_plugins/remote/transport.c
1477
transq_hdr.head = *node_ptr;
usr/src/lib/auditd_plugins/remote/transport.c
1513
transq_node_t *cur_node = transq_hdr.head;
usr/src/lib/fm/topo/libtopo/common/topo_parse.c
146
tf_idata_insert(tf_idata_t **head, tf_idata_t *ni)
usr/src/lib/fm/topo/libtopo/common/topo_parse.c
151
for (l = *head; l != NULL; l = l->ti_next) {
usr/src/lib/fm/topo/libtopo/common/topo_parse.c
158
*head = ni;
usr/src/lib/fm/topo/libtopo/common/topo_parse.c
165
tf_idata_lookup(tf_idata_t *head, topo_instance_t i)
usr/src/lib/fm/topo/libtopo/common/topo_parse.c
168
for (f = head; f != NULL; f = f->ti_next)
usr/src/lib/fm/topo/modules/common/pcibus/did.c
431
did_link_set(topo_mod_t *mod, tnode_t *head, did_t *tail)
usr/src/lib/fm/topo/modules/common/pcibus/did.c
435
assert(head != NULL);
usr/src/lib/fm/topo/modules/common/pcibus/did.c
436
pd = hd = did_find(mod, topo_node_getspecific(head));
usr/src/lib/gss_mechs/mech_krb5/krb5/os/dnssrv.c
153
if (head == NULL || head->priority > srv->priority) {
usr/src/lib/gss_mechs/mech_krb5/krb5/os/dnssrv.c
154
srv->next = head;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/dnssrv.c
155
head = srv;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/dnssrv.c
165
for (entry = head; entry != NULL; entry = entry->next) {
usr/src/lib/gss_mechs/mech_krb5/krb5/os/dnssrv.c
182
*answers = head;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/dnssrv.c
68
struct srv_dns_entry *head = NULL;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
1105
struct srv_dns_entry *head = NULL;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
1107
code = krb5int_make_srv_query_realm(realm, name, proto, &head);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
1111
if (head == NULL)
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
1114
*port = head->port;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
1115
(void) strlcpy(srvhost, head->host, MAX_DNS_NAMELEN);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
1121
krb5int_free_srv_dns_data(head);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
588
struct srv_dns_entry *head = NULL;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
617
code = krb5int_make_srv_query_realm(realm, dnsname, "_udp", &head);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
622
code = krb5int_make_srv_query_realm(realm, dnsname, "_tcp", &head);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
627
if (head == NULL)
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
631
if (head->next == 0 && head->host[0] == 0) {
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
632
free(head->host);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
633
free(head);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
641
*dns_list_head = head;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
652
struct srv_dns_entry *head,
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
662
for (entry = head; entry != NULL; entry = entry->next) {
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
693
struct srv_dns_entry *head = dns_list_head;
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
698
for (entry = head; entry; entry = entry->next, c++) {
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
710
(void) strlcpy(s, head->host, buf_size);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/locate_kdc.c
711
for (entry = head->next; entry; entry = entry->next) {
usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/rc_mem.c
36
struct authlist *ta, *pta = NULL, *head;
usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/rc_mem.c
65
head = t->h[rephash];
usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/rc_mem.c
67
free(head);
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
109
e->next = head->first;
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
110
head->first = e;
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
34
static inline int gsserrmap_init (struct gsserrmap__head *head)
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
36
head->first = NULL;
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
39
static inline void gsserrmap_destroy (struct gsserrmap__head *head)
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
44
for (e = head->first; e; e = e_next) {
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
52
head->first = NULL;
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
56
gsserrmap__find_node (struct gsserrmap__head *head, OM_uint32 key)
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
59
for (e = head->first; e; e = e->next)
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
66
gsserrmap_find (struct gsserrmap__head *head, OM_uint32 key)
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
68
struct gsserrmap__element *e = gsserrmap__find_node(head, key);
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
86
gsserrmap_replace_or_insert (struct gsserrmap__head *head,
usr/src/lib/gss_mechs/mech_krb5/mech/error_map.h
89
struct gsserrmap__element *e = gsserrmap__find_node(head, key);
usr/src/lib/hal/libhal/common/libhal.c
3840
LibHalChangeSetElement *head;
usr/src/lib/hal/libhal/common/libhal.c
3871
changeset->head = NULL;
usr/src/lib/hal/libhal/common/libhal.c
3884
if (changeset->head == NULL) {
usr/src/lib/hal/libhal/common/libhal.c
3885
changeset->head = elem;
usr/src/lib/hal/libhal/common/libhal.c
4178
if (changeset->head == NULL) {
usr/src/lib/hal/libhal/common/libhal.c
4201
for (elem = changeset->head; elem != NULL; elem = elem->next) {
usr/src/lib/hal/libhal/common/libhal.c
4291
for (elem = changeset->head; elem != NULL; elem = elem2) {
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
109
#define LIST_INSERT_HEAD(head, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
110
if (((elm)->field.le_next = (head)->lh_first) != NULL) \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
111
(head)->lh_first->field.le_prev = &(elm)->field.le_next;\
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
112
(head)->lh_first = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
113
(elm)->field.le_prev = &(head)->lh_first; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
141
#define TAILQ_INIT(head) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
142
(head)->tqh_first = NULL; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
143
(head)->tqh_last = &(head)->tqh_first; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
146
#define TAILQ_INSERT_HEAD(head, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
147
if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
151
(head)->tqh_last = &(elm)->field.tqe_next; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
152
(head)->tqh_first = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
153
(elm)->field.tqe_prev = &(head)->tqh_first; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
156
#define TAILQ_INSERT_TAIL(head, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
158
(elm)->field.tqe_prev = (head)->tqh_last; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
159
*(head)->tqh_last = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
160
(head)->tqh_last = &(elm)->field.tqe_next; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
163
#define TAILQ_INSERT_AFTER(head, listelm, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
168
(head)->tqh_last = &(elm)->field.tqe_next; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
173
#define TAILQ_REMOVE(head, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
178
(head)->tqh_last = (elm)->field.tqe_prev; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
200
#define CIRCLEQ_INIT(head) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
201
(head)->cqh_first = (void *)(head); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
202
(head)->cqh_last = (void *)(head); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
205
#define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
208
if ((listelm)->field.cqe_next == (void *)(head)) \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
209
(head)->cqh_last = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
215
#define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
218
if ((listelm)->field.cqe_prev == (void *)(head)) \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
219
(head)->cqh_first = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
225
#define CIRCLEQ_INSERT_HEAD(head, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
226
(elm)->field.cqe_next = (head)->cqh_first; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
227
(elm)->field.cqe_prev = (void *)(head); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
228
if ((head)->cqh_last == (void *)(head)) \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
229
(head)->cqh_last = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
231
(head)->cqh_first->field.cqe_prev = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
232
(head)->cqh_first = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
235
#define CIRCLEQ_INSERT_TAIL(head, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
236
(elm)->field.cqe_next = (void *)(head); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
237
(elm)->field.cqe_prev = (head)->cqh_last; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
238
if ((head)->cqh_first == (void *)(head)) \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
239
(head)->cqh_first = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
241
(head)->cqh_last->field.cqe_next = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
242
(head)->cqh_last = (elm); \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
245
#define CIRCLEQ_REMOVE(head, elm, field) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
246
if ((elm)->field.cqe_next == (void *)(head)) \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
247
(head)->cqh_last = (elm)->field.cqe_prev; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
251
if ((elm)->field.cqe_prev == (void *)(head)) \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
252
(head)->cqh_first = (elm)->field.cqe_next; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
97
#define LIST_INIT(head) { \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/db-queue.h
98
(head)->lh_first = NULL; \
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
120
struct _hqh *head;
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
145
head = &mp->hqh[HASHKEY(bp->pgno)];
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
146
CIRCLEQ_INSERT_HEAD(head, bp, hq);
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
156
struct _hqh *head;
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
170
head = &mp->hqh[HASHKEY(bp->pgno)];
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
171
CIRCLEQ_REMOVE(head, bp, hq);
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
188
struct _hqh *head;
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
210
head = &mp->hqh[HASHKEY(bp->pgno)];
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
211
CIRCLEQ_REMOVE(head, bp, hq);
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
212
CIRCLEQ_INSERT_HEAD(head, bp, hq);
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
263
head = &mp->hqh[HASHKEY(bp->pgno)];
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
264
CIRCLEQ_INSERT_HEAD(head, bp, hq);
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
353
struct _hqh *head;
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
377
head = &mp->hqh[HASHKEY(bp->pgno)];
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
378
CIRCLEQ_REMOVE(head, bp, hq);
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
449
struct _hqh *head;
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
452
head = &mp->hqh[HASHKEY(pgno)];
usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/mpool.c
453
for (bp = head->cqh_first; bp != (void *)head; bp = bp->hq.cqe_next)
usr/src/lib/libadm/common/getdev.c
175
struct deviceent *head;
usr/src/lib/libadm/common/getdev.c
342
(devicelist.head)->next = NULL;
usr/src/lib/libadm/common/getdev.c
365
pdevice = (devicelist.head)->next;
usr/src/lib/libadm/common/getdev.c
422
p = devicelist.head;
usr/src/lib/libadm/common/getdev.c
637
for (p = devicelist.head->next; p; p = p->next) *q++ = p->name;
usr/src/lib/libbsm/common/adt.c
1097
struct export_header head;
usr/src/lib/libbsm/common/adt.c
1107
adrm_int32(&context, (int *)&head, 4);
usr/src/lib/libbsm/common/adt.c
1109
if ((internal->as_check = head.ax_check) != ADT_VALID) {
usr/src/lib/libbsm/common/adt.c
1113
offset = head.ax_link.ax_offset;
usr/src/lib/libbsm/common/adt.c
1114
version = head.ax_link.ax_version;
usr/src/lib/libbsm/common/adt.c
1115
length = head.ax_buffer_length;
usr/src/lib/libbsm/common/adt.c
1139
adrm_start(&context, (char *)(p + sizeof (head)));
usr/src/lib/libbsm/common/adt.c
1218
struct export_header head;
usr/src/lib/libbsm/common/adt.c
1229
head.ax_check = ADT_VALID;
usr/src/lib/libbsm/common/adt.c
1230
head.ax_buffer_length = sizeof (struct adt_export_data) + label_len;
usr/src/lib/libbsm/common/adt.c
1234
head.ax_link.ax_version = PROTOCOL_VERSION_2;
usr/src/lib/libbsm/common/adt.c
1235
head.ax_link.ax_offset = sizeof (struct export_header) +
usr/src/lib/libbsm/common/adt.c
1238
adrm_putint32(&context, (int *)&head, 4);
usr/src/lib/libbsm/common/adt.c
1295
return (head.ax_buffer_length);
usr/src/lib/libc/amd64/sys/uadmin.c
222
char *newarg, *head;
usr/src/lib/libc/amd64/sys/uadmin.c
228
head = bargs_scratch;
usr/src/lib/libc/amd64/sys/uadmin.c
238
off = newarg - head;
usr/src/lib/libc/amd64/unwind/thrp_unwind.c
109
while ((head = *headp) != NULL) {
usr/src/lib/libc/amd64/unwind/thrp_unwind.c
110
*headp = head->next;
usr/src/lib/libc/amd64/unwind/thrp_unwind.c
111
(*head->func)(head->arg);
usr/src/lib/libc/amd64/unwind/thrp_unwind.c
49
__cleanup_t *head;
usr/src/lib/libc/amd64/unwind/thrp_unwind.c
65
while ((head = *headp) != NULL &&
usr/src/lib/libc/amd64/unwind/thrp_unwind.c
66
(caddr_t)cfa == head->fp + CFA_ADJUST) {
usr/src/lib/libc/amd64/unwind/thrp_unwind.c
67
*headp = head->next;
usr/src/lib/libc/amd64/unwind/thrp_unwind.c
68
(*head->func)(head->arg);
usr/src/lib/libc/amd64/unwind/thrp_unwind.c
86
__cleanup_t *head;
usr/src/lib/libc/i386/sys/uadmin.c
222
char *newarg, *head;
usr/src/lib/libc/i386/sys/uadmin.c
228
head = bargs_scratch;
usr/src/lib/libc/i386/sys/uadmin.c
238
off = newarg - head;
usr/src/lib/libc/inc/thr_uberdata.h
881
_exthdlr_t *head;
usr/src/lib/libc/inc/thr_uberdata.h
897
caddr32_t head;
usr/src/lib/libc/inc/thr_uberdata.h
922
_qexthdlr_t *head;
usr/src/lib/libc/inc/thr_uberdata.h
931
caddr32_t head;
usr/src/lib/libc/port/aio/aio.c
1349
aio_lio_t *head;
usr/src/lib/libc/port/aio/aio.c
1416
head = reqp->req_head;
usr/src/lib/libc/port/aio/aio.c
1444
if (head != NULL) {
usr/src/lib/libc/port/aio/aio.c
1449
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/aio.c
1450
ASSERT(head->lio_refcnt == head->lio_nent);
usr/src/lib/libc/port/aio/aio.c
1451
if (head->lio_refcnt == 1) {
usr/src/lib/libc/port/aio/aio.c
1453
if (head->lio_mode == LIO_WAIT) {
usr/src/lib/libc/port/aio/aio.c
1454
if ((waiting = head->lio_waiting) != 0)
usr/src/lib/libc/port/aio/aio.c
1455
(void) cond_signal(&head->lio_cond_cv);
usr/src/lib/libc/port/aio/aio.c
1456
} else if (head->lio_port < 0) { /* none or signal */
usr/src/lib/libc/port/aio/aio.c
1457
if ((np.np_lio_signo = head->lio_signo) != 0)
usr/src/lib/libc/port/aio/aio.c
1459
np.np_lio_user = head->lio_sigval.sival_ptr;
usr/src/lib/libc/port/aio/aio.c
1462
np.np_lio_port = head->lio_port;
usr/src/lib/libc/port/aio/aio.c
1463
np.np_lio_event = head->lio_event;
usr/src/lib/libc/port/aio/aio.c
1465
(uintptr_t)head->lio_sigevent;
usr/src/lib/libc/port/aio/aio.c
1466
np.np_lio_user = head->lio_sigval.sival_ptr;
usr/src/lib/libc/port/aio/aio.c
1468
head->lio_nent = head->lio_refcnt = 0;
usr/src/lib/libc/port/aio/aio.c
1469
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/aio.c
1471
_aio_lio_free(head);
usr/src/lib/libc/port/aio/aio.c
1473
head->lio_nent--;
usr/src/lib/libc/port/aio/aio.c
1474
head->lio_refcnt--;
usr/src/lib/libc/port/aio/aio.c
1475
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/aio.c
1519
aio_lio_t *head = reqp->req_head;
usr/src/lib/libc/port/aio/aio.c
1524
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/aio.c
1525
if (head->lio_refcnt > 1) {
usr/src/lib/libc/port/aio/aio.c
1526
head->lio_refcnt--;
usr/src/lib/libc/port/aio/aio.c
1527
head->lio_nent--;
usr/src/lib/libc/port/aio/aio.c
1529
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/aio.c
1538
ASSERT(head->lio_nent == 1 && head->lio_refcnt == 1);
usr/src/lib/libc/port/aio/aio.c
1540
if (head->lio_canned)
usr/src/lib/libc/port/aio/aio.c
1542
if (head->lio_mode == LIO_DESTROY) {
usr/src/lib/libc/port/aio/aio.c
1546
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/aio.c
1548
head->lio_refcnt--;
usr/src/lib/libc/port/aio/aio.c
1549
head->lio_nent--;
usr/src/lib/libc/port/aio/aio.c
1550
_aio_lio_free(head);
usr/src/lib/libc/port/aio/aio_alloc.c
240
aio_lio_t *head;
usr/src/lib/libc/port/aio/aio_alloc.c
247
if ((head = _lio_head_freelist) == NULL) {
usr/src/lib/libc/port/aio/aio_alloc.c
257
for (i = 0, head = _lio_head_freelist; i < nelem; i++, head++)
usr/src/lib/libc/port/aio/aio_alloc.c
258
head->lio_next = head + 1;
usr/src/lib/libc/port/aio/aio_alloc.c
259
_lio_head_freelast = head - 1;
usr/src/lib/libc/port/aio/aio_alloc.c
263
head = _lio_head_freelist;
usr/src/lib/libc/port/aio/aio_alloc.c
265
if ((_lio_head_freelist = head->lio_next) == NULL)
usr/src/lib/libc/port/aio/aio_alloc.c
270
ASSERT(head->lio_nent == 0 && head->lio_refcnt == 0);
usr/src/lib/libc/port/aio/aio_alloc.c
271
head->lio_next = NULL;
usr/src/lib/libc/port/aio/aio_alloc.c
272
head->lio_port = -1;
usr/src/lib/libc/port/aio/aio_alloc.c
273
(void) mutex_init(&head->lio_mutex, USYNC_THREAD, NULL);
usr/src/lib/libc/port/aio/aio_alloc.c
274
(void) cond_init(&head->lio_cond_cv, USYNC_THREAD, NULL);
usr/src/lib/libc/port/aio/aio_alloc.c
276
return (head);
usr/src/lib/libc/port/aio/aio_alloc.c
283
_aio_lio_free(aio_lio_t *head)
usr/src/lib/libc/port/aio/aio_alloc.c
285
ASSERT(head->lio_nent == 0 && head->lio_refcnt == 0);
usr/src/lib/libc/port/aio/aio_alloc.c
286
(void) mutex_destroy(&head->lio_mutex);
usr/src/lib/libc/port/aio/aio_alloc.c
287
(void) cond_destroy(&head->lio_cond_cv);
usr/src/lib/libc/port/aio/aio_alloc.c
288
(void) memset(head, 0, sizeof (*head));
usr/src/lib/libc/port/aio/aio_alloc.c
292
_lio_head_freelist = _lio_head_freelast = head;
usr/src/lib/libc/port/aio/aio_alloc.c
294
_lio_head_freelast->lio_next = head;
usr/src/lib/libc/port/aio/aio_alloc.c
295
_lio_head_freelast = head;
usr/src/lib/libc/port/aio/posix_aio.c
105
_lio_listio_cleanup(aio_lio_t *head)
usr/src/lib/libc/port/aio/posix_aio.c
109
ASSERT(MUTEX_HELD(&head->lio_mutex));
usr/src/lib/libc/port/aio/posix_aio.c
110
if (head->lio_refcnt == 0) {
usr/src/lib/libc/port/aio/posix_aio.c
111
ASSERT(head->lio_nent == 0);
usr/src/lib/libc/port/aio/posix_aio.c
114
head->lio_waiting = 0;
usr/src/lib/libc/port/aio/posix_aio.c
115
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
117
_aio_lio_free(head);
usr/src/lib/libc/port/aio/posix_aio.c
126
aio_lio_t *head = NULL;
usr/src/lib/libc/port/aio/posix_aio.c
1322
aio_lio_t *head = NULL;
usr/src/lib/libc/port/aio/posix_aio.c
1396
head = _aio_lio_alloc();
usr/src/lib/libc/port/aio/posix_aio.c
1397
if (head) {
usr/src/lib/libc/port/aio/posix_aio.c
1398
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
1399
head->lio_mode = mode;
usr/src/lib/libc/port/aio/posix_aio.c
1400
head->lio_largefile = 1;
usr/src/lib/libc/port/aio/posix_aio.c
1403
head->lio_port = sigevp->sigev_signo;
usr/src/lib/libc/port/aio/posix_aio.c
1404
head->lio_event = AIOLIO64;
usr/src/lib/libc/port/aio/posix_aio.c
1405
head->lio_sigevent = sigevp;
usr/src/lib/libc/port/aio/posix_aio.c
1406
head->lio_sigval.sival_ptr =
usr/src/lib/libc/port/aio/posix_aio.c
1411
head->lio_port = pn->portnfy_port;
usr/src/lib/libc/port/aio/posix_aio.c
1412
head->lio_event = AIOLIO64;
usr/src/lib/libc/port/aio/posix_aio.c
1413
head->lio_sigevent = sigevp;
usr/src/lib/libc/port/aio/posix_aio.c
1414
head->lio_sigval.sival_ptr =
usr/src/lib/libc/port/aio/posix_aio.c
1417
head->lio_signo = sigevp->sigev_signo;
usr/src/lib/libc/port/aio/posix_aio.c
1418
head->lio_sigval.sival_ptr =
usr/src/lib/libc/port/aio/posix_aio.c
1422
head->lio_nent = head->lio_refcnt = nent;
usr/src/lib/libc/port/aio/posix_aio.c
1423
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
1433
if (head)
usr/src/lib/libc/port/aio/posix_aio.c
1434
_lio_list_decr(head);
usr/src/lib/libc/port/aio/posix_aio.c
1443
if (head)
usr/src/lib/libc/port/aio/posix_aio.c
1444
_lio_list_decr(head);
usr/src/lib/libc/port/aio/posix_aio.c
1459
error = _aio_rw64(aiocbp, head, &__nextworker_rw, rw,
usr/src/lib/libc/port/aio/posix_aio.c
1464
if (head)
usr/src/lib/libc/port/aio/posix_aio.c
1465
_lio_list_decr(head);
usr/src/lib/libc/port/aio/posix_aio.c
1482
if (head != NULL && head->lio_nent > 0) {
usr/src/lib/libc/port/aio/posix_aio.c
1483
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
1484
while (head->lio_refcnt > 0) {
usr/src/lib/libc/port/aio/posix_aio.c
1486
head->lio_waiting = 1;
usr/src/lib/libc/port/aio/posix_aio.c
1487
pthread_cleanup_push(_lio_listio_cleanup, head);
usr/src/lib/libc/port/aio/posix_aio.c
1488
err = sig_cond_wait(&head->lio_cond_cv,
usr/src/lib/libc/port/aio/posix_aio.c
1489
&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
1491
head->lio_waiting = 0;
usr/src/lib/libc/port/aio/posix_aio.c
1492
if (err && head->lio_nent > 0) {
usr/src/lib/libc/port/aio/posix_aio.c
1493
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
1498
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
1499
ASSERT(head->lio_nent == 0 && head->lio_refcnt == 0);
usr/src/lib/libc/port/aio/posix_aio.c
1500
_aio_lio_free(head);
usr/src/lib/libc/port/aio/posix_aio.c
1605
__aio_fsync_bar64(aiocb64_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp,
usr/src/lib/libc/port/aio/posix_aio.c
1613
error = _aio_rw64(aiocbp, head, &next, AIOFSYNC, AIO_NO_KAIO);
usr/src/lib/libc/port/aio/posix_aio.c
1615
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
1616
head->lio_mode = LIO_DESTROY; /* ignore fsync */
usr/src/lib/libc/port/aio/posix_aio.c
1617
head->lio_nent -= workerscnt - i;
usr/src/lib/libc/port/aio/posix_aio.c
1618
head->lio_refcnt -= workerscnt - i;
usr/src/lib/libc/port/aio/posix_aio.c
1619
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
1631
aio_lio_t *head;
usr/src/lib/libc/port/aio/posix_aio.c
1684
head = _aio_lio_alloc();
usr/src/lib/libc/port/aio/posix_aio.c
1685
if (head == NULL) {
usr/src/lib/libc/port/aio/posix_aio.c
1689
head->lio_mode = LIO_FSYNC;
usr/src/lib/libc/port/aio/posix_aio.c
1690
head->lio_nent = head->lio_refcnt = __rw_workerscnt;
usr/src/lib/libc/port/aio/posix_aio.c
1691
head->lio_largefile = 1;
usr/src/lib/libc/port/aio/posix_aio.c
1696
fret = __aio_fsync_bar64(aiocbp, head, __workers_rw, __rw_workerscnt);
usr/src/lib/libc/port/aio/posix_aio.c
1709
_aio_lio_free(head);
usr/src/lib/libc/port/aio/posix_aio.c
200
head = _aio_lio_alloc();
usr/src/lib/libc/port/aio/posix_aio.c
201
if (head) {
usr/src/lib/libc/port/aio/posix_aio.c
202
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
203
head->lio_mode = mode;
usr/src/lib/libc/port/aio/posix_aio.c
204
head->lio_largefile = 0;
usr/src/lib/libc/port/aio/posix_aio.c
207
head->lio_port = sigevp->sigev_signo;
usr/src/lib/libc/port/aio/posix_aio.c
208
head->lio_event = AIOLIO;
usr/src/lib/libc/port/aio/posix_aio.c
209
head->lio_sigevent = sigevp;
usr/src/lib/libc/port/aio/posix_aio.c
210
head->lio_sigval.sival_ptr =
usr/src/lib/libc/port/aio/posix_aio.c
215
head->lio_port = pn->portnfy_port;
usr/src/lib/libc/port/aio/posix_aio.c
216
head->lio_event = AIOLIO;
usr/src/lib/libc/port/aio/posix_aio.c
217
head->lio_sigevent = sigevp;
usr/src/lib/libc/port/aio/posix_aio.c
218
head->lio_sigval.sival_ptr =
usr/src/lib/libc/port/aio/posix_aio.c
221
head->lio_signo = sigevp->sigev_signo;
usr/src/lib/libc/port/aio/posix_aio.c
222
head->lio_sigval.sival_ptr =
usr/src/lib/libc/port/aio/posix_aio.c
226
head->lio_nent = head->lio_refcnt = nent;
usr/src/lib/libc/port/aio/posix_aio.c
227
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
237
if (head)
usr/src/lib/libc/port/aio/posix_aio.c
238
_lio_list_decr(head);
usr/src/lib/libc/port/aio/posix_aio.c
247
if (head)
usr/src/lib/libc/port/aio/posix_aio.c
248
_lio_list_decr(head);
usr/src/lib/libc/port/aio/posix_aio.c
263
error = _aio_rw(aiocbp, head, &__nextworker_rw, rw,
usr/src/lib/libc/port/aio/posix_aio.c
268
if (head)
usr/src/lib/libc/port/aio/posix_aio.c
269
_lio_list_decr(head);
usr/src/lib/libc/port/aio/posix_aio.c
286
if (head != NULL && head->lio_nent > 0) {
usr/src/lib/libc/port/aio/posix_aio.c
287
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
288
while (head->lio_refcnt > 0) {
usr/src/lib/libc/port/aio/posix_aio.c
290
head->lio_waiting = 1;
usr/src/lib/libc/port/aio/posix_aio.c
291
pthread_cleanup_push(_lio_listio_cleanup, head);
usr/src/lib/libc/port/aio/posix_aio.c
292
err = sig_cond_wait(&head->lio_cond_cv,
usr/src/lib/libc/port/aio/posix_aio.c
293
&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
295
head->lio_waiting = 0;
usr/src/lib/libc/port/aio/posix_aio.c
296
if (err && head->lio_nent > 0) {
usr/src/lib/libc/port/aio/posix_aio.c
297
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
302
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
303
ASSERT(head->lio_nent == 0 && head->lio_refcnt == 0);
usr/src/lib/libc/port/aio/posix_aio.c
304
_aio_lio_free(head);
usr/src/lib/libc/port/aio/posix_aio.c
319
_lio_list_decr(aio_lio_t *head)
usr/src/lib/libc/port/aio/posix_aio.c
321
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
322
head->lio_nent--;
usr/src/lib/libc/port/aio/posix_aio.c
323
head->lio_refcnt--;
usr/src/lib/libc/port/aio/posix_aio.c
324
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
729
aio_lio_t *head;
usr/src/lib/libc/port/aio/posix_aio.c
732
if ((head = reqp->req_head) != NULL) {
usr/src/lib/libc/port/aio/posix_aio.c
733
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
734
ASSERT(head->lio_refcnt == head->lio_nent);
usr/src/lib/libc/port/aio/posix_aio.c
735
refcnt = --head->lio_nent;
usr/src/lib/libc/port/aio/posix_aio.c
736
head->lio_refcnt--;
usr/src/lib/libc/port/aio/posix_aio.c
737
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
739
_aio_lio_free(head);
usr/src/lib/libc/port/aio/posix_aio.c
748
__aio_fsync_bar(aiocb_t *aiocbp, aio_lio_t *head, aio_worker_t *aiowp,
usr/src/lib/libc/port/aio/posix_aio.c
756
error = _aio_rw(aiocbp, head, &next, AIOFSYNC, AIO_NO_KAIO);
usr/src/lib/libc/port/aio/posix_aio.c
758
sig_mutex_lock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
759
head->lio_mode = LIO_DESTROY; /* ignore fsync */
usr/src/lib/libc/port/aio/posix_aio.c
760
head->lio_nent -= workerscnt - i;
usr/src/lib/libc/port/aio/posix_aio.c
761
head->lio_refcnt -= workerscnt - i;
usr/src/lib/libc/port/aio/posix_aio.c
762
sig_mutex_unlock(&head->lio_mutex);
usr/src/lib/libc/port/aio/posix_aio.c
774
aio_lio_t *head;
usr/src/lib/libc/port/aio/posix_aio.c
827
head = _aio_lio_alloc();
usr/src/lib/libc/port/aio/posix_aio.c
828
if (head == NULL) {
usr/src/lib/libc/port/aio/posix_aio.c
832
head->lio_mode = LIO_FSYNC;
usr/src/lib/libc/port/aio/posix_aio.c
833
head->lio_nent = head->lio_refcnt = __rw_workerscnt;
usr/src/lib/libc/port/aio/posix_aio.c
834
head->lio_largefile = 0;
usr/src/lib/libc/port/aio/posix_aio.c
839
fret = __aio_fsync_bar(aiocbp, head, __workers_rw, __rw_workerscnt);
usr/src/lib/libc/port/aio/posix_aio.c
852
_aio_lio_free(head);
usr/src/lib/libc/port/gen/atexit.c
119
p->next = arp->head;
usr/src/lib/libc/port/gen/atexit.c
120
arp->head = p;
usr/src/lib/libc/port/gen/atexit.c
150
p = arp->head;
usr/src/lib/libc/port/gen/atexit.c
156
arp->head = p->next;
usr/src/lib/libc/port/gen/atexit.c
161
p = arp->head;
usr/src/lib/libc/port/gen/atexit.c
337
p = arp->head;
usr/src/lib/libc/port/gen/atexit.c
355
arp->head = p->next;
usr/src/lib/libc/port/gen/atexit.c
359
p = arp->head;
usr/src/lib/libc/port/gen/atexit.c
407
p->next = arp->head;
usr/src/lib/libc/port/gen/atexit.c
408
arp->head = p;
usr/src/lib/libc/port/gen/atexit.c
426
p = qrp->head;
usr/src/lib/libc/port/gen/atexit.c
428
qrp->head = p->next;
usr/src/lib/libc/port/gen/atexit.c
431
p = qrp->head;
usr/src/lib/libc/port/gen/atfork.c
53
atfork_t *head;
usr/src/lib/libc/port/gen/atfork.c
68
if ((head = udp->atforklist) == NULL) {
usr/src/lib/libc/port/gen/atfork.c
72
head->back->forw = atfp;
usr/src/lib/libc/port/gen/atfork.c
73
atfp->forw = head;
usr/src/lib/libc/port/gen/atfork.c
74
atfp->back = head->back;
usr/src/lib/libc/port/gen/atfork.c
75
head->back = atfp;
usr/src/lib/libc/port/gen/fts.c
559
FTSENT *p, *head;
usr/src/lib/libc/port/gen/fts.c
653
for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp)); ) {
usr/src/lib/libc/port/gen/fts.c
669
fts_lfree(head);
usr/src/lib/libc/port/gen/fts.c
695
fts_lfree(head);
usr/src/lib/libc/port/gen/fts.c
734
if (head == NULL)
usr/src/lib/libc/port/gen/fts.c
735
head = tail = p;
usr/src/lib/libc/port/gen/fts.c
750
fts_padjust(sp, head);
usr/src/lib/libc/port/gen/fts.c
786
head = fts_sort(sp, head, nitems);
usr/src/lib/libc/port/gen/fts.c
787
return (head);
usr/src/lib/libc/port/gen/fts.c
867
fts_sort(FTS *sp, FTSENT *head, int nitems)
usr/src/lib/libc/port/gen/fts.c
887
return (head);
usr/src/lib/libc/port/gen/fts.c
891
for (ap = sp->fts_array, p = head; p; p = p->fts_link)
usr/src/lib/libc/port/gen/fts.c
894
for (head = *(ap = sp->fts_array); --nitems; ++ap)
usr/src/lib/libc/port/gen/fts.c
897
return (head);
usr/src/lib/libc/port/gen/fts.c
931
fts_lfree(FTSENT *head)
usr/src/lib/libc/port/gen/fts.c
936
while ((p = head) != NULL) {
usr/src/lib/libc/port/gen/fts.c
937
head = head->fts_link;
usr/src/lib/libc/port/gen/fts.c
979
fts_padjust(FTS *sp, FTSENT *head)
usr/src/lib/libc/port/gen/fts.c
996
for (p = head; p->fts_level >= FTS_ROOTLEVEL; ) {
usr/src/lib/libc/port/stdio/popen.c
148
for (curr = head; curr != NULL && error == 0; curr = curr->next) {
usr/src/lib/libc/port/stdio/popen.c
262
for (prev = curr = head; curr != NULL; curr = curr->next) {
usr/src/lib/libc/port/stdio/popen.c
283
if (head == NULL)
usr/src/lib/libc/port/stdio/popen.c
284
head = new;
usr/src/lib/libc/port/stdio/popen.c
317
for (prev = curr = head; curr != NULL; curr = curr->next) {
usr/src/lib/libc/port/stdio/popen.c
319
if (curr == head)
usr/src/lib/libc/port/stdio/popen.c
320
head = curr->next;
usr/src/lib/libc/port/stdio/popen.c
65
static node_t *head = NULL;
usr/src/lib/libc/port/threads/assfail.c
86
common_panic(const char *head, const char *why)
usr/src/lib/libc/port/threads/assfail.c
97
(void) strcpy(msg, head);
usr/src/lib/libc/port/unwind/unwind.c
102
} else if (head != NULL) {
usr/src/lib/libc/port/unwind/unwind.c
73
__cleanup_t *head;
usr/src/lib/libc/port/unwind/unwind.c
91
if ((head = self->ul_clnup_hdr) != NULL && fp == head->fp) {
usr/src/lib/libc/port/unwind/unwind.c
92
self->ul_clnup_hdr = head->next;
usr/src/lib/libc/port/unwind/unwind.c
94
_ex_clnup_handler(head->arg, head->func);
usr/src/lib/libc_db/common/thread_db.c
230
thr_hash_table_t head;
usr/src/lib/libc_db/common/thread_db.c
234
&head, sizeof (head)) != PS_OK)
usr/src/lib/libc_db/common/thread_db.c
236
if ((psaddr_t)head.hash_bucket == 0)
usr/src/lib/libc_db/common/thread_db.c
238
else if (ps_pdread(ph_p, (psaddr_t)head.hash_bucket +
usr/src/lib/libc_db/common/thread_db.c
243
ta_p->single_ulwp_addr = (psaddr_t)head.hash_bucket;
usr/src/lib/libc_db/common/thread_db.c
246
thr_hash_table32_t head;
usr/src/lib/libc_db/common/thread_db.c
250
&head, sizeof (head)) != PS_OK)
usr/src/lib/libc_db/common/thread_db.c
252
if ((psaddr_t)head.hash_bucket == 0)
usr/src/lib/libc_db/common/thread_db.c
254
else if (ps_pdread(ph_p, (psaddr_t)head.hash_bucket +
usr/src/lib/libc_db/common/thread_db.c
259
ta_p->single_ulwp_addr = (psaddr_t)head.hash_bucket;
usr/src/lib/libdevinfo/devinfo.c
3602
struct node_list *head; /* node_list for tree walk */
usr/src/lib/libdevinfo/devinfo.c
3620
if ((head = malloc(sizeof (struct node_list))) == NULL) {
usr/src/lib/libdevinfo/devinfo.c
3625
head->next = NULL;
usr/src/lib/libdevinfo/devinfo.c
3626
head->node = root;
usr/src/lib/libdevinfo/devinfo.c
3631
while (head != NULL)
usr/src/lib/libdevinfo/devinfo.c
3632
walk_one_link(&head, endpoint, arg, link_callback);
usr/src/lib/libdevinfo/devinfo.c
3667
struct node_list *head; /* node_list for tree walk */
usr/src/lib/libdevinfo/devinfo.c
3683
if ((head = malloc(sizeof (struct node_list))) == NULL) {
usr/src/lib/libdevinfo/devinfo.c
3688
head->next = NULL;
usr/src/lib/libdevinfo/devinfo.c
3689
head->node = root;
usr/src/lib/libdevinfo/devinfo.c
3694
while (head != NULL)
usr/src/lib/libdevinfo/devinfo.c
3695
walk_one_lnode(&head, arg, lnode_callback);
usr/src/lib/libdevinfo/devinfo.c
443
if (!(devnm[major].head)) {
usr/src/lib/libdevinfo/devinfo.c
448
return (DI_NODE(pa + devnm[major].head));
usr/src/lib/libdevinfo/devinfo.c
787
struct node_list *head; /* node_list for tree walk */
usr/src/lib/libdevinfo/devinfo.c
794
if ((head = malloc(sizeof (struct node_list))) == NULL) {
usr/src/lib/libdevinfo/devinfo.c
799
head->next = NULL;
usr/src/lib/libdevinfo/devinfo.c
800
head->node = root;
usr/src/lib/libdevinfo/devinfo.c
805
while (head != NULL)
usr/src/lib/libdevinfo/devinfo.c
806
walk_one_node(&head, flag, arg, node_callback);
usr/src/lib/libdevinfo/devinfo.c
858
struct node_list *head; /* node_list for tree walk */
usr/src/lib/libdevinfo/devinfo.c
871
if ((head = malloc(sizeof (struct node_list))) == NULL) {
usr/src/lib/libdevinfo/devinfo.c
876
head->next = NULL;
usr/src/lib/libdevinfo/devinfo.c
877
head->node = root;
usr/src/lib/libdevinfo/devinfo.c
882
while (head != NULL)
usr/src/lib/libdevinfo/devinfo.c
883
walk_one_minor_list(&head, minor_type, flag, arg,
usr/src/lib/libdladm/common/libdlstat.c
1128
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1152
head = malloc(sizeof (dladm_stat_chain_t));
usr/src/lib/libdladm/common/libdlstat.c
1153
if (head == NULL) {
usr/src/lib/libdladm/common/libdlstat.c
1158
head->dc_statentry = rx_lane_stat_entry;
usr/src/lib/libdladm/common/libdlstat.c
1159
head->dc_next = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1163
return (head);
usr/src/lib/libdladm/common/libdlstat.c
1170
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1201
head = malloc(sizeof (dladm_stat_chain_t));
usr/src/lib/libdladm/common/libdlstat.c
1202
if (head == NULL) {
usr/src/lib/libdladm/common/libdlstat.c
1207
head->dc_statentry = rx_lane_stat_entry;
usr/src/lib/libdladm/common/libdlstat.c
1208
head->dc_next = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1212
return (head);
usr/src/lib/libdladm/common/libdlstat.c
1241
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1261
head = i_dlstat_legacy_rx_lane_stats(dh, linkname);
usr/src/lib/libdladm/common/libdlstat.c
1272
head = i_dlstat_join_lists(local_stats, bcast_stats);
usr/src/lib/libdladm/common/libdlstat.c
1273
head = i_dlstat_join_lists(head, defunctlane_stats);
usr/src/lib/libdladm/common/libdlstat.c
1274
head = i_dlstat_join_lists(head, lane_stats);
usr/src/lib/libdladm/common/libdlstat.c
1276
return (head);
usr/src/lib/libdladm/common/libdlstat.c
1353
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1375
head = malloc(sizeof (dladm_stat_chain_t));
usr/src/lib/libdladm/common/libdlstat.c
1376
if (head == NULL) {
usr/src/lib/libdladm/common/libdlstat.c
1381
head->dc_statentry = tx_lane_stat_entry;
usr/src/lib/libdladm/common/libdlstat.c
1382
head->dc_next = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1386
return (head);
usr/src/lib/libdladm/common/libdlstat.c
1393
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1414
head = malloc(sizeof (dladm_stat_chain_t));
usr/src/lib/libdladm/common/libdlstat.c
1415
if (head == NULL) {
usr/src/lib/libdladm/common/libdlstat.c
1420
head->dc_statentry = tx_lane_stat_entry;
usr/src/lib/libdladm/common/libdlstat.c
1421
head->dc_next = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1425
return (head);
usr/src/lib/libdladm/common/libdlstat.c
1454
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1473
head = i_dlstat_legacy_tx_lane_stats(dh, linkname);
usr/src/lib/libdladm/common/libdlstat.c
1483
head = i_dlstat_join_lists(bcast_stats, defunctlane_stats);
usr/src/lib/libdladm/common/libdlstat.c
1484
head = i_dlstat_join_lists(head, lane_stats);
usr/src/lib/libdladm/common/libdlstat.c
1487
return (head);
usr/src/lib/libdladm/common/libdlstat.c
1643
dladm_stat_chain_t *head = NULL, *prev = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1668
if (head == NULL) /* First lane */
usr/src/lib/libdladm/common/libdlstat.c
1669
head = curr_head;
usr/src/lib/libdladm/common/libdlstat.c
1688
return (head);
usr/src/lib/libdladm/common/libdlstat.c
1717
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
1733
head = fout_hwlane_stats;
usr/src/lib/libdladm/common/libdlstat.c
1748
head = fout_swlane_and_local_stats;
usr/src/lib/libdladm/common/libdlstat.c
1751
return (head);
usr/src/lib/libdladm/common/libdlstat.c
2043
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
2080
head = malloc(sizeof (dladm_stat_chain_t));
usr/src/lib/libdladm/common/libdlstat.c
2081
if (head == NULL) {
usr/src/lib/libdladm/common/libdlstat.c
2086
head->dc_statentry = total_stat_entry;
usr/src/lib/libdladm/common/libdlstat.c
2087
(void) strlcpy(head->dc_statheader, "mac_lane_total",
usr/src/lib/libdladm/common/libdlstat.c
2088
sizeof (head->dc_statheader));
usr/src/lib/libdladm/common/libdlstat.c
2089
head->dc_next = NULL;
usr/src/lib/libdladm/common/libdlstat.c
2094
return (head);
usr/src/lib/libdladm/common/libdlstat.c
2099
dlstat_aggr_total_stats(dladm_stat_chain_t *head)
usr/src/lib/libdladm/common/libdlstat.c
2111
for (curr = head; curr != NULL; curr = curr->dc_next) {
usr/src/lib/libdladm/common/libdlstat.c
2212
dladm_stat_chain_t *head = NULL, *prev = NULL, *curr;
usr/src/lib/libdladm/common/libdlstat.c
2245
head = curr;
usr/src/lib/libdladm/common/libdlstat.c
2255
total_stats = dlstat_aggr_total_stats(head);
usr/src/lib/libdladm/common/libdlstat.c
2257
total_stats->dc_next = head;
usr/src/lib/libdladm/common/libdlstat.c
2258
head = total_stats;
usr/src/lib/libdladm/common/libdlstat.c
2263
return (head);
usr/src/lib/libdladm/common/libdlstat.c
2271
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
2283
head = malloc(sizeof (dladm_stat_chain_t));
usr/src/lib/libdladm/common/libdlstat.c
2284
if (head == NULL) {
usr/src/lib/libdladm/common/libdlstat.c
2289
head->dc_statentry = misc_stat_entry;
usr/src/lib/libdladm/common/libdlstat.c
2290
(void) strlcpy(head->dc_statheader, "mac_misc_stat",
usr/src/lib/libdladm/common/libdlstat.c
2291
sizeof (head->dc_statheader));
usr/src/lib/libdladm/common/libdlstat.c
2292
head->dc_next = NULL;
usr/src/lib/libdladm/common/libdlstat.c
2295
return (head);
usr/src/lib/libdladm/common/libdlstat.c
745
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
767
head = malloc(sizeof (dladm_stat_chain_t));
usr/src/lib/libdladm/common/libdlstat.c
768
if (head == NULL) {
usr/src/lib/libdladm/common/libdlstat.c
773
head->dc_statentry = rx_lane_stat_entry;
usr/src/lib/libdladm/common/libdlstat.c
774
head->dc_next = NULL;
usr/src/lib/libdladm/common/libdlstat.c
776
return (head);
usr/src/lib/libdladm/common/libdlstat.c
782
dladm_stat_chain_t *head = NULL;
usr/src/lib/libdladm/common/libdlstat.c
803
head = malloc(sizeof (dladm_stat_chain_t));
usr/src/lib/libdladm/common/libdlstat.c
804
if (head == NULL) {
usr/src/lib/libdladm/common/libdlstat.c
809
head->dc_statentry = tx_lane_stat_entry;
usr/src/lib/libdladm/common/libdlstat.c
810
head->dc_next = NULL;
usr/src/lib/libdladm/common/libdlstat.c
812
return (head);
usr/src/lib/libdladm/common/libdlstat.c
935
dladm_stat_chain_t *head = NULL, *prev = NULL;
usr/src/lib/libdladm/common/libdlstat.c
968
if (head == NULL) /* First node */
usr/src/lib/libdladm/common/libdlstat.c
969
head = curr;
usr/src/lib/libdladm/common/libdlstat.c
975
return (head);
usr/src/lib/libdladm/common/usage.c
503
get_time_range(net_time_entry_t *head, net_time_entry_t *tail,
usr/src/lib/libdladm/common/usage.c
520
&head->my_time_stat->net_stat_time,
usr/src/lib/libdladm/common/usage.c
532
get_starting_point(net_time_entry_t *head, net_time_entry_t **start,
usr/src/lib/libdladm/common/usage.c
535
net_time_entry_t *next = head;
usr/src/lib/libdladm/common/usage.c
537
if (head == NULL) {
usr/src/lib/libdladm/common/usage.c
542
*start = head;
usr/src/lib/libdladm/common/usage.c
543
*lasttime = head->my_time_stat->net_stat_ctime;
usr/src/lib/libdladm/common/usage.c
907
net_entry_t *head;
usr/src/lib/libdladm/common/usage.c
940
head = net_table->net_table_head;
usr/src/lib/libdladm/common/usage.c
941
while (head != NULL) {
usr/src/lib/libdladm/common/usage.c
942
next = head->net_entry_next;
usr/src/lib/libdladm/common/usage.c
943
head->net_entry_next = NULL;
usr/src/lib/libdladm/common/usage.c
944
ns = head->net_entry_shead;
usr/src/lib/libdladm/common/usage.c
950
head->net_entry_scount = 0;
usr/src/lib/libdladm/common/usage.c
951
head->net_entry_sref = NULL;
usr/src/lib/libdladm/common/usage.c
952
free(head->net_entry_desc);
usr/src/lib/libdladm/common/usage.c
953
free(head->net_entry_tstats);
usr/src/lib/libdladm/common/usage.c
954
free(head);
usr/src/lib/libdladm/common/usage.c
955
head = next;
usr/src/lib/libdwarf/common/dwarf_arange.c
41
free_aranges_chain(Dwarf_Debug dbg, Dwarf_Chain head)
usr/src/lib/libdwarf/common/dwarf_arange.c
43
Dwarf_Chain cur = head;
usr/src/lib/libdwarf/common/dwarf_arange.c
46
if(!head) {
usr/src/lib/libdwarf/common/dwarf_arange.c
49
next = head->ch_next;
usr/src/lib/libdwarf/common/dwarf_frame2.c
151
chain_up_fde(Dwarf_Fde newone, Dwarf_Fde * head, Dwarf_Fde * cur)
usr/src/lib/libdwarf/common/dwarf_frame2.c
153
if (*head == NULL)
usr/src/lib/libdwarf/common/dwarf_frame2.c
154
*head = newone;
usr/src/lib/libdwarf/common/dwarf_frame2.c
165
chain_up_cie(Dwarf_Cie newone, Dwarf_Cie * head, Dwarf_Cie * cur)
usr/src/lib/libdwarf/common/dwarf_frame2.c
167
if (*head == NULL) {
usr/src/lib/libdwarf/common/dwarf_frame2.c
168
*head = newone;
usr/src/lib/libdwarf/common/dwarf_line.c
2052
_dwarf_free_chain_entries(Dwarf_Debug dbg,Dwarf_Chain head,int count)
usr/src/lib/libdwarf/common/dwarf_line.c
2055
Dwarf_Chain curr_chain = head;
usr/src/lib/libdwarf/common/dwarf_line.h
472
void _dwarf_free_chain_entries(Dwarf_Debug dbg,Dwarf_Chain head,int count);
usr/src/lib/libdwarf/common/dwarf_loc.h
317
void _dwarf_free_loclists_head(Dwarf_Loc_Head_c head);
usr/src/lib/libdwarf/common/dwarf_loclists.c
1263
Dwarf_Loc_Head_c head,
usr/src/lib/libdwarf/common/dwarf_loclists.c
1276
if (entrynum >= head->ll_locdesc_count) {
usr/src/lib/libdwarf/common/dwarf_loclists.c
1279
e = head->ll_locdesc + entrynum;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1291
_dwarf_free_loclists_head(Dwarf_Loc_Head_c head)
usr/src/lib/libdwarf/common/dwarf_loclists.c
1293
Dwarf_Debug dbg = head->ll_dbg;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1295
if (head->ll_first) {
usr/src/lib/libdwarf/common/dwarf_loclists.c
1298
Dwarf_Locdesc_c cur = head->ll_first;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1305
head->ll_first = 0;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1306
head->ll_last = 0;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1307
head->ll_locdesc_count = 0;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1309
Dwarf_Locdesc_c desc = head->ll_locdesc;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1312
Dwarf_Unsigned listlen = head->ll_locdesc_count;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1320
dwarf_dealloc(dbg,head->ll_locdesc,DW_DLA_LOCDESC_C);
usr/src/lib/libdwarf/common/dwarf_loclists.c
1321
head->ll_locdesc = 0;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1322
head->ll_locdesc_count = 0;
usr/src/lib/libdwarf/common/dwarf_loclists.c
1327
_dwarf_loclists_head_destructor(void *head)
usr/src/lib/libdwarf/common/dwarf_loclists.c
1329
Dwarf_Loc_Head_c h = head;
usr/src/lib/libdwarf/common/dwarf_loclists.c
58
free_loclists_chain(Dwarf_Debug dbg, Dwarf_Chain head)
usr/src/lib/libdwarf/common/dwarf_loclists.c
60
Dwarf_Chain cur = head;
usr/src/lib/libdwarf/common/dwarf_loclists.c
605
Dwarf_Loc_Head_c head,
usr/src/lib/libdwarf/common/dwarf_loclists.c
628
*lkind = head->ll_kind;
usr/src/lib/libdwarf/common/dwarf_loclists.c
629
*lle_count = head->ll_locdesc_count;
usr/src/lib/libdwarf/common/dwarf_loclists.c
63
if(!head) {
usr/src/lib/libdwarf/common/dwarf_loclists.c
630
*lle_version = head->ll_cuversion;
usr/src/lib/libdwarf/common/dwarf_loclists.c
631
*loclists_index_returned = head->ll_index;
usr/src/lib/libdwarf/common/dwarf_loclists.c
632
*bytes_total_in_lle = head->ll_bytes_total;
usr/src/lib/libdwarf/common/dwarf_loclists.c
633
*offset_size = head->ll_offset_size;
usr/src/lib/libdwarf/common/dwarf_loclists.c
634
*address_size = head->ll_address_size;
usr/src/lib/libdwarf/common/dwarf_loclists.c
635
*segment_selector_size = head->ll_segment_selector_size;
usr/src/lib/libdwarf/common/dwarf_loclists.c
637
loccontext = head->ll_localcontext;
usr/src/lib/libdwarf/common/dwarf_loclists.c
645
*loclists_base_present = head->ll_at_loclists_base_present;
usr/src/lib/libdwarf/common/dwarf_loclists.c
646
*loclists_base= head->ll_at_loclists_base;
usr/src/lib/libdwarf/common/dwarf_loclists.c
648
*loclists_base_address_present = head->ll_cu_base_address_present;
usr/src/lib/libdwarf/common/dwarf_loclists.c
649
*loclists_base_address= head->ll_cu_base_address;
usr/src/lib/libdwarf/common/dwarf_loclists.c
651
*loclists_debug_addr_base_present = head->ll_cu_addr_base_present;
usr/src/lib/libdwarf/common/dwarf_loclists.c
652
*loclists_debug_addr_base = head->ll_cu_addr_base;
usr/src/lib/libdwarf/common/dwarf_loclists.c
653
*loclists_offset_lle_set = head->ll_llearea_offset;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1395
int dwarf_macro_context_head(Dwarf_Macro_Context head,
usr/src/lib/libdwarf/common/dwarf_macro5.c
1408
if (!head || head->mc_sentinel != 0xada) {
usr/src/lib/libdwarf/common/dwarf_macro5.c
1410
if(head) {
usr/src/lib/libdwarf/common/dwarf_macro5.c
1411
dbg = head->mc_dbg;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1416
*version = head->mc_version_number;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1417
*mac_offset = head->mc_section_offset;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1418
*mac_len = head->mc_total_length;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1419
*mac_header_len = head->mc_macro_header_length;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1420
*flags = head->mc_flags;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1421
*line_offset = head->mc_debug_line_offset;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1422
*has_line_offset = head->mc_debug_line_offset_flag;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1423
*has_offset_size_64 = head->mc_offset_size_flag;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1424
*has_operands_table = head->mc_operands_table_flag;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1425
*opcode_count = head->mc_opcode_count;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1428
int dwarf_macro_operands_table(Dwarf_Macro_Context head,
usr/src/lib/libdwarf/common/dwarf_macro5.c
1437
if (!head || head->mc_sentinel != 0xada) {
usr/src/lib/libdwarf/common/dwarf_macro5.c
1438
if(head) {
usr/src/lib/libdwarf/common/dwarf_macro5.c
1439
dbg = head->mc_dbg;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1444
dbg = head->mc_dbg;
usr/src/lib/libdwarf/common/dwarf_macro5.c
1445
if (index >= head->mc_opcode_count) {
usr/src/lib/libdwarf/common/dwarf_macro5.c
1449
ops = head->mc_opcode_forms + index;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1129
Dwarf_Rnglists_Head head,
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1141
if (entrynum >= head->rh_count) {
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1144
e = head->rh_rnglists[entrynum];
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1156
_dwarf_free_rnglists_head(Dwarf_Rnglists_Head head)
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1158
if (head->rh_first) {
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1161
Dwarf_Rnglists_Entry cur = head->rh_first;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1168
head->rh_first = 0;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1169
head->rh_last = 0;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1170
head->rh_count = 0;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1177
for( ; i < head->rh_count; ++i) {
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1178
free(head->rh_rnglists[i]);
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1180
free(head->rh_rnglists);
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1181
head->rh_rnglists = 0;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1186
_dwarf_rnglists_head_destructor(void *head)
usr/src/lib/libdwarf/common/dwarf_rnglists.c
1188
Dwarf_Rnglists_Head h = head;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
504
Dwarf_Rnglists_Head head,
usr/src/lib/libdwarf/common/dwarf_rnglists.c
525
*rle_count = head->rh_count;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
526
*rle_version = head->rh_version;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
527
*rnglists_index_returned = head->rh_index;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
528
*bytes_total_in_rle = head->rh_bytes_total;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
529
*offset_size = head->rh_offset_size;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
530
*address_size = head->rh_address_size;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
531
*segment_selector_size = head->rh_segment_selector_size;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
532
rngcontext = head->rh_localcontext;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
539
*rnglists_base_present = head->rh_at_rnglists_base_present;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
540
*rnglists_base= head->rh_at_rnglists_base;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
542
*rnglists_base_address_present = head->rh_cu_base_address_present;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
543
*rnglists_base_address= head->rh_cu_base_address;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
545
*rnglists_debug_addr_base_present = head->rh_cu_addr_base_present;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
546
*rnglists_debug_addr_base = head->rh_cu_addr_base;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
58
free_rnglists_chain(Dwarf_Debug dbg, Dwarf_Chain head)
usr/src/lib/libdwarf/common/dwarf_rnglists.c
60
Dwarf_Chain cur = head;
usr/src/lib/libdwarf/common/dwarf_rnglists.c
63
if(!head) {
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
158
tsearch_inner( const void *key, struct hs_base* head,
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
326
const struct hs_base *head = (const struct hs_base *)headp_in;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
327
if(!head) {
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
331
dumptree_inner(head,keyprint,msg,1);
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
350
resize_table(struct hs_base *head,
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
358
newhead = *head;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
362
new_entry_index = head->tablesize_entry_index_ +1;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
389
unsigned long tsize = head->tablesize_;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
390
struct ts_entry *p = &head->hashtab_[0];
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
427
dwarf_tdestroy_inner(head,0,0);
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
429
free(head->hashtab_);
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
430
head->hashtab_ = 0;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
431
*head = newhead;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
438
tsearch_inner( const void *key, struct hs_base* head,
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
455
if(! head->hashfunc_) {
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
459
keyhash = head->hashfunc_(key);
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
461
if( head->record_count_ > head->allowed_fill_) {
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
462
resize_table(head,compar);
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
465
hindx = keyhash%head->tablesize_;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
466
s = &head->hashtab_[hindx];
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
475
head->record_count_++;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
511
head->record_count_++;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
521
struct hs_base *head = *rootp;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
527
if (!head) {
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
531
r = tsearch_inner(key,head,compar,want_insert,&inserted,&nullme);
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
547
struct hs_base *head = *proot;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
555
if (!head) {
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
559
r = tsearch_inner(key,head,compar,only_find,&inserted,&nullme);
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
574
struct hs_base *head = *proot;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
580
if (!head) {
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
584
found = tsearch_inner(key,head,compar,want_delete,&inserted,
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
589
head->record_count_--;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
604
head->record_count_--;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
613
head->record_count_--;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
648
const struct hs_base *head = (const struct hs_base *)rootp;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
650
if(!head) {
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
653
root = head->hashtab_;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
655
dwarf_twalk_inner(head,root,action,0);
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
698
struct hs_base *head = (struct hs_base *)rootp;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
700
if(!head) {
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
703
root = head->hashtab_;
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
704
dwarf_tdestroy_inner(head,free_node,0);
usr/src/lib/libdwarf/common/dwarf_tsearchhash.c
706
free(head);
usr/src/lib/libdwarf/common/pro_section.c
2647
Dwarf_P_Die die, Dwarf_P_Abbrev head,
usr/src/lib/libdwarf/common/pro_section.c
2658
curabbrev = head;
usr/src/lib/libeti/form/common/form.c
101
if (p == head)
usr/src/lib/libeti/form/common/form.c
75
insert(FIELD *f, FIELD *head)
usr/src/lib/libeti/form/common/form.c
81
if (head) {
usr/src/lib/libeti/form/common/form.c
82
p = newhead = head;
usr/src/lib/libeti/form/common/form.c
91
if (p == head) {
usr/src/lib/libeti/form/common/form.c
92
head = (FIELD *) 0;
usr/src/lib/libfru/libfru/PayloadReader.cc
113
uint8_t head, uint8_t tail,
usr/src/lib/libfru/libfru/PayloadReader.cc
133
return (length * head);
usr/src/lib/libfru/libfru/PayloadReader.cc
139
return (length * ((head + index) % iterPoss));
usr/src/lib/libfru/libfru/PayloadReader.cc
166
uint8_t head = iter[0];
usr/src/lib/libfru/libfru/PayloadReader.cc
203
head, tail, iterThere, iterPoss,
usr/src/lib/libfru/libfru/PayloadReader.cc
373
uint8_t *head = &(cur[0]);
usr/src/lib/libfru/libfru/PayloadReader.cc
412
if (*tail == *head) {
usr/src/lib/libfru/libfru/PayloadReader.cc
414
if (++(*head) == numPoss)
usr/src/lib/libfru/libfru/PayloadReader.cc
415
*head = 0;
usr/src/lib/libfru/libfru/PayloadReader.h
69
uint8_t head, uint8_t tail,
usr/src/lib/libfru/libfru/libfru.cc
1347
PathDef *head, Ancestor *ants, Ancestor **correct,
usr/src/lib/libfru/libfru/libfru.cc
1354
if (strcmp(cur->getDef()->name, head->def->name) == 0) {
usr/src/lib/libfru/libnvfru/nvfru.c
161
uint8_t head, num;
usr/src/lib/libfru/libnvfru/nvfru.c
182
head = 0;
usr/src/lib/libfru/libnvfru/nvfru.c
185
head = data[HEAD_ITER];
usr/src/lib/libfru/libnvfru/nvfru.c
192
for (i = head, n = 0, data += sizeof (uint32_t); n < num;
usr/src/lib/libidmap/common/idmap_cache.c
1078
list_insert(&idmap_cache.sid2uid_gid.head, new);
usr/src/lib/libidmap/common/idmap_cache.c
1130
list_insert(&idmap_cache.uid2sid_winname.head,
usr/src/lib/libidmap/common/idmap_cache.c
1177
list_insert(&idmap_cache.gid2sid_winname.head,
usr/src/lib/libidmap/common/idmap_cache.c
1248
list_insert(&idmap_cache.winname2uid_gid.head, new);
usr/src/lib/libidmap/common/idmap_cache.c
1308
list_insert(&idmap_cache.uid2sid_winname.head, new);
usr/src/lib/libidmap/common/idmap_cache.c
1379
list_insert(&idmap_cache.winname2uid_gid.head, new);
usr/src/lib/libidmap/common/idmap_cache.c
138
sid2uid_gid_t head;
usr/src/lib/libidmap/common/idmap_cache.c
1440
list_insert(&idmap_cache.gid2sid_winname.head, new);
usr/src/lib/libidmap/common/idmap_cache.c
1465
item = cache->head.blink;
usr/src/lib/libidmap/common/idmap_cache.c
1491
item = cache->head.blink;
usr/src/lib/libidmap/common/idmap_cache.c
150
pid2sid_winname_t head;
usr/src/lib/libidmap/common/idmap_cache.c
1517
item = cache->head.blink;
usr/src/lib/libidmap/common/idmap_cache.c
162
winname2uid_gid_t head;
usr/src/lib/libidmap/common/idmap_cache.c
297
idmap_cache.sid2uid_gid.head.flink = &idmap_cache.sid2uid_gid.head;
usr/src/lib/libidmap/common/idmap_cache.c
298
idmap_cache.sid2uid_gid.head.blink = &idmap_cache.sid2uid_gid.head;
usr/src/lib/libidmap/common/idmap_cache.c
309
idmap_cache.uid2sid_winname.head.flink =
usr/src/lib/libidmap/common/idmap_cache.c
310
&idmap_cache.uid2sid_winname.head;
usr/src/lib/libidmap/common/idmap_cache.c
311
idmap_cache.uid2sid_winname.head.blink =
usr/src/lib/libidmap/common/idmap_cache.c
312
&idmap_cache.uid2sid_winname.head;
usr/src/lib/libidmap/common/idmap_cache.c
322
idmap_cache.gid2sid_winname.head.flink =
usr/src/lib/libidmap/common/idmap_cache.c
323
&idmap_cache.gid2sid_winname.head;
usr/src/lib/libidmap/common/idmap_cache.c
324
idmap_cache.gid2sid_winname.head.blink =
usr/src/lib/libidmap/common/idmap_cache.c
325
&idmap_cache.gid2sid_winname.head;
usr/src/lib/libidmap/common/idmap_cache.c
335
idmap_cache.winname2uid_gid.head.flink =
usr/src/lib/libidmap/common/idmap_cache.c
336
&idmap_cache.winname2uid_gid.head;
usr/src/lib/libidmap/common/idmap_cache.c
337
idmap_cache.winname2uid_gid.head.blink =
usr/src/lib/libidmap/common/idmap_cache.c
338
&idmap_cache.winname2uid_gid.head;
usr/src/lib/libidmap/common/idmap_cache.c
366
idmap_cache.sid2uid_gid.head.flink = &idmap_cache.sid2uid_gid.head;
usr/src/lib/libidmap/common/idmap_cache.c
367
idmap_cache.sid2uid_gid.head.blink = &idmap_cache.sid2uid_gid.head;
usr/src/lib/libidmap/common/idmap_cache.c
390
idmap_cache.uid2sid_winname.head.flink =
usr/src/lib/libidmap/common/idmap_cache.c
391
&idmap_cache.uid2sid_winname.head;
usr/src/lib/libidmap/common/idmap_cache.c
392
idmap_cache.uid2sid_winname.head.blink =
usr/src/lib/libidmap/common/idmap_cache.c
393
&idmap_cache.uid2sid_winname.head;
usr/src/lib/libidmap/common/idmap_cache.c
415
idmap_cache.gid2sid_winname.head.flink =
usr/src/lib/libidmap/common/idmap_cache.c
416
&idmap_cache.gid2sid_winname.head;
usr/src/lib/libidmap/common/idmap_cache.c
417
idmap_cache.gid2sid_winname.head.blink =
usr/src/lib/libidmap/common/idmap_cache.c
418
&idmap_cache.gid2sid_winname.head;
usr/src/lib/libidmap/common/idmap_cache.c
438
idmap_cache.winname2uid_gid.head.flink =
usr/src/lib/libidmap/common/idmap_cache.c
439
&idmap_cache.winname2uid_gid.head;
usr/src/lib/libidmap/common/idmap_cache.c
440
idmap_cache.winname2uid_gid.head.blink =
usr/src/lib/libidmap/common/idmap_cache.c
441
&idmap_cache.winname2uid_gid.head;
usr/src/lib/libidmap/common/idmap_cache.c
497
list_move(&idmap_cache.sid2uid_gid.head, result);
usr/src/lib/libidmap/common/idmap_cache.c
528
list_move(&idmap_cache.sid2uid_gid.head, result);
usr/src/lib/libidmap/common/idmap_cache.c
560
list_move(&idmap_cache.sid2uid_gid.head, result);
usr/src/lib/libidmap/common/idmap_cache.c
596
list_move(&idmap_cache.uid2sid_winname.head, result);
usr/src/lib/libidmap/common/idmap_cache.c
628
list_move(&idmap_cache.gid2sid_winname.head, result);
usr/src/lib/libidmap/common/idmap_cache.c
660
list_move(&idmap_cache.uid2sid_winname.head, result);
usr/src/lib/libidmap/common/idmap_cache.c
69
#define list_insert(head, ele)\
usr/src/lib/libidmap/common/idmap_cache.c
705
list_move(&idmap_cache.gid2sid_winname.head, result);
usr/src/lib/libidmap/common/idmap_cache.c
71
(ele)->flink = (head)->flink;\
usr/src/lib/libidmap/common/idmap_cache.c
72
(head)->flink = (ele);\
usr/src/lib/libidmap/common/idmap_cache.c
752
list_move(&idmap_cache.winname2uid_gid.head, result);
usr/src/lib/libidmap/common/idmap_cache.c
782
list_move(&idmap_cache.winname2uid_gid.head, result);
usr/src/lib/libidmap/common/idmap_cache.c
837
list_insert(&idmap_cache.sid2uid_gid.head, new);
usr/src/lib/libidmap/common/idmap_cache.c
86
#define list_move(head, ele) \
usr/src/lib/libidmap/common/idmap_cache.c
88
if ((head)->flink != (ele)) {\
usr/src/lib/libidmap/common/idmap_cache.c
887
list_insert(&idmap_cache.uid2sid_winname.head, new);
usr/src/lib/libidmap/common/idmap_cache.c
90
list_insert(head, ele);\
usr/src/lib/libidmap/common/idmap_cache.c
949
list_insert(&idmap_cache.sid2uid_gid.head, new);
usr/src/lib/libidmap/common/idmap_cache.c
999
list_insert(&idmap_cache.gid2sid_winname.head, new);
usr/src/lib/libinstzones/common/zones.c
400
zoneBrandList_t *brand = NULL, *head = NULL;
usr/src/lib/libinstzones/common/zones.c
413
head = brand;
usr/src/lib/libinstzones/common/zones.c
430
return (head);
usr/src/lib/libkmf/plugins/kmf_pkcs11/common/pkcs11_spi.c
342
free_objlist(OBJLIST *head)
usr/src/lib/libkmf/plugins/kmf_pkcs11/common/pkcs11_spi.c
344
OBJLIST *temp = head;
usr/src/lib/libkmf/plugins/kmf_pkcs11/common/pkcs11_spi.c
347
head = head->next;
usr/src/lib/libkmf/plugins/kmf_pkcs11/common/pkcs11_spi.c
349
temp = head;
usr/src/lib/libmlrpc/common/ndr_svc.c
389
ndr_binding_t *head = NULL;
usr/src/lib/libmlrpc/common/ndr_svc.c
393
pool[ix].next = head;
usr/src/lib/libmlrpc/common/ndr_svc.c
397
head = &pool[ix];
usr/src/lib/libmlrpc/common/ndr_svc.c
400
*headpp = head;
usr/src/lib/libnisdb/db.cc
732
db_log_entry * head; // head of list of log entries found
usr/src/lib/libnisdb/db.cc
751
if (ti->head == NULL)
usr/src/lib/libnisdb/db.cc
752
ti->head = j;
usr/src/lib/libnisdb/db.cc
772
ti.head = ti.tail = NULL;
usr/src/lib/libnisdb/db.cc
796
currentry = ti.head;
usr/src/lib/libnisdb/db.cc
797
for (i = 0, currentry = ti.head;
usr/src/lib/libnisdb/db_dictionary.cc
193
delete_bucket(db_table_desc *head)
usr/src/lib/libnisdb/db_dictionary.cc
197
for (current = head; current != NULL; current = nextone) {
usr/src/lib/libnisdb/db_dictionary.cc
286
db_table_desc_p *head, unsigned long hval, char *target,
usr/src/lib/libnisdb/db_dictionary.cc
305
*head = np->next; // deleting head of bucket
usr/src/lib/libnisdb/db_dictionary.cc
322
add_to_bucket(db_table_desc_p bucket, db_table_desc **head, db_table_desc_p td)
usr/src/lib/libnisdb/db_dictionary.cc
341
curr = *head;
usr/src/lib/libnisdb/db_dictionary.cc
342
*head = td;
usr/src/lib/libnisdb/db_dictionary.cc
350
print_bucket(db_table_desc *head)
usr/src/lib/libnisdb/db_dictionary.cc
353
for (np = head; np != NULL; np = np->next) {
usr/src/lib/libnisdb/db_index_entry.cc
230
db_index_entry::remove(db_index_entry_p *head, bool_t casein,
usr/src/lib/libnisdb/db_index_entry.cc
248
*head = np->next; // deleting head of bucket
usr/src/lib/libnisdb/db_index_entry.cc
276
db_index_entry::add(db_index_entry **head, bool_t casein,
usr/src/lib/libnisdb/db_index_entry.cc
295
save = *head;
usr/src/lib/libnisdb/db_index_entry.cc
296
*head = new db_index_entry(hval, i, recnum, * head);
usr/src/lib/libnisdb/db_index_entry.cc
297
if (*head == NULL) {
usr/src/lib/libnisdb/db_index_entry.cc
298
*head = save; // restore previous state
usr/src/lib/libnisdb/db_mindex.cc
508
db_next_index_desc *head = NULL, *curr;
usr/src/lib/libnisdb/db_mindex.cc
513
curr = new db_next_index_desc(current->getlocation(), head);
usr/src/lib/libnisdb/db_mindex.cc
519
head = curr; // list is actually reversed
usr/src/lib/libnisdb/db_mindex.cc
521
return (head);
usr/src/lib/libnisdb/db_table.cc
1153
head = NULL;
usr/src/lib/libnisdb/db_table.cc
138
for (current = head; current != NULL; ) {
usr/src/lib/libnisdb/db_table.cc
143
head = NULL;
usr/src/lib/libnisdb/db_table.cc
153
if (head == NULL) {
usr/src/lib/libnisdb/db_table.cc
157
db_free_entry* old_head = head;
usr/src/lib/libnisdb/db_table.cc
158
entryp found = head->where;
usr/src/lib/libnisdb/db_table.cc
159
head = head->next;
usr/src/lib/libnisdb/db_table.cc
182
newentry->next = head;
usr/src/lib/libnisdb/db_table.cc
183
head = newentry;
usr/src/lib/libnisdb/db_table.cc
205
db_free_entry_p current = head;
usr/src/lib/libnsl/rpc/pmap_clnt.c
165
pmaplist_ptr head = NULL;
usr/src/lib/libnsl/rpc/pmap_clnt.c
177
(caddr_t)&head, minutetimeout) != RPC_SUCCESS) {
usr/src/lib/libnsl/rpc/pmap_clnt.c
184
return ((struct pmaplist *)head);
usr/src/lib/libnsl/rpc/rpcb_clnt.c
1104
rpcblist_ptr head = NULL;
usr/src/lib/libnsl/rpc/rpcb_clnt.c
1117
(char *)&head, tottimeout);
usr/src/lib/libnsl/rpc/rpcb_clnt.c
1136
(char *)&head, tottimeout) == RPC_SUCCESS)
usr/src/lib/libnsl/rpc/rpcb_clnt.c
1144
return (head);
usr/src/lib/libnsl/rpc/svc_vc.c
1066
if (head != NULL) {
usr/src/lib/libnsl/rpc/svc_vc.c
1068
r->t_call = head->t_call;
usr/src/lib/libnsl/rpc/svc_vc.c
1069
e = head;
usr/src/lib/libnsl/rpc/svc_vc.c
1070
head = head->next;
usr/src/lib/libnsl/rpc/svc_vc.c
742
struct entry *head = NULL;
usr/src/lib/libnsl/rpc/svc_vc.c
892
if (head == NULL)
usr/src/lib/libnsl/rpc/svc_vc.c
893
head = e;
usr/src/lib/libnsl/yp/yp_match.c
136
for (pp = &head, cnt = 0; (c = *pp) != 0; pp = &c->next, cnt++) {
usr/src/lib/libnsl/yp/yp_match.c
154
c->next = head;
usr/src/lib/libnsl/yp/yp_match.c
155
head = c;
usr/src/lib/libnsl/yp/yp_match.c
280
c->next = head;
usr/src/lib/libnsl/yp/yp_match.c
281
head = c;
usr/src/lib/libnsl/yp/yp_match.c
322
p = head;
usr/src/lib/libnsl/yp/yp_match.c
323
head = 0;
usr/src/lib/libnsl/yp/yp_match.c
475
c->next = head;
usr/src/lib/libnsl/yp/yp_match.c
476
head = c;
usr/src/lib/libnsl/yp/yp_match.c
72
static struct cache *head;
usr/src/lib/libraidcfg/common/raidcfg.c
4237
list->head = NULL;
usr/src/lib/libraidcfg/common/raidcfg.c
4245
return (list->head);
usr/src/lib/libraidcfg/common/raidcfg.c
4266
if (list->head == NULL)
usr/src/lib/libraidcfg/common/raidcfg.c
4267
list->head = obj;
usr/src/lib/libraidcfg/common/raidcfg.c
4280
if (list->head == obj)
usr/src/lib/libraidcfg/common/raidcfg.c
4281
list->head = el->next;
usr/src/lib/libraidcfg/common/raidcfg.c
4302
void *obj = list->head;
usr/src/lib/libraidcfg/common/raidcfg.c
4408
list->head = NULL;
usr/src/lib/libraidcfg/common/raidcfg.c
80
void *head;
usr/src/lib/librcm/librcm.c
750
rcm_append_info(rcm_info_t **head, rcm_info_t *info)
usr/src/lib/librcm/librcm.c
754
if (head == NULL) {
usr/src/lib/librcm/librcm.c
759
if ((tuple = *head) == NULL) {
usr/src/lib/librcm/librcm.c
760
*head = info;
usr/src/lib/libresolv2/include/isc/list.h
22
#define LIST(type) struct { type *head, *tail; }
usr/src/lib/libresolv2/include/isc/list.h
24
do { (list).head = NULL; (list).tail = NULL; } while (0)
usr/src/lib/libresolv2/include/isc/list.h
37
#define HEAD(list) ((list).head)
usr/src/lib/libresolv2/include/isc/list.h
39
#define EMPTY(list) ((list).head == NULL)
usr/src/lib/libresolv2/include/isc/list.h
44
if ((list).head != NULL) \
usr/src/lib/libresolv2/include/isc/list.h
45
(list).head->link.prev = (elt); \
usr/src/lib/libresolv2/include/isc/list.h
49
(elt)->link.next = (list).head; \
usr/src/lib/libresolv2/include/isc/list.h
50
(list).head = (elt); \
usr/src/lib/libresolv2/include/isc/list.h
59
(list).head = (elt); \
usr/src/lib/libresolv2/include/isc/list.h
77
INSIST((list).head == (elt)); \
usr/src/lib/libresolv2/include/isc/list.h
78
(list).head = (elt)->link.next; \
usr/src/lib/libsecdb/common/getexecattr.c
101
return (head);
usr/src/lib/libsecdb/common/getexecattr.c
124
execattr_t *head = NULL;
usr/src/lib/libsecdb/common/getexecattr.c
137
return (head);
usr/src/lib/libsecdb/common/getexecattr.c
140
head = userprof((const char *)(utmp->name), type, id,
usr/src/lib/libsecdb/common/getexecattr.c
143
head = userprof((const char *)(utmp->name), type, id,
usr/src/lib/libsecdb/common/getexecattr.c
145
if (head != NULL) {
usr/src/lib/libsecdb/common/getexecattr.c
146
prev = get_tail(head);
usr/src/lib/libsecdb/common/getexecattr.c
157
head = new;
usr/src/lib/libsecdb/common/getexecattr.c
158
prev = get_tail(head);
usr/src/lib/libsecdb/common/getexecattr.c
163
head = NULL;
usr/src/lib/libsecdb/common/getexecattr.c
167
head = userprof(username, type, id, search_flag);
usr/src/lib/libsecdb/common/getexecattr.c
170
return (head);
usr/src/lib/libsecdb/common/getexecattr.c
229
execattr_t *head;
usr/src/lib/libsecdb/common/getexecattr.c
243
r->head = exec;
usr/src/lib/libsecdb/common/getexecattr.c
246
if (r->head == NULL) {
usr/src/lib/libsecdb/common/getexecattr.c
247
r->head = exec;
usr/src/lib/libsecdb/common/getexecattr.c
248
r->prev = get_tail(r->head);
usr/src/lib/libsecdb/common/getexecattr.c
276
result.head = result.prev = NULL;
usr/src/lib/libsecdb/common/getexecattr.c
283
return (result.head);
usr/src/lib/libsecdb/common/getexecattr.c
74
execattr_t *head = NULL;
usr/src/lib/libsecdb/common/getexecattr.c
89
head = getexecattr();
usr/src/lib/libsecdb/common/getexecattr.c
91
head = getexecattr();
usr/src/lib/libsecdb/common/getexecattr.c
92
prev = head;
usr/src/lib/libsecdb/common/getexecattr.c
98
head = NULL;
usr/src/lib/libshare/common/libsharecore.c
1103
xfs_sharelist_t *head, *list;
usr/src/lib/libshare/common/libsharecore.c
1117
for (head = list = getdfstab(dfs);
usr/src/lib/libshare/common/libsharecore.c
1272
dfs_free_list(head);
usr/src/lib/libsldap/common/ns_common.c
1338
__s_api_addRefInfo(ns_referral_info_t **head, char *url,
usr/src/lib/libsldap/common/ns_common.c
1353
if (head == NULL)
usr/src/lib/libsldap/common/ns_common.c
1520
if (*head) {
usr/src/lib/libsldap/common/ns_common.c
1521
for (tmpref = *head; tmpref->next; tmpref = tmpref->next)
usr/src/lib/libsldap/common/ns_common.c
1525
*head = ref;
usr/src/lib/libsldap/common/ns_common.c
1536
__s_api_deleteRefInfo(ns_referral_info_t *head)
usr/src/lib/libsldap/common/ns_common.c
1544
for (ref = head; ref; ) {
usr/src/lib/libsldap/common/ns_connmgmt.c
2380
ns_conn_waiter_t *head = &conn_mt->waiter;
usr/src/lib/libsldap/common/ns_connmgmt.c
2385
mywait.next = head->next;
usr/src/lib/libsldap/common/ns_connmgmt.c
2386
mywait.prev = head;
usr/src/lib/libsldap/common/ns_connmgmt.c
2389
head->next = &mywait;
usr/src/lib/libsldap/common/ns_connmgmt.c
2406
ns_conn_waiter_t *head = &conn_mt->waiter;
usr/src/lib/libsldap/common/ns_connmgmt.c
2407
ns_conn_waiter_t *tmp = head->next;
usr/src/lib/libsldap/common/ns_internal.h
903
int __s_api_addRefInfo(ns_referral_info_t **head,
usr/src/lib/libsldap/common/ns_internal.h
906
void __s_api_deleteRefInfo(ns_referral_info_t *head);
usr/src/lib/libsldap/common/ns_reads.c
1071
char *key, *tail, *head;
usr/src/lib/libsldap/common/ns_reads.c
1269
head = info[i]->veq_pos;
usr/src/lib/libsldap/common/ns_reads.c
1270
for (head = info[i]->veq_pos + 1;
usr/src/lib/libsldap/common/ns_reads.c
1271
*head && *head == SPACETOK; head++)
usr/src/lib/libsldap/common/ns_reads.c
1275
if (!(*head))
usr/src/lib/libsldap/common/ns_reads.c
1278
info[i]->name_start = head - filter_c +
usr/src/lib/libsldap/common/ns_reads.c
1284
for (c = head; ; c++) {
usr/src/lib/libsldap/common/ns_reads.c
1295
info[i]->from_name = head;
usr/src/lib/libslp/clib/slp_queue.c
103
q->head = NULL;
usr/src/lib/libslp/clib/slp_queue.c
128
if (q->head != NULL) { /* queue is not emptry */
usr/src/lib/libslp/clib/slp_queue.c
132
q->head = q->tail = qe;
usr/src/lib/libslp/clib/slp_queue.c
156
qe->next = q->head;
usr/src/lib/libslp/clib/slp_queue.c
157
q->head = qe;
usr/src/lib/libslp/clib/slp_queue.c
171
slp_queue_entry_t *qe = q->head;
usr/src/lib/libslp/clib/slp_queue.c
177
q->head = q->tail = NULL;
usr/src/lib/libslp/clib/slp_queue.c
179
q->head = qe->next;
usr/src/lib/libslp/clib/slp_queue.c
241
for (p = q->head; p; p = pn) {
usr/src/lib/libslp/clib/slp_queue.c
59
slp_queue_entry_t *head;
usr/src/lib/libslp/javalib/com/sun/slp/ServiceStoreInMemory.java
1446
List l = qRec.head.next;
usr/src/lib/libslp/javalib/com/sun/slp/ServiceStoreInMemory.java
306
List head = new List(null); // head of the list always null,
usr/src/lib/libslp/javalib/com/sun/slp/ServiceStoreInMemory.java
319
return head.insertAfter(rec);
usr/src/lib/libslp/javalib/com/sun/slp/ServiceStoreInMemory.java
330
List l = head;
usr/src/lib/libslp/javalib/com/sun/slp/ServiceStoreInMemory.java
343
return "<RegRecord value="+value+"list="+head.next+">";
usr/src/lib/libslp/javalib/com/sun/slp/ServiceStoreInMemory.java
624
if (rec.head.next == null) {
usr/src/lib/libsmbfs/smb/queue.h
104
#define SLIST_REMOVE_HEAD(head, field) do { \
usr/src/lib/libsmbfs/smb/queue.h
105
SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
usr/src/lib/libsmbfs/smb/queue.h
66
#define SLIST_EMPTY(head) ((head)->slh_first == NULL)
usr/src/lib/libsmbfs/smb/queue.h
68
#define SLIST_FIRST(head) ((head)->slh_first)
usr/src/lib/libsmbfs/smb/queue.h
70
#define SLIST_FOREACH(var, head, field) \
usr/src/lib/libsmbfs/smb/queue.h
71
for ((var) = SLIST_FIRST((head)); \
usr/src/lib/libsmbfs/smb/queue.h
75
#define SLIST_INIT(head) do { \
usr/src/lib/libsmbfs/smb/queue.h
76
SLIST_FIRST((head)) = NULL; \
usr/src/lib/libsmbfs/smb/queue.h
84
#define SLIST_INSERT_HEAD(head, elm, field) do { \
usr/src/lib/libsmbfs/smb/queue.h
85
SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
usr/src/lib/libsmbfs/smb/queue.h
86
SLIST_FIRST((head)) = (elm); \
usr/src/lib/libsmbfs/smb/queue.h
91
#define SLIST_REMOVE(head, elm, type, field) do { \
usr/src/lib/libsmbfs/smb/queue.h
92
if (SLIST_FIRST((head)) == (elm)) { \
usr/src/lib/libsmbfs/smb/queue.h
93
SLIST_REMOVE_HEAD((head), field); \
usr/src/lib/libsmbfs/smb/queue.h
96
struct type *curelm = SLIST_FIRST((head)); \
usr/src/lib/libsmedia/library/common/l_defines.h
46
int32_t head;
usr/src/lib/libsmedia/library/common/l_generic.c
188
smedia_format_track(smedia_handle_t handle, uint32_t trackno, uint32_t head,
usr/src/lib/libsmedia/library/common/l_generic.c
195
ft.head = (int32_t)head;
usr/src/lib/libsmedia/library/inc/smedia.h
154
int smedia_format_track(smedia_handle_t handle, uint_t trackno, uint_t head,
usr/src/lib/libsmedia/plugins/floppy/common/f_format.c
384
start_head = ft->head;
usr/src/lib/libsmedia/plugins/floppy/common/f_format.c
385
end_head = ft->head + 1;
usr/src/lib/libsmedia/plugins/floppy/common/f_format.c
563
ft.head = (-1);
usr/src/lib/libsmedia/plugins/floppy/common/f_format.c
595
DPRINTF2("Format track %d head %d\n", ft->track_no, ft->head);
usr/src/lib/libsmedia/plugins/floppy/common/f_generic.c
224
int32_t cyl, rem, head, start_sector;
usr/src/lib/libsmedia/plugins/floppy/common/f_generic.c
261
head = rem/fdchar.fdc_secptrack;
usr/src/lib/libsmedia/plugins/floppy/common/f_generic.c
270
fdraw.fdr_cmd[1] = (head << 2); /* using head 1 */
usr/src/lib/libsmedia/plugins/floppy/common/f_generic.c
272
fdraw.fdr_cmd[3] = head; /* drive head number */
usr/src/lib/libsmedia/plugins/floppy/common/f_generic.c
298
int32_t cyl, rem, head, start_sector;
usr/src/lib/libsmedia/plugins/floppy/common/f_generic.c
334
head = rem/fdchar.fdc_secptrack;
usr/src/lib/libsmedia/plugins/floppy/common/f_generic.c
343
fdraw.fdr_cmd[1] = (head << 2); /* using head 1 */
usr/src/lib/libsmedia/plugins/floppy/common/f_generic.c
345
fdraw.fdr_cmd[3] = head; /* drive head number */
usr/src/lib/libsqlite/tool/lemon.c
1494
char *ptr, *head;
usr/src/lib/libsqlite/tool/lemon.c
1497
head = b;
usr/src/lib/libsqlite/tool/lemon.c
1499
head = a;
usr/src/lib/libsqlite/tool/lemon.c
1508
head = ptr;
usr/src/lib/libsqlite/tool/lemon.c
1523
return head;
usr/src/lib/libtecla/common/chrqueue.c
108
cq->buffers.head = NULL;
usr/src/lib/libtecla/common/chrqueue.c
236
cq->buffers.head = node;
usr/src/lib/libtecla/common/chrqueue.c
280
cq->buffers.head = cq->buffers.tail = NULL;
usr/src/lib/libtecla/common/chrqueue.c
295
return (cq && cq->buffers.head) ? (cq->ntotal - cq->nflush) : 0;
usr/src/lib/libtecla/common/chrqueue.c
335
while(cq->buffers.head) {
usr/src/lib/libtecla/common/chrqueue.c
339
int is_tail = cq->buffers.head == cq->buffers.tail;
usr/src/lib/libtecla/common/chrqueue.c
362
int nnew = write_fn(data, cq->buffers.head->bytes +
usr/src/lib/libtecla/common/chrqueue.c
388
CqCharBuff *node = cq->buffers.head;
usr/src/lib/libtecla/common/chrqueue.c
392
cq->buffers.head = node->next;
usr/src/lib/libtecla/common/chrqueue.c
73
CqCharBuff *head; /* The head of the list of output buffers */
usr/src/lib/libtecla/common/expand.c
179
ef->cache.head = NULL;
usr/src/lib/libtecla/common/expand.c
250
for(dnode=ef->cache.head; dnode; dnode=dnode->next)
usr/src/lib/libtecla/common/expand.c
257
ef->cache.head = ef->cache.tail = ef->cache.next = NULL;
usr/src/lib/libtecla/common/expand.c
724
cache->head = node;
usr/src/lib/libtecla/common/expand.c
73
DirNode *head; /* The head of the list of used and unused cache nodes */
usr/src/lib/libtecla/common/expand.c
746
cache->head = node->next;
usr/src/lib/libtecla/common/expand.c
787
cache->head = cache->tail = node;
usr/src/lib/libtecla/common/hash.c
268
b->head = NULL;
usr/src/lib/libtecla/common/hash.c
378
node->next = bucket->head;
usr/src/lib/libtecla/common/hash.c
379
bucket->head = node;
usr/src/lib/libtecla/common/hash.c
409
bucket->head = node->next;
usr/src/lib/libtecla/common/hash.c
606
for(last=NULL, node=bucket->head;
usr/src/lib/libtecla/common/hash.c
689
HashNode *node = bucket->head;
usr/src/lib/libtecla/common/hash.c
698
bucket->head = NULL;
usr/src/lib/libtecla/common/hash.c
72
HashNode *head; /* The head of the bucket hash-node list */
usr/src/lib/libtecla/common/hash.c
737
for(node=bucket->head; node; node=node->next) {
usr/src/lib/libtecla/common/history.c
1018
GlhLineNode *head; /* The head of the list of lines to be saved */
usr/src/lib/libtecla/common/history.c
1039
head = NULL;
usr/src/lib/libtecla/common/history.c
1041
for(head=glh->list.tail; head && --max_lines > 0; head=head->prev)
usr/src/lib/libtecla/common/history.c
1044
if(!head)
usr/src/lib/libtecla/common/history.c
1045
head = glh->list.head;
usr/src/lib/libtecla/common/history.c
1051
for(node=head; node; node=node->next) {
usr/src/lib/libtecla/common/history.c
1063
for(seg=node->line->head; seg; seg=seg->next) {
usr/src/lib/libtecla/common/history.c
1480
if(!glh->enable || !glh->list.head)
usr/src/lib/libtecla/common/history.c
1493
for(node=glh->list.head; node; node=node->next) {
usr/src/lib/libtecla/common/history.c
150
GlhLineNode *head; /* The oldest line in the list */
usr/src/lib/libtecla/common/history.c
1506
oldest = glh->list.head;
usr/src/lib/libtecla/common/history.c
1519
oldest = glh->list.head;
usr/src/lib/libtecla/common/history.c
1591
for(seg=node->line->head; seg; seg=seg->next) {
usr/src/lib/libtecla/common/history.c
1693
while(glh->list.head && glh->nbusy > nbuff)
usr/src/lib/libtecla/common/history.c
1694
_glh_discard_line(glh, glh->list.head);
usr/src/lib/libtecla/common/history.c
1711
GlhLineSeg *seg = hnode->head;
usr/src/lib/libtecla/common/history.c
1712
hnode->head = buffer + nbusy;
usr/src/lib/libtecla/common/history.c
1780
while(glh->list.head && glh->list.head != oldest)
usr/src/lib/libtecla/common/history.c
1781
_glh_discard_line(glh, glh->list.head);
usr/src/lib/libtecla/common/history.c
1821
glh->list.head = glh->list.tail = NULL;
usr/src/lib/libtecla/common/history.c
1855
for(node=glh->list.head; node; node=next) {
usr/src/lib/libtecla/common/history.c
1902
glh->list.head = node->next;
usr/src/lib/libtecla/common/history.c
2026
if(!glh->enable || !glh->list.head)
usr/src/lib/libtecla/common/history.c
2034
node = glh->list.head;
usr/src/lib/libtecla/common/history.c
2048
glh->id_node = node ? node : glh->list.head;
usr/src/lib/libtecla/common/history.c
2106
*oldest = glh->list.head ? glh->list.head->id : 0;
usr/src/lib/libtecla/common/history.c
2198
_glh_discard_line(glh, glh->list.head);
usr/src/lib/libtecla/common/history.c
2223
hnode->head = glh->unused;
usr/src/lib/libtecla/common/history.c
2287
if(hnode->head) {
usr/src/lib/libtecla/common/history.c
2294
for(nseg=1,tail=hnode->head; tail->next; nseg++,tail=tail->next)
usr/src/lib/libtecla/common/history.c
2301
glh->unused = hnode->head;
usr/src/lib/libtecla/common/history.c
2394
for(seg=hash->head; n>0 && seg; seg=seg->next) {
usr/src/lib/libtecla/common/history.c
2469
for(seg=hash->head; dim>0 && seg; seg=seg->next) {
usr/src/lib/libtecla/common/history.c
2555
str->seg = line ? line->head : NULL;
usr/src/lib/libtecla/common/history.c
270
glh->list.head = glh->list.tail = NULL;
usr/src/lib/libtecla/common/history.c
368
glh->list.head = NULL;
usr/src/lib/libtecla/common/history.c
457
_glh_discard_line(glh, glh->list.head);
usr/src/lib/libtecla/common/history.c
500
if(glh->list.head)
usr/src/lib/libtecla/common/history.c
503
glh->list.head = lnode;
usr/src/lib/libtecla/common/history.c
824
for(node=glh->list.head; node && node->group != glh->group;
usr/src/lib/libtecla/common/history.c
91
GlhLineSeg *head; /* The list of sub-strings which make up a line */
usr/src/lib/libtecla/common/pcache.c
1047
for(node=pc->head; node; node=node->next) {
usr/src/lib/libtecla/common/pcache.c
1288
for(node=pc->head; node; node=node->next) {
usr/src/lib/libtecla/common/pcache.c
153
PathNode *head; /* The head of the list of directories in the */
usr/src/lib/libtecla/common/pcache.c
1706
for(node=pc->head; node; node=node->next) {
usr/src/lib/libtecla/common/pcache.c
285
pc->head = NULL;
usr/src/lib/libtecla/common/pcache.c
382
pc->head = NULL;
usr/src/lib/libtecla/common/pcache.c
480
pc->head = pc->tail = NULL;
usr/src/lib/libtecla/common/pcache.c
558
for(node=pc->head; node; node=node->next) {
usr/src/lib/libtecla/common/pcache.c
862
if(pc->head) {
usr/src/lib/libtecla/common/pcache.c
866
pc->head = pc->tail = node;
usr/src/lib/libtecla/common/stringrp.c
109
sg->head = NULL;
usr/src/lib/libtecla/common/stringrp.c
135
for(node=sg->head; node; node=node->next) {
usr/src/lib/libtecla/common/stringrp.c
144
sg->head = NULL; /* Already deleted by deleting sg->node_mem */
usr/src/lib/libtecla/common/stringrp.c
240
for(node=sg->head; node && node->unused <= length; node=node->next)
usr/src/lib/libtecla/common/stringrp.c
264
node->next = sg->head;
usr/src/lib/libtecla/common/stringrp.c
265
sg->head = node;
usr/src/lib/libtecla/common/stringrp.c
291
for(node=sg->head; node; node=node->next)
usr/src/lib/libtecla/common/stringrp.c
64
StringSegment *head; /* The list of character arrays */
usr/src/lib/libzoneinfo/common/libzone.c
106
struct tz_continent *head = NULL, *lcp, *prev = NULL;
usr/src/lib/libzoneinfo/common/libzone.c
177
if (head == NULL) {
usr/src/lib/libzoneinfo/common/libzone.c
178
head = lcp;
usr/src/lib/libzoneinfo/common/libzone.c
187
if (head != NULL) {
usr/src/lib/libzoneinfo/common/libzone.c
188
(void) free_tz_continents(head);
usr/src/lib/libzoneinfo/common/libzone.c
193
*cont = head;
usr/src/lib/libzoneinfo/common/libzone.c
211
struct tz_country *head = NULL, *prev = NULL, *next, *cp, *cp2;
usr/src/lib/libzoneinfo/common/libzone.c
302
if (head == NULL) {
usr/src/lib/libzoneinfo/common/libzone.c
303
head = cp;
usr/src/lib/libzoneinfo/common/libzone.c
317
cp = head;
usr/src/lib/libzoneinfo/common/libzone.c
396
cp = head;
usr/src/lib/libzoneinfo/common/libzone.c
409
head = cp2->ctry_next; /* ctry_next is pointer to orig struct */
usr/src/lib/libzoneinfo/common/libzone.c
410
cp = head;
usr/src/lib/libzoneinfo/common/libzone.c
431
if (head != NULL)
usr/src/lib/libzoneinfo/common/libzone.c
432
(void) free_tz_countries(head);
usr/src/lib/libzoneinfo/common/libzone.c
436
*country = head;
usr/src/lib/libzoneinfo/common/libzone.c
454
struct tz_timezone *head = NULL, *prev = NULL, *tp;
usr/src/lib/libzoneinfo/common/libzone.c
605
if (head == NULL) {
usr/src/lib/libzoneinfo/common/libzone.c
606
head = tp;
usr/src/lib/libzoneinfo/common/libzone.c
630
if (head != NULL)
usr/src/lib/libzoneinfo/common/libzone.c
631
(void) free_timezones(head);
usr/src/lib/libzoneinfo/common/libzone.c
635
*tmzone = head;
usr/src/lib/mpapi/libmpscsi_vhci/common/MP_SetTPGAccess.c
111
if (head->tpgOid.objectType !=
usr/src/lib/mpapi/libmpscsi_vhci/common/MP_SetTPGAccess.c
125
head++;
usr/src/lib/mpapi/libmpscsi_vhci/common/MP_SetTPGAccess.c
129
head = pTpgStateList;
usr/src/lib/mpapi/libmpscsi_vhci/common/MP_SetTPGAccess.c
138
= head->desiredState;
usr/src/lib/mpapi/libmpscsi_vhci/common/MP_SetTPGAccess.c
142
= head->tpgOid.objectSequenceNumber;
usr/src/lib/mpapi/libmpscsi_vhci/common/MP_SetTPGAccess.c
200
head++;
usr/src/lib/mpapi/libmpscsi_vhci/common/MP_SetTPGAccess.c
46
MP_TPG_STATE_PAIR *head = pTpgStateList;
usr/src/lib/mpapi/libmpscsi_vhci/common/MP_SetTPGAccess.c
99
if (head->tpgOid.ownerId != g_pluginOwnerID) {
usr/src/lib/nsswitch/files/common/getnetgrent.c
420
struct netgrnam **head;
usr/src/lib/nsswitch/files/common/getnetgrent.c
431
head = &ngt->hash_heads[hashval % HASHMOD];
usr/src/lib/nsswitch/files/common/getnetgrent.c
432
for (cur = *head; cur != 0; cur = cur->hash_chain) {
usr/src/lib/nsswitch/files/common/getnetgrent.c
447
cur->hash_chain = *head;
usr/src/lib/nsswitch/files/common/getnetgrent.c
448
*head = cur;
usr/src/lib/nsswitch/nis/common/getnetgrent.c
264
struct netgrnam **head;
usr/src/lib/nsswitch/nis/common/getnetgrent.c
272
head = &ngt->hash_heads[hashval % HASHMOD];
usr/src/lib/nsswitch/nis/common/getnetgrent.c
273
for (cur = *head; cur != 0; cur = cur->hash_chain) {
usr/src/lib/nsswitch/nis/common/getnetgrent.c
289
cur->hash_chain = *head;
usr/src/lib/nsswitch/nis/common/getnetgrent.c
290
*head = cur;
usr/src/lib/pkcs11/pkcs11_tpm/common/tpmtok_int.h
400
struct mech_list_item *head);
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
1046
mblk_t *head, *nbp;
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
1048
if (!bp || !(nbp = head = copyb(bp)))
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
1053
freemsg(head);
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
1059
return (head);
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
951
mblk_t *head, *nbp;
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
953
if (!bp || !(nbp = head = dupb(bp)))
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
958
freemsg(head);
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
964
return (head);
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
974
mblk_t *head, *nbp;
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
977
((nbp = head = DUPB_NOLOAN(bp)) == NULL))
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
982
freemsg(head);
usr/src/lib/smbclnt/libfknsmb/common/fake_stream.c
988
return (head);
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
218
logr_syslog_node_t *head;
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
220
while ((head = list_head(queue)) != NULL) {
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
221
list_remove(queue, head);
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
222
free(head);
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
230
logr_syslog_node_t *node, *head;
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
241
head = list_head(queue);
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
242
list_remove(queue, head);
usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
243
free(head);
usr/src/lib/smbsrv/libsmb/common/smb_ht.c
526
ht_bucket_search(HT_ITEM *head)
usr/src/lib/smbsrv/libsmb/common/smb_ht.c
528
HT_ITEM *item = head;
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios.h
617
struct name_entry head;
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios_cache.c
488
QUEUE_INSERT_TAIL(&refq->head, refent)
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios_cache.c
498
QUEUE_INSERT_TAIL(&refq->head, refent)
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios_cache.c
526
bzero(&refq->head, sizeof (refq->head));
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios_cache.c
527
refq->head.forw = refq->head.back = &refq->head;
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios_cache.c
576
bzero(&delq->head, sizeof (delq->head));
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios_cache.c
577
delq->head.forw = delq->head.back = &delq->head;
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios_cache.c
595
QUEUE_INSERT_TAIL(&delq->head, delent)
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios_name.c
2041
while ((name = refresh_queue.head.forw) != &refresh_queue.head) {
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios_name.c
2358
while ((name = delete_queue.head.forw) != &delete_queue.head) {
usr/src/lib/udapl/libdat/common/dat_dictionary.c
120
p_dictionary->head = dat_os_alloc(sizeof (DAT_DICTIONARY_NODE));
usr/src/lib/udapl/libdat/common/dat_dictionary.c
121
if (NULL == p_dictionary->head) {
usr/src/lib/udapl/libdat/common/dat_dictionary.c
127
(void) dat_os_memset(p_dictionary->head, '\0',
usr/src/lib/udapl/libdat/common/dat_dictionary.c
141
p_dictionary->head->next = p_dictionary->tail;
usr/src/lib/udapl/libdat/common/dat_dictionary.c
142
p_dictionary->tail->prev = p_dictionary->head;
usr/src/lib/udapl/libdat/common/dat_dictionary.c
149
if (NULL != p_dictionary->head) {
usr/src/lib/udapl/libdat/common/dat_dictionary.c
150
dat_os_free(p_dictionary->head,
usr/src/lib/udapl/libdat/common/dat_dictionary.c
180
while (NULL != p_dictionary->head) {
usr/src/lib/udapl/libdat/common/dat_dictionary.c
181
cur_node = p_dictionary->head;
usr/src/lib/udapl/libdat/common/dat_dictionary.c
182
p_dictionary->head = cur_node->next;
usr/src/lib/udapl/libdat/common/dat_dictionary.c
317
for (cur_node = p_dictionary->head->next;
usr/src/lib/udapl/libdat/common/dat_dictionary.c
360
for (cur_node = p_dictionary->head->next, i = 0;
usr/src/lib/udapl/libdat/common/dat_dictionary.c
390
for (cur_node = p_dictionary->head->next;
usr/src/lib/udapl/libdat/common/dat_dictionary.c
65
DAT_DICTIONARY_NODE *head;
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
154
buffer->head = 0;
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
201
DAPL_ATOMIC head;
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
223
head = curr_buffer->head;
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
226
while (head != tail) {
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
227
new_buffer->pool[index] = curr_buffer->pool[head];
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
228
head = (head + 1) % curr_buffer->pool_size;
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
231
new_buffer->head = 0;
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
290
new_head = (buffer->head + 1) % buffer->pool_size;
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
296
buffer->head = new_head;
usr/src/lib/udapl/udapl_tavor/common/dapl_cookie.c
297
*cookie_ptr = &buffer->pool[buffer->head];
usr/src/lib/udapl/udapl_tavor/common/dapl_evd_dequeue.c
117
if (evd_ptr->pending_event_queue.head !=
usr/src/lib/udapl/udapl_tavor/common/dapl_hash.c
142
DAPL_HASH_ELEM ** head)
usr/src/lib/udapl/udapl_tavor/common/dapl_hash.c
151
*head = element;
usr/src/lib/udapl/udapl_tavor/common/dapl_hash.c
163
*head = 0;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
100
dapl_llist_add_head(DAPL_LLIST_HEAD *head,
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
107
if (dapl_llist_is_empty(head)) {
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
111
first = *head;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
118
*head = entry;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
120
entry->list_head = head;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
129
dapl_llist_add_tail(DAPL_LLIST_HEAD *head,
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
136
if (dapl_llist_is_empty(head)) {
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
137
*head = entry;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
141
last = (*head)->blink;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
148
entry->list_head = head;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
158
dapl_llist_add_entry(DAPL_LLIST_HEAD * head,
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
166
if (dapl_llist_is_empty(head)) {
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
167
*head = entry;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
180
new_entry->list_head = head;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
189
dapl_llist_remove_head(DAPL_LLIST_HEAD *head)
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
193
dapl_os_assert(!dapl_llist_is_empty(head));
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
194
first = *head;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
195
*head = first->flink;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
201
*head = NULL;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
216
dapl_llist_remove_tail(DAPL_LLIST_HEAD *head)
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
220
dapl_os_assert(!dapl_llist_is_empty(head));
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
221
last = (*head)->blink;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
227
*head = NULL;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
243
dapl_llist_remove_entry(DAPL_LLIST_HEAD *head, DAPL_LLIST_ENTRY *entry)
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
247
dapl_os_assert(!dapl_llist_is_empty(head));
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
248
first = *head;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
252
(*head) = first->flink;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
255
(*head) = NULL;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
280
dapl_os_assert(entry->list_head == head);
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
296
dapl_llist_peek_head(DAPL_LLIST_HEAD *head)
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
300
dapl_os_assert(!dapl_llist_is_empty(head));
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
301
first = *head;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
314
dapl_llist_next_entry(IN DAPL_LLIST_HEAD *head,
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
319
dapl_os_assert(!dapl_llist_is_empty(head));
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
321
next = *head;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
324
if (next == *head) {
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
337
dapl_llist_debug_print_list(DAPL_LLIST_HEAD *head)
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
341
first = *head;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
346
dapl_dbg_log(DAPL_DBG_TYPE_RTN, "HEAD %p\n", *head);
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
64
dapl_llist_init_head(DAPL_LLIST_HEAD *head)
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
66
*head = NULL;
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
89
dapl_llist_is_empty(DAPL_LLIST_HEAD *head)
usr/src/lib/udapl/udapl_tavor/common/dapl_llist.c
91
return (*head == NULL);
usr/src/lib/udapl/udapl_tavor/common/dapl_osd.c
375
while (NULL != g_dapl_provider_list.head) {
usr/src/lib/udapl/udapl_tavor/common/dapl_osd.c
376
cur_node = g_dapl_provider_list.head;
usr/src/lib/udapl/udapl_tavor/common/dapl_osd.c
377
g_dapl_provider_list.head = cur_node->next;
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
173
g_dapl_provider_list.head = dapl_os_alloc(
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
175
if (NULL == g_dapl_provider_list.head) {
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
181
(void) dapl_os_memzero(g_dapl_provider_list.head,
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
196
g_dapl_provider_list.head->next = g_dapl_provider_list.tail;
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
197
g_dapl_provider_list.tail->prev = g_dapl_provider_list.head;
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
202
if (NULL != g_dapl_provider_list.head) {
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
203
dapl_os_free(g_dapl_provider_list.head,
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
222
while (NULL != g_dapl_provider_list.head) {
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
223
cur_node = g_dapl_provider_list.head;
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
224
g_dapl_provider_list.head = cur_node->next;
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
310
for (cur_node = g_dapl_provider_list.head->next;
usr/src/lib/udapl/udapl_tavor/common/dapl_provider.c
337
for (cur_node = g_dapl_provider_list.head->next;
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
127
if (rbuf->head != rbuf->tail) {
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
208
pos = rbuf->head;
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
211
rbuf->head = (pos + 1) & rbuf->lim;
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
242
if (rbuf->head != rbuf->tail) {
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
273
int head;
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
277
head = rbuf->head;
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
280
if (head == tail)
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
282
if (head > tail)
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
283
return (head - tail);
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
285
return ((rbuf->lim + 1 - tail + head));
usr/src/lib/udapl/udapl_tavor/common/dapl_ring_buffer_util.c
85
rbuf->head = 0;
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1115
dapl_llist_init_head(DAPL_LLIST_HEAD *head);
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1121
dapl_llist_is_empty(DAPL_LLIST_HEAD *head);
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1125
DAPL_LLIST_HEAD *head,
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1131
DAPL_LLIST_HEAD *head,
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1137
DAPL_LLIST_HEAD *head,
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1143
dapl_llist_remove_head(DAPL_LLIST_HEAD *head);
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1146
dapl_llist_remove_tail(DAPL_LLIST_HEAD *head);
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1149
dapl_llist_remove_entry(DAPL_LLIST_HEAD *head,
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1153
dapl_llist_peek_head(DAPL_LLIST_HEAD *head);
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1157
IN DAPL_LLIST_HEAD *head,
usr/src/lib/udapl/udapl_tavor/include/dapl.h
1161
dapl_llist_debug_print_list(DAPL_LLIST_HEAD *head);
usr/src/lib/udapl/udapl_tavor/include/dapl.h
284
DAPL_ATOMIC head; /* head pointer index */
usr/src/lib/udapl/udapl_tavor/include/dapl.h
292
DAPL_ATOMIC head;
usr/src/lib/udapl/udapl_tavor/include/dapl_provider.h
68
DAPL_PROVIDER_LIST_NODE *head;
usr/src/lib/udapl/udapl_tavor/include/dapl_ring_buffer_util.h
78
#define dapls_rbuf_empty(rbuf) ((rbuf)->head == (rbuf)->tail)
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1044
uint32_t head, tail, next_tail, qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1065
head = qp->qp_sq_wqhdr->wq_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1082
if (next_tail == head) {
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1182
uint32_t head, tail, next_tail, qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1198
head = qp->qp_rq_wqhdr->wq_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1222
if (next_tail == head) {
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1293
uint32_t head, next_head, qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1320
head = srq->srq_wridlist->wl_freel_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1322
next_head = (head + 1) & qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_arbel_hw.c
1325
desc = srq->srq_wridlist->wl_free_list[head];
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1082
uint32_t head, tail, next_tail, qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1103
head = qp->qp_sq_wqhdr->wq_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1120
if (next_tail == head) {
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1239
uint32_t head, tail, next_tail, qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1255
head = qp->qp_rq_wqhdr->wq_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1279
if (next_tail == head) {
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1348
uint32_t head, next_head, qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1375
head = srq->srq_wridlist->wl_freel_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1377
next_head = (head + 1) & qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_hermon_hw.c
1380
desc = srq->srq_wridlist->wl_free_list[head];
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1300
uint32_t head, tail, next_tail, qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1321
head = qp->qp_sq_wqhdr->wq_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1338
if (next_tail == head) {
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1433
uint32_t head, tail, next_tail, qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1449
head = qp->qp_rq_wqhdr->wq_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1473
if (next_tail == head) {
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1551
uint32_t head, next_head, qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1578
head = srq->srq_wridlist->wl_freel_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1580
next_head = (head + 1) & qsize_msk;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1583
desc = srq->srq_wridlist->wl_free_list[head];
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1643
uint32_t head, tail, size;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1651
head = wq->wq_wrid_post->wl_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_hw.c
1679
if (head == tail) {
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_ibtf_util.c
1561
int head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_ibtf_util.c
1570
head = srqp->srq_freepr_events[srqp->srq_freepr_head];
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_ibtf_util.c
1576
(void) dapl_os_memcpy(&(srqp->srq_premature_events[head]),
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
129
uint32_t head, tail, size;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
172
head = container->wl_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
175
while ((head != tail) || (container->wl_full)) {
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
177
curr = &container->wl_wre[head];
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
178
head = ((head + 1) & (size - 1));
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
199
if (head == tail) {
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
216
container->wl_head = head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
571
uint32_t head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
592
head = wq->wq_wrid_poll->wl_head;
usr/src/lib/udapl/udapl_tavor/tavor/dapl_tavor_wr.c
593
wre = &wq->wq_wrid_poll->wl_wre[head];
usr/src/psm/stand/boot/sparc/common/sun4u_memlist.c
162
struct memlist *ptr, *head, *last;
usr/src/psm/stand/boot/sparc/common/sun4u_memlist.c
178
head = NULL;
usr/src/psm/stand/boot/sparc/common/sun4u_memlist.c
200
if (!head)
usr/src/psm/stand/boot/sparc/common/sun4u_memlist.c
201
head = ptr;
usr/src/psm/stand/boot/sparc/common/sun4u_memlist.c
215
return (head);
usr/src/stand/lib/fs/hsfs/hsfsops.c
208
fileid_t *filep = head;
usr/src/stand/lib/fs/hsfs/hsfsops.c
211
while ((filep = filep->fi_forw) != head)
usr/src/stand/lib/fs/hsfs/hsfsops.c
486
head = (fileid_t *)bkmem_alloc(sizeof (fileid_t));
usr/src/stand/lib/fs/hsfs/hsfsops.c
487
head->fi_back = head->fi_forw = head;
usr/src/stand/lib/fs/hsfs/hsfsops.c
488
head->fi_filedes = 0;
usr/src/stand/lib/fs/hsfs/hsfsops.c
489
head->fi_taken = 0;
usr/src/stand/lib/fs/hsfs/hsfsops.c
492
bzero(head->fi_buf, sizeof (head->fi_buf));
usr/src/stand/lib/fs/hsfs/hsfsops.c
493
head->fi_devp = devp;
usr/src/stand/lib/fs/hsfs/hsfsops.c
494
head->fi_blocknum = hdbtodb(ISO_VOLDESC_SEC);
usr/src/stand/lib/fs/hsfs/hsfsops.c
495
head->fi_count = ISO_SECTOR_SIZE;
usr/src/stand/lib/fs/hsfs/hsfsops.c
496
head->fi_memp = head->fi_buf;
usr/src/stand/lib/fs/hsfs/hsfsops.c
497
head->fi_offset = 0;
usr/src/stand/lib/fs/hsfs/hsfsops.c
499
if (diskread(head)) {
usr/src/stand/lib/fs/hsfs/hsfsops.c
505
bufp = head->fi_memp;
usr/src/stand/lib/fs/hsfs/hsfsops.c
579
filep->fi_back = head->fi_back;
usr/src/stand/lib/fs/hsfs/hsfsops.c
580
filep->fi_forw = head;
usr/src/stand/lib/fs/hsfs/hsfsops.c
581
head->fi_back->fi_forw = filep;
usr/src/stand/lib/fs/hsfs/hsfsops.c
582
head->fi_back = filep;
usr/src/stand/lib/fs/hsfs/hsfsops.c
61
static fileid_t *head;
usr/src/stand/lib/fs/hsfs/hsfsops.c
707
fileid_t *filep = head;
usr/src/stand/lib/fs/hsfs/hsfsops.c
711
if (head)
usr/src/stand/lib/fs/hsfs/hsfsops.c
716
while ((filep = filep->fi_forw) != head)
usr/src/stand/lib/fs/hsfs/hsfsops.c
728
bkmem_free((char *)head, sizeof (fileid_t));
usr/src/stand/lib/fs/hsfs/hsfsops.c
731
head = NULL;
usr/src/stand/lib/fs/ufs/ufsops.c
157
fileid_t *filep = head;
usr/src/stand/lib/fs/ufs/ufsops.c
160
while ((filep = filep->fi_forw) != head)
usr/src/stand/lib/fs/ufs/ufsops.c
47
static fileid_t *head;
usr/src/stand/lib/fs/ufs/ufsops.c
632
head = (fileid_t *)bkmem_alloc(sizeof (fileid_t));
usr/src/stand/lib/fs/ufs/ufsops.c
633
head->fi_back = head->fi_forw = head;
usr/src/stand/lib/fs/ufs/ufsops.c
634
head->fi_filedes = 0;
usr/src/stand/lib/fs/ufs/ufsops.c
635
head->fi_taken = 0;
usr/src/stand/lib/fs/ufs/ufsops.c
638
head->fi_devp = ufs_devp;
usr/src/stand/lib/fs/ufs/ufsops.c
639
head->fi_blocknum = SBLOCK;
usr/src/stand/lib/fs/ufs/ufsops.c
640
head->fi_count = (uint_t)SBSIZE;
usr/src/stand/lib/fs/ufs/ufsops.c
641
head->fi_memp = (caddr_t)&(ufs_devp->un_fs.di_fs);
usr/src/stand/lib/fs/ufs/ufsops.c
642
head->fi_offset = 0;
usr/src/stand/lib/fs/ufs/ufsops.c
644
if (diskread(head) ||
usr/src/stand/lib/fs/ufs/ufsops.c
649
lufs_boot_init(head);
usr/src/stand/lib/fs/ufs/ufsops.c
686
filep->fi_back = head->fi_back;
usr/src/stand/lib/fs/ufs/ufsops.c
687
filep->fi_forw = head;
usr/src/stand/lib/fs/ufs/ufsops.c
688
head->fi_back->fi_forw = filep;
usr/src/stand/lib/fs/ufs/ufsops.c
689
head->fi_back = filep;
usr/src/stand/lib/fs/ufs/ufsops.c
800
if (filep->fi_taken && (filep != head)) {
usr/src/stand/lib/fs/ufs/ufsops.c
826
fileid_t *filep = head;
usr/src/stand/lib/fs/ufs/ufsops.c
829
if (head)
usr/src/stand/lib/fs/ufs/ufsops.c
834
while ((filep = filep->fi_forw) != head)
usr/src/stand/lib/fs/ufs/ufsops.c
847
bkmem_free((char *)head, sizeof (fileid_t));
usr/src/stand/lib/fs/ufs/ufsops.c
849
head = (fileid_t *)NULL;
usr/src/stand/lib/tcp/tcp.c
612
mblk_t *head = NULL;
usr/src/stand/lib/tcp/tcp.c
646
if (head == NULL) {
usr/src/stand/lib/tcp/tcp.c
647
head = mp;
usr/src/stand/lib/tcp/tcp.c
679
tcp_wput_data(tcp, head, sock_id);
usr/src/stand/lib/tcp/tcp_sack.c
100
SEQ_GEQ(end, head[i].begin)) {
usr/src/stand/lib/tcp/tcp_sack.c
105
end = head[i].end;
usr/src/stand/lib/tcp/tcp_sack.c
106
} else if (SEQ_GEQ(begin, head[i].begin) &&
usr/src/stand/lib/tcp/tcp_sack.c
107
SEQ_LEQ(begin, head[i].end)) {
usr/src/stand/lib/tcp/tcp_sack.c
109
begin = head[i].begin;
usr/src/stand/lib/tcp/tcp_sack.c
120
head[0].begin = begin;
usr/src/stand/lib/tcp/tcp_sack.c
121
head[0].end = end;
usr/src/stand/lib/tcp/tcp_sack.c
123
head[i+1].begin = tmp[i].begin;
usr/src/stand/lib/tcp/tcp_sack.c
124
head[i+1].end = tmp[i].end;
usr/src/stand/lib/tcp/tcp_sack.c
139
tcp_sack_remove(sack_blk_t *head, tcp_seq end, int32_t *num)
usr/src/stand/lib/tcp/tcp_sack.c
152
if (SEQ_GT(end, head[i].begin)) {
usr/src/stand/lib/tcp/tcp_sack.c
160
if (SEQ_GEQ(end, head[i].end)) {
usr/src/stand/lib/tcp/tcp_sack.c
165
tmp[j].end = head[i].end;
usr/src/stand/lib/tcp/tcp_sack.c
168
tmp[j].begin = head[i].begin;
usr/src/stand/lib/tcp/tcp_sack.c
169
tmp[j].end = head[i].end;
usr/src/stand/lib/tcp/tcp_sack.c
175
head[i].begin = tmp[i].begin;
usr/src/stand/lib/tcp/tcp_sack.c
176
head[i].end = tmp[i].end;
usr/src/stand/lib/tcp/tcp_sack.c
198
tcp_notsack_insert(notsack_blk_t **head, tcp_seq begin, tcp_seq end,
usr/src/stand/lib/tcp/tcp_sack.c
204
if (*head == NULL) {
usr/src/stand/lib/tcp/tcp_sack.c
208
tmp = *head;
usr/src/stand/lib/tcp/tcp_sack.c
243
*head = tmp->next;
usr/src/stand/lib/tcp/tcp_sack.c
309
*head = tmp->next;
usr/src/stand/lib/tcp/tcp_sack.c
312
tmp = *head;
usr/src/stand/lib/tcp/tcp_sack.c
342
tcp_notsack_remove(notsack_blk_t **head, tcp_seq end, int32_t *num,
usr/src/stand/lib/tcp/tcp_sack.c
348
if (*head == NULL)
usr/src/stand/lib/tcp/tcp_sack.c
352
tmp = *head;
usr/src/stand/lib/tcp/tcp_sack.c
364
*head = tmp->next;
usr/src/stand/lib/tcp/tcp_sack.c
367
tmp = *head;
usr/src/stand/lib/tcp/tcp_sack.c
398
void tcp_notsack_update(notsack_blk_t **head, tcp_seq begin, tcp_seq end,
usr/src/stand/lib/tcp/tcp_sack.c
403
tmp = *head;
usr/src/stand/lib/tcp/tcp_sack.c
414
*head = tmp;
usr/src/stand/lib/tcp/tcp_sack.c
56
tcp_sack_insert(sack_blk_t *head, tcp_seq begin, tcp_seq end, int32_t *num)
usr/src/stand/lib/tcp/tcp_sack.c
63
head[0].begin = begin;
usr/src/stand/lib/tcp/tcp_sack.c
64
head[0].end = end;
usr/src/stand/lib/tcp/tcp_sack.c
88
if (SEQ_LT(end, head[i].begin) || SEQ_GT(begin, head[i].end)) {
usr/src/stand/lib/tcp/tcp_sack.c
90
tmp[j].begin = head[i].begin;
usr/src/stand/lib/tcp/tcp_sack.c
91
tmp[j].end = head[i].end;
usr/src/stand/lib/tcp/tcp_sack.c
94
} else if (SEQ_GEQ(begin, head[i].begin) &&
usr/src/stand/lib/tcp/tcp_sack.c
95
SEQ_LEQ(end, head[i].end)) {
usr/src/stand/lib/tcp/tcp_sack.c
97
begin = head[i].begin;
usr/src/stand/lib/tcp/tcp_sack.c
98
end = head[i].end;
usr/src/stand/lib/tcp/tcp_sack.c
99
} else if (SEQ_LEQ(end, head[i].end) &&
usr/src/stand/lib/tcp/tcp_sack.h
102
(head) = NULL; \
usr/src/stand/lib/tcp/tcp_sack.h
93
#define TCP_NOTSACK_REMOVE_ALL(head) \
usr/src/stand/lib/tcp/tcp_sack.h
96
tmp = (head); \
usr/src/test/os-tests/tests/gpio/gpio_attr.c
76
for (nvpair_t *head = nvlist_next_nvpair(nvl, NULL); head != NULL;
usr/src/test/os-tests/tests/gpio/gpio_attr.c
77
head = nvlist_next_nvpair(nvl, head)) {
usr/src/test/util-tests/tests/ctf/test-merge-forward/test-merge.c
22
struct foo *head;
usr/src/test/util-tests/tests/ctf/test-sou.c
47
struct node head;
usr/src/test/util-tests/tests/ctf/test-sou.c
50
nlist_t head;
usr/src/tools/cscope-fast/history.c
40
HISTORY *head, *tail, *current;
usr/src/tools/cscope-fast/history.c
55
head = tail = h;
usr/src/tools/protocmp/list.c
196
add_pkg(pkg_list *head, const char *pkgname)
usr/src/tools/protocmp/list.c
206
for (cur = head; cur; cur = cur->next) {
usr/src/tools/protocmp/list.c
212
if (!head) {
usr/src/tools/protocmp/list.c
213
new->next = head;
usr/src/tools/protocmp/list.c
214
head = new;
usr/src/tools/protocmp/list.c
216
return (head);
usr/src/tools/protocmp/list.c
223
return (head);
usr/src/tools/protocmp/list.c
239
return (head);
usr/src/tools/smatch/src/evaluate.c
1993
struct ptr_list *head = (struct ptr_list *)_list;
usr/src/tools/smatch/src/evaluate.c
1994
struct ptr_list *list = head;
usr/src/tools/smatch/src/evaluate.c
1996
if (!head)
usr/src/tools/smatch/src/evaluate.c
2021
} while ((list = list->next) != head);
usr/src/tools/smatch/src/evaluate.c
2322
static int evaluate_arguments(struct symbol *fn, struct expression_list *head)
usr/src/tools/smatch/src/evaluate.c
2330
FOR_EACH_PTR (head, expr) {
usr/src/tools/smatch/src/expand.c
801
static int expand_arguments(struct expression_list *head)
usr/src/tools/smatch/src/expand.c
806
FOR_EACH_PTR (head, expr) {
usr/src/tools/smatch/src/lib.h
261
static inline void free_instruction_list(struct instruction_list **head)
usr/src/tools/smatch/src/lib.h
263
free_ptr_list(head);
usr/src/tools/smatch/src/lib.h
266
static inline struct instruction * delete_last_instruction(struct instruction_list **head)
usr/src/tools/smatch/src/lib.h
268
return undo_ptr_list_last((struct ptr_list **)head);
usr/src/tools/smatch/src/lib.h
271
static inline struct basic_block *first_basic_block(struct basic_block_list *head)
usr/src/tools/smatch/src/lib.h
273
return first_ptr_list((struct ptr_list *)head);
usr/src/tools/smatch/src/lib.h
275
static inline struct instruction *last_instruction(struct instruction_list *head)
usr/src/tools/smatch/src/lib.h
277
return last_ptr_list((struct ptr_list *)head);
usr/src/tools/smatch/src/lib.h
280
static inline struct instruction *first_instruction(struct instruction_list *head)
usr/src/tools/smatch/src/lib.h
282
return first_ptr_list((struct ptr_list *)head);
usr/src/tools/smatch/src/lib.h
285
static inline struct expression *first_expression(struct expression_list *head)
usr/src/tools/smatch/src/lib.h
287
return first_ptr_list((struct ptr_list *)head);
usr/src/tools/smatch/src/lib.h
290
static inline pseudo_t first_pseudo(struct pseudo_list *head)
usr/src/tools/smatch/src/lib.h
292
return first_ptr_list((struct ptr_list *)head);
usr/src/tools/smatch/src/ptrlist.c
103
void *last_ptr_list(struct ptr_list *head)
usr/src/tools/smatch/src/ptrlist.c
107
if (!head)
usr/src/tools/smatch/src/ptrlist.c
109
list = head->prev;
usr/src/tools/smatch/src/ptrlist.c
111
if (list == head)
usr/src/tools/smatch/src/ptrlist.c
124
struct ptr_list *head = list;
usr/src/tools/smatch/src/ptrlist.c
126
if (!head)
usr/src/tools/smatch/src/ptrlist.c
136
} while ((list = list->next) != head);
usr/src/tools/smatch/src/ptrlist.c
154
int linearize_ptr_list(struct ptr_list *head, void **arr, int max)
usr/src/tools/smatch/src/ptrlist.c
157
if (head && max > 0) {
usr/src/tools/smatch/src/ptrlist.c
158
struct ptr_list *list = head;
usr/src/tools/smatch/src/ptrlist.c
170
} while ((list = list->next) != head);
usr/src/tools/smatch/src/ptrlist.c
186
struct ptr_list *head = *listp;
usr/src/tools/smatch/src/ptrlist.c
188
if (head) {
usr/src/tools/smatch/src/ptrlist.c
189
struct ptr_list *entry = head;
usr/src/tools/smatch/src/ptrlist.c
205
if (entry == head) {
usr/src/tools/smatch/src/ptrlist.c
207
head = next;
usr/src/tools/smatch/src/ptrlist.c
213
} while (entry != head);
usr/src/tools/smatch/src/ptrlist.c
224
void split_ptr_list_head(struct ptr_list *head)
usr/src/tools/smatch/src/ptrlist.c
226
int old = head->nr, nr = old / 2;
usr/src/tools/smatch/src/ptrlist.c
228
struct ptr_list *next = head->next;
usr/src/tools/smatch/src/ptrlist.c
231
head->nr = old;
usr/src/tools/smatch/src/ptrlist.c
234
newlist->prev = head;
usr/src/tools/smatch/src/ptrlist.c
235
head->next = newlist;
usr/src/tools/smatch/src/ptrlist.c
237
memcpy(newlist->list, head->list + old, nr * sizeof(void *));
usr/src/tools/smatch/src/ptrlist.c
238
memset(head->list + old, 0xf0, nr * sizeof(void *));
usr/src/tools/smatch/src/ptrlist.c
27
int ptr_list_size(struct ptr_list *head)
usr/src/tools/smatch/src/ptrlist.c
309
bool lookup_ptr_list_entry(const struct ptr_list *head, const void *entry)
usr/src/tools/smatch/src/ptrlist.c
31
if (head) {
usr/src/tools/smatch/src/ptrlist.c
311
const struct ptr_list *list = head;
usr/src/tools/smatch/src/ptrlist.c
313
if (!head)
usr/src/tools/smatch/src/ptrlist.c
32
struct ptr_list *list = head;
usr/src/tools/smatch/src/ptrlist.c
321
} while ((list = list->next) != head);
usr/src/tools/smatch/src/ptrlist.c
35
} while ((list = list->next) != head);
usr/src/tools/smatch/src/ptrlist.c
376
void * undo_ptr_list_last(struct ptr_list **head)
usr/src/tools/smatch/src/ptrlist.c
378
struct ptr_list *last, *first = *head;
usr/src/tools/smatch/src/ptrlist.c
400
void * delete_ptr_list_last(struct ptr_list **head)
usr/src/tools/smatch/src/ptrlist.c
403
struct ptr_list *last, *first = *head;
usr/src/tools/smatch/src/ptrlist.c
414
*head = NULL;
usr/src/tools/smatch/src/ptrlist.c
439
struct ptr_list *head, *tail;
usr/src/tools/smatch/src/ptrlist.c
44
bool ptr_list_empty(const struct ptr_list *head)
usr/src/tools/smatch/src/ptrlist.c
445
head = *listp;
usr/src/tools/smatch/src/ptrlist.c
446
if (!head) {
usr/src/tools/smatch/src/ptrlist.c
451
tail = head->prev;
usr/src/tools/smatch/src/ptrlist.c
46
const struct ptr_list *list = head;
usr/src/tools/smatch/src/ptrlist.c
478
head->prev = tail;
usr/src/tools/smatch/src/ptrlist.c
479
tail->next = head;
usr/src/tools/smatch/src/ptrlist.c
48
if (!head)
usr/src/tools/smatch/src/ptrlist.c
54
} while ((list = list->next) != head);
usr/src/tools/smatch/src/ptrlist.c
63
bool ptr_list_multiple(const struct ptr_list *head)
usr/src/tools/smatch/src/ptrlist.c
65
const struct ptr_list *list = head;
usr/src/tools/smatch/src/ptrlist.c
68
if (!head)
usr/src/tools/smatch/src/ptrlist.c
75
} while ((list = list->next) != head);
usr/src/tools/smatch/src/ptrlist.c
84
void *first_ptr_list(struct ptr_list *head)
usr/src/tools/smatch/src/ptrlist.c
86
struct ptr_list *list = head;
usr/src/tools/smatch/src/ptrlist.c
88
if (!head)
usr/src/tools/smatch/src/ptrlist.c
93
if (list == head)
usr/src/tools/smatch/src/ptrlist.h
100
DO_FOR_EACH(head, ptr, __head##ptr, __list##ptr, __nr##ptr, PTR_ENTRY_UNTAG)
usr/src/tools/smatch/src/ptrlist.h
105
#define FOR_EACH_PTR_REVERSE(head, ptr) \
usr/src/tools/smatch/src/ptrlist.h
106
DO_FOR_EACH_REVERSE(head, ptr, __head##ptr, __list##ptr, __nr##ptr, PTR_ENTRY_NOTAG)
usr/src/tools/smatch/src/ptrlist.h
108
#define FOR_EACH_PTR_REVERSE_TAG(head, ptr) \
usr/src/tools/smatch/src/ptrlist.h
109
DO_FOR_EACH_REVERSE(head, ptr, __head##ptr, __list##ptr, __nr##ptr, PTR_ENTRY_UNTAG)
usr/src/tools/smatch/src/ptrlist.h
14
#define CHECK_TYPE(head,ptr) (void)(&(ptr) == &(head)->list[0])
usr/src/tools/smatch/src/ptrlist.h
15
#define TYPEOF(head) __typeof__(&(head)->list[0])
usr/src/tools/smatch/src/ptrlist.h
16
#define VRFY_PTR_LIST(head) (void)(sizeof((head)->list[0]))
usr/src/tools/smatch/src/ptrlist.h
160
#define DO_PREPARE(head, ptr, __head, __list, __nr, PTR_ENTRY) \
usr/src/tools/smatch/src/ptrlist.h
162
__typeof__(head) __head = (head); \
usr/src/tools/smatch/src/ptrlist.h
163
__typeof__(head) __list = __head; \
usr/src/tools/smatch/src/ptrlist.h
187
#define DO_FOR_EACH(head, ptr, __head, __list, __nr, PTR_ENTRY) do { \
usr/src/tools/smatch/src/ptrlist.h
188
__typeof__(head) __head = (head); \
usr/src/tools/smatch/src/ptrlist.h
189
__typeof__(head) __list = __head; \
usr/src/tools/smatch/src/ptrlist.h
204
#define DO_FOR_EACH_REVERSE(head, ptr, __head, __list, __nr, PTR_ENTRY) do { \
usr/src/tools/smatch/src/ptrlist.h
205
__typeof__(head) __head = (head); \
usr/src/tools/smatch/src/ptrlist.h
206
__typeof__(head) __list = __head; \
usr/src/tools/smatch/src/ptrlist.h
208
if (!head) \
usr/src/tools/smatch/src/ptrlist.h
32
void * undo_ptr_list_last(struct ptr_list **head);
usr/src/tools/smatch/src/ptrlist.h
33
void * delete_ptr_list_last(struct ptr_list **head);
usr/src/tools/smatch/src/ptrlist.h
36
bool lookup_ptr_list_entry(const struct ptr_list *head, const void *entry);
usr/src/tools/smatch/src/ptrlist.h
42
extern bool ptr_list_empty(const struct ptr_list *head);
usr/src/tools/smatch/src/ptrlist.h
43
extern bool ptr_list_multiple(const struct ptr_list *head);
usr/src/tools/smatch/src/ptrlist.h
60
struct ptr_list** head = (struct ptr_list**)(list); \
usr/src/tools/smatch/src/ptrlist.h
62
(__typeof__(&(ptr))) __add_ptr_list(head, ptr); \
usr/src/tools/smatch/src/ptrlist.h
65
struct ptr_list** head = (struct ptr_list**)(list); \
usr/src/tools/smatch/src/ptrlist.h
67
(__typeof__(&(ptr))) __add_ptr_list_tag(head, ptr, tag);\
usr/src/tools/smatch/src/ptrlist.h
79
#define PREPARE_PTR_LIST(head, ptr) \
usr/src/tools/smatch/src/ptrlist.h
80
DO_PREPARE(head, ptr, __head##ptr, __list##ptr, __nr##ptr, PTR_ENTRY_UNTAG)
usr/src/tools/smatch/src/ptrlist.h
96
#define FOR_EACH_PTR(head, ptr) \
usr/src/tools/smatch/src/ptrlist.h
97
DO_FOR_EACH(head, ptr, __head##ptr, __list##ptr, __nr##ptr, PTR_ENTRY_NOTAG)
usr/src/tools/smatch/src/ptrlist.h
99
#define FOR_EACH_PTR_TAG(head, ptr) \
usr/src/tools/smatch/src/ptrmap.c
47
struct ptrmap *head = *mapp;
usr/src/tools/smatch/src/ptrmap.c
53
if ((map = head)) {
usr/src/tools/smatch/src/ptrmap.c
63
if (!head) {
usr/src/tools/smatch/src/ptrmap.c
66
newmap->next = head->next;
usr/src/tools/smatch/src/ptrmap.c
67
head->next = newmap;
usr/src/tools/smatch/src/sort.c
227
struct ptr_list *head = *plist, *list = head;
usr/src/tools/smatch/src/sort.c
230
if (!head)
usr/src/tools/smatch/src/sort.c
240
} while (list != head);
usr/src/tools/smatch/src/sort.c
244
struct ptr_list *block1 = head;
usr/src/tools/smatch/src/sort.c
253
if (block2 == head) {
usr/src/tools/smatch/src/sort.c
254
if (block1 == head) {
usr/src/tools/smatch/src/sort.c
256
*plist = head;
usr/src/tools/smatch/src/sort.c
268
if (next == head) {
usr/src/tools/smatch/src/sort.c
281
if (block1 == head) {
usr/src/tools/smatch/src/sort.c
283
head = newhead;
usr/src/tools/smatch/src/sort.c
286
} while (block1 != head);
usr/src/tools/smatch/src/sort.c
69
struct ptr_list *head = l;
usr/src/tools/smatch/src/sort.c
75
assert (l != head);
usr/src/tools/smatch/src/sort.c
85
assert (l != head || n == 0);
usr/src/tools/smatch/src/validation/sm_skb2.c
14
return skb->head + skb->network_header;
usr/src/tools/smatch/src/validation/sm_skb2.c
4
unsigned char *head, *data;
usr/src/tools/smatch/src/validation/sm_skb3.c
4
unsigned char *head, *data;
usr/src/ucbcmd/ls/ls.c
783
findincache(struct cachenode **head, id_t val)
usr/src/ucbcmd/ls/ls.c
785
register struct cachenode **parent = head;
usr/src/uts/common/c2/audit_io.c
392
if (kctx->auk_queue.head)
usr/src/uts/common/c2/audit_io.c
395
kctx->auk_queue.head = m;
usr/src/uts/common/c2/audit_io.c
424
ASSERT(kctx->auk_queue.head != NULL);
usr/src/uts/common/c2/audit_io.c
427
l = m = kctx->auk_queue.head;
usr/src/uts/common/c2/audit_io.c
437
kctx->auk_queue.head = l;
usr/src/uts/common/c2/audit_io.c
666
if (!kctx->auk_queue.head)
usr/src/uts/common/c2/audit_io.c
672
cAR = kctx->auk_queue.head; /* start at head of queue */
usr/src/uts/common/c2/audit_kernel.h
255
au_buff_t *head; /* head of queue */
usr/src/uts/common/c2/audit_path.c
76
au_buff_t *head;
usr/src/uts/common/c2/audit_path.c
81
head = NULL;
usr/src/uts/common/c2/audit_path.c
90
if (head)
usr/src/uts/common/c2/audit_path.c
93
head = m;
usr/src/uts/common/c2/audit_path.c
99
return (head);
usr/src/uts/common/c2/audit_syscalls.c
454
while (kctx->auk_queue.head == NULL) {
usr/src/uts/common/crypto/io/dca.c
1958
dca_chain_t *head, int *n_chain)
usr/src/uts/common/crypto/io/dca.c
1994
head->dc_buffer_paddr = 0;
usr/src/uts/common/crypto/io/dca.c
1995
head->dc_next_paddr = 0;
usr/src/uts/common/crypto/io/dca.c
1996
head->dc_buffer_length = 0;
usr/src/uts/common/crypto/io/dca.c
2004
if (head->dc_buffer_paddr == 0) {
usr/src/uts/common/crypto/io/dca.c
2005
head->dc_buffer_paddr = c.dmac_address;
usr/src/uts/common/crypto/io/dca.c
2006
head->dc_buffer_length = c.dmac_size;
usr/src/uts/common/crypto/io/dca.c
2013
if (head->dc_next_paddr == 0)
usr/src/uts/common/crypto/io/dca.c
2014
head->dc_next_paddr = chain_paddr;
usr/src/uts/common/crypto/io/dca.c
414
dca_chain_t *head, int *n_chain);
usr/src/uts/common/disp/sysdc.c
648
sysdc_t *head;
usr/src/uts/common/disp/sysdc.c
657
head = *headp;
usr/src/uts/common/disp/sysdc.c
658
sdc->sdc_next = head;
usr/src/uts/common/disp/sysdc.c
659
} while (atomic_cas_ptr(headp, head, sdc) != head);
usr/src/uts/common/disp/sysdc.c
707
sysdc_t *head, *tail;
usr/src/uts/common/disp/sysdc.c
725
head = atomic_swap_ptr(headp, &sysdc_dummy);
usr/src/uts/common/disp/sysdc.c
726
prevptr = &head;
usr/src/uts/common/disp/sysdc.c
780
} while (atomic_cas_ptr(headp, tail, head) != tail);
usr/src/uts/common/disp/thread.c
1021
struct ctxop *ctx, *head;
usr/src/uts/common/disp/thread.c
1030
ctx = head = t->t_ctx;
usr/src/uts/common/disp/thread.c
1043
} while (ctx != head);
usr/src/uts/common/disp/thread.c
1134
struct ctxop *head = t->t_ctx, *tail = t->t_ctx->prev;
usr/src/uts/common/disp/thread.c
1136
ctx->next = head;
usr/src/uts/common/disp/thread.c
1138
head->prev = ctx;
usr/src/uts/common/disp/thread.c
1177
struct ctxop *head, *cur;
usr/src/uts/common/disp/thread.c
1178
head = cur = t->t_ctx;
usr/src/uts/common/disp/thread.c
1185
ASSERT3P(cur, !=, head);
usr/src/uts/common/disp/thread.c
1241
struct ctxop *ctx, *head;
usr/src/uts/common/disp/thread.c
1244
ctx = head = t->t_ctx;
usr/src/uts/common/disp/thread.c
1251
} while (ctx != head);
usr/src/uts/common/disp/thread.c
1279
struct ctxop *ctx, *head;
usr/src/uts/common/disp/thread.c
1282
ctx = head = t->t_ctx;
usr/src/uts/common/disp/thread.c
1288
} while (ctx != head);
usr/src/uts/common/disp/thread.c
1301
struct ctxop *ctx, *head;
usr/src/uts/common/disp/thread.c
1304
ctx = head = t->t_ctx;
usr/src/uts/common/disp/thread.c
1310
} while (ctx != head);
usr/src/uts/common/disp/thread.c
1325
struct ctxop *ctx, *head;
usr/src/uts/common/disp/thread.c
1328
ctx = head = t->t_ctx;
usr/src/uts/common/disp/thread.c
1334
} while (ctx != head);
usr/src/uts/common/disp/thread.c
1347
struct ctxop *ctx, *head;
usr/src/uts/common/disp/thread.c
1349
ctx = head = t->t_ctx;
usr/src/uts/common/disp/thread.c
1359
} while (ctx != head);
usr/src/uts/common/disp/thread.c
1374
struct ctxop *head = ctx;
usr/src/uts/common/disp/thread.c
1380
head = ctx;
usr/src/uts/common/disp/thread.c
1389
} while (ctx != head);
usr/src/uts/common/fs/devfs/devfs_subr.c
1877
struct dv_list *head, *tail, *next;
usr/src/uts/common/fs/devfs/devfs_subr.c
1887
head = tail = next = NULL;
usr/src/uts/common/fs/devfs/devfs_subr.c
1912
head = next;
usr/src/uts/common/fs/devfs/devfs_subr.c
1917
while (head) {
usr/src/uts/common/fs/devfs/devfs_subr.c
1918
dv_walk(head->dv, NULL, callback, arg);
usr/src/uts/common/fs/devfs/devfs_subr.c
1919
next = head->next;
usr/src/uts/common/fs/devfs/devfs_subr.c
1920
kmem_free(head, sizeof (*head));
usr/src/uts/common/fs/devfs/devfs_subr.c
1921
head = next;
usr/src/uts/common/fs/fem.c
2918
struct fem_head *head;
usr/src/uts/common/fs/fem.c
2920
head = kmem_alloc(sizeof (*head), KM_SLEEP);
usr/src/uts/common/fs/fem.c
2921
mutex_init(&head->femh_lock, NULL, MUTEX_DEFAULT, NULL);
usr/src/uts/common/fs/fem.c
2922
head->femh_list = NULL;
usr/src/uts/common/fs/fem.c
2923
if (atomic_cas_ptr(hp, NULL, head) != NULL) {
usr/src/uts/common/fs/fem.c
2924
kmem_free(head, sizeof (*head));
usr/src/uts/common/fs/fem.c
2925
head = *hp;
usr/src/uts/common/fs/fem.c
2927
return (head);
usr/src/uts/common/fs/fem.c
3609
fi->head.fn_available = NULL;
usr/src/uts/common/fs/fem.c
3610
fi->head.fn_av_hold = NULL;
usr/src/uts/common/fs/fem.c
3611
fi->head.fn_av_rele = NULL;
usr/src/uts/common/fs/fem.c
3612
(void) vn_make_ops("fem-head", fhead_vn_spec, &fi->head.fn_op.vnode);
usr/src/uts/common/fs/fem.c
3620
fi->head.fn_available = NULL;
usr/src/uts/common/fs/fem.c
3621
fi->head.fn_av_hold = NULL;
usr/src/uts/common/fs/fem.c
3622
fi->head.fn_av_rele = NULL;
usr/src/uts/common/fs/fem.c
3623
(void) vfs_makefsops(fshead_vfs_spec, &fi->head.fn_op.vfs);
usr/src/uts/common/fs/fem.c
58
#define FEM_HEAD(_t) femtype[(_t)].head.fn_op.anon
usr/src/uts/common/fs/fem.c
62
struct fem_node head;
usr/src/uts/common/fs/nfs/nfs4_srv_ns.c
229
free_visible(struct exp_visible *head)
usr/src/uts/common/fs/nfs/nfs4_srv_ns.c
233
for (visp = head; visp; visp = next) {
usr/src/uts/common/fs/nfs/nfs4_state.c
618
rfs4_ss_has_client(rfs4_oldstate_t *head, nfs_client_id4 *client)
usr/src/uts/common/fs/nfs/nfs4_state.c
622
for (p = head->next; p != head; p = p->next) {
usr/src/uts/common/fs/proc/prdata.h
316
extern void pr_iol_initlist(list_t *head, size_t itemsize, int nitems);
usr/src/uts/common/fs/proc/prdata.h
317
extern void * pr_iol_newbuf(list_t *head, size_t itemsize);
usr/src/uts/common/fs/proc/prdata.h
318
extern int pr_iol_copyout_and_free(list_t *head, caddr_t *tgt, int errin);
usr/src/uts/common/fs/proc/prdata.h
319
extern int pr_iol_uiomove_and_free(list_t *head, uio_t *uiop, int errin);
usr/src/uts/common/fs/sockfs/sockcommon_subr.c
447
mblk_t *head = NULL, **tail = &head;
usr/src/uts/common/fs/sockfs/sockcommon_subr.c
476
return (head);
usr/src/uts/common/fs/sockfs/sockcommon_subr.c
488
freemsg(head);
usr/src/uts/common/fs/sockfs/sockcommon_subr.c
497
return (head);
usr/src/uts/common/fs/ufs/lufs_debug.c
269
off_t head, trimroll, lof;
usr/src/uts/common/fs/ufs/lufs_debug.c
276
head = ul->un_head_lof;
usr/src/uts/common/fs/ufs/lufs_debug.c
282
if (lof >= head) {
usr/src/uts/common/fs/ufs/lufs_debug.c
283
if (trimroll >= head && trimroll <= lof)
usr/src/uts/common/fs/ufs/lufs_debug.c
286
if (trimroll <= lof || trimroll >= head)
usr/src/uts/common/fs/ufs/lufs_debug.c
587
off_t head = ul->un_head_lof;
usr/src/uts/common/fs/ufs/lufs_debug.c
590
if (head <= tail) {
usr/src/uts/common/fs/ufs/lufs_debug.c
591
if (trimr < head || trimr >= tail)
usr/src/uts/common/fs/ufs/lufs_debug.c
594
if (trimr >= tail && trimr < head)
usr/src/uts/common/fs/ufs/lufs_log.c
1543
off_t head;
usr/src/uts/common/fs/ufs/lufs_log.c
1552
head = ul->un_head_lof;
usr/src/uts/common/fs/ufs/lufs_log.c
1561
if (head <= tail)
usr/src/uts/common/fs/ufs/lufs_log.c
1562
busybytes = tail - head;
usr/src/uts/common/fs/ufs/lufs_log.c
1564
busybytes = (eol - head) + (tail - bol);
usr/src/uts/common/fs/ufs/lufs_thread.c
345
rollbuf_t *head, *prev, *rbp2;
usr/src/uts/common/fs/ufs/lufs_thread.c
354
for (head = rbs, rbp = rbs + 1; rbp < rbs + nbuf; rbp++) {
usr/src/uts/common/fs/ufs/lufs_thread.c
355
for (rbp2 = head; rbp2; prev = rbp2, rbp2 = rbp2->rb_next) {
usr/src/uts/common/fs/ufs/lufs_thread.c
357
if (rbp2 == head) {
usr/src/uts/common/fs/ufs/lufs_thread.c
358
rbp->rb_next = head;
usr/src/uts/common/fs/ufs/lufs_thread.c
359
head = rbp;
usr/src/uts/common/fs/ufs/lufs_thread.c
376
for (rbp = head; rbp; rbp = rbp2) {
usr/src/uts/common/fs/ufs/ufs_lockfs.c
104
#define IS_REC_VOP(found, head, ulp, free) \
usr/src/uts/common/fs/ufs/ufs_lockfs.c
108
for (found = 0, free = NULL, _curr = head; \
usr/src/uts/common/fs/ufs/ufs_lockfs.c
124
#define SEARCH_ULOCKFSP(head, ulp, info) \
usr/src/uts/common/fs/ufs/ufs_lockfs.c
128
for (_curr = head; _curr != NULL; \
usr/src/uts/common/fs/ufs/ufs_lockfs.c
1466
ufs_lockfs_top_vop_return(ulockfs_info_t *head)
usr/src/uts/common/fs/ufs/ufs_lockfs.c
1471
for (info = head; info != NULL; info = info->next) {
usr/src/uts/common/fs/ufs/ufs_lockfs.c
1488
ulockfs_info_t *head;
usr/src/uts/common/fs/ufs/ufs_lockfs.c
1496
head = (ulockfs_info_t *)tsd_get(ufs_lockfs_key);
usr/src/uts/common/fs/ufs/ufs_lockfs.c
1497
SEARCH_ULOCKFSP(head, ulp, info);
usr/src/uts/common/fs/ufs/ufs_lockfs.c
1510
if (ufs_lockfs_top_vop_return(head))
usr/src/uts/common/fs/ufs/ufs_lockfs.c
1780
ufs_lockfs_tsd_destructor(void *head)
usr/src/uts/common/fs/ufs/ufs_lockfs.c
1782
ulockfs_info_t *curr = (ulockfs_info_t *)head;
usr/src/uts/common/fs/ufs/ufs_lockfs.c
238
ulockfs_info_t *head;
usr/src/uts/common/fs/ufs/ufs_lockfs.c
242
head = (ulockfs_info_t *)tsd_get(ufs_lockfs_key);
usr/src/uts/common/fs/ufs/ufs_lockfs.c
243
SEARCH_ULOCKFSP(head, ulp, info);
usr/src/uts/common/fs/ufs/ufs_lockfs.c
887
ulockfs_info_t *head;
usr/src/uts/common/fs/ufs/ufs_lockfs.c
925
head = (ulockfs_info_t *)tsd_get(ufs_lockfs_key);
usr/src/uts/common/fs/ufs/ufs_lockfs.c
926
SEARCH_ULOCKFSP(head, ulp, info);
usr/src/uts/common/fs/zfs/arc.c
7701
arc_buf_hdr_t *head, *hdr, *hdr_prev;
usr/src/uts/common/fs/zfs/arc.c
7710
head = cb->l2wcb_head;
usr/src/uts/common/fs/zfs/arc.c
7711
ASSERT3P(head, !=, NULL);
usr/src/uts/common/fs/zfs/arc.c
7722
for (hdr = list_prev(buflist, head); hdr; hdr = hdr_prev) {
usr/src/uts/common/fs/zfs/arc.c
7745
list_remove(buflist, head);
usr/src/uts/common/fs/zfs/arc.c
7746
list_insert_after(buflist, hdr, head);
usr/src/uts/common/fs/zfs/arc.c
7855
list_remove(buflist, head);
usr/src/uts/common/fs/zfs/arc.c
7856
ASSERT(!HDR_HAS_L1HDR(head));
usr/src/uts/common/fs/zfs/arc.c
7857
kmem_cache_free(hdr_l2only_cache, head);
usr/src/uts/common/fs/zfs/arc.c
8503
arc_buf_hdr_t *hdr, *hdr_prev, *head;
usr/src/uts/common/fs/zfs/arc.c
8516
head = kmem_cache_alloc(hdr_l2only_cache, KM_PUSHPAGE);
usr/src/uts/common/fs/zfs/arc.c
8517
arc_hdr_set_flags(head, ARC_FLAG_L2_WRITE_HEAD | ARC_FLAG_HAS_L2HDR);
usr/src/uts/common/fs/zfs/arc.c
8651
list_insert_head(&dev->l2ad_buflist, head);
usr/src/uts/common/fs/zfs/arc.c
8657
cb->l2wcb_head = head;
usr/src/uts/common/fs/zfs/arc.c
8721
ASSERT(!HDR_HAS_L1HDR(head));
usr/src/uts/common/fs/zfs/arc.c
8722
kmem_cache_free(hdr_l2only_cache, head);
usr/src/uts/common/fs/zfs/dnode.c
2004
int blksz, blkshift, head, tail;
usr/src/uts/common/fs/zfs/dnode.c
2021
head = P2NPHASE(off, blksz);
usr/src/uts/common/fs/zfs/dnode.c
2044
head = blksz - off;
usr/src/uts/common/fs/zfs/dnode.c
2045
ASSERT3U(head, >, 0);
usr/src/uts/common/fs/zfs/dnode.c
2050
if (head) {
usr/src/uts/common/fs/zfs/dnode.c
2052
ASSERT3U(blkoff + head, ==, blksz);
usr/src/uts/common/fs/zfs/dnode.c
2053
if (len < head)
usr/src/uts/common/fs/zfs/dnode.c
2054
head = len;
usr/src/uts/common/fs/zfs/dnode.c
2072
bzero(data + blkoff, head);
usr/src/uts/common/fs/zfs/dnode.c
2076
off += head;
usr/src/uts/common/fs/zfs/dnode.c
2077
len -= head;
usr/src/uts/common/idmap/idmap_cache.c
196
sid2pid_hb->head.flink = &sid2pid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
197
sid2pid_hb->head.blink = &sid2pid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
213
uid2sid_hb->head.flink = &uid2sid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
214
uid2sid_hb->head.blink = &uid2sid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
227
gid2sid_hb->head.flink = &gid2sid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
228
gid2sid_hb->head.blink = &gid2sid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
344
sid2pid_hb->head.flink = &sid2pid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
345
sid2pid_hb->head.blink = &sid2pid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
366
uid2sid_hb->head.flink = &uid2sid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
367
uid2sid_hb->head.blink = &uid2sid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
385
gid2sid_hb->head.flink = &gid2sid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
386
gid2sid_hb->head.blink = &gid2sid_hb->head;
usr/src/uts/common/idmap/idmap_cache.c
411
list_move(&sid2pid_hb->head, result);
usr/src/uts/common/idmap/idmap_cache.c
443
list_move(&sid2pid_hb->head, result);
usr/src/uts/common/idmap/idmap_cache.c
475
list_move(&sid2pid_hb->head, result);
usr/src/uts/common/idmap/idmap_cache.c
514
list_move(&uid2sid_hb->head, result);
usr/src/uts/common/idmap/idmap_cache.c
546
list_move(&gid2sid_hb->head, result);
usr/src/uts/common/idmap/idmap_cache.c
599
list_insert(&sid2pid_hb->head, new);
usr/src/uts/common/idmap/idmap_cache.c
637
list_insert(&uid2sid_hb->head, new);
usr/src/uts/common/idmap/idmap_cache.c
692
list_insert(&sid2pid_hb->head, new);
usr/src/uts/common/idmap/idmap_cache.c
71
#define list_insert(head, ele)\
usr/src/uts/common/idmap/idmap_cache.c
73
(ele)->flink = (head)->flink;\
usr/src/uts/common/idmap/idmap_cache.c
730
list_insert(&gid2sid_hb->head, new);
usr/src/uts/common/idmap/idmap_cache.c
74
(head)->flink = (ele);\
usr/src/uts/common/idmap/idmap_cache.c
803
list_insert(&sid2pid_hb->head, new);
usr/src/uts/common/idmap/idmap_cache.c
843
list_insert(&uid2sid_hb->head, new);
usr/src/uts/common/idmap/idmap_cache.c
874
list_insert(&gid2sid_hb->head, new);
usr/src/uts/common/idmap/idmap_cache.c
88
#define list_move(head, ele) \
usr/src/uts/common/idmap/idmap_cache.c
90
if ((head)->flink != (ele)) {\
usr/src/uts/common/idmap/idmap_cache.c
902
item = cache->head.blink;
usr/src/uts/common/idmap/idmap_cache.c
92
list_insert(head, ele);\
usr/src/uts/common/idmap/idmap_cache.c
925
item = cache->head.blink;
usr/src/uts/common/idmap/kidmap_priv.h
75
struct sid2pid head;
usr/src/uts/common/idmap/kidmap_priv.h
86
struct pid2sid head;
usr/src/uts/common/inet/ilb/ilb_nat.c
206
list_t *head;
usr/src/uts/common/inet/ilb/ilb_nat.c
211
head = &ilbs->ilbs_nat_src[idx].nsh_head;
usr/src/uts/common/inet/ilb/ilb_nat.c
212
for (tmp = list_head(head); tmp != NULL; tmp = list_next(head, tmp)) {
usr/src/uts/common/inet/ilb/ilb_nat.c
247
list_insert_tail(head, tmp);
usr/src/uts/common/inet/ilb/ilb_nat.c
299
list_t *head;
usr/src/uts/common/inet/ilb/ilb_nat.c
304
head = &ilbs->ilbs_nat_src[i].nsh_head;
usr/src/uts/common/inet/ilb/ilb_nat.c
305
cur = list_head(head);
usr/src/uts/common/inet/ilb/ilb_nat.c
314
cur = list_next(head, cur);
usr/src/uts/common/inet/ilb/ilb_nat.c
318
cur = list_next(head, cur);
usr/src/uts/common/inet/ilb/ilb_nat.c
319
list_remove(head, tmp);
usr/src/uts/common/inet/ip/ip.c
13303
conn_t *head = idl->idl_conn;
usr/src/uts/common/inet/ip/ip.c
13305
connp->conn_drain_next = head;
usr/src/uts/common/inet/ip/ip.c
13306
connp->conn_drain_prev = head->conn_drain_prev;
usr/src/uts/common/inet/ip/ip.c
13307
head->conn_drain_prev->conn_drain_next = connp;
usr/src/uts/common/inet/ip/ip.c
13308
head->conn_drain_prev = connp;
usr/src/uts/common/inet/ip/sadb.c
2418
sadb_purge_cb(isaf_t *head, ipsa_t *entry, void *cookie)
usr/src/uts/common/inet/ip/sadb.c
2422
ASSERT(MUTEX_HELD(&head->isaf_lock));
usr/src/uts/common/inet/ip/sadb.c
2436
(void) sadb_torch_assoc(head, entry);
usr/src/uts/common/inet/ip/sadb.c
2475
sadb_delpair_state_one(isaf_t *head, ipsa_t *entry, void *cookie)
usr/src/uts/common/inet/ip/sadb.c
2482
ASSERT(MUTEX_HELD(&head->isaf_lock));
usr/src/uts/common/inet/ip/sadb.c
2516
(void) sadb_torch_assoc(head, entry);
usr/src/uts/common/inet/ip/sadb.c
3974
sadb_torch_assoc(isaf_t *head, ipsa_t *sa)
usr/src/uts/common/inet/ip/sadb.c
3976
ASSERT(MUTEX_HELD(&head->isaf_lock));
usr/src/uts/common/inet/ip/sadb.c
3983
head->isaf_gen++;
usr/src/uts/common/inet/ip/sadb.c
4024
sadb_age_assoc(isaf_t *head, queue_t *pfkey_q, ipsa_t *assoc,
usr/src/uts/common/inet/ip/sadb.c
4030
ASSERT(MUTEX_HELD(&head->isaf_lock));
usr/src/uts/common/inet/ip/sadb.c
4040
return (sadb_torch_assoc(head, assoc));
usr/src/uts/common/inet/ip/sadb.c
4054
return (sadb_torch_assoc(head, assoc));
usr/src/uts/common/inet/ip/sadb.c
688
void (*walkfn)(isaf_t *head, ipsa_t *entry, void *cookie),
usr/src/uts/common/inet/ip/sadb.c
7350
sadb_alg_update_cb(isaf_t *head, ipsa_t *entry, void *cookie)
usr/src/uts/common/inet/ip/sadb.c
7356
ASSERT(MUTEX_HELD(&head->isaf_lock));
usr/src/uts/common/inet/ip/spd.c
2021
ipsec_find_policy_head(ipsec_policy_t *best, ipsec_policy_head_t *head,
usr/src/uts/common/inet/ip/spd.c
2030
root = &head->iph_root[direction];
usr/src/uts/common/inet/ip/spd.c
2050
rw_enter(&head->iph_lock, RW_READER);
usr/src/uts/common/inet/ip/spd.c
2072
rw_exit(&head->iph_lock);
usr/src/uts/common/inet/ip/spd.c
3542
ipsec_policy_t *ip, *nip, *head;
usr/src/uts/common/inet/ip/spd.c
3556
head = pr->ipr_nonhash[af];
usr/src/uts/common/inet/ip/spd.c
3558
head = pr->ipr_hash[sp->ipsl_key.ipsl_pol_hval].hash_head;
usr/src/uts/common/inet/ip/spd.c
3561
for (ip = head; ip != NULL; ip = nip) {
usr/src/uts/common/inet/ip/spd.c
3646
ipsec_policy_t *p2, *head;
usr/src/uts/common/inet/ip/spd.c
3669
head = pr->ipr_nonhash[af];
usr/src/uts/common/inet/ip/spd.c
3678
head = pr->ipr_hash[selkey->ipsl_pol_hval].hash_head;
usr/src/uts/common/inet/ip/spd.c
3681
for (p2 = head; p2 != NULL; p2 = p2->ipsp_hash.hash_next) {
usr/src/uts/common/inet/ip/spd.c
3697
for (p2 = head; p2 != NULL; p2 = p2->ipsp_hash.hash_next) {
usr/src/uts/common/inet/ipf/fil.c
3362
frgroup_t *fr_addgroup(group, head, flags, unit, set, ifs)
usr/src/uts/common/inet/ipf/fil.c
3364
void *head;
usr/src/uts/common/inet/ipf/fil.c
3393
fg->fg_head = head;
usr/src/uts/common/inet/ipf/radix_ipf.h
132
struct radix_node_head *head, struct radix_node nodes[]));
usr/src/uts/common/inet/ipf/radix_ipf.h
135
struct radix_node_head *head, struct radix_node nodes[]));
usr/src/uts/common/inet/ipf/radix_ipf.h
137
__P((void *v, void *mask, struct radix_node_head *head));
usr/src/uts/common/inet/ipf/radix_ipf.h
139
__P((void *v, void *mask, struct radix_node_head *head));
usr/src/uts/common/inet/ipf/radix_ipf.h
141
__P((void *v, struct radix_node_head *head));
usr/src/uts/common/inet/ipf/radix_ipf.h
143
__P((void *v, void *mask, struct radix_node_head *head));
usr/src/uts/common/inet/ipf/radix_ipf.h
145
__P((void *v, struct radix_node_head *head));
usr/src/uts/common/inet/ipsec_impl.h
171
#define HASHLIST_INSERT(var, field, head) \
usr/src/uts/common/inet/ipsec_impl.h
173
(var)->field.hash_next = head; \
usr/src/uts/common/inet/ipsec_impl.h
174
(var)->field.hash_pp = &(head); \
usr/src/uts/common/inet/ipsec_impl.h
175
head = var; \
usr/src/uts/common/inet/sctp/sctp_asconf.c
237
asc->head = NULL;
usr/src/uts/common/inet/sctp/sctp_asconf.c
251
if (asc->head == NULL)
usr/src/uts/common/inet/sctp/sctp_asconf.c
252
asc->head = mp;
usr/src/uts/common/inet/sctp/sctp_asconf.c
254
linkb(asc->head, mp);
usr/src/uts/common/inet/sctp/sctp_asconf.c
262
if (asc->head != NULL) {
usr/src/uts/common/inet/sctp/sctp_asconf.c
263
freemsg(asc->head);
usr/src/uts/common/inet/sctp/sctp_asconf.c
264
asc->head = NULL;
usr/src/uts/common/inet/sctp/sctp_asconf.c
278
ASSERT(asc != NULL && asc->head != NULL);
usr/src/uts/common/inet/sctp/sctp_asconf.c
291
mp->b_cont = asc->head;
usr/src/uts/common/inet/sctp/sctp_asconf.c
316
asc->head = NULL;
usr/src/uts/common/inet/sctp/sctp_asconf.c
49
mblk_t *head;
usr/src/uts/common/inet/sctp/sctp_cookie.c
1169
head = sctp_add_proto_hdr(sctp, fp, cemp, 0, NULL);
usr/src/uts/common/inet/sctp/sctp_cookie.c
1170
if (head == NULL) {
usr/src/uts/common/inet/sctp/sctp_cookie.c
1183
ipha_t *iph = (ipha_t *)head->b_rptr;
usr/src/uts/common/inet/sctp/sctp_cookie.c
1188
sctp->sctp_cookie_mp = dupmsg(head);
usr/src/uts/common/inet/sctp/sctp_cookie.c
1205
linkb(head, errmp);
usr/src/uts/common/inet/sctp/sctp_cookie.c
1210
sctp_set_iplen(sctp, head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_cookie.c
1211
(void) conn_ip_output(head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_cookie.c
930
mblk_t *head;
usr/src/uts/common/inet/sctp/sctp_input.c
100
if (*head == NULL) {
usr/src/uts/common/inet/sctp/sctp_input.c
101
*head = kmem_cache_alloc(sctp_kmem_set_cache, KM_NOSLEEP);
usr/src/uts/common/inet/sctp/sctp_input.c
102
if (*head == NULL)
usr/src/uts/common/inet/sctp/sctp_input.c
104
(*head)->prev = (*head)->next = NULL;
usr/src/uts/common/inet/sctp/sctp_input.c
105
(*head)->begin = tsn;
usr/src/uts/common/inet/sctp/sctp_input.c
106
(*head)->end = tsn;
usr/src/uts/common/inet/sctp/sctp_input.c
111
ASSERT((*head)->prev == NULL);
usr/src/uts/common/inet/sctp/sctp_input.c
117
if (SEQ_LT(tsn + 1, (*head)->begin)) {
usr/src/uts/common/inet/sctp/sctp_input.c
122
t->next = *head;
usr/src/uts/common/inet/sctp/sctp_input.c
124
(*head)->prev = t;
usr/src/uts/common/inet/sctp/sctp_input.c
128
*head = t;
usr/src/uts/common/inet/sctp/sctp_input.c
145
for (p = *head; ; p = p->next) {
usr/src/uts/common/inet/sctp/sctp_input.c
1966
mblk_t *head;
usr/src/uts/common/inet/sctp/sctp_input.c
1995
head = sctp_add_proto_hdr(sctp, fp, nmp, 0, NULL);
usr/src/uts/common/inet/sctp/sctp_input.c
1996
if (head == NULL) {
usr/src/uts/common/inet/sctp/sctp_input.c
2003
sctp_set_iplen(sctp, head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_input.c
2004
(void) conn_ip_output(head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_input.c
212
sctp_ack_rem(sctp_set_t **head, uint32_t end, int *num)
usr/src/uts/common/inet/sctp/sctp_input.c
216
if (head == NULL || *head == NULL || num == NULL)
usr/src/uts/common/inet/sctp/sctp_input.c
220
if (SEQ_LT(end, (*head)->begin))
usr/src/uts/common/inet/sctp/sctp_input.c
224
for (p = *head; p->next; p = p->next) {
usr/src/uts/common/inet/sctp/sctp_input.c
233
if (p == *head)
usr/src/uts/common/inet/sctp/sctp_input.c
241
t = *head;
usr/src/uts/common/inet/sctp/sctp_input.c
242
*head = p;
usr/src/uts/common/inet/sctp/sctp_input.c
253
for (p = *head; p != NULL; p = p->next)
usr/src/uts/common/inet/sctp/sctp_input.c
90
sctp_ack_add(sctp_set_t **head, uint32_t tsn, int *num)
usr/src/uts/common/inet/sctp/sctp_input.c
94
if (head == NULL || num == NULL)
usr/src/uts/common/inet/sctp/sctp_input.c
98
ASSERT((*num == 0 && *head == NULL) || (*num > 0 && *head != NULL));
usr/src/uts/common/inet/sctp/sctp_output.c
1040
head = NULL;
usr/src/uts/common/inet/sctp/sctp_output.c
1062
head = NULL;
usr/src/uts/common/inet/sctp/sctp_output.c
1078
head = NULL;
usr/src/uts/common/inet/sctp/sctp_output.c
1101
head = NULL;
usr/src/uts/common/inet/sctp/sctp_output.c
1105
head = sctp_add_proto_hdr(sctp, fp, nmp, sacklen,
usr/src/uts/common/inet/sctp/sctp_output.c
1107
if (head == NULL) {
usr/src/uts/common/inet/sctp/sctp_output.c
1144
head = NULL;
usr/src/uts/common/inet/sctp/sctp_output.c
1148
head = NULL;
usr/src/uts/common/inet/sctp/sctp_output.c
1152
head = sctp_add_proto_hdr(sctp, fp, nmp, 0, &error);
usr/src/uts/common/inet/sctp/sctp_output.c
1153
if (head == NULL) {
usr/src/uts/common/inet/sctp/sctp_output.c
1192
linkb(head, fill);
usr/src/uts/common/inet/sctp/sctp_output.c
1262
linkb(head, nmp);
usr/src/uts/common/inet/sctp/sctp_output.c
1266
ipha_t *iph = (ipha_t *)head->b_rptr;
usr/src/uts/common/inet/sctp/sctp_output.c
1283
sctp_set_iplen(sctp, head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_output.c
1284
(void) conn_ip_output(head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_output.c
1297
if (head != NULL)
usr/src/uts/common/inet/sctp/sctp_output.c
1298
freemsg(head);
usr/src/uts/common/inet/sctp/sctp_output.c
1465
mblk_t *head;
usr/src/uts/common/inet/sctp/sctp_output.c
1529
head = sctp_add_proto_hdr(sctp, fp, *nmp, sacklen, NULL);
usr/src/uts/common/inet/sctp/sctp_output.c
1530
if (head == NULL) {
usr/src/uts/common/inet/sctp/sctp_output.c
1537
*nmp = head;
usr/src/uts/common/inet/sctp/sctp_output.c
1671
mblk_t *head;
usr/src/uts/common/inet/sctp/sctp_output.c
1848
head = nmp;
usr/src/uts/common/inet/sctp/sctp_output.c
1925
head = sctp_add_proto_hdr(sctp, fp, nmp, sacklen, NULL);
usr/src/uts/common/inet/sctp/sctp_output.c
1926
if (head == NULL) {
usr/src/uts/common/inet/sctp/sctp_output.c
1998
linkb(head, nmp);
usr/src/uts/common/inet/sctp/sctp_output.c
2008
ipha_t *iph = (ipha_t *)head->b_rptr;
usr/src/uts/common/inet/sctp/sctp_output.c
2027
sctp_set_iplen(sctp, head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_output.c
2028
(void) conn_ip_output(head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_output.c
2083
mblk_t *head;
usr/src/uts/common/inet/sctp/sctp_output.c
2108
head = sctp_add_proto_hdr(sctp, fp, nmp, 0, NULL);
usr/src/uts/common/inet/sctp/sctp_output.c
2109
if (head == NULL) {
usr/src/uts/common/inet/sctp/sctp_output.c
2179
linkb(head, nmp);
usr/src/uts/common/inet/sctp/sctp_output.c
2194
return (head);
usr/src/uts/common/inet/sctp/sctp_output.c
786
sctp_verify_chain(mblk_t *head, mblk_t *tail)
usr/src/uts/common/inet/sctp/sctp_output.c
788
mblk_t *mp = head;
usr/src/uts/common/inet/sctp/sctp_output.c
790
if (head == NULL || tail == NULL)
usr/src/uts/common/inet/sctp/sctp_output.c
957
mblk_t *mp, *head;
usr/src/uts/common/inet/sctp/sctp_output.c
968
if ((head = sctp_add_proto_hdr(sctp, fp, mp, 0, NULL)) == NULL) {
usr/src/uts/common/inet/sctp/sctp_output.c
974
ipha_t *iph = (ipha_t *)head->b_rptr;
usr/src/uts/common/inet/sctp/sctp_output.c
979
sctp_set_iplen(sctp, head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_output.c
980
(void) conn_ip_output(head, fp->sf_ixa);
usr/src/uts/common/inet/sctp/sctp_output.c
990
mblk_t *head;
usr/src/uts/common/inet/squeue.c
605
mblk_t *head;
usr/src/uts/common/inet/squeue.c
632
head = sqp->sq_first;
usr/src/uts/common/inet/squeue.c
653
while ((mp = head) != NULL) {
usr/src/uts/common/inet/squeue.c
655
head = mp->b_next;
usr/src/uts/common/inet/squeue.c
916
mblk_t *head, *tail, *mp;
usr/src/uts/common/inet/squeue.c
964
head = sq_get_pkts(sq_mac_handle, bytes_to_pickup);
usr/src/uts/common/inet/squeue.c
966
if (head != NULL) {
usr/src/uts/common/inet/squeue.c
975
mp = ip_accept(sq_ill, sq_rx_ring, sqp, head,
usr/src/uts/common/inet/tcp/tcp.c
3250
mblk_t *head = NULL;
usr/src/uts/common/inet/tcp/tcp.c
3262
return ((head == NULL) ? bp : head);
usr/src/uts/common/inet/tcp/tcp.c
3294
if (head == NULL) {
usr/src/uts/common/inet/tcp/tcp.c
3295
head = bp;
usr/src/uts/common/inet/tcp/tcp.c
3313
return (head);
usr/src/uts/common/inet/tcp/tcp_fusion.c
364
mblk_t *head, *prev_head = NULL;
usr/src/uts/common/inet/tcp/tcp_fusion.c
416
head = peer_tcp->tcp_rcv_list;
usr/src/uts/common/inet/tcp/tcp_fusion.c
417
while (head != NULL) {
usr/src/uts/common/inet/tcp/tcp_fusion.c
423
if (DB_TYPE(head) != M_DATA) {
usr/src/uts/common/inet/tcp/tcp_fusion.c
424
mp1 = head;
usr/src/uts/common/inet/tcp/tcp_fusion.c
427
head = mp1->b_cont;
usr/src/uts/common/inet/tcp/tcp_fusion.c
429
head->b_next = mp1->b_next;
usr/src/uts/common/inet/tcp/tcp_fusion.c
432
prev_head->b_next = head;
usr/src/uts/common/inet/tcp/tcp_fusion.c
434
peer_tcp->tcp_rcv_list = head;
usr/src/uts/common/inet/tcp/tcp_fusion.c
436
peer_tcp->tcp_rcv_last_head = head;
usr/src/uts/common/inet/tcp/tcp_fusion.c
439
prev_head = head;
usr/src/uts/common/inet/tcp/tcp_fusion.c
440
head = head->b_next;
usr/src/uts/common/inet/tcp/tcp_sack.c
100
} else if (SEQ_GEQ(begin, head[i].begin) &&
usr/src/uts/common/inet/tcp/tcp_sack.c
101
SEQ_LEQ(begin, head[i].end)) {
usr/src/uts/common/inet/tcp/tcp_sack.c
103
begin = head[i].begin;
usr/src/uts/common/inet/tcp/tcp_sack.c
114
head[0].begin = begin;
usr/src/uts/common/inet/tcp/tcp_sack.c
115
head[0].end = end;
usr/src/uts/common/inet/tcp/tcp_sack.c
117
head[i+1].begin = tmp[i].begin;
usr/src/uts/common/inet/tcp/tcp_sack.c
118
head[i+1].end = tmp[i].end;
usr/src/uts/common/inet/tcp/tcp_sack.c
133
tcp_sack_remove(sack_blk_t *head, tcp_seq end, int32_t *num)
usr/src/uts/common/inet/tcp/tcp_sack.c
146
if (SEQ_GT(end, head[i].begin)) {
usr/src/uts/common/inet/tcp/tcp_sack.c
154
if (SEQ_GEQ(end, head[i].end)) {
usr/src/uts/common/inet/tcp/tcp_sack.c
159
tmp[j].end = head[i].end;
usr/src/uts/common/inet/tcp/tcp_sack.c
162
tmp[j].begin = head[i].begin;
usr/src/uts/common/inet/tcp/tcp_sack.c
163
tmp[j].end = head[i].end;
usr/src/uts/common/inet/tcp/tcp_sack.c
169
head[i].begin = tmp[i].begin;
usr/src/uts/common/inet/tcp/tcp_sack.c
170
head[i].end = tmp[i].end;
usr/src/uts/common/inet/tcp/tcp_sack.c
192
tcp_notsack_insert(notsack_blk_t **head, tcp_seq begin, tcp_seq end,
usr/src/uts/common/inet/tcp/tcp_sack.c
198
if (*head == NULL) {
usr/src/uts/common/inet/tcp/tcp_sack.c
202
tmp = *head;
usr/src/uts/common/inet/tcp/tcp_sack.c
237
*head = tmp->next;
usr/src/uts/common/inet/tcp/tcp_sack.c
304
*head = tmp->next;
usr/src/uts/common/inet/tcp/tcp_sack.c
307
tmp = *head;
usr/src/uts/common/inet/tcp/tcp_sack.c
337
tcp_notsack_remove(notsack_blk_t **head, tcp_seq end, int32_t *num,
usr/src/uts/common/inet/tcp/tcp_sack.c
343
if (*head == NULL)
usr/src/uts/common/inet/tcp/tcp_sack.c
347
tmp = *head;
usr/src/uts/common/inet/tcp/tcp_sack.c
359
*head = tmp->next;
usr/src/uts/common/inet/tcp/tcp_sack.c
361
tmp = *head;
usr/src/uts/common/inet/tcp/tcp_sack.c
391
void tcp_notsack_update(notsack_blk_t **head, tcp_seq begin, tcp_seq end,
usr/src/uts/common/inet/tcp/tcp_sack.c
396
tmp = *head;
usr/src/uts/common/inet/tcp/tcp_sack.c
407
*head = tmp;
usr/src/uts/common/inet/tcp/tcp_sack.c
50
tcp_sack_insert(sack_blk_t *head, tcp_seq begin, tcp_seq end, int32_t *num)
usr/src/uts/common/inet/tcp/tcp_sack.c
57
head[0].begin = begin;
usr/src/uts/common/inet/tcp/tcp_sack.c
58
head[0].end = end;
usr/src/uts/common/inet/tcp/tcp_sack.c
82
if (SEQ_LT(end, head[i].begin) || SEQ_GT(begin, head[i].end)) {
usr/src/uts/common/inet/tcp/tcp_sack.c
84
tmp[j].begin = head[i].begin;
usr/src/uts/common/inet/tcp/tcp_sack.c
85
tmp[j].end = head[i].end;
usr/src/uts/common/inet/tcp/tcp_sack.c
88
} else if (SEQ_GEQ(begin, head[i].begin) &&
usr/src/uts/common/inet/tcp/tcp_sack.c
89
SEQ_LEQ(end, head[i].end)) {
usr/src/uts/common/inet/tcp/tcp_sack.c
91
begin = head[i].begin;
usr/src/uts/common/inet/tcp/tcp_sack.c
92
end = head[i].end;
usr/src/uts/common/inet/tcp/tcp_sack.c
93
} else if (SEQ_LEQ(end, head[i].end) &&
usr/src/uts/common/inet/tcp/tcp_sack.c
94
SEQ_GEQ(end, head[i].begin)) {
usr/src/uts/common/inet/tcp/tcp_sack.c
99
end = head[i].end;
usr/src/uts/common/inet/tcp_sack.h
89
#define TCP_NOTSACK_REMOVE_ALL(head, tcp) \
usr/src/uts/common/inet/tcp_sack.h
91
if ((head) != NULL) { \
usr/src/uts/common/inet/tcp_sack.h
93
tmp = (head); \
usr/src/uts/common/inet/tcp_sack.h
99
(head) = NULL; \
usr/src/uts/common/io/afe/afe.c
2136
int head, cnt;
usr/src/uts/common/io/afe/afe.c
2140
head = afep->afe_rxhead;
usr/src/uts/common/io/afe/afe.c
2145
rmd = &afep->afe_rxdescp[head];
usr/src/uts/common/io/afe/afe.c
2146
rxb = afep->afe_rxbufs[head];
usr/src/uts/common/io/afe/afe.c
2148
SYNCRXDESC(afep, head, DDI_DMA_SYNC_FORKERNEL);
usr/src/uts/common/io/afe/afe.c
2231
SYNCRXDESC(afep, head, DDI_DMA_SYNC_FORDEV);
usr/src/uts/common/io/afe/afe.c
2234
head = (head + 1) % AFE_RXRING;
usr/src/uts/common/io/afe/afe.c
2237
afep->afe_rxhead = head;
usr/src/uts/common/io/aggr/aggr_recv.c
101
cmp = head;
usr/src/uts/common/io/aggr/aggr_recv.c
107
head);
usr/src/uts/common/io/aggr/aggr_recv.c
109
freemsgchain(head);
usr/src/uts/common/io/aggr/aggr_recv.c
111
head = cmp->b_next;
usr/src/uts/common/io/aggr/aggr_recv.c
114
cmp = head;
usr/src/uts/common/io/aggr/aggr_recv.c
128
if (head == cmp) {
usr/src/uts/common/io/aggr/aggr_recv.c
131
head = cmp->b_next;
usr/src/uts/common/io/aggr/aggr_recv.c
134
cmp = head;
usr/src/uts/common/io/aggr/aggr_recv.c
142
head);
usr/src/uts/common/io/aggr/aggr_recv.c
144
freemsgchain(head);
usr/src/uts/common/io/aggr/aggr_recv.c
147
head = cmp->b_next;
usr/src/uts/common/io/aggr/aggr_recv.c
150
cmp = head;
usr/src/uts/common/io/aggr/aggr_recv.c
158
if (head != NULL) {
usr/src/uts/common/io/aggr/aggr_recv.c
160
aggr_mac_rx(grp->lg_mh, mrh, head);
usr/src/uts/common/io/aggr/aggr_recv.c
162
freemsgchain(head);
usr/src/uts/common/io/aggr/aggr_recv.c
86
mblk_t *cmp, *last, *head;
usr/src/uts/common/io/aggr/aggr_recv.c
92
head = cmp = mp;
usr/src/uts/common/io/aggr/aggr_recv.c
96
if (head == cmp) {
usr/src/uts/common/io/aggr/aggr_recv.c
98
head = cmp->b_next;
usr/src/uts/common/io/bge/bge_impl.h
369
bge_queue_item_t *head;
usr/src/uts/common/io/bge/bge_main2.c
208
txbuf_queue->head = NULL;
usr/src/uts/common/io/bge/bge_main2.c
217
txbuf_queue->head = NULL;
usr/src/uts/common/io/bge/bge_main2.c
225
txbuf_head->next = txbuf_queue->head;
usr/src/uts/common/io/bge/bge_main2.c
226
txbuf_queue->head = txbuf_head;
usr/src/uts/common/io/bge/bge_main2.c
2621
txbuf_item->next = txbuf_queue->head;
usr/src/uts/common/io/bge/bge_main2.c
2622
txbuf_queue->head = txbuf_item_last;
usr/src/uts/common/io/bge/bge_recv2.c
283
mblk_t *head;
usr/src/uts/common/io/bge/bge_recv2.c
309
head = NULL;
usr/src/uts/common/io/bge/bge_recv2.c
310
tail = &head;
usr/src/uts/common/io/bge/bge_recv2.c
327
return (head);
usr/src/uts/common/io/bge/bge_recv2.c
352
mblk_t *head;
usr/src/uts/common/io/bge/bge_recv2.c
380
head = NULL;
usr/src/uts/common/io/bge/bge_recv2.c
381
tail = &head;
usr/src/uts/common/io/bge/bge_recv2.c
399
return (head);
usr/src/uts/common/io/bge/bge_send.c
156
buf_item_tail->next = txbuf_queue->head;
usr/src/uts/common/io/bge/bge_send.c
157
txbuf_queue->head = buf_item_head;
usr/src/uts/common/io/bge/bge_send.c
321
txbuf_item = txbuf_queue->head;
usr/src/uts/common/io/bge/bge_send.c
322
txbuf_queue->head = (bge_queue_item_t *)txbuf_item->next;
usr/src/uts/common/io/bnx/bnxrcv.c
208
mblk_t *head = NULL;
usr/src/uts/common/io/bnx/bnxrcv.c
435
if (head == NULL) {
usr/src/uts/common/io/bnx/bnxrcv.c
436
head = mp;
usr/src/uts/common/io/bnx/bnxrcv.c
445
if (head) {
usr/src/uts/common/io/bnx/bnxrcv.c
449
umdevice->os_param.rx_resc_handle[ringidx], head);
usr/src/uts/common/io/bnx/include/listq.h
104
s_list->head = head_entry;
usr/src/uts/common/io/bnx/include/listq.h
1069
q_entry = q_list->cnt ? *q_list->head : (q_list_entry_t *) 0;
usr/src/uts/common/io/bnx/include/listq.h
1125
(_q_list)->head = (_q_list)->first_entry_addr; \
usr/src/uts/common/io/bnx/include/listq.h
1131
(_q_list)->head = (_q_list)->first_entry_addr; \
usr/src/uts/common/io/bnx/include/listq.h
1139
if((_q_list)->head == (_q_list)->first_entry_addr) \
usr/src/uts/common/io/bnx/include/listq.h
1141
(_q_list)->head = (_q_list)->last_entry_addr; \
usr/src/uts/common/io/bnx/include/listq.h
1145
(_q_list)->head--; \
usr/src/uts/common/io/bnx/include/listq.h
1147
*((_q_list)->head) = (_q_entry); \
usr/src/uts/common/io/bnx/include/listq.h
115
s_list->head = (s_list_entry_t *) 0;
usr/src/uts/common/io/bnx/include/listq.h
1153
(_q_list)->cnt ? *(_q_list)->head : (q_list_entry_t *) 0; \
usr/src/uts/common/io/bnx/include/listq.h
1156
if((_q_list)->head == (_q_list)->last_entry_addr) \
usr/src/uts/common/io/bnx/include/listq.h
1158
(_q_list)->head = (_q_list)->first_entry_addr; \
usr/src/uts/common/io/bnx/include/listq.h
1162
(_q_list)->head++; \
usr/src/uts/common/io/bnx/include/listq.h
1203
((_q_list)->cnt ? *(_q_list)->head : (q_list_entry_t *) 0)
usr/src/uts/common/io/bnx/include/listq.h
127
s_entry->next = s_list->head;
usr/src/uts/common/io/bnx/include/listq.h
133
s_list->head = s_entry;
usr/src/uts/common/io/bnx/include/listq.h
146
s_entry = s_list->head;
usr/src/uts/common/io/bnx/include/listq.h
147
if(s_list->head)
usr/src/uts/common/io/bnx/include/listq.h
149
s_list->head = s_list->head->next;
usr/src/uts/common/io/bnx/include/listq.h
150
if(s_list->head == (s_list_entry_t *) 0)
usr/src/uts/common/io/bnx/include/listq.h
176
s_list->head = s_entry;
usr/src/uts/common/io/bnx/include/listq.h
189
return s_list->head;
usr/src/uts/common/io/bnx/include/listq.h
241
s_list_head->tail->next = s_list->head;
usr/src/uts/common/io/bnx/include/listq.h
242
s_list->head = s_list_head->head;
usr/src/uts/common/io/bnx/include/listq.h
260
s_list->tail->next = s_list_tail->head;
usr/src/uts/common/io/bnx/include/listq.h
275
s_list_head->head = s_list->head;
usr/src/uts/common/io/bnx/include/listq.h
279
s_list->head = NULL;
usr/src/uts/common/io/bnx/include/listq.h
283
s_list_head->head = s_list->head;
usr/src/uts/common/io/bnx/include/listq.h
287
s_list->head = split_entry->next;
usr/src/uts/common/io/bnx/include/listq.h
298
(_s_list)->head = (_head_entry); \
usr/src/uts/common/io/bnx/include/listq.h
304
(_s_list)->head = (s_list_entry_t *) 0; \
usr/src/uts/common/io/bnx/include/listq.h
310
(_s_entry)->next = (_s_list)->head; \
usr/src/uts/common/io/bnx/include/listq.h
315
(_s_list)->head = (_s_entry); \
usr/src/uts/common/io/bnx/include/listq.h
320
(_s_list)->head; \
usr/src/uts/common/io/bnx/include/listq.h
321
if((_s_list)->head) \
usr/src/uts/common/io/bnx/include/listq.h
323
(_s_list)->head = (_s_list)->head->next; \
usr/src/uts/common/io/bnx/include/listq.h
324
if((_s_list)->head == (s_list_entry_t *) 0) \
usr/src/uts/common/io/bnx/include/listq.h
340
(_s_list)->head = (_s_entry); \
usr/src/uts/common/io/bnx/include/listq.h
346
#define s_list_peek_head(_s_list) ((_s_list)->head)
usr/src/uts/common/io/bnx/include/listq.h
368
(_s_list_head)->tail->next = (_s_list)->head; \
usr/src/uts/common/io/bnx/include/listq.h
369
(_s_list)->head = (_s_list_head)->head; \
usr/src/uts/common/io/bnx/include/listq.h
380
(_s_list)->tail->next = (_s_list_tail)->head; \
usr/src/uts/common/io/bnx/include/listq.h
387
(_s_list_head)->head = (_s_list)->head; \
usr/src/uts/common/io/bnx/include/listq.h
390
(_s_list)->head = NULL; \
usr/src/uts/common/io/bnx/include/listq.h
394
(_s_list_head)->head = (_s_list)->head; \
usr/src/uts/common/io/bnx/include/listq.h
397
(_s_list)->head = (_split_entry)->next; \
usr/src/uts/common/io/bnx/include/listq.h
421
d_list_entry_t *head;
usr/src/uts/common/io/bnx/include/listq.h
439
d_list->head = head_entry;
usr/src/uts/common/io/bnx/include/listq.h
450
d_list->head = (d_list_entry_t *) 0;
usr/src/uts/common/io/bnx/include/listq.h
463
d_entry->next = d_list->head;
usr/src/uts/common/io/bnx/include/listq.h
471
d_list->head->prev = d_entry;
usr/src/uts/common/io/bnx/include/listq.h
474
d_list->head = d_entry;
usr/src/uts/common/io/bnx/include/listq.h
487
d_entry = d_list->head;
usr/src/uts/common/io/bnx/include/listq.h
488
if(d_list->head)
usr/src/uts/common/io/bnx/include/listq.h
490
d_list->head = d_list->head->next;
usr/src/uts/common/io/bnx/include/listq.h
491
if(d_list->head)
usr/src/uts/common/io/bnx/include/listq.h
493
d_list->head->prev = (d_list_entry_t *) 0;
usr/src/uts/common/io/bnx/include/listq.h
522
d_list->head = d_entry;
usr/src/uts/common/io/bnx/include/listq.h
548
d_list->head = (d_list_entry_t *) 0;
usr/src/uts/common/io/bnx/include/listq.h
563
return d_list->head;
usr/src/uts/common/io/bnx/include/listq.h
591
if(d_list->head == d_entry)
usr/src/uts/common/io/bnx/include/listq.h
667
d_list_head->tail->next = d_list->head;
usr/src/uts/common/io/bnx/include/listq.h
669
if(d_list->head)
usr/src/uts/common/io/bnx/include/listq.h
671
d_list->head->prev = d_list_head->tail;
usr/src/uts/common/io/bnx/include/listq.h
677
d_list->head = d_list_head->head;
usr/src/uts/common/io/bnx/include/listq.h
689
d_list_tail->head->prev = d_list->tail;
usr/src/uts/common/io/bnx/include/listq.h
693
d_list->tail->next = d_list_tail->head;
usr/src/uts/common/io/bnx/include/listq.h
697
d_list->head = d_list_tail->head;
usr/src/uts/common/io/bnx/include/listq.h
709
(_d_list)->head = (_head_entry); \
usr/src/uts/common/io/bnx/include/listq.h
715
(_d_list)->head = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnx/include/listq.h
722
(_d_entry)->next = (_d_list)->head; \
usr/src/uts/common/io/bnx/include/listq.h
729
(_d_list)->head->prev = (_d_entry); \
usr/src/uts/common/io/bnx/include/listq.h
731
(_d_list)->head = (_d_entry); \
usr/src/uts/common/io/bnx/include/listq.h
736
(_d_list)->head; \
usr/src/uts/common/io/bnx/include/listq.h
737
if((_d_list)->head) \
usr/src/uts/common/io/bnx/include/listq.h
739
(_d_list)->head = (_d_list)->head->next; \
usr/src/uts/common/io/bnx/include/listq.h
740
if((_d_list)->head) \
usr/src/uts/common/io/bnx/include/listq.h
742
(_d_list)->head->prev = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnx/include/listq.h
761
(_d_list)->head = (_d_entry); \
usr/src/uts/common/io/bnx/include/listq.h
778
(_d_list)->head = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnx/include/listq.h
784
#define d_list_peek_head(_d_list) ((_d_list)->head)
usr/src/uts/common/io/bnx/include/listq.h
796
(_d_entry)->next = (_d_list)->head; \
usr/src/uts/common/io/bnx/include/listq.h
801
(_d_list)->head = (_d_entry); \
usr/src/uts/common/io/bnx/include/listq.h
814
(_d_list)->head = (_d_entry); \
usr/src/uts/common/io/bnx/include/listq.h
829
if((_d_list)->head == (_d_entry)) \
usr/src/uts/common/io/bnx/include/listq.h
831
if((_d_list)->head) \
usr/src/uts/common/io/bnx/include/listq.h
833
(_d_list)->head = (_d_list)->head->next; \
usr/src/uts/common/io/bnx/include/listq.h
834
if((_d_list)->head) \
usr/src/uts/common/io/bnx/include/listq.h
836
(_d_list)->head->prev = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnx/include/listq.h
856
(_d_list)->head = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnx/include/listq.h
86
s_list_entry_t *head;
usr/src/uts/common/io/bnx/include/listq.h
879
(_d_list_head)->tail->next = (_d_list)->head; \
usr/src/uts/common/io/bnx/include/listq.h
880
if((_d_list)->head) \
usr/src/uts/common/io/bnx/include/listq.h
882
(_d_list)->head->prev = (_d_list_head)->tail; \
usr/src/uts/common/io/bnx/include/listq.h
888
(_d_list)->head = (_d_list_head)->head; \
usr/src/uts/common/io/bnx/include/listq.h
893
(_d_list_tail)->head->prev = (_d_list)->tail; \
usr/src/uts/common/io/bnx/include/listq.h
896
(_d_list)->tail->next = (_d_list_tail)->head; \
usr/src/uts/common/io/bnx/include/listq.h
900
(_d_list)->head = (_d_list_tail)->head; \
usr/src/uts/common/io/bnx/include/listq.h
918
q_list_entry_t *head;
usr/src/uts/common/io/bnx/include/listq.h
943
q_list->head = q_list->first_entry_addr;
usr/src/uts/common/io/bnx/include/listq.h
954
q_list->head = q_list->first_entry_addr;
usr/src/uts/common/io/bnx/include/listq.h
968
if(q_list->head == q_list->first_entry_addr)
usr/src/uts/common/io/bnx/include/listq.h
970
q_list->head = q_list->last_entry_addr;
usr/src/uts/common/io/bnx/include/listq.h
974
q_list->head--;
usr/src/uts/common/io/bnx/include/listq.h
977
*(q_list->head) = q_entry;
usr/src/uts/common/io/bnx/include/listq.h
990
q_entry = q_list->cnt ? *q_list->head : (q_list_entry_t *) 0;
usr/src/uts/common/io/bnx/include/listq.h
993
if(q_list->head == q_list->last_entry_addr)
usr/src/uts/common/io/bnx/include/listq.h
995
q_list->head = q_list->first_entry_addr;
usr/src/uts/common/io/bnx/include/listq.h
999
q_list->head++;
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
101
#define ECORE_LIST_IS_EMPTY(head) \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
1010
ECORE_LIST_FOR_EACH_ENTRY(pos, &o->head, link,
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
102
d_list_is_empty(head)
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
1028
ECORE_LIST_FOR_EACH_ENTRY(pos, &o->head, link,
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
104
#define ECORE_LIST_FIRST_ENTRY(head, cast, link) \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
105
(cast *)d_list_peek_head(head)
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
110
#define ECORE_LIST_INIT(head) \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
112
d_list_clear(head); \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
115
#define ECORE_LIST_PUSH_TAIL(link, head) \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
117
d_list_push_tail(head, link); \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
120
#define ECORE_LIST_PUSH_HEAD(link, head) \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
122
d_list_push_head(head, link); \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
125
#define ECORE_LIST_REMOVE_ENTRY(link, head) \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
127
d_list_remove_entry(head, link); \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
130
#define ECORE_LIST_SPLICE_INIT(new_head, head) \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
132
d_list_add_head(head, new_head); \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
1529
if (ECORE_LIST_IS_EMPTY(&o->head)) {
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
1536
*ppos = ECORE_LIST_FIRST_ENTRY(&o->head,
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
1546
if (ECORE_LIST_IS_LAST(&pos->link, &o->head))
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
2124
&cam_obj->head);
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
2162
ECORE_LIST_REMOVE_ENTRY(®_elem->link, &o->head);
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
2193
&cam_obj->head);
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
2375
ECORE_LIST_FOR_EACH_ENTRY(pos, &o->head, link,
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
2424
ECORE_LIST_INIT(&o->head);
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
904
ECORE_LIST_FOR_EACH_ENTRY(pos, &o->head, link,
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
92
#define ECORE_LIST_FOR_EACH_ENTRY_SAFE(pos, n, head, member, cast) \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
93
for (pos = (cast *)d_list_peek_head(head), \
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
936
ECORE_LIST_FOR_EACH_ENTRY(pos, &o->head, link,
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
953
ECORE_LIST_FOR_EACH_ENTRY(pos, &o->head, link,
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
970
ECORE_LIST_FOR_EACH_ENTRY(pos, &o->head, link,
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
992
ECORE_LIST_FOR_EACH_ENTRY(pos, &o->head, link,
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.h
348
d_list_t head;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/lm_l4st.h
147
char *head;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/lm_l4st.h
291
u8_t head; /* head of the the cyclic buffer dw_thresh (next empty entry) */
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4fp.c
269
cqe = cqe_buffer->head;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4fp.c
272
cqe_buffer->head = cqe_buffer->first; /* cyclic*/
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4fp.c
274
cqe_buffer->head = cqe + cqe_buffer->qe_size;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4fp.c
293
if ((cqe == cqe_buffer->head) && (cqe_buffer->left > 0)) {
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4fp.c
310
return ((cqe_buffer->head == cqe_buffer->tail) && (cqe_buffer->left > 0));
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4fp.c
318
cqe = cqe_buffer->head;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4fp.c
321
cqe_buffer->head = cqe_buffer->first; /* cyclic*/
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4fp.c
323
cqe_buffer->head = cqe + cqe_buffer->qe_size;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4rx.c
95
isle = (lm_isle_t*)gen_info->isles_list.head;
usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/lm_l4sp.c
1556
qe_buffer->head = qe_buffer->first;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1061
q_entry = q_list->cnt ? *q_list->head : (q_list_entry_t *) 0;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
107
s_list->head = (s_list_entry_t *) 0;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1117
(_q_list)->head = (_q_list)->first_entry_addr; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1123
(_q_list)->head = (_q_list)->first_entry_addr; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1131
if((_q_list)->head == (_q_list)->first_entry_addr) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1133
(_q_list)->head = (_q_list)->last_entry_addr; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1137
(_q_list)->head--; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1139
*((_q_list)->head) = (_q_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1145
(_q_list)->cnt ? *(_q_list)->head : (q_list_entry_t *) 0; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1148
if((_q_list)->head == (_q_list)->last_entry_addr) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1150
(_q_list)->head = (_q_list)->first_entry_addr; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1154
(_q_list)->head++; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
119
s_entry->next = s_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
1195
((_q_list)->cnt ? *(_q_list)->head : (q_list_entry_t *) 0)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
125
s_list->head = s_entry;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
138
s_entry = s_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
139
if(s_list->head)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
141
s_list->head = s_list->head->next;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
142
if(s_list->head == (s_list_entry_t *) 0)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
168
s_list->head = s_entry;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
181
return s_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
233
s_list_head->tail->next = s_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
234
s_list->head = s_list_head->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
252
s_list->tail->next = s_list_tail->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
267
s_list_head->head = s_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
271
s_list->head = NULL;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
275
s_list_head->head = s_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
279
s_list->head = split_entry->next;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
290
(_s_list)->head = (_head_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
296
(_s_list)->head = (s_list_entry_t *) 0; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
302
(_s_entry)->next = (_s_list)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
307
(_s_list)->head = (_s_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
312
(_s_list)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
313
if((_s_list)->head) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
315
(_s_list)->head = (_s_list)->head->next; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
316
if((_s_list)->head == (s_list_entry_t *) 0) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
332
(_s_list)->head = (_s_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
338
#define s_list_peek_head(_s_list) ((_s_list)->head)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
360
(_s_list_head)->tail->next = (_s_list)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
361
(_s_list)->head = (_s_list_head)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
372
(_s_list)->tail->next = (_s_list_tail)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
379
(_s_list_head)->head = (_s_list)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
382
(_s_list)->head = NULL; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
386
(_s_list_head)->head = (_s_list)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
389
(_s_list)->head = (_split_entry)->next; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
413
d_list_entry_t *head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
431
d_list->head = head_entry;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
442
d_list->head = (d_list_entry_t *) 0;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
455
d_entry->next = d_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
463
d_list->head->prev = d_entry;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
466
d_list->head = d_entry;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
479
d_entry = d_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
480
if(d_list->head)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
482
d_list->head = d_list->head->next;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
483
if(d_list->head)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
485
d_list->head->prev = (d_list_entry_t *) 0;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
514
d_list->head = d_entry;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
540
d_list->head = (d_list_entry_t *) 0;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
555
return d_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
583
if(d_list->head == d_entry)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
659
d_list_head->tail->next = d_list->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
661
if(d_list->head)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
663
d_list->head->prev = d_list_head->tail;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
669
d_list->head = d_list_head->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
681
d_list_tail->head->prev = d_list->tail;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
685
d_list->tail->next = d_list_tail->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
689
d_list->head = d_list_tail->head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
701
(_d_list)->head = (_head_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
707
(_d_list)->head = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
714
(_d_entry)->next = (_d_list)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
721
(_d_list)->head->prev = (_d_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
723
(_d_list)->head = (_d_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
728
(_d_list)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
729
if((_d_list)->head) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
731
(_d_list)->head = (_d_list)->head->next; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
732
if((_d_list)->head) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
734
(_d_list)->head->prev = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
753
(_d_list)->head = (_d_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
770
(_d_list)->head = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
776
#define d_list_peek_head(_d_list) ((_d_list)->head)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
78
s_list_entry_t *head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
788
(_d_entry)->next = (_d_list)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
793
(_d_list)->head = (_d_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
806
(_d_list)->head = (_d_entry); \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
821
if((_d_list)->head == (_d_entry)) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
823
if((_d_list)->head) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
825
(_d_list)->head = (_d_list)->head->next; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
826
if((_d_list)->head) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
828
(_d_list)->head->prev = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
848
(_d_list)->head = (d_list_entry_t *) 0; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
871
(_d_list_head)->tail->next = (_d_list)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
872
if((_d_list)->head) \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
874
(_d_list)->head->prev = (_d_list_head)->tail; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
880
(_d_list)->head = (_d_list_head)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
885
(_d_list_tail)->head->prev = (_d_list)->tail; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
888
(_d_list)->tail->next = (_d_list_tail)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
892
(_d_list)->head = (_d_list_tail)->head; \
usr/src/uts/common/io/bnxe/577xx/include/listq.h
910
q_list_entry_t *head;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
935
q_list->head = q_list->first_entry_addr;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
946
q_list->head = q_list->first_entry_addr;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
96
s_list->head = head_entry;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
960
if(q_list->head == q_list->first_entry_addr)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
962
q_list->head = q_list->last_entry_addr;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
966
q_list->head--;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
969
*(q_list->head) = q_entry;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
982
q_entry = q_list->cnt ? *q_list->head : (q_list_entry_t *) 0;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
985
if(q_list->head == q_list->last_entry_addr)
usr/src/uts/common/io/bnxe/577xx/include/listq.h
987
q_list->head = q_list->first_entry_addr;
usr/src/uts/common/io/bnxe/577xx/include/listq.h
991
q_list->head++;
usr/src/uts/common/io/bnxe/bnxe_rx.c
289
mblk_t * head = NULL;
usr/src/uts/common/io/bnxe/bnxe_rx.c
492
if (head == NULL)
usr/src/uts/common/io/bnxe/bnxe_rx.c
494
head = pMblk;
usr/src/uts/common/io/bnxe/bnxe_rx.c
512
if (head)
usr/src/uts/common/io/bnxe/bnxe_rx.c
531
pUM->fcoe.bind.cliIndicateRx(pUM->fcoe.pDev, head);
usr/src/uts/common/io/bnxe/bnxe_rx.c
536
freemsgchain(head);
usr/src/uts/common/io/bnxe/bnxe_rx.c
537
head = NULL;
usr/src/uts/common/io/bnxe/bnxe_rx.c
545
head,
usr/src/uts/common/io/bnxe/bnxe_rx.c
550
head);
usr/src/uts/common/io/bnxe/bnxe_rx.c
569
return (polling == TRUE) ? head : NULL;
usr/src/uts/common/io/cmlb.c
1000
(head * cl->cl_g.dkg_nsect) + 1;
usr/src/uts/common/io/cmlb.c
4791
int head;
usr/src/uts/common/io/cmlb.c
4820
head = dkl->dkl_nhead - 1;
usr/src/uts/common/io/cmlb.c
4829
(head * dkl->dkl_nsect) + sec);
usr/src/uts/common/io/cmlb.c
956
daddr_t spc, blk, head, cyl;
usr/src/uts/common/io/cmlb.c
997
head = cl->cl_g.dkg_nhead - 1;
usr/src/uts/common/io/cpqary3/cpqary3_mem.c
151
cpqary3p->cmdmemlistp->head = head_pvtp; /* head Command Memory List */
usr/src/uts/common/io/cpqary3/cpqary3_mem.c
299
ptr = memlistp->head;
usr/src/uts/common/io/cpqary3/cpqary3_mem.c
310
"cpqary3_cmdpvt starts at %x \n", memlistp->head);
usr/src/uts/common/io/cpqary3/cpqary3_mem.c
347
memp = memlistp->head;
usr/src/uts/common/io/cpqary3/cpqary3_mem.c
358
memlistp->head = memp->next;
usr/src/uts/common/io/cpqary3/cpqary3_mem.c
362
if (memlistp->head) /* Atleast one more item is left in the Memory Q */
usr/src/uts/common/io/cpqary3/cpqary3_mem.c
405
if (memlistp->head == NULL) { /* obviously, tail is also NULL */
usr/src/uts/common/io/cpqary3/cpqary3_mem.c
406
memlistp->head = memp;
usr/src/uts/common/io/cpqary3/cpqary3_q_mem.h
94
cpqary3_cmdpvt_t *head;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1898
#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1899
for ((var) = TAILQ_FIRST((head)); \
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
1996
frame.head = m = allocb(len, BPRI_HI);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2022
if (frame.head)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2023
freemsgchain(frame.head);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2029
if (frame.head != NULL)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2032
frame.head = m;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2051
ASSERT(frame.head != NULL);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
2052
return (frame.head);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3174
if (chain.head != NULL)
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3177
chain.head = m;
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
3180
t4_mac_rx(rxq->port, rxq, chain.head);
usr/src/uts/common/io/cxgbe/t4nex/t4_sge.c
73
mblk_t *head, *tail;
usr/src/uts/common/io/devinfo.c
1687
snap_driver_list(st, &devnamesp[i], &dnp[i].head);
usr/src/uts/common/io/dmfe/dmfe_main.c
612
mblk_t *head;
usr/src/uts/common/io/dmfe/dmfe_main.c
643
for (head = NULL, tail = &head; (desc0 & RX_OWN) == 0; ) {
usr/src/uts/common/io/dmfe/dmfe_main.c
779
return (head);
usr/src/uts/common/io/e1000g/e1000g_sw.h
596
mblk_t *head;
usr/src/uts/common/io/ena/ena_rx.c
344
mblk_t *head = NULL;
usr/src/uts/common/io/ena/ena_rx.c
414
if (head == NULL) {
usr/src/uts/common/io/ena/ena_rx.c
415
head = mp;
usr/src/uts/common/io/ena/ena_rx.c
522
DTRACE_PROBE5(rx__frames, ena_rxq_t *, rxq, mblk_t *, head,
usr/src/uts/common/io/ena/ena_rx.c
527
return (head);
usr/src/uts/common/io/fd.c
1134
int cyl, head, sect;
usr/src/uts/common/io/fd.c
1206
head = bincyl / chp->fdc_secptrack;
usr/src/uts/common/io/fd.c
1232
blk, (void *)addr, len, cyl, head, sect,
usr/src/uts/common/io/fd.c
1239
bp->b_flags & B_READ, cyl, head, sect, addr, tlen);
usr/src/uts/common/io/fd.c
1737
int cyl, head, spc, spt;
usr/src/uts/common/io/fd.c
1801
head = (fc.fdc_blkno % spc) / spt;
usr/src/uts/common/io/fd.c
1802
if ((cyl | head) == 0)
usr/src/uts/common/io/fd.c
1807
(CE_CONT, "fd_format cyl %d, hd %d\n", cyl, head));
usr/src/uts/common/io/fd.c
1809
rval = fjp->fj_ops->fco_format(fjp, unit, cyl, head,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3944
LoadList->head = Uptr[0];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3947
CurEntryAddr = LoadList->head;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3360
Head = pLdBuf->log.head;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3457
pPlBuf->panic_log.head);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3475
Head = pPlBuf->panic_log.head;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_utils.c
105
list_hdr->head.next = list_hdr->head.prev = NULL;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_utils.c
113
OCE_LIST_NODE_T *head = &list_hdr->head;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_utils.c
119
oce_list_insert_node(list_node, head->prev, head);
usr/src/uts/common/io/fibre-channel/fca/oce/oce_utils.c
127
OCE_LIST_NODE_T *head = &list_hdr->head;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_utils.c
133
oce_list_insert_node(list_node, head, head->next);
usr/src/uts/common/io/fibre-channel/fca/oce/oce_utils.c
154
list_node = list_hdr->head.prev;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_utils.c
177
list_node = list_hdr->head.next;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_utils.c
96
list_hdr->head.next = list_hdr->head.prev = &list_hdr->head;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
10432
if (sp->cmd.head) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
10437
ql_remove_link(sp->cmd.head, &sp->cmd);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17048
ql_add_link_b(ql_head_t *head, ql_link_t *link)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17050
if (link->head != NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17051
EL(NULL, "link in use by list=%ph\n", link->head);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17057
if ((link->prev = head->last) == NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17058
head->first = link;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17060
head->last->next = link;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17063
head->last = link;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17064
link->head = head; /* the queue we're on */
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17080
ql_add_link_t(ql_head_t *head, ql_link_t *link)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17082
if (link->head != NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17083
EL(NULL, "link in use by list=%ph\n", link->head);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17087
if ((link->next = head->first) == NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17088
head->last = link;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17090
head->first->prev = link;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17093
head->first = link;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17094
link->head = head; /* the queue we're on */
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17110
ql_remove_link(ql_head_t *head, ql_link_t *link)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17112
if (head != NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17115
head->last = link->prev;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17119
} else if ((head->first = link->next) == NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17120
head->last = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17122
head->first->prev = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
17127
link->head = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2878
sp->cmd.head = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
2884
sp->wdg.head = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
3631
sp->cmd.head = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
3637
sp->wdg.head = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
5160
sp->handle, sp->flags, (void *)sp->cmd.head);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
8216
link->head = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6788
ql_fcache_t *head = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6816
if (head == NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6817
head = tail = ftmp;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6849
ftmp = head;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6859
ha->fcache = head;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6888
ql_fcache_t *head = NULL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6905
if (head == NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6906
head = tail = ftmp;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6941
ql_fcache_rel(head);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6948
ha->fcache = head;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
7007
ql_fcache_rel(ql_fcache_t *head)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
7009
ql_fcache_t *ftmp = head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3290
fctl_nwwn_list_t *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3307
head = &fctl_nwwn_hash_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3310
new->fne_nextp = head->fnl_headp;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3311
head->fnl_headp = new;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3327
fctl_nwwn_list_t *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3337
head = &fctl_nwwn_hash_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3338
elem = head->fnl_headp;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3348
head->fnl_headp = elem->fne_nextp;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3622
struct d_id_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3631
head = &port->fp_did_table[D_ID_HASH_FUNC(pd->pd_port_id.port_id,
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3668
pd->pd_did_hnext = head->d_id_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3669
head->d_id_head = pd;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3672
head->d_id_count++;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3687
struct d_id_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3695
head = &port->fp_did_table[D_ID_HASH_FUNC(d_id, did_table_size)];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3697
pd_next = head->d_id_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3712
head->d_id_count--;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3714
head->d_id_head = pd->pd_did_hnext;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3735
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3745
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3781
pd->pd_wwn_hnext = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3782
head->pwwn_head = pd;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3784
head->pwwn_count++;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3805
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3815
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3818
pd_next = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3832
head->pwwn_count--;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3839
head->pwwn_head = pd->pd_wwn_hnext;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3859
struct d_id_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3866
head = &port->fp_did_table[D_ID_HASH_FUNC(d_id, did_table_size)];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3868
pd = head->d_id_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3912
struct d_id_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3919
head = &port->fp_did_table[D_ID_HASH_FUNC(d_id, did_table_size)];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3921
pd = head->d_id_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3953
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3961
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3963
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3988
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3994
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
3996
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4026
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4034
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4036
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4123
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4141
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4142
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4198
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4200
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4235
ASSERT(old_pd == head->pwwn_head);
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4237
head->pwwn_head = pd;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4241
head->pwwn_count--;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4818
struct d_id_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4824
head = &port->fp_did_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4826
while (head->d_id_head != NULL) {
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4827
pd = head->d_id_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
4877
head->d_id_head = pd->pd_did_hnext;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
5876
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
5887
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
5889
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
5907
ASSERT(old_pd == head->pwwn_head);
usr/src/uts/common/io/fibre-channel/impl/fctl.c
5908
head->pwwn_head = pd;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
5912
head->pwwn_count--;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
5989
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
5995
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
5996
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
6210
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
6218
head = &port->fp_pwwn_table[outer];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
6219
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
6238
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fctl.c
6244
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fctl.c
6245
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
10054
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
10064
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fp.c
10065
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
10134
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
10248
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fp.c
10249
npd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
10364
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fp.c
10365
npd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
14052
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
14083
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fp.c
14084
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
14162
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fp.c
14163
npd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
1805
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
1841
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fp.c
1842
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
3615
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
3670
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fp.c
3671
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
3692
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fp.c
3693
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
4295
struct pwwn_hash *head;
usr/src/uts/common/io/fibre-channel/impl/fp.c
4301
head = &port->fp_pwwn_table[index];
usr/src/uts/common/io/fibre-channel/impl/fp.c
4302
pd = head->pwwn_head;
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
13877
*cmd = NULL, *head = NULL,
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
13907
if (head == NULL) {
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
13908
head = tail = cmd;
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
13918
for (cmd = head; cmd != NULL; cmd = ncmd) {
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
3844
struct fcp_pkt *head = NULL;
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
3864
head = fcp_scan_commands(plun);
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
3865
if (head != NULL) {
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
3866
fcp_abort_commands(head, LUN_PORT);
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
489
static void fcp_abort_commands(struct fcp_pkt *head, struct
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8413
struct fcp_pkt *head = NULL;
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8419
head = fcp_scan_commands(plun);
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8420
if (head != NULL) {
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8421
fcp_abort_commands(head, LUN_PORT);
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8632
struct fcp_pkt *head = NULL; /* head of our list */
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8669
if (head == NULL) {
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8670
head = tail = cmd;
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8685
return (head);
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8693
fcp_abort_commands(struct fcp_pkt *head, struct fcp_port *pptr)
usr/src/uts/common/io/fibre-channel/ulp/fcp.c
8701
for (cmd = head; cmd != NULL; cmd = ncmd) {
usr/src/uts/common/io/hme/hme.c
3059
mblk_t *mp, *head, **tail;
usr/src/uts/common/io/hme/hme.c
3062
head = NULL;
usr/src/uts/common/io/hme/hme.c
3063
tail = &head;
usr/src/uts/common/io/hme/hme.c
3185
if (head != NULL)
usr/src/uts/common/io/hme/hme.c
3186
mac_rx(hmep->hme_mh, NULL, head);
usr/src/uts/common/io/hook.c
1972
hook_insert(hook_int_head_t *head, hook_int_t *new)
usr/src/uts/common/io/hook.c
1990
TAILQ_FOREACH(hi, head, hi_entry) {
usr/src/uts/common/io/hook.c
2005
TAILQ_INSERT_AFTER(head, before, new, hi_entry);
usr/src/uts/common/io/hook.c
2008
hook_insert_plain(head, new);
usr/src/uts/common/io/hook.c
2012
hi = TAILQ_FIRST(head);
usr/src/uts/common/io/hook.c
2015
TAILQ_INSERT_HEAD(head, new, hi_entry);
usr/src/uts/common/io/hook.c
2019
hi = TAILQ_LAST(head, hook_int_head);
usr/src/uts/common/io/hook.c
2022
TAILQ_INSERT_TAIL(head, new, hi_entry);
usr/src/uts/common/io/hook.c
2026
hi = hook_find_byname(head, (char *)new->hi_hook.h_hintvalue);
usr/src/uts/common/io/hook.c
2028
return (hook_insert_afterbefore(head, new));
usr/src/uts/common/io/hook.c
2037
hi = hook_find_byname(head, (char *)new->hi_hook.h_hintvalue);
usr/src/uts/common/io/hook.c
2039
return (hook_insert_afterbefore(head, new));
usr/src/uts/common/io/hook.c
2044
TAILQ_INSERT_AFTER(head, hi, new, hi_entry);
usr/src/uts/common/io/hook.c
2066
hook_insert_plain(hook_int_head_t *head, hook_int_t *new)
usr/src/uts/common/io/hook.c
2070
hi = TAILQ_FIRST(head);
usr/src/uts/common/io/hook.c
2075
TAILQ_INSERT_TAIL(head, new, hi_entry);
usr/src/uts/common/io/hook.c
2078
TAILQ_INSERT_TAIL(head, new, hi_entry);
usr/src/uts/common/io/hook.c
2099
hook_insert_afterbefore(hook_int_head_t *head, hook_int_t *new)
usr/src/uts/common/io/hook.c
2114
TAILQ_FOREACH(hi, head, hi_entry) {
usr/src/uts/common/io/hook.c
2125
TAILQ_INSERT_AFTER(head, hi, new, hi_entry);
usr/src/uts/common/io/hook.c
2139
TAILQ_INSERT_AFTER(head, hi, new, hi_entry);
usr/src/uts/common/io/hook.c
2152
hook_insert_plain(head, new);
usr/src/uts/common/io/hook.c
224
static int hook_insert(hook_int_head_t *head, hook_int_t *new);
usr/src/uts/common/io/hook.c
2245
hook_find_byname(hook_int_head_t *head, char *name)
usr/src/uts/common/io/hook.c
2249
TAILQ_FOREACH(hi, head, hi_entry) {
usr/src/uts/common/io/hook.c
225
static void hook_insert_plain(hook_int_head_t *head, hook_int_t *new);
usr/src/uts/common/io/hook.c
226
static int hook_insert_afterbefore(hook_int_head_t *head, hook_int_t *new);
usr/src/uts/common/io/hook.c
227
static hook_int_t *hook_find_byname(hook_int_head_t *head, char *name);
usr/src/uts/common/io/hook.c
233
static int hook_notify_register(hook_notify_head_t *head,
usr/src/uts/common/io/hook.c
235
static int hook_notify_unregister(hook_notify_head_t *head,
usr/src/uts/common/io/hook.c
237
static void hook_notify_run(hook_notify_head_t *head, char *family,
usr/src/uts/common/io/hook.c
2496
hook_notify_register(hook_notify_head_t *head, hook_notify_fn_t callback,
usr/src/uts/common/io/hook.c
2501
TAILQ_FOREACH(hn, head, hn_entry) {
usr/src/uts/common/io/hook.c
2510
TAILQ_INSERT_TAIL(head, hn, hn_entry);
usr/src/uts/common/io/hook.c
2528
hook_notify_unregister(hook_notify_head_t *head,
usr/src/uts/common/io/hook.c
2535
TAILQ_FOREACH(hn, head, hn_entry) {
usr/src/uts/common/io/hook.c
2545
TAILQ_REMOVE(head, hn, hn_entry);
usr/src/uts/common/io/hook.c
2573
hook_notify_run(hook_notify_head_t *head, char *family, char *event,
usr/src/uts/common/io/hook.c
2578
TAILQ_FOREACH(hn, head, hn_entry) {
usr/src/uts/common/io/hxge/hxge_rdc_hw.h
372
uint32_t head:16;
usr/src/uts/common/io/hxge/hxge_rdc_hw.h
376
uint32_t head:16;
usr/src/uts/common/io/hxge/hxge_tdc_hw.h
198
uint32_t head:16;
usr/src/uts/common/io/hxge/hxge_tdc_hw.h
200
uint32_t head:16;
usr/src/uts/common/io/hxge/hxge_tdc_hw.h
230
uint32_t head:16;
usr/src/uts/common/io/hxge/hxge_tdc_hw.h
232
uint32_t head:16;
usr/src/uts/common/io/hxge/hxge_txdma.c
1326
head_index = tx_head.bits.head;
usr/src/uts/common/io/hxge/hxge_txdma.c
669
head_index = tx_head.bits.head;
usr/src/uts/common/io/hxge/hxge_txdma.h
160
p_mblk_t head;
usr/src/uts/common/io/hxge/hxge_txdma.h
56
#define TXDMA_RING_EMPTY(head, head_wrap, tail, tail_wrap) \
usr/src/uts/common/io/hxge/hxge_txdma.h
57
((head == tail && head_wrap == tail_wrap) ? B_TRUE : B_FALSE)
usr/src/uts/common/io/hxge/hxge_txdma.h
59
#define TXDMA_RING_FULL(head, head_wrap, tail, tail_wrap) \
usr/src/uts/common/io/hxge/hxge_txdma.h
60
((head == tail && head_wrap != tail_wrap) ? B_TRUE : B_FALSE)
usr/src/uts/common/io/hxge/hxge_txdma.h
75
int head;
usr/src/uts/common/io/i40e/core/i40e_adminq.c
1093
ntu = rd32(hw, hw->aq.arq.head) & I40E_PF_ARQH_ARQH_MASK;
usr/src/uts/common/io/i40e/core/i40e_adminq.c
1095
ntu = rd32(hw, hw->aq.arq.head) & I40E_VF_ARQH1_ARQH_MASK;
usr/src/uts/common/io/i40e/core/i40e_adminq.c
305
wr32(hw, hw->aq.asq.head, 0);
usr/src/uts/common/io/i40e/core/i40e_adminq.c
338
wr32(hw, hw->aq.arq.head, 0);
usr/src/uts/common/io/i40e/core/i40e_adminq.c
502
wr32(hw, hw->aq.asq.head, 0);
usr/src/uts/common/io/i40e/core/i40e_adminq.c
52
hw->aq.asq.head = I40E_VF_ATQH1;
usr/src/uts/common/io/i40e/core/i40e_adminq.c
536
wr32(hw, hw->aq.arq.head, 0);
usr/src/uts/common/io/i40e/core/i40e_adminq.c
57
hw->aq.arq.head = I40E_VF_ARQH1;
usr/src/uts/common/io/i40e/core/i40e_adminq.c
63
hw->aq.asq.head = I40E_PF_ATQH;
usr/src/uts/common/io/i40e/core/i40e_adminq.c
68
hw->aq.arq.head = I40E_PF_ARQH;
usr/src/uts/common/io/i40e/core/i40e_adminq.c
788
while (rd32(hw, hw->aq.asq.head) != ntc) {
usr/src/uts/common/io/i40e/core/i40e_adminq.c
790
"ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head));
usr/src/uts/common/io/i40e/core/i40e_adminq.c
825
return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use;
usr/src/uts/common/io/i40e/core/i40e_adminq.c
865
val = rd32(hw, hw->aq.asq.head);
usr/src/uts/common/io/i40e/core/i40e_adminq.h
65
u32 head;
usr/src/uts/common/io/i40e/core/i40e_lan_hmc.c
709
{I40E_HMC_STORE(i40e_hmc_obj_txq, head), 13, 0 },
usr/src/uts/common/io/i40e/core/i40e_lan_hmc.c
735
{ I40E_HMC_STORE(i40e_hmc_obj_rxq, head), 13, 0 },
usr/src/uts/common/io/i40e/core/i40e_lan_hmc.h
51
u16 head;
usr/src/uts/common/io/i40e/core/i40e_lan_hmc.h
84
u16 head;
usr/src/uts/common/io/i40e/i40e_intr.c
466
boolean_t head = B_TRUE;
usr/src/uts/common/io/i40e/i40e_intr.c
475
if (head) {
usr/src/uts/common/io/i40e/i40e_intr.c
477
head = B_FALSE;
usr/src/uts/common/io/i40e/i40e_transceiver.c
2146
tcb_list_append(i40e_tx_control_block_t **head, i40e_tx_control_block_t **tail,
usr/src/uts/common/io/i40e/i40e_transceiver.c
2149
if (*head == NULL) {
usr/src/uts/common/io/i40e/i40e_transceiver.c
2150
*head = tcb;
usr/src/uts/common/io/i40e/i40e_transceiver.c
2151
*tail = *head;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
1215
uint_t num_outstanding_cmds, head, tail;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
1260
head = state->hs_cmd_list.cml_head_indx;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
1262
state->hs_cmd_list.cml_cmd[head].cmd_prev =
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
860
uint_t next, prev, head;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
897
head = cmd_list->cml_head_indx;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
898
*cmd_ptr = &cmd_list->cml_cmd[head];
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
1117
uint32_t head, tail, next_tail, qsize_msk;
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
114
head = wq->wq_head;
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
1170
head = wq->wq_head;
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
1181
if (next_tail == head) {
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
130
if (((tail + hdrmwqes) & qsize_msk) == head) {
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
433
uint32_t head, tail, next_tail, qsize_msk;
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
468
head = wq->wq_head;
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
487
if (((tail + hdrmwqes) & qsize_msk) == head) {
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
788
uint32_t head, tail, next_tail, qsize_msk;
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
85
uint32_t head, tail, next_tail, qsize_msk;
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
850
head = wq->wq_head;
usr/src/uts/common/io/ib/adapters/hermon/hermon_wr.c
918
if (((tail + hdrmwqes) & qsize_msk) == head) {
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
1041
uint_t num_outstanding_cmds, head, tail;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
1086
head = state->ts_cmd_list.cml_head_indx;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
1088
state->ts_cmd_list.cml_cmd[head].cmd_prev =
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
767
uint_t next, prev, head;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
804
head = cmd_list->cml_head_indx;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
805
*cmd_ptr = &cmd_list->cml_cmd[head];
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
103
uint32_t head, tail, next_tail, qsize_msk;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
142
head = qp->qp_sq_wqhdr->wq_head;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
200
if (next_tail == head) {
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2510
uint32_t head, tail, size;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2520
head = wq->wq_wrid_post->wl_head;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2548
if (head == tail) {
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2681
uint32_t head, tail, size;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2723
head = container->wl_head;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2726
while ((head != tail) || (container->wl_full)) {
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2728
curr = &container->wl_wre[head];
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2729
head = ((head + 1) & (size - 1));
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2751
if (head == tail) {
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
2769
container->wl_head = head;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
3223
uint32_t head;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
3243
head = wq->wq_wrid_poll->wl_head;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
3244
wre = &wq->wq_wrid_poll->wl_wre[head];
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
387
uint32_t head, tail, next_tail, qsize_msk;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
430
head = qp->qp_rq_wqhdr->wq_head;
usr/src/uts/common/io/ib/adapters/tavor/tavor_wr.c
487
if (next_tail == head) {
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3026
daplka_evd_event_t *head;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3140
while (head = daplka_evd_event_dequeue(
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3147
head->ee_cmev.ec_cm_ev_type;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3149
(uint64_t)head->ee_cmev.ec_cm_cookie;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3151
head->ee_cmev.ec_cm_psep_cookie;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3153
&evp[num_events], head);
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3154
kmem_free(head, sizeof (daplka_evd_event_t));
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3166
while ((head = daplka_evd_event_dequeue
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3172
if (head->ee_cmev.ec_cm_is_passive) {
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3180
head->ee_cmev.ec_cm_ev_type;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3182
(uint64_t)head->ee_cmev.ec_cm_cookie;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3184
head->ee_cmev.ec_cm_psep_cookie;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3186
if (head->ee_cmev.ec_cm_ev_priv_data_len > 0) {
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3187
pd = head->ee_cmev.ec_cm_ev_priv_data;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3188
n = head->
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3197
kmem_free(head, sizeof (daplka_evd_event_t));
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3209
while (head = daplka_evd_event_dequeue(
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3217
head->ee_aev.ibae_type;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3219
head->ee_aev.ibae_hca_guid;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3221
head->ee_aev.ibae_cookie;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3223
head->ee_aev.ibae_port;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3225
kmem_free(head, sizeof (daplka_evd_event_t));
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3658
daplka_evd_event_t *head;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3660
head = evlist->eel_head;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3661
if (head == NULL) {
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3665
evlist->eel_head = head->ee_next;
usr/src/uts/common/io/ib/clients/daplt/daplt.c
3672
return (head);
usr/src/uts/common/io/ib/clients/eoib/eib_data.c
117
mblk_t *head = NULL;
usr/src/uts/common/io/ib/clients/eoib/eib_data.c
152
head = tail = NULL;
usr/src/uts/common/io/ib/clients/eoib/eib_data.c
184
if (head)
usr/src/uts/common/io/ib/clients/eoib/eib_data.c
187
head = mp;
usr/src/uts/common/io/ib/clients/eoib/eib_data.c
206
if (head) {
usr/src/uts/common/io/ib/clients/eoib/eib_data.c
207
mac_rx(ss->ei_mac_hdl, NULL, head);
usr/src/uts/common/io/ib/clients/ibd/ibd.c
6518
ibd_release_swqe(ibd_state_t *state, ibd_swqe_t *head, ibd_swqe_t *tail, int n)
usr/src/uts/common/io/ib/clients/ibd/ibd.c
6527
state->id_tx_rel_list.dl_head = SWQE_TO_WQE(head);
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7508
ibd_swqe_t *head, *tail;
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7514
head = tail = NULL;
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7538
if (head)
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7541
head = WQE_TO_SWQE(wqe);
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7545
ibd_tx_cleanup_list(state, head, tail);
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7566
mblk_t *head, *tail, *mp;
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7569
head = tail = NULL;
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7596
if (head)
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7599
head = mp;
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7602
if (head)
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7603
mac_rx(state->id_mh, state->id_rh, head);
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7864
ibd_tx_cleanup_list(ibd_state_t *state, ibd_swqe_t *head, ibd_swqe_t *tail)
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7870
DPRINT(20, "ibd_tx_cleanup_list %p %p\n", head, tail);
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7872
for (swqe = head; swqe != NULL; swqe = WQE_TO_SWQE(swqe->swqe_next)) {
usr/src/uts/common/io/ib/clients/ibd/ibd.c
7912
ibd_release_swqe(state, head, tail, n);
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ofs_gen_util.c
106
genlist_entry_t *entry = list->head;
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ofs_gen_util.c
108
if (list->head) {
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ofs_gen_util.c
109
list->head = list->head->next;
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ofs_gen_util.c
112
if (!list->head)
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ofs_gen_util.c
113
list->tail = list->head;
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ofs_gen_util.c
137
if (list->head != NULL)
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ofs_gen_util.c
153
list->head = entry;
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ofs_gen_util.c
66
list->head = new_entry;
usr/src/uts/common/io/ib/clients/of/sol_ofs/sol_ofs_gen_util.c
86
list->head = entry->next;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1033
(uctxt->qp_list).head = tmp_genlist.head;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1067
(uctxt->cq_list).head = tmp_genlist.head;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1101
(uctxt->srq_list).head = tmp_genlist.head;
usr/src/uts/common/io/ib/clients/of/sol_uverbs/sol_uverbs.c
1145
(uctxt->pd_list).head = tmp_genlist.head;
usr/src/uts/common/io/ib/ibnex/ibnex.c
2084
ibdm_hca_list_t *hca_list, *head;
usr/src/uts/common/io/ib/ibnex/ibnex.c
2090
head = hca_list;
usr/src/uts/common/io/ib/ibnex/ibnex.c
2101
if (head)
usr/src/uts/common/io/ib/ibnex/ibnex.c
2102
ibdm_ibnex_free_hca_list(head);
usr/src/uts/common/io/ib/ibnex/ibnex.c
3444
ibnex_lookup_named_prop(ddi_prop_t *head, char *name)
usr/src/uts/common/io/ib/ibnex/ibnex.c
3449
for (propp = head; propp != NULL; propp = propp->prop_next) {
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1435
linkp = &ibcm_open.head.open_link;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1446
tmp = &ibcm_open.head;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1447
while (tmp->open_link != &ibcm_open.head)
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1499
statep->open_link = &ibcm_open.head;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1517
statep = ibcm_open.head.open_link;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1518
ibcm_open.head.open_link = statep->open_link;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1526
ibcm_open.tail = &ibcm_open.head;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1583
ibcm_open.tail = &ibcm_open.head;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1584
ibcm_open.head.open_link = NULL;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1589
ibcm_close.tail = &ibcm_close.head;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1590
ibcm_close.head.close_link = NULL;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1745
while (ibcm_close.head.close_link) {
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1746
statep = ibcm_close.head.close_link;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1747
ibcm_close.head.close_link = statep->close_link;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
1750
ibcm_close.tail = &ibcm_close.head;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
188
ibcm_state_data_t head;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_impl.c
224
ibcm_state_data_t head;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4688
ibcm_mcg_list_t *head = NULL;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4696
head = ibcm_mcglist;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4698
while (head != NULL) {
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4699
if ((head->ml_mgid.gid_guid == mcg_resp->MGID.gid_guid) &&
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4700
(head->ml_mgid.gid_prefix == mcg_resp->MGID.gid_prefix) &&
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4701
(head->ml_sgid.gid_guid == mcg_resp->PortGID.gid_guid)) {
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4703
head->ml_refcnt++;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4705
head->ml_jstate |= mcg_req->JoinState;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4708
"FOUND: refcnt %d JState %X", head->ml_refcnt,
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4709
head->ml_jstate);
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4714
head = head->ml_next;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4753
ibcm_mcg_list_t *head, *prev;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4763
head = ibcm_mcglist;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4766
while (head != NULL) {
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4767
if ((head->ml_mgid.gid_guid == mcg_req->MGID.gid_guid) &&
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4768
(head->ml_mgid.gid_prefix == mcg_req->MGID.gid_prefix) &&
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4769
(head->ml_sgid.gid_guid == mcg_req->PortGID.gid_guid)) {
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4770
if (!(head->ml_jstate & mcg_req->JoinState)) {
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4773
head->ml_jstate, mcg_req->JoinState);
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4776
head->ml_refcnt--;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4778
if (head->ml_refcnt == 0) {
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4779
*jstate = head->ml_jstate;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4783
if ((head == ibcm_mcglist) || (prev == NULL)) {
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4784
ibcm_mcglist = head->ml_next;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4786
prev->ml_next = head->ml_next;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4790
kmem_free(head, sizeof (ibcm_mcg_list_t));
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4796
prev = head;
usr/src/uts/common/io/ib/mgt/ibcm/ibcm_ti.c
4797
head = head->ml_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1070
ibdm_hca_list_t *head, *prev = NULL;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1087
head = ibdm.ibdm_hca_list_head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1088
while (head) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1089
if (head->hl_hca_guid == hca_guid) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1091
ibdm.ibdm_hca_list_head = head->hl_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1093
prev->hl_next = head->hl_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1094
if (ibdm.ibdm_hca_list_tail == head)
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1099
prev = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1100
head = head->hl_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1103
if (ibdm_uninit_hca(head) != IBDM_SUCCESS)
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1118
head = gidinfo->gl_hca_list;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1119
while (head) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1120
if (head->hl_hca_guid == hca_guid) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1123
head->hl_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1125
prev->hl_next = head->hl_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1126
for (i = 0; i < head->hl_nports; i++) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1127
port_attr = &head->hl_port_attr[i];
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1135
(head->hl_nports *
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1137
kmem_free(head, len);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1141
prev = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1142
head = head->hl_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1154
ibdm_uninit_hca(ibdm_hca_list_t *head)
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1159
for (ii = 0; ii < head->hl_nports; ii++) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1160
port_attr = &head->hl_port_attr[ii];
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1163
"ibdm_fini_port() failed", head, ii);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1167
if (head->hl_hca_hdl)
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1168
if (ibt_close_hca(head->hl_hca_hdl) != IBT_SUCCESS) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1173
kmem_free(head->hl_port_attr,
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1174
head->hl_nports * sizeof (ibdm_port_attr_t));
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1175
kmem_free(head->hl_hca_port_attr, sizeof (ibdm_port_attr_t));
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
1176
kmem_free(head, sizeof (ibdm_hca_list_t));
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
315
ibdm_gid_t *delete, *head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3341
ibdm_dp_gidinfo_t *head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3345
head = ibdm.ibdm_dp_gidlist_head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3346
while (head) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3347
mutex_enter(&head->gl_mutex);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3348
if (head->gl_iou == NULL) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3349
mutex_exit(&head->gl_mutex);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3350
head = head->gl_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3353
iou = &head->gl_iou->iou_info;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3355
ioc = IBDM_GIDINFO2IOCINFO(head, ii);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3358
if (gid_info == head) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3360
} else if (ibdm_check_dgid(head->gl_dgid_lo,
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3361
head->gl_dgid_hi) != NULL) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3364
ibdm_add_to_gl_gid(gid_info, head);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3366
mutex_exit(&head->gl_mutex);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3371
mutex_exit(&head->gl_mutex);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
3372
head = head->gl_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
385
head = ioc->ioc_gid_list;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
386
while (head) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
388
"Deleting gid_list struct %p", head);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
389
delete = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
390
head = head->gid_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
428
ibdm_gid_t *head, *delete;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
472
head = tmp->gl_gid;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
473
while (head) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
476
delete = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
477
head = head->gid_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4871
ibdm_hca_list_t *head = NULL, *temp, *temp1;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4880
temp1->hl_next = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4881
head = temp1;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4885
*hca = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4896
ibdm_hca_list_t *head = NULL, *hca = NULL;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4901
head = ibdm.ibdm_hca_list_head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4902
while (head) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4903
if (head->hl_hca_guid == hca_guid) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4904
hca = ibdm_dup_hca_attr(head);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
4908
head = head->hl_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6373
ibdm_gid_t *head = NULL, *new, *tail;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6380
new->gid_next = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6381
head = new;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6386
*src_ptr = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6392
tail->gid_next = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6397
ibdm_free_gid_list(ibdm_gid_t *head)
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6401
for (delete = head; delete; ) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6402
head = delete->gid_next;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6404
delete = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6667
ibdm_hca_list_t *head, *prev = NULL, *temp;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6674
head = gid_info->gl_hca_list;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6675
if (head == NULL) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6676
head = ibdm_dup_hca_attr(hca);
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6677
head->hl_next = NULL;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6678
gid_info->gl_hca_list = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6687
while (head) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6688
if (head->hl_hca_guid == hca->hl_hca_guid) {
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6695
prev = head;
usr/src/uts/common/io/ib/mgt/ibdm/ibdm.c
6696
head = head->hl_next;
usr/src/uts/common/io/igb/igb_sw.h
264
(_LH)->head = (_LH)->tail = NULL
usr/src/uts/common/io/igb/igb_sw.h
266
#define LIST_GET_HEAD(_LH) ((single_link_t *)((_LH)->head))
usr/src/uts/common/io/igb/igb_sw.h
269
(single_link_t *)(_LH)->head; \
usr/src/uts/common/io/igb/igb_sw.h
271
if ((_LH)->head != NULL) { \
usr/src/uts/common/io/igb/igb_sw.h
272
(_LH)->head = (_LH)->head->link; \
usr/src/uts/common/io/igb/igb_sw.h
273
if ((_LH)->head == NULL) \
usr/src/uts/common/io/igb/igb_sw.h
285
(_LH)->head = (_LH)->tail = (single_link_t *)(_E); \
usr/src/uts/common/io/igb/igb_sw.h
299
single_link_t *head;
usr/src/uts/common/io/igc/igc_ring.c
1144
uint32_t head, tail, ndesc = 0;
usr/src/uts/common/io/igc/igc_ring.c
1162
head = ring->itr_ring_head;
usr/src/uts/common/io/igc/igc_ring.c
1180
while (head != tail) {
usr/src/uts/common/io/igc/igc_ring.c
1182
igc_tx_buffer_t *check_buf = ring->itr_work_list[head];
usr/src/uts/common/io/igc/igc_ring.c
1200
for (uint32_t desc = head; desc != next_desc;
usr/src/uts/common/io/igc/igc_ring.c
1219
head = next_desc;
usr/src/uts/common/io/igc/igc_ring.c
1223
ring->itr_ring_head = head;
usr/src/uts/common/io/iwn/if_iwn.c
2657
char *head;
usr/src/uts/common/io/iwn/if_iwn.c
2683
head = (char *)(mpdu + 1);
usr/src/uts/common/io/iwn/if_iwn.c
2686
head = (char *)(stat + 1) + stat->cfg_phy_len;
usr/src/uts/common/io/iwn/if_iwn.c
2690
flags = le32toh(*(uint32_t *)(head + len));
usr/src/uts/common/io/iwn/if_iwn.c
2718
wh = (struct ieee80211_frame*)head;
usr/src/uts/common/io/ixgbe/core/ixgbe_type_e610.h
1891
u16 head;
usr/src/uts/common/io/ixgbe/ixgbe_sw.h
338
(_LH)->head = (_LH)->tail = NULL
usr/src/uts/common/io/ixgbe/ixgbe_sw.h
340
#define LIST_GET_HEAD(_LH) ((single_link_t *)((_LH)->head))
usr/src/uts/common/io/ixgbe/ixgbe_sw.h
343
(single_link_t *)(_LH)->head; \
usr/src/uts/common/io/ixgbe/ixgbe_sw.h
345
if ((_LH)->head != NULL) { \
usr/src/uts/common/io/ixgbe/ixgbe_sw.h
346
(_LH)->head = (_LH)->head->link; \
usr/src/uts/common/io/ixgbe/ixgbe_sw.h
347
if ((_LH)->head == NULL) \
usr/src/uts/common/io/ixgbe/ixgbe_sw.h
359
(_LH)->head = (_LH)->tail = (single_link_t *)(_E); \
usr/src/uts/common/io/ixgbe/ixgbe_sw.h
373
single_link_t *head;
usr/src/uts/common/io/mac/mac_datapath_setup.c
236
mac_soft_ring_t *softring, *next, *head;
usr/src/uts/common/io/mac/mac_datapath_setup.c
247
head = mac_srs->srs_soft_ring_head;
usr/src/uts/common/io/mac/mac_datapath_setup.c
254
for (softring = head; softring != NULL; softring = next) {
usr/src/uts/common/io/mac/mac_ktest.c
106
return (head);
usr/src/uts/common/io/mac/mac_ktest.c
70
mblk_t *head = NULL, *tail = NULL;
usr/src/uts/common/io/mac/mac_ktest.c
79
freemsg(head);
usr/src/uts/common/io/mac/mac_ktest.c
82
if (head == NULL) {
usr/src/uts/common/io/mac/mac_ktest.c
83
head = mp;
usr/src/uts/common/io/mac/mac_sched.c
1148
#define MAC_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz) { \
usr/src/uts/common/io/mac/mac_sched.c
1151
(mac_srs)->srs_last->b_next = (head); \
usr/src/uts/common/io/mac/mac_sched.c
1153
(mac_srs)->srs_first = (head); \
usr/src/uts/common/io/mac/mac_sched.c
1158
#define MAC_RX_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz) { \
usr/src/uts/common/io/mac/mac_sched.c
1161
MAC_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz); \
usr/src/uts/common/io/mac/mac_sched.c
1172
#define MAC_TX_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz) { \
usr/src/uts/common/io/mac/mac_sched.c
1174
MAC_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz); \
usr/src/uts/common/io/mac/mac_sched.c
1280
#define TX_SRS_TO_SOFT_RING(mac_srs, head, hint) { \
usr/src/uts/common/io/mac/mac_sched.c
1282
(void) mac_tx_fanout_mode(mac_srs, head, hint, 0, NULL);\
usr/src/uts/common/io/mac/mac_sched.c
1284
(void) mac_tx_aggr_mode(mac_srs, head, hint, 0, NULL); \
usr/src/uts/common/io/mac/mac_sched.c
1450
#define FANOUT_ENQUEUE_MP(head, tail, cnt, sz, sz0, mp) { \
usr/src/uts/common/io/mac/mac_sched.c
1455
ASSERT((head) == NULL); \
usr/src/uts/common/io/mac/mac_sched.c
1456
(head) = (mp); \
usr/src/uts/common/io/mac/mac_sched.c
1494
mac_rx_srs_proto_fanout(mac_soft_ring_set_t *mac_srs, mblk_t *head)
usr/src/uts/common/io/mac/mac_sched.c
1535
while (head != NULL) {
usr/src/uts/common/io/mac/mac_sched.c
1542
mblk_t *mp = head;
usr/src/uts/common/io/mac/mac_sched.c
1543
head = head->b_next;
usr/src/uts/common/io/mac/mac_sched.c
1919
mac_rx_srs_fanout(mac_soft_ring_set_t *mac_srs, mblk_t *head)
usr/src/uts/common/io/mac/mac_sched.c
1975
while (head != NULL) {
usr/src/uts/common/io/mac/mac_sched.c
1984
mblk_t *mp = head;
usr/src/uts/common/io/mac/mac_sched.c
1985
head = head->b_next;
usr/src/uts/common/io/mac/mac_sched.c
2289
mblk_t *head, *tail, *mp;
usr/src/uts/common/io/mac/mac_sched.c
2360
head = MAC_HWRING_POLL(mac_srs->srs_ring, (int)bytes_to_pickup);
usr/src/uts/common/io/mac/mac_sched.c
2366
mp = tail = head;
usr/src/uts/common/io/mac/mac_sched.c
2376
if (head != NULL) {
usr/src/uts/common/io/mac/mac_sched.c
2392
head, NULL, B_FALSE);
usr/src/uts/common/io/mac/mac_sched.c
2401
MAC_RX_SRS_ENQUEUE_CHAIN(mac_srs, head, tail,
usr/src/uts/common/io/mac/mac_sched.c
2487
ASSERT(head == NULL);
usr/src/uts/common/io/mac/mac_sched.c
2559
mblk_t *head = NULL;
usr/src/uts/common/io/mac/mac_sched.c
2572
head = mac_srs->srs_first;
usr/src/uts/common/io/mac/mac_sched.c
2580
return (head);
usr/src/uts/common/io/mac/mac_sched.c
2610
head = mp;
usr/src/uts/common/io/mac/mac_sched.c
2624
return (head);
usr/src/uts/common/io/mac/mac_sched.c
2646
mblk_t *head;
usr/src/uts/common/io/mac/mac_sched.c
2681
head = mac_srs->srs_first;
usr/src/uts/common/io/mac/mac_sched.c
2688
ASSERT(head != NULL);
usr/src/uts/common/io/mac/mac_sched.c
2704
mac_promisc_client_dispatch(mcip, head);
usr/src/uts/common/io/mac/mac_sched.c
2709
mac_protect_intercept_dynamic(mcip, head);
usr/src/uts/common/io/mac/mac_sched.c
2738
proc(arg1, NULL, head, NULL);
usr/src/uts/common/io/mac/mac_sched.c
2760
mac_rx_srs_fanout(mac_srs, head);
usr/src/uts/common/io/mac/mac_sched.c
2762
mac_rx_srs_proto_fanout(mac_srs, head);
usr/src/uts/common/io/mac/mac_sched.c
2876
mblk_t *head;
usr/src/uts/common/io/mac/mac_sched.c
2913
if ((head = mac_srs_pick_chain(mac_srs, &tail, &sz, &cnt)) == NULL) {
usr/src/uts/common/io/mac/mac_sched.c
2944
ASSERT(head != NULL);
usr/src/uts/common/io/mac/mac_sched.c
2955
mac_drop_chain(head, "Rx no bandwidth");
usr/src/uts/common/io/mac/mac_sched.c
2975
mac_promisc_client_dispatch(mcip, head);
usr/src/uts/common/io/mac/mac_sched.c
2980
mac_protect_intercept_dynamic(mcip, head);
usr/src/uts/common/io/mac/mac_sched.c
3011
proc(arg1, NULL, head, NULL);
usr/src/uts/common/io/mac/mac_sched.c
3034
mac_rx_srs_fanout(mac_srs, head);
usr/src/uts/common/io/mac/mac_sched.c
3036
mac_rx_srs_proto_fanout(mac_srs, head);
usr/src/uts/common/io/mac/mac_sched.c
3347
mblk_t *mp, *tail, *head;
usr/src/uts/common/io/mac/mac_sched.c
3409
head = NULL;
usr/src/uts/common/io/mac/mac_sched.c
3422
head = tail->b_next;
usr/src/uts/common/io/mac/mac_sched.c
3430
head = mp_chain;
usr/src/uts/common/io/mac/mac_sched.c
3432
if (head != NULL) {
usr/src/uts/common/io/mac/mac_sched.c
3438
freemsgchain(head);
usr/src/uts/common/io/mac/mac_sched.c
4098
mblk_t *head, *tail;
usr/src/uts/common/io/mac/mac_sched.c
4115
head = mac_srs->srs_first;
usr/src/uts/common/io/mac/mac_sched.c
4123
head = mac_tx_send(srs_tx->st_arg1, srs_tx->st_arg2,
usr/src/uts/common/io/mac/mac_sched.c
4124
head, &stats);
usr/src/uts/common/io/mac/mac_sched.c
4127
if (head != NULL) {
usr/src/uts/common/io/mac/mac_sched.c
4129
if (head->b_next == NULL)
usr/src/uts/common/io/mac/mac_sched.c
4130
VERIFY(head == tail);
usr/src/uts/common/io/mac/mac_sched.c
4132
mac_srs->srs_first = head;
usr/src/uts/common/io/mac/mac_sched.c
4137
MAC_TX_SRS_BLOCK(mac_srs, head);
usr/src/uts/common/io/mac/mac_sched.c
4150
head = tail = mac_srs->srs_first;
usr/src/uts/common/io/mac/mac_sched.c
4177
ASSERT((head == NULL && tail == NULL) ||
usr/src/uts/common/io/mac/mac_sched.c
4178
(head != NULL && tail != NULL));
usr/src/uts/common/io/mac/mac_sched.c
4183
head = mac_tx_send(srs_tx->st_arg1, srs_tx->st_arg2,
usr/src/uts/common/io/mac/mac_sched.c
4184
head, &stats);
usr/src/uts/common/io/mac/mac_sched.c
4187
if (head != NULL) {
usr/src/uts/common/io/mac/mac_sched.c
4191
if (head->b_next == NULL)
usr/src/uts/common/io/mac/mac_sched.c
4192
VERIFY(head == tail);
usr/src/uts/common/io/mac/mac_sched.c
4194
mac_srs->srs_first = head;
usr/src/uts/common/io/mac/mac_sched.c
4208
MAC_TX_SRS_BLOCK(mac_srs, head);
usr/src/uts/common/io/mac/mac_sched.c
4223
head = tail = mac_srs->srs_first;
usr/src/uts/common/io/mac/mac_sched.c
4238
TX_SRS_TO_SOFT_RING(mac_srs, head, hint);
usr/src/uts/common/io/mac/mac_sched.c
4239
head = tail;
usr/src/uts/common/io/mac/mac_sched.c
4259
ASSERT((head == NULL && tail == NULL) ||
usr/src/uts/common/io/mac/mac_sched.c
4260
(head != NULL && tail != NULL));
usr/src/uts/common/io/mac/mac_sched.c
4264
TX_SRS_TO_SOFT_RING(mac_srs, head, hint);
usr/src/uts/common/io/mac/mac_soft_ring.c
570
mblk_t *head, *tail;
usr/src/uts/common/io/mac/mac_soft_ring.c
579
head = tail = mp = ringp->s_ring_first;
usr/src/uts/common/io/mac/mac_soft_ring.c
580
if (head == NULL) {
usr/src/uts/common/io/mac/mac_soft_ring.c
586
head = ringp->s_ring_first;
usr/src/uts/common/io/mac/mac_soft_ring.c
621
return (head);
usr/src/uts/common/io/mac/mac_util.c
1193
*head = seg_chain;
usr/src/uts/common/io/mac/mac_util.c
1199
*head = NULL;
usr/src/uts/common/io/mac/mac_util.c
1239
mblk_t *head = NULL, *tail = NULL;
usr/src/uts/common/io/mac/mac_util.c
1326
if (head == NULL) {
usr/src/uts/common/io/mac/mac_util.c
1327
head = tmphead;
usr/src/uts/common/io/mac/mac_util.c
1338
*mp_chain = head;
usr/src/uts/common/io/mac/mac_util.c
702
mac_sw_lso(mblk_t *omp, mac_emul_t emul, mblk_t **head, mblk_t **tail,
usr/src/uts/common/io/mac/mac_util.c
729
ASSERT3P(head, !=, NULL);
usr/src/uts/common/io/mega_sas/list.h
101
__list_add(new, head, head->next);
usr/src/uts/common/io/mega_sas/list.h
113
static void mlist_add_tail(struct mlist_head *new, struct mlist_head *head)
usr/src/uts/common/io/mega_sas/list.h
115
__list_add(new, head->prev, head);
usr/src/uts/common/io/mega_sas/list.h
165
static int mlist_empty(struct mlist_head *head)
usr/src/uts/common/io/mega_sas/list.h
167
return (head->next == head);
usr/src/uts/common/io/mega_sas/list.h
176
static void mlist_splice(struct mlist_head *list, struct mlist_head *head)
usr/src/uts/common/io/mega_sas/list.h
182
struct mlist_head *at = head->next;
usr/src/uts/common/io/mega_sas/list.h
184
first->prev = head;
usr/src/uts/common/io/mega_sas/list.h
185
head->next = first;
usr/src/uts/common/io/mega_sas/list.h
208
#define mlist_for_each(pos, head) \
usr/src/uts/common/io/mega_sas/list.h
209
for (pos = (head)->next, prefetch(pos->next); pos != (head); \
usr/src/uts/common/io/mega_sas/list.h
219
#define mlist_for_each_safe(pos, n, head) \
usr/src/uts/common/io/mega_sas/list.h
220
for (pos = (head)->next, n = pos->next; pos != (head); \
usr/src/uts/common/io/mega_sas/list.h
99
static void mlist_add(struct mlist_head *new, struct mlist_head *head)
usr/src/uts/common/io/mega_sas/megaraid_sas.c
1774
mlist_t *head = &instance->cmd_pool_list;
usr/src/uts/common/io/mega_sas/megaraid_sas.c
1780
if (!mlist_empty(head)) {
usr/src/uts/common/io/mega_sas/megaraid_sas.c
1781
cmd = mlist_entry(head->next, struct megasas_cmd, list);
usr/src/uts/common/io/mega_sas/megaraid_sas.c
1782
mlist_del_init(head->next);
usr/src/uts/common/io/mr_sas/mr_sas.c
2447
mlist_t *head = &instance->cmd_pool_list;
usr/src/uts/common/io/mr_sas/mr_sas.c
2452
if (!mlist_empty(head)) {
usr/src/uts/common/io/mr_sas/mr_sas.c
2453
cmd = mlist_entry(head->next, struct mrsas_cmd, list);
usr/src/uts/common/io/mr_sas/mr_sas.c
2454
mlist_del_init(head->next);
usr/src/uts/common/io/mr_sas/mr_sas.c
2470
mlist_t *head = &instance->app_cmd_pool_list;
usr/src/uts/common/io/mr_sas/mr_sas.c
2475
if (!mlist_empty(head)) {
usr/src/uts/common/io/mr_sas/mr_sas.c
2476
cmd = mlist_entry(head->next, struct mrsas_cmd, list);
usr/src/uts/common/io/mr_sas/mr_sas.c
2477
mlist_del_init(head->next);
usr/src/uts/common/io/mr_sas/mr_sas.c
2566
mlist_t *head = &instance->cmd_pend_list;
usr/src/uts/common/io/mr_sas/mr_sas.c
2567
mlist_t *tmp = head;
usr/src/uts/common/io/mr_sas/mr_sas.c
2584
if (tmp == head) {
usr/src/uts/common/io/mr_sas/mr_sas.c
2775
mlist_t *head = &instance->cmd_pend_list;
usr/src/uts/common/io/mr_sas/mr_sas.c
2776
mlist_t *tmp = head->next;
usr/src/uts/common/io/mr_sas/mr_sas.c
2781
while (tmp != head) {
usr/src/uts/common/io/mr_sas/mr_sas_list.c
104
mlist_splice(struct mlist_head *list, struct mlist_head *head)
usr/src/uts/common/io/mr_sas/mr_sas_list.c
110
struct mlist_head *at = head->next;
usr/src/uts/common/io/mr_sas/mr_sas_list.c
112
first->prev = head;
usr/src/uts/common/io/mr_sas/mr_sas_list.c
113
head->next = first;
usr/src/uts/common/io/mr_sas/mr_sas_list.c
44
mlist_add(struct mlist_head *new, struct mlist_head *head)
usr/src/uts/common/io/mr_sas/mr_sas_list.c
46
__list_add(new, head, head->next);
usr/src/uts/common/io/mr_sas/mr_sas_list.c
58
mlist_add_tail(struct mlist_head *new, struct mlist_head *head)
usr/src/uts/common/io/mr_sas/mr_sas_list.c
60
__list_add(new, head->prev, head);
usr/src/uts/common/io/mr_sas/mr_sas_list.c
93
mlist_empty(struct mlist_head *head)
usr/src/uts/common/io/mr_sas/mr_sas_list.c
95
return (head->next == head);
usr/src/uts/common/io/mr_sas/mr_sas_list.h
101
#define mlist_for_each_safe(pos, n, head) \
usr/src/uts/common/io/mr_sas/mr_sas_list.h
102
for (pos = (head)->next, n = pos->next; pos != (head); \
usr/src/uts/common/io/mr_sas/mr_sas_list.h
90
#define mlist_for_each(pos, head) \
usr/src/uts/common/io/mr_sas/mr_sas_list.h
91
for (pos = (head)->next, prefetch(pos->next); pos != (head); \
usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c
2113
mlist_t *head = &instance->cmd_pool_list;
usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c
2120
if (!mlist_empty(head)) {
usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c
2121
cmd = mlist_entry(head->next, struct mrsas_cmd, list);
usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c
2122
mlist_del_init(head->next);
usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c
2140
mlist_t *head = &instance->cmd_app_pool_list;
usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c
2146
if (!mlist_empty(head)) {
usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c
2147
cmd = mlist_entry(head->next, struct mrsas_cmd, list);
usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c
2148
mlist_del_init(head->next);
usr/src/uts/common/io/mxfe/mxfe.c
2535
int head, cnt;
usr/src/uts/common/io/mxfe/mxfe.c
2540
head = mxfep->mxfe_rxhead;
usr/src/uts/common/io/mxfe/mxfe.c
2545
DBG(DRECV, "receive at index %d", head);
usr/src/uts/common/io/mxfe/mxfe.c
2547
rmd = &mxfep->mxfe_rxdescp[head];
usr/src/uts/common/io/mxfe/mxfe.c
2548
rxb = mxfep->mxfe_rxbufs[head];
usr/src/uts/common/io/mxfe/mxfe.c
2550
SYNCRXDESC(mxfep, head, DDI_DMA_SYNC_FORKERNEL);
usr/src/uts/common/io/mxfe/mxfe.c
2640
SYNCRXDESC(mxfep, head, DDI_DMA_SYNC_FORDEV);
usr/src/uts/common/io/mxfe/mxfe.c
2643
head = (head + 1) % MXFE_RXRING;
usr/src/uts/common/io/mxfe/mxfe.c
2646
mxfep->mxfe_rxhead = head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2512
handles.head = NULL;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2524
tx->info[idx].handle->next = handles.head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2525
handles.head = tx->info[idx].handle;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2571
if (handles.head != NULL)
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2578
mbl->head = NULL;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2579
mbl->tail = &mbl->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2652
if (mbl.head != NULL)
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2653
mac_rx_ring(ss->mgp->mh, ss->rx_rh, mbl.head, gen);
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2676
return (mbl.head);
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
354
jpool->head = NULL;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
362
if (jpool->head != NULL) {
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
401
if (jpool->head != NULL) {
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
402
j = jpool->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
414
putp = &jpool->cpu[i & MYRI10GE_MAX_CPU_MASK].head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
421
jpool->head = jfree;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
450
j = jpool->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
453
j = jpool->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
458
jpool->head = j->next;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
492
j->next = jpool->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
493
jpool->head = j;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
518
putp = (void *)&jpool->cpu[CPU->cpu_seqid & MYRI10GE_MAX_CPU_MASK].head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
613
j->next = jpool->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
614
jpool->head = j;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
651
j = jpool->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
699
while (jpool->head != NULL) {
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
701
j = jpool->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
702
jpool->head = j->next;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
726
j = jpool->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
727
jpool->head = j->next;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
760
j->next = jpool->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
761
jpool->head = j;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
826
tx->free_tx_handles = list->head;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
838
list.head = handle;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
892
handles.head = NULL;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
897
handles.head = tx->info[idx].handle;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
910
if (handles.head != NULL)
usr/src/uts/common/io/myri10ge/drv/myri10ge_var.h
114
mblk_t *head;
usr/src/uts/common/io/myri10ge/drv/myri10ge_var.h
157
struct myri10ge_jpool_entry *head;
usr/src/uts/common/io/myri10ge/drv/myri10ge_var.h
165
struct myri10ge_jpool_entry *head;
usr/src/uts/common/io/myri10ge/drv/myri10ge_var.h
211
struct myri10ge_tx_dma_handle *head;
usr/src/uts/common/io/myri10ge/drv/myri10ge_var.h
374
mblk_t *head;
usr/src/uts/common/io/nge/nge.h
447
nge_dmah_node_t *head;
usr/src/uts/common/io/nge/nge_main.c
480
srp->dmah_free.head = NULL;
usr/src/uts/common/io/nge/nge_main.c
555
srp->dmah_free.head = srp->dmahndl;
usr/src/uts/common/io/nge/nge_main.c
592
srp->dmah_free.head = srp->dmahndl;
usr/src/uts/common/io/nge/nge_rx.c
316
mblk_t *head;
usr/src/uts/common/io/nge/nge_rx.c
324
head = NULL;
usr/src/uts/common/io/nge/nge_rx.c
325
tail = &head;
usr/src/uts/common/io/nge/nge_rx.c
412
return (head);
usr/src/uts/common/io/nge/nge_tx.c
100
dst->head = src->head;
usr/src/uts/common/io/nge/nge_tx.c
103
if ((src->head = node->next) == NULL)
usr/src/uts/common/io/nge/nge_tx.c
116
dst->tail->next = src->head;
usr/src/uts/common/io/nge/nge_tx.c
118
dst->head = src->head;
usr/src/uts/common/io/nge/nge_tx.c
204
dmah.head = NULL;
usr/src/uts/common/io/nge/nge_tx.c
222
if (ssbdp->mp_hndl.head != NULL)
usr/src/uts/common/io/nge/nge_tx.c
259
for (dme = dmah.head; dme != NULL; dme = dme->next)
usr/src/uts/common/io/nge/nge_tx.c
261
if (dmah.head != NULL) {
usr/src/uts/common/io/nge/nge_tx.c
41
(sd)->mp_hndl.head = NULL; \
usr/src/uts/common/io/nge/nge_tx.c
473
dmah = dmah_list.head;
usr/src/uts/common/io/nge/nge_tx.c
578
for (dmer = dmah_list.head; dmah - dmer != 0; dmer = dmer->next)
usr/src/uts/common/io/nge/nge_tx.c
73
for (dmah = ssbdp->mp_hndl.head; dmah != NULL;
usr/src/uts/common/io/nge/nge_tx.c
95
for (node = src->head; node != NULL && --num != 0; node = node->next)
usr/src/uts/common/io/ntxn/unm_gem.c
533
nodep = cmd_buf->head;
usr/src/uts/common/io/ntxn/unm_nic.h
186
unm_dmah_node_t *head, *tail;
usr/src/uts/common/io/ntxn/unm_nic_hw.c
2129
pbuf->head = pbuf->tail = NULL;
usr/src/uts/common/io/ntxn/unm_nic_main.c
1056
hdlp = head;
usr/src/uts/common/io/ntxn/unm_nic_main.c
1067
head = tail = dmah;
usr/src/uts/common/io/ntxn/unm_nic_main.c
1075
if (head != NULL)
usr/src/uts/common/io/ntxn/unm_nic_main.c
1076
unm_return_dma_handle(adapter, head, tail, hdl_reserved);
usr/src/uts/common/io/ntxn/unm_nic_main.c
1387
unm_dmah_node_t *dmah, *head = NULL, *tail = NULL;
usr/src/uts/common/io/ntxn/unm_nic_main.c
1398
if (buffer->head != NULL) {
usr/src/uts/common/io/ntxn/unm_nic_main.c
1399
dmah = buffer->head;
usr/src/uts/common/io/ntxn/unm_nic_main.c
1406
if (head == NULL) {
usr/src/uts/common/io/ntxn/unm_nic_main.c
1407
head = buffer->head;
usr/src/uts/common/io/ntxn/unm_nic_main.c
1410
tail->next = buffer->head;
usr/src/uts/common/io/ntxn/unm_nic_main.c
1414
buffer->head = NULL;
usr/src/uts/common/io/ntxn/unm_nic_main.c
1441
if (head != NULL)
usr/src/uts/common/io/ntxn/unm_nic_main.c
1442
unm_return_dma_handle(adapter, head, tail, free_hdls);
usr/src/uts/common/io/ntxn/unm_nic_main.c
802
pbuf->head = NULL;
usr/src/uts/common/io/ntxn/unm_nic_main.c
857
unm_return_dma_handle(unm_adapter *adapter, unm_dmah_node_t *head,
usr/src/uts/common/io/ntxn/unm_nic_main.c
862
adapter->dmahdl_pool = head;
usr/src/uts/common/io/ntxn/unm_nic_main.c
895
unm_dmah_node_t *dmah, *head = NULL, *tail = NULL, *hdlp;
usr/src/uts/common/io/ntxn/unm_nic_main.c
927
head = tail = dmah;
usr/src/uts/common/io/ntxn/unm_nic_main.c
998
pbuf->head = head;
usr/src/uts/common/io/nvme/nvme.c
2109
nvme_reg_cqhdbl_t head = { 0 };
usr/src/uts/common/io/nvme/nvme.c
2155
head.b.cqhdbl_cqh = cq->ncq_head;
usr/src/uts/common/io/nvme/nvme.c
2156
nvme_put32(nvme, cq->ncq_hdbl, head.r);
usr/src/uts/common/io/nvme/nvme.c
2168
nvme_reg_cqhdbl_t head = { 0 };
usr/src/uts/common/io/nvme/nvme.c
2179
head.b.cqhdbl_cqh = cq->ncq_head;
usr/src/uts/common/io/nvme/nvme.c
2180
nvme_put32(nvme, cq->ncq_hdbl, head.r);
usr/src/uts/common/io/nxge/nxge_txdma.c
1804
head_index = tx_head.bits.ldw.head;
usr/src/uts/common/io/nxge/nxge_txdma.c
2120
printf("\n\thead index %d", hdl.bits.ldw.head);
usr/src/uts/common/io/nxge/nxge_txdma.c
961
head_index = tx_head.bits.ldw.head;
usr/src/uts/common/io/pcn/pcn.c
895
int head, cnt;
usr/src/uts/common/io/pcn/pcn.c
899
head = pcnp->pcn_rxhead;
usr/src/uts/common/io/pcn/pcn.c
902
rmd = &pcnp->pcn_rxdescp[head];
usr/src/uts/common/io/pcn/pcn.c
903
rxb = pcnp->pcn_rxbufs[head];
usr/src/uts/common/io/pcn/pcn.c
905
SYNCRXDESC(pcnp, head, DDI_DMA_SYNC_FORKERNEL);
usr/src/uts/common/io/pcn/pcn.c
951
SYNCRXDESC(pcnp, head, DDI_DMA_SYNC_FORDEV);
usr/src/uts/common/io/pcn/pcn.c
953
head = (head + 1) % PCN_RXRING;
usr/src/uts/common/io/pcn/pcn.c
956
pcnp->pcn_rxhead = head;
usr/src/uts/common/io/ppp/spppcomp/zlib.c
1287
TRY_FREE(strm, s->head);
usr/src/uts/common/io/ppp/spppcomp/zlib.c
1330
ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof (Pos));
usr/src/uts/common/io/ppp/spppcomp/zlib.c
1334
if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL ||
usr/src/uts/common/io/ppp/spppcomp/zlib.c
1343
zmemcpy(ds->head, ss->head, ds->hash_size * sizeof (Pos));
usr/src/uts/common/io/ppp/spppcomp/zlib.c
1769
p = &s->head[n];
usr/src/uts/common/io/ppp/spppcomp/zlib.c
406
Posf *head; /* Heads of the hash chains or NIL. */
usr/src/uts/common/io/ppp/spppcomp/zlib.c
815
match_head = s->head[s->ins_h], \
usr/src/uts/common/io/ppp/spppcomp/zlib.c
816
s->head[s->ins_h] = (Pos)(str))
usr/src/uts/common/io/ppp/spppcomp/zlib.c
820
s->prev[(str) & s->w_mask] = match_head = s->head[s->ins_h], \
usr/src/uts/common/io/ppp/spppcomp/zlib.c
821
s->head[s->ins_h] = (Pos)(str))
usr/src/uts/common/io/ppp/spppcomp/zlib.c
830
s->head[s->hash_size-1] = NIL; \
usr/src/uts/common/io/ppp/spppcomp/zlib.c
831
zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof (*s->head));
usr/src/uts/common/io/ppp/spppcomp/zlib.c
918
s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof (Pos));
usr/src/uts/common/io/ppp/spppcomp/zlib.c
926
if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_spq.c
822
osal_list_t *head,
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_spq.c
833
!OSAL_LIST_IS_EMPTY(head)) {
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_spq.c
835
OSAL_LIST_FIRST_ENTRY(head, struct ecore_spq_entry, list);
usr/src/uts/common/io/qede/579xx/drivers/ecore/ecore_spq.c
840
OSAL_LIST_REMOVE_ENTRY(&p_ent->list, head);
usr/src/uts/common/io/qede/579xx/hsi/mcp/bdn.h
926
struct bdn_head head;
usr/src/uts/common/io/qede/qede.h
446
u16 head, tail;
usr/src/uts/common/io/qede/qede_fp.c
1074
qede_dma_handle_entry_t *head = NULL, *tail = NULL, *hdl;
usr/src/uts/common/io/qede/qede_fp.c
1179
head = tail = dmah_entry;
usr/src/uts/common/io/qede/qede_fp.c
133
qede_dma_handle_entry_t *dmah, *head = NULL, *tail = NULL;
usr/src/uts/common/io/qede/qede_fp.c
1358
tx_ring->tx_recycle_list[tx_ring->sw_tx_prod].dmah_entry = head;
usr/src/uts/common/io/qede/qede_fp.c
1383
head = tail = dmah_entry;
usr/src/uts/common/io/qede/qede_fp.c
1393
hdl = head;
usr/src/uts/common/io/qede/qede_fp.c
1400
if (head != NULL) {
usr/src/uts/common/io/qede/qede_fp.c
1401
qede_put_dmah_entries(tx_ring, head);
usr/src/uts/common/io/qede/qede_fp.c
148
head = dmah;
usr/src/uts/common/io/qede/qede_fp.c
150
if (head->mp) {
usr/src/uts/common/io/qede/qede_fp.c
151
freemsg(head->mp);
usr/src/uts/common/io/qede/qede_fp.c
161
head);
usr/src/uts/common/io/qede/qede_fp.c
36
dmah = list->free_list[list->head];
usr/src/uts/common/io/qede/qede_fp.c
37
list->free_list[list->head] = NULL;
usr/src/uts/common/io/qede/qede_fp.c
372
mblk_t *head = NULL, *tail = NULL, *mp = NULL;
usr/src/uts/common/io/qede/qede_fp.c
38
list->head = (list->head + 1) & TX_RING_MASK;
usr/src/uts/common/io/qede/qede_fp.c
447
if (head == NULL) {
usr/src/uts/common/io/qede/qede_fp.c
448
head = tail = mp;
usr/src/uts/common/io/qede/qede_fp.c
459
qede_set_cksum_flags(head, lro_info->pars_flags);
usr/src/uts/common/io/qede/qede_fp.c
467
qede_dump_mblk_chain_bcont_ptr(rx_ring->qede, head);
usr/src/uts/common/io/qede/qede_fp.c
471
return (head);
usr/src/uts/common/io/qede/qede_fp.c
486
mblk_t *mp = NULL, *head = NULL, *tail = NULL;
usr/src/uts/common/io/qede/qede_fp.c
556
if (head == NULL) {
usr/src/uts/common/io/qede/qede_fp.c
557
head = tail = mp;
usr/src/uts/common/io/qede/qede_fp.c
566
qede_set_cksum_flags(head,
usr/src/uts/common/io/qede/qede_fp.c
570
qede_dump_mblk_chain_bcont_ptr(rx_ring->qede, head);
usr/src/uts/common/io/qede/qede_fp.c
574
return (head);
usr/src/uts/common/io/qede/qede_fp.c
74
pkt = list->free_list[list->head];
usr/src/uts/common/io/qede/qede_fp.c
75
list->free_list[list->head] = NULL;
usr/src/uts/common/io/qede/qede_fp.c
76
list->head = (list->head + 1) & TX_RING_MASK;
usr/src/uts/common/io/qede/qede_fp.h
153
u16 head;
usr/src/uts/common/io/qede/qede_fp.h
168
u16 head;
usr/src/uts/common/io/qede/qede_gld.c
1089
while (!QEDE_LIST_IS_EMPTY(&qede->mclist.head)) {
usr/src/uts/common/io/qede/qede_gld.c
1090
ptr_entry = QEDE_LIST_FIRST_ENTRY(&qede->mclist.head,
usr/src/uts/common/io/qede/qede_gld.c
1093
&qede->mclist.head);
usr/src/uts/common/io/qede/qede_gld.c
1105
&qede->mclist.head, qede_mcast_list_entry_t, mclist_entry)
usr/src/uts/common/io/qede/qede_gld.c
1127
QEDE_LIST_ADD(&ptr_entry->mclist_entry, &qede->mclist.head);
usr/src/uts/common/io/qede/qede_gld.c
1129
QEDE_LIST_REMOVE(&ptr_entry->mclist_entry, &qede->mclist.head);
usr/src/uts/common/io/qede/qede_gld.c
1135
QEDE_LIST_FOR_EACH_ENTRY(ptr_entry, &qede->mclist.head,
usr/src/uts/common/io/qede/qede_list.h
118
QEDE_LIST_ADD(qede_list_t *new, qede_list_t *head)
usr/src/uts/common/io/qede/qede_list.h
120
qede_list_add(new, head, head->next);
usr/src/uts/common/io/qede/qede_list.h
124
QEDE_LIST_ADD_TAIL(qede_list_t *new, qede_list_t *head)
usr/src/uts/common/io/qede/qede_list.h
126
qede_list_add(new, head->prev, head);
usr/src/uts/common/io/qede/qede_list.h
130
QEDE_LIST_REMOVE(qede_list_t *entry, qede_list_t *head)
usr/src/uts/common/io/qede/qede_list.h
152
qede_list_t *head)
usr/src/uts/common/io/qede/qede_list.h
155
list_splice(list, head, head->next);
usr/src/uts/common/io/qede/qede_list.h
161
qede_list_t *head)
usr/src/uts/common/io/qede/qede_list.h
164
list_splice(list, head->prev, head);
usr/src/uts/common/io/qede/qede_list.h
65
qede_list_t head;
usr/src/uts/common/io/qede/qede_list.h
75
qede_list_t head;
usr/src/uts/common/io/qede/qede_main.c
1990
u16 head = active_buf_list->head;
usr/src/uts/common/io/qede/qede_main.c
1992
rx_buffer = active_buf_list->buf_list[head];
usr/src/uts/common/io/qede/qede_main.c
1993
active_buf_list->buf_list[head] = NULL;
usr/src/uts/common/io/qede/qede_main.c
1994
head = (head + 1) & RX_RING_MASK;
usr/src/uts/common/io/qede/qede_main.c
2010
active_buf_list->head = head;
usr/src/uts/common/io/qede/qede_main.c
2021
u32 head;
usr/src/uts/common/io/qede/qede_main.c
2024
head = passive_buf_list->head;
usr/src/uts/common/io/qede/qede_main.c
2025
if (passive_buf_list->buf_list[head] == NULL) {
usr/src/uts/common/io/qede/qede_main.c
2030
rx_buffer = passive_buf_list->buf_list[head];
usr/src/uts/common/io/qede/qede_main.c
2031
passive_buf_list->buf_list[head] = NULL;
usr/src/uts/common/io/qede/qede_main.c
2033
passive_buf_list->head = (passive_buf_list->head + 1) & RX_RING_MASK;
usr/src/uts/common/io/qede/qede_main.c
2555
tx_ring->bcopy_list.head = 0;
usr/src/uts/common/io/qede/qede_main.c
2639
tx_ring->dmah_list.head = 0;
usr/src/uts/common/io/qede/qede_main.c
3385
QEDE_INIT_LIST_HEAD(&qede->phys_mem_list.head);
usr/src/uts/common/io/qede/qede_main.c
3386
QEDE_INIT_LIST_HEAD(&qede->mclist.head);
usr/src/uts/common/io/qede/qede_osal.c
264
QEDE_LIST_ADD(&new_entry->list_entry, &qede->phys_mem_list.head);
usr/src/uts/common/io/qede/qede_osal.c
288
QEDE_LIST_FOR_EACH_ENTRY(entry, &qede->phys_mem_list.head,
usr/src/uts/common/io/qede/qede_osal.c
292
&qede->phys_mem_list.head);
usr/src/uts/common/io/qede/qede_osal.c
59
&qede->phys_mem_list.head,
usr/src/uts/common/io/qede/qede_osal.c
700
if (!QEDE_LIST_EMPTY(&qede->phys_mem_list.head)) {
usr/src/uts/common/io/qede/qede_osal.c
707
&qede->phys_mem_list.head,
usr/src/uts/common/io/qede/qede_osal.c
713
&qede->phys_mem_list.head);
usr/src/uts/common/io/qede/qede_osal.c
86
QEDE_LIST_FOR_EACH_ENTRY(entry, &qede->phys_mem_list.head,
usr/src/uts/common/io/rge/rge_rxtx.c
302
mblk_t *head;
usr/src/uts/common/io/rge/rge_rxtx.c
316
head = NULL;
usr/src/uts/common/io/rge/rge_rxtx.c
317
tail = &head;
usr/src/uts/common/io/rge/rge_rxtx.c
336
return (head);
usr/src/uts/common/io/rsm/rsm.c
1762
importing_token_t *head;
usr/src/uts/common/io/rsm/rsm.c
1780
head = importer_list.bucket[index];
usr/src/uts/common/io/rsm/rsm.c
1782
new_token->next = head;
usr/src/uts/common/io/rsm/rsm.c
4891
msgbuf_elem_t *head;
usr/src/uts/common/io/rsm/rsm.c
4902
head = rsmka_gethead_msgbuf(path);
usr/src/uts/common/io/rsm/rsm.c
4906
msg = (rsmipc_request_t *)&(head->msg);
usr/src/uts/common/io/rsm/rsm.c
5750
list_element_t *head = NULL;
usr/src/uts/common/io/rsm/rsm.c
5773
tokp = head;
usr/src/uts/common/io/rsm/rsm.c
5790
tokp->next = head;
usr/src/uts/common/io/rsm/rsm.c
5791
head = tokp;
usr/src/uts/common/io/rsm/rsm.c
5799
if (head == NULL) { /* no importers so go ahead and quiesce segments */
usr/src/uts/common/io/rsm/rsm.c
5810
rsm_suspend_list.list_head = head;
usr/src/uts/common/io/rsm/rsm.c
5813
tokp = head;
usr/src/uts/common/io/rsm/rsm.c
5838
list_element_t *elem, *head;
usr/src/uts/common/io/rsm/rsm.c
5846
head = rsm_suspend_list.list_head;
usr/src/uts/common/io/rsm/rsm.c
5850
while (head != NULL) {
usr/src/uts/common/io/rsm/rsm.c
5851
elem = head;
usr/src/uts/common/io/rsm/rsm.c
5852
head = head->next;
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
2261
msgbuf_elem_t *head;
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
2268
head = &path->msgbuf_queue[path->msgbuf_head];
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
2270
return (head);
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
236
ASSERT(work_queue.head == NULL);
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
333
while (work_queue.head == NULL) {
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
347
work_token = work_queue.head;
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
348
work_queue.head = work_token->next;
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
571
if (work_queue.head == NULL) {
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
572
work_queue.head = work_queue.tail = token;
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
608
current_token = work_queue.head;
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
611
if (work_token == work_queue.head)
usr/src/uts/common/io/rsm/rsmka_pathmanager.c
612
work_queue.head = work_token->next;
usr/src/uts/common/io/rtls/rtls.c
1190
mblk_t *head = NULL;
usr/src/uts/common/io/rtls/rtls.c
1199
mpp = &head;
usr/src/uts/common/io/rtls/rtls.c
1373
if (head) {
usr/src/uts/common/io/rtls/rtls.c
1374
mac_rx(rtlsp->mh, NULL, head);
usr/src/uts/common/io/rtw/rtw.c
2699
uint32_t head = 0;
usr/src/uts/common/io/rtw/rtw.c
2703
head = RTW_READ(&rsc->sc_regs, RTW_TNPDA);
usr/src/uts/common/io/rtw/rtw.c
2704
if (head == rsc->hw_go) {
usr/src/uts/common/io/rtw/rtw.c
2719
while ((bf != NULL) && (rsc->hw_go != head)) {
usr/src/uts/common/io/rtw/rtw.c
2731
RTW_DPRINTF(RTW_DEBUG_XMIT, "Head = 0x%x\n", head);
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi.h
574
iscsi_cmd_t *head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_conn.c
983
icmdp = icp->conn_queue_active.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_conn.c
994
icmdp = icp->conn_queue_active.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
1797
((icmdp = isp->sess_queue_pending.head) != NULL)) {
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
2638
t_icmdp = icp->conn_queue_active.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
3275
q.head = NULL;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
3278
icmdp = isp->sess_queue_completion.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
3290
sess_queue_completion.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
3294
iscsi_enqueue_cmd_head(&q.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
3302
icmdp = q.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
3423
for (icmdp = isp->sess_queue_pending.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
3467
for (icmdp = icp->conn_queue_active.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_io.c
3608
t_icmdp = icp->conn_queue_active.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_lun.c
290
for (icmdp = isp->sess_queue_pending.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
115
rval = iscsi_dequeue_cmd(&isp->sess_queue_pending.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
171
iscsi_enqueue_cmd_tail(&icp->conn_queue_active.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
173
} else if ((icp->conn_queue_active.head != NULL) &&
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
175
icp->conn_queue_active.head->cmd_lbolt_active)) {
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
176
iscsi_enqueue_cmd_head(&icp->conn_queue_active.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
179
iscsi_enqueue_cmd_tail(&icp->conn_queue_active.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
204
rval = iscsi_dequeue_cmd(&icp->conn_queue_active.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
244
iscsi_enqueue_cmd_tail(&icp->conn_queue_idm_aborting.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
264
(void) iscsi_dequeue_cmd(&icp->conn_queue_idm_aborting.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
291
iscsi_enqueue_cmd_tail(&isp->sess_queue_completion.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
31
static void iscsi_enqueue_cmd_tail(iscsi_cmd_t **head, iscsi_cmd_t **tail,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
317
dst_queue->head = src_queue->head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
320
src_queue->head = NULL;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
335
iscsi_dequeue_cmd(iscsi_cmd_t **head, iscsi_cmd_t **tail, iscsi_cmd_t *icmdp)
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
341
ASSERT(head != NULL);
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
345
if (*head == NULL) {
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
348
} else if (*head == *tail) {
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
350
if (*head == icmdp) {
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
351
*head = NULL;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
358
if (*head == icmdp) {
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
360
*head = icmdp->cmd_next;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
361
(*head)->cmd_prev = NULL;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
368
for (tp = (*head)->cmd_next; (tp != NULL) &&
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
397
iscsi_enqueue_cmd_head(iscsi_cmd_t **head, iscsi_cmd_t **tail,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
403
ASSERT(icmdp != *head);
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
406
if (*head == NULL) {
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
408
*head = *tail = icmdp;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
413
icmdp->cmd_next = *head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
415
(*head)->cmd_prev = icmdp;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
416
*head = icmdp;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
424
iscsi_enqueue_cmd_tail(iscsi_cmd_t **head, iscsi_cmd_t **tail,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
430
ASSERT(icmdp != *head);
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
433
if (*head == NULL) {
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
435
*head = *tail = icmdp;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
59
queue->head = NULL;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
89
iscsi_enqueue_cmd_tail(&isp->sess_queue_pending.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_queue.c
94
iscsi_enqueue_cmd_head(&isp->sess_queue_pending.head,
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_sess.c
2356
icmdp = isp->sess_queue_pending.head;
usr/src/uts/common/io/scsi/adapters/iscsi/iscsi_sess.c
2368
icmdp = isp->sess_queue_pending.head;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_attach.c
1627
if (pwp->iqpt && pwp->iqpt->head) {
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_attach.c
1628
kmem_free(pwp->iqpt->head, PMCS_IQP_TRACE_BUFFER_SIZE);
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_attach.c
1629
pwp->iqpt->head = pwp->iqpt->curpos = NULL;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_attach.c
943
pwp->iqpt->head = kmem_zalloc(PMCS_IQP_TRACE_BUFFER_SIZE, KM_SLEEP);
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_attach.c
944
pwp->iqpt->curpos = pwp->iqpt->head;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_fwlog.c
1052
tbuf = pwp->iqpt->curpos = pwp->iqpt->head;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_fwlog.c
1073
pwp->iqpt->head + PMCS_IQP_TRACE_BUFFER_SIZE - 1;
usr/src/uts/common/io/scsi/adapters/pvscsi/pvscsi.c
178
pvscsi_cmd_t *head = NULL;
usr/src/uts/common/io/scsi/adapters/pvscsi/pvscsi.c
179
pvscsi_cmd_t **tail = &head;
usr/src/uts/common/io/scsi/adapters/pvscsi/pvscsi.c
190
return (head);
usr/src/uts/common/io/scsi/adapters/pvscsi/pvscsi.c
253
pvscsi_cmd_t *head = NULL;
usr/src/uts/common/io/scsi/adapters/pvscsi/pvscsi.c
259
pnext_cmd = &head;
usr/src/uts/common/io/scsi/adapters/pvscsi/pvscsi.c
289
return (head);
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1007
obj_hdr_list[MP_OBJECT_TYPE_INITIATOR_PORT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1024
obj_hdr_list[MP_OBJECT_TYPE_INITIATOR_PORT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1042
mpinit_path_list = mpinitp->path_list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1109
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_TARGET_PORT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1127
mptp_path_list = mptpp->path_list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1191
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_PATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1238
obj_hdr_list[MP_OBJECT_TYPE_INITIATOR_PORT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1255
obj_hdr_list[MP_OBJECT_TYPE_INITIATOR_PORT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1305
obj_hdr_list[MP_OBJECT_TYPE_INITIATOR_PORT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1322
obj_hdr_list[MP_OBJECT_TYPE_INITIATOR_PORT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1372
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_TARGET_PORT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1423
head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1475
->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1493
tpg_tp_list = mptpgtp->tport_list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1548
->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1550
->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1746
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1779
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
1806
ilist = vhci->mp_priv->obj_hdr_list[obj_type]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
2080
vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
2540
tmp_item = tmp_hdr->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
2552
if (hdr->head == NULL) {
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
2553
hdr->head = item;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
2581
ilist = vhci->mp_priv->obj_hdr_list[obj_type]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
2588
ilist = list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
2976
lh->head = lh->tail = NULL;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
3209
->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
3232
this_tpglist = this_tpghdr->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
3268
lulist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
3272
tpglist = tpghdr->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
3293
this_tpglist = this_tpghdr->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
3335
this_tpglist = this_tpghdr->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
3365
tplist = tpgdata->tport_list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
4013
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
4035
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_PATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
4412
tpg_list = lu_data->tpg_list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
4417
path_list = lu_data->path_list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
4508
->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
4515
ilist = list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
593
obj_hdr_list[MP_OBJECT_TYPE_DEVICE_PRODUCT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
638
obj_hdr_list[MP_OBJECT_TYPE_DEVICE_PRODUCT]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
680
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
729
->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
747
tpg_lu_list = mptpglu->lu_list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
801
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
819
mplu_tpg_list = mplutpg->tpg_list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
869
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
921
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
939
mplu_path_list = mplup->path_list->head;
usr/src/uts/common/io/scsi/adapters/scsi_vhci/scsi_vhci.c
8810
ilist = vhci->mp_priv->obj_hdr_list[MP_OBJECT_TYPE_MULTIPATH_LU]->head;
usr/src/uts/common/io/scsi/impl/scsi_watch.c
688
head:
usr/src/uts/common/io/scsi/impl/scsi_watch.c
729
goto head;
usr/src/uts/common/io/scsi/impl/scsi_watch.c
804
goto head;
usr/src/uts/common/io/scsi/targets/st.c
18141
st_remove_from_queue(buf_t **head, buf_t **tail, buf_t *bp)
usr/src/uts/common/io/scsi/targets/st.c
18146
for (runqbp = *head; runqbp != 0; runqbp = runqbp->av_forw) {
usr/src/uts/common/io/scsi/targets/st.c
18149
if (runqbp == *head) {
usr/src/uts/common/io/scsi/targets/st.c
18150
*head = bp->av_forw;
usr/src/uts/common/io/scsi/targets/st.c
18171
st_add_to_queue(buf_t **head, buf_t **tail, buf_t *end, buf_t *bp)
usr/src/uts/common/io/scsi/targets/st.c
18175
if (*head) {
usr/src/uts/common/io/scsi/targets/st.c
18177
if (end == *head) {
usr/src/uts/common/io/scsi/targets/st.c
18179
bp->av_forw = *head;
usr/src/uts/common/io/scsi/targets/st.c
18180
*head = bp;
usr/src/uts/common/io/scsi/targets/st.c
18190
*head = bp;
usr/src/uts/common/io/scsi/targets/st.c
643
static buf_t *st_remove_from_queue(buf_t **head, buf_t **tail, buf_t *bp);
usr/src/uts/common/io/scsi/targets/st.c
644
static void st_add_to_queue(buf_t **head, buf_t **tail, buf_t *end, buf_t *bp);
usr/src/uts/common/io/sfe/sfe_util.c
1003
head = dp->tx_active_head;
usr/src/uts/common/io/sfe/sfe_util.c
1006
ASSERT(dp->tx_free_head - head >= 0);
usr/src/uts/common/io/sfe/sfe_util.c
1007
tbp = GET_TXBUF(dp, head);
usr/src/uts/common/io/sfe/sfe_util.c
1008
for (sn = head; sn != tail; sn++) {
usr/src/uts/common/io/sfe/sfe_util.c
1018
while (sn != head + dp->gc.gc_tx_buf_size) {
usr/src/uts/common/io/sfe/sfe_util.c
1037
dp->tx_free_tail += tail - head;
usr/src/uts/common/io/sfe/sfe_util.c
1056
seqnum_t head;
usr/src/uts/common/io/sfe/sfe_util.c
1073
head = dp->tx_active_head;
usr/src/uts/common/io/sfe/sfe_util.c
1077
if (head != tail) {
usr/src/uts/common/io/sfe/sfe_util.c
1081
head, SLOT(head, dp->gc.gc_tx_buf_size),
usr/src/uts/common/io/sfe/sfe_util.c
1101
tbp = GET_TXBUF(dp, head);
usr/src/uts/common/io/sfe/sfe_util.c
1103
for (sn = head; sn != tail;
usr/src/uts/common/io/sfe/sfe_util.c
1155
tbp = GET_TXBUF(dp, head);
usr/src/uts/common/io/sfe/sfe_util.c
1158
if (head != tail) {
usr/src/uts/common/io/sfe/sfe_util.c
1161
head, SLOT(head, dp->gc.gc_tx_buf_size),
usr/src/uts/common/io/sfe/sfe_util.c
1165
for (sn = head; sn != tail; sn++, tbp = tbp->txb_next) {
usr/src/uts/common/io/sfe/sfe_util.c
1200
dp->tx_free_tail - dp->tx_free_head, tail - head);
usr/src/uts/common/io/sfe/sfe_util.c
1331
seqnum_t head;
usr/src/uts/common/io/sfe/sfe_util.c
1340
head = dp->tx_softq_head;
usr/src/uts/common/io/sfe/sfe_util.c
1345
dp->name, __func__, head, tail, tail - head,
usr/src/uts/common/io/sfe/sfe_util.c
1349
ASSERT(tail - head > 0);
usr/src/uts/common/io/sfe/sfe_util.c
1353
tbp_head = GET_TXBUF(dp, head);
usr/src/uts/common/io/sfe/sfe_util.c
1429
seqnum_t head;
usr/src/uts/common/io/sfe/sfe_util.c
1469
head = dp->tx_free_head;
usr/src/uts/common/io/sfe/sfe_util.c
1470
avail = dp->tx_free_tail - head;
usr/src/uts/common/io/sfe/sfe_util.c
1489
dp->tx_free_head = head + nmblk;
usr/src/uts/common/io/sfe/sfe_util.c
1494
tbp = GET_TXBUF(dp, head + avail - 1);
usr/src/uts/common/io/sfe/sfe_util.c
1496
dp->tx_desc_intr = head + avail;
usr/src/uts/common/io/sfe/sfe_util.c
1500
tbp = GET_TXBUF(dp, head);
usr/src/uts/common/io/sfe/sfe_util.c
1532
(void) gem_tx_load_descs_oo(dp, head, head + nmblk, load_flags);
usr/src/uts/common/io/sfe/sfe_util.c
1942
seqnum_t head;
usr/src/uts/common/io/sfe/sfe_util.c
1945
head = dp->rx_active_tail;
usr/src/uts/common/io/sfe/sfe_util.c
1950
SLOT(head, rx_ring_size), dp->rx_active_tail - head);
usr/src/uts/common/io/sfe/sfe_util.c
363
gem_rx_desc_dma_sync(struct gem_dev *dp, int head, int nslot, int how)
usr/src/uts/common/io/sfe/sfe_util.c
375
n = dp->gc.gc_rx_ring_size - head;
usr/src/uts/common/io/sfe/sfe_util.c
385
(off_t)(head << rx_desc_unit_shift),
usr/src/uts/common/io/sfe/sfe_util.c
391
gem_tx_desc_dma_sync(struct gem_dev *dp, int head, int nslot, int how)
usr/src/uts/common/io/sfe/sfe_util.c
403
n = dp->gc.gc_tx_ring_size - head;
usr/src/uts/common/io/sfe/sfe_util.c
413
(off_t)((head << tx_desc_unit_shift)
usr/src/uts/common/io/sfe/sfe_util.c
420
gem_rx_start_default(struct gem_dev *dp, int head, int nslot)
usr/src/uts/common/io/sfe/sfe_util.c
423
SLOT(head, dp->gc.gc_rx_ring_size), nslot,
usr/src/uts/common/io/sfe/sfe_util.c
981
seqnum_t head;
usr/src/uts/common/io/softmac/softmac_fp.c
1066
mblk_t *head = NULL, *tail = NULL, *mp;
usr/src/uts/common/io/softmac/softmac_fp.c
1135
if (head == NULL) {
usr/src/uts/common/io/softmac/softmac_fp.c
1136
head = tail = mp;
usr/src/uts/common/io/softmac/softmac_fp.c
1161
mp = head->b_next;
usr/src/uts/common/io/softmac/softmac_fp.c
1162
head->b_next = NULL;
usr/src/uts/common/io/softmac/softmac_fp.c
1163
softmac_wput_nondata(sup, head);
usr/src/uts/common/io/softmac/softmac_fp.c
1164
head = mp;
usr/src/uts/common/io/softmac/softmac_fp.c
1193
freemsgchain(head);
usr/src/uts/common/io/stream.c
1397
mblk_t *head, *nbp;
usr/src/uts/common/io/stream.c
1399
if (!bp || !(nbp = head = dupb(bp)))
usr/src/uts/common/io/stream.c
1404
freemsg(head);
usr/src/uts/common/io/stream.c
1410
return (head);
usr/src/uts/common/io/stream.c
1420
mblk_t *head, *nbp;
usr/src/uts/common/io/stream.c
1423
((nbp = head = DUPB_NOLOAN(bp)) == NULL))
usr/src/uts/common/io/stream.c
1428
freemsg(head);
usr/src/uts/common/io/stream.c
1434
return (head);
usr/src/uts/common/io/stream.c
1502
mblk_t *head, *nbp;
usr/src/uts/common/io/stream.c
1504
if (!bp || !(nbp = head = copyb(bp)))
usr/src/uts/common/io/stream.c
1509
freemsg(head);
usr/src/uts/common/io/stream.c
1515
return (head);
usr/src/uts/common/io/strsun.c
251
mblk_t *head = NULL, **tail = &head;
usr/src/uts/common/io/strsun.c
283
return (head);
usr/src/uts/common/io/strsun.c
295
freemsg(head);
usr/src/uts/common/io/strsun.c
304
return (head);
usr/src/uts/common/io/tty_pts.c
899
mblk_t *head = NULL, *tail = NULL;
usr/src/uts/common/io/tty_pts.c
911
if (!head) {
usr/src/uts/common/io/tty_pts.c
912
head = mp;
usr/src/uts/common/io/tty_pts.c
925
while (head) {
usr/src/uts/common/io/tty_pts.c
926
mp = head;
usr/src/uts/common/io/tty_pts.c
927
head = mp->b_next;
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2168
entity_attribute_t *head, *current;
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2175
head = kmem_zalloc(sizeof (entity_attribute_t), KM_SLEEP);
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2177
current = head;
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2185
return (head);
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2197
hidparser_cp_attribute_list(entity_attribute_t *head)
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2201
if (!head) {
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2206
current_src = head;
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2238
hidparser_find_attribute_end(entity_attribute_t *head)
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2240
if (head == NULL) {
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2244
while (head->entity_attribute_next != NULL) {
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2245
head = head->entity_attribute_next;
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2248
return (head);
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2303
hidparser_free_attribute_list(entity_attribute_t *head)
usr/src/uts/common/io/usb/clients/hidparser/hidparser.c
2307
current = head;
usr/src/uts/common/io/usb/hcd/openhci/ohci.c
6568
ohci_td_t *next, *head, *tail;
usr/src/uts/common/io/usb/hcd/openhci/ohci.c
6579
head = tw->tw_hctd_head;
usr/src/uts/common/io/usb/hcd/openhci/ohci.c
6582
if (head == NULL) {
usr/src/uts/common/io/usb/hcd/openhci/ohci.c
6588
if (old_td == head) {
usr/src/uts/common/io/usb/hcd/openhci/ohci.c
6594
Get_TD(head->hctd_tw_next_td));
usr/src/uts/common/io/usb/hcd/openhci/ohci.c
6601
next = ohci_td_iommu_to_cpu(ohcip, Get_TD(head->hctd_tw_next_td));
usr/src/uts/common/io/usb/hcd/openhci/ohci.c
6603
head = next;
usr/src/uts/common/io/usb/hcd/openhci/ohci.c
6610
Set_TD(head->hctd_tw_next_td, Get_TD(next->hctd_tw_next_td));
usr/src/uts/common/io/usb/hcd/openhci/ohci.c
6612
tw->tw_hctd_tail = head;
usr/src/uts/common/io/usb/hcd/uhci/uhci.c
1105
uhci_td_t *head = uhcip->uhci_outst_tds_head;
usr/src/uts/common/io/usb/hcd/uhci/uhci.c
1108
while (head != NULL) {
usr/src/uts/common/io/usb/hcd/uhci/uhci.c
1109
if ((!(GetTD_status(uhcip, head) & UHCI_TD_ACTIVE)) &&
usr/src/uts/common/io/usb/hcd/uhci/uhci.c
1110
(head->tw->tw_claim == UHCI_NOT_CLAIMED)) {
usr/src/uts/common/io/usb/hcd/uhci/uhci.c
1111
tw = head->tw;
usr/src/uts/common/io/usb/hcd/uhci/uhci.c
1116
(*tw->tw_handle_td)(uhcip, head);
usr/src/uts/common/io/usb/hcd/uhci/uhci.c
1119
head = uhcip->uhci_outst_tds_head;
usr/src/uts/common/io/usb/hcd/uhci/uhci.c
1121
head = head->outst_td_next;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
2511
uhci_trans_wrapper_t *head;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
2535
head = pp->pp_tw_head;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
2537
if (head == tw) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
2538
pp->pp_tw_head = head->tw_next;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
2543
while (head->tw_next != tw)
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
2544
head = head->tw_next;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
2545
head->tw_next = tw->tw_next;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
2547
pp->pp_tw_tail = head;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
3655
uhci_td_t *head;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
3668
head = uhcip->uhci_outst_tds_head;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
3670
while (head) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
3671
uhci_trans_wrapper_t *tw_tmp = head->tw;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
3672
head_next = head->outst_td_next;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
3684
uhci_delete_td(uhcip, head);
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
3711
head = head_next;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4643
uhci_td_t *head, *tmp_td;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4652
head = uhcip->uhci_outst_tds_head;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4654
while (head) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4658
if (head->tw->tw_timeout_cnt == 0) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4659
head = head->outst_td_next;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4663
if (!(head->tw->tw_flags & TW_TIMEOUT_FLAG)) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4664
head->tw->tw_flags |= TW_TIMEOUT_FLAG;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4665
--head->tw->tw_timeout_cnt;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4669
if ((head->tw->tw_timeout_cnt == 0) &&
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4670
(head->tw->tw_handle_td != uhci_handle_isoc_td)) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4673
"Command timed out: td = %p", (void *)head);
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4675
head->tw->tw_claim = UHCI_TIMEOUT_HDLR_CLAIMED;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4680
if (GetTD_status(uhcip, head) & UHCI_TD_ACTIVE) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4681
SetTD32(uhcip, head->link_ptr,
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4682
GetTD32(uhcip, head->link_ptr) |
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4684
pp = head->tw->tw_pipe_private;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4693
head = head->outst_td_next;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4700
head = uhcip->uhci_outst_tds_head;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4701
while (head) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4702
if (head->tw->tw_flags & TW_TIMEOUT_FLAG) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4703
head->tw->tw_flags &= ~TW_TIMEOUT_FLAG;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4705
if (head->tw->tw_claim == UHCI_TIMEOUT_HDLR_CLAIMED) {
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4706
head->tw->tw_claim = UHCI_NOT_CLAIMED;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4707
tmp_td = head->tw->tw_hctd_head;
usr/src/uts/common/io/usb/hcd/uhci/uhciutil.c
4714
head = head->outst_td_next;
usr/src/uts/common/io/usb/hcd/xhci/xhci_ring.c
264
uint_t head = xrp->xr_head;
usr/src/uts/common/io/usb/hcd/xhci/xhci_ring.c
271
head++;
usr/src/uts/common/io/usb/hcd/xhci/xhci_ring.c
272
if (head == xrp->xr_ntrb - 1) {
usr/src/uts/common/io/usb/hcd/xhci/xhci_ring.c
273
head = 0;
usr/src/uts/common/io/usb/hcd/xhci/xhci_ring.c
276
if (head == xrp->xr_tail)
usr/src/uts/common/io/usb/scsa2usb/scsa2usb.c
4255
usba_list_entry_t head;
usr/src/uts/common/io/usb/scsa2usb/scsa2usb.c
4259
usba_move_list(&scsa2usbp->scsa2usb_waitQ[lun], &head,
usr/src/uts/common/io/usb/scsa2usb/scsa2usb.c
4263
while ((cmd = (scsa2usb_cmd_t *)usba_rm_first_pvt_from_list(&head)) !=
usr/src/uts/common/io/usb/usba/usba.c
1022
usba_destroy_list(usba_list_entry_t *head)
usr/src/uts/common/io/usb/usba/usba.c
1024
mutex_enter(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1025
ASSERT(head->next == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1026
ASSERT(head->prev == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1027
mutex_exit(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1029
mutex_destroy(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1034
usba_add_to_list(usba_list_entry_t *head, usba_list_entry_t *element)
usr/src/uts/common/io/usb/usba/usba.c
1039
mutex_enter(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1042
remaining = head->count;
usr/src/uts/common/io/usb/usba/usba.c
1056
for (next = head->next; (next != NULL);
usr/src/uts/common/io/usb/usba/usba.c
1062
(void *)head);
usr/src/uts/common/io/usb/usba/usba.c
1076
(void *)head);
usr/src/uts/common/io/usb/usba/usba.c
1083
if (head->next == NULL) {
usr/src/uts/common/io/usb/usba/usba.c
1084
head->prev = head->next = element;
usr/src/uts/common/io/usb/usba/usba.c
1087
head->prev->next = element;
usr/src/uts/common/io/usb/usba/usba.c
1088
element->prev = head->prev;
usr/src/uts/common/io/usb/usba/usba.c
1089
head->prev = element;
usr/src/uts/common/io/usb/usba/usba.c
1092
head->count++;
usr/src/uts/common/io/usb/usba/usba.c
1096
(void *)head, (void *)element, head->count);
usr/src/uts/common/io/usb/usba/usba.c
1101
mutex_exit(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1107
usba_rm_from_list(usba_list_entry_t *head, usba_list_entry_t *element)
usr/src/uts/common/io/usb/usba/usba.c
1114
mutex_enter(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1118
(void *)head, (void *)element, head->count);
usr/src/uts/common/io/usb/usba/usba.c
1120
remaining = head->count;
usr/src/uts/common/io/usb/usba/usba.c
1121
e = head->next;
usr/src/uts/common/io/usb/usba/usba.c
1135
panic("Corrupted USB list at 0x%p", (void *)head);
usr/src/uts/common/io/usb/usba/usba.c
1141
mutex_exit(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1155
if (head->next == element) {
usr/src/uts/common/io/usb/usba/usba.c
1156
head->next = element->next;
usr/src/uts/common/io/usb/usba/usba.c
1158
if (head->prev == element) {
usr/src/uts/common/io/usb/usba/usba.c
1159
head->prev = element->prev;
usr/src/uts/common/io/usb/usba/usba.c
1163
if (head->next == NULL) {
usr/src/uts/common/io/usb/usba/usba.c
1164
ASSERT(head->prev == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1166
ASSERT(head->next->prev == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1168
if (head->prev == NULL) {
usr/src/uts/common/io/usb/usba/usba.c
1169
ASSERT(head->next == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1171
ASSERT(head->prev->next == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1174
head->count--;
usr/src/uts/common/io/usb/usba/usba.c
1178
(void *)head, (void *)element, head->count);
usr/src/uts/common/io/usb/usba/usba.c
1181
mutex_exit(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1188
usba_rm_first_from_list(usba_list_entry_t *head)
usr/src/uts/common/io/usb/usba/usba.c
1192
if (head) {
usr/src/uts/common/io/usb/usba/usba.c
1193
mutex_enter(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1194
element = head->next;
usr/src/uts/common/io/usb/usba/usba.c
1198
head->next = element->next;
usr/src/uts/common/io/usb/usba/usba.c
1199
if (head->next) {
usr/src/uts/common/io/usb/usba/usba.c
1200
head->next->prev = NULL;
usr/src/uts/common/io/usb/usba/usba.c
1202
if (head->prev == element) {
usr/src/uts/common/io/usb/usba/usba.c
1203
head->prev = element->next;
usr/src/uts/common/io/usb/usba/usba.c
1207
head->count--;
usr/src/uts/common/io/usb/usba/usba.c
1209
if (head->next == NULL) {
usr/src/uts/common/io/usb/usba/usba.c
1210
ASSERT(head->prev == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1212
ASSERT(head->next->prev == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1214
if (head->prev == NULL) {
usr/src/uts/common/io/usb/usba/usba.c
1215
ASSERT(head->next == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1217
ASSERT(head->prev->next == NULL);
usr/src/uts/common/io/usb/usba/usba.c
1221
(void *)head, (void *)element, head->count);
usr/src/uts/common/io/usb/usba/usba.c
1223
mutex_exit(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1231
usba_rm_first_pvt_from_list(usba_list_entry_t *head)
usr/src/uts/common/io/usb/usba/usba.c
1233
usba_list_entry_t *element = usba_rm_first_from_list(head);
usr/src/uts/common/io/usb/usba/usba.c
1250
usba_move_list(usba_list_entry_t *head, usba_list_entry_t *new,
usr/src/uts/common/io/usb/usba/usba.c
1254
mutex_enter(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1257
new->next = head->next;
usr/src/uts/common/io/usb/usba/usba.c
1258
new->prev = head->prev;
usr/src/uts/common/io/usb/usba/usba.c
1259
new->count = head->count;
usr/src/uts/common/io/usb/usba/usba.c
1260
new->private = head->private;
usr/src/uts/common/io/usb/usba/usba.c
1262
head->next = NULL;
usr/src/uts/common/io/usb/usba/usba.c
1263
head->prev = NULL;
usr/src/uts/common/io/usb/usba/usba.c
1264
head->count = 0;
usr/src/uts/common/io/usb/usba/usba.c
1265
head->private = NULL;
usr/src/uts/common/io/usb/usba/usba.c
1266
mutex_exit(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1272
usba_check_in_list(usba_list_entry_t *head, usba_list_entry_t *element)
usr/src/uts/common/io/usb/usba/usba.c
1278
mutex_enter(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1279
remaining = head->count;
usr/src/uts/common/io/usb/usba/usba.c
1282
for (next = head->next; next != NULL; next = next->next) {
usr/src/uts/common/io/usb/usba/usba.c
1292
panic("Corrupted USB list at 0x%p", (void *)head);
usr/src/uts/common/io/usb/usba/usba.c
1297
mutex_exit(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1304
usba_list_entry_leaks(usba_list_entry_t *head, char *what)
usr/src/uts/common/io/usb/usba/usba.c
1310
mutex_enter(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1311
remaining = head->count;
usr/src/uts/common/io/usb/usba/usba.c
1312
for (next = head->next; next != NULL; next = next->next) {
usr/src/uts/common/io/usb/usba/usba.c
1322
panic("Corrupted USB list at 0x%p", (void *)head);
usr/src/uts/common/io/usb/usba/usba.c
1326
ASSERT(count == head->count);
usr/src/uts/common/io/usb/usba/usba.c
1327
mutex_exit(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1339
usba_list_entry_count(usba_list_entry_t *head)
usr/src/uts/common/io/usb/usba/usba.c
1343
mutex_enter(&head->list_mutex);
usr/src/uts/common/io/usb/usba/usba.c
1344
count = head->count;
usr/src/uts/common/io/usb/usba/usba.c
1345
mutex_exit(&head->list_mutex);
usr/src/uts/common/io/wpi/wpi.c
1661
wpi_rx_head_t *head;
usr/src/uts/common/io/wpi/wpi.c
1675
head = (wpi_rx_head_t *)((caddr_t)(stat + 1) + stat->len);
usr/src/uts/common/io/wpi/wpi.c
1676
tail = (wpi_rx_tail_t *)((caddr_t)(head + 1) + LE_16(head->len));
usr/src/uts/common/io/wpi/wpi.c
1678
len = LE_16(head->len);
usr/src/uts/common/io/wpi/wpi.c
1682
len, (int8_t)stat->rssi, head->rate, head->chan,
usr/src/uts/common/io/wpi/wpi.c
1712
tap->wr_rate = head->rate;
usr/src/uts/common/io/wpi/wpi.c
1714
LE_16(ic->ic_channels[head->chan].ic_freq);
usr/src/uts/common/io/wpi/wpi.c
1716
LE_16(ic->ic_channels[head->chan].ic_flags);
usr/src/uts/common/io/wpi/wpi.c
1720
tap->wr_antenna = (LE_16(head->flags) >> 4) & 0xf;
usr/src/uts/common/io/wpi/wpi.c
1721
switch (head->rate) {
usr/src/uts/common/io/wpi/wpi.c
1739
if (LE_16(head->flags) & 0x4)
usr/src/uts/common/io/wpi/wpi.c
1746
wh = (struct ieee80211_frame *)(head + 1);
usr/src/uts/common/io/xge/drv/xgell.c
208
xge_assert(bf_pool->head);
usr/src/uts/common/io/xge/drv/xgell.c
210
rx_buffer = bf_pool->head;
usr/src/uts/common/io/xge/drv/xgell.c
212
bf_pool->head = rx_buffer->next;
usr/src/uts/common/io/xge/drv/xgell.c
242
rx_buffer->next = bf_pool->head;
usr/src/uts/common/io/xge/drv/xgell.c
243
bf_pool->head = rx_buffer;
usr/src/uts/common/io/xge/drv/xgell.c
287
bf_pool->recycle_tail->next = bf_pool->head;
usr/src/uts/common/io/xge/drv/xgell.c
288
bf_pool->head = bf_pool->recycle_head;
usr/src/uts/common/io/xge/drv/xgell.c
414
bf_pool->recycle_tail->next = bf_pool->head;
usr/src/uts/common/io/xge/drv/xgell.c
415
bf_pool->head = bf_pool->recycle_head;
usr/src/uts/common/io/xge/drv/xgell.c
439
rx_buffer = bf_pool->head;
usr/src/uts/common/io/xge/drv/xgell.c
442
bf_pool->head = rx_buffer->next;
usr/src/uts/common/io/xge/drv/xgell.c
449
bf_pool->head = rx_buffer;
usr/src/uts/common/io/xge/drv/xgell.c
489
bf_pool->head = NULL;
usr/src/uts/common/io/xge/drv/xgell.c
514
rx_buffer->next = bf_pool->head;
usr/src/uts/common/io/xge/drv/xgell.c
515
bf_pool->head = rx_buffer;
usr/src/uts/common/io/xge/drv/xgell.c
540
if (bf_pool->head == NULL) {
usr/src/uts/common/io/xge/drv/xgell.c
544
rx_buffer = bf_pool->head;
usr/src/uts/common/io/xge/drv/xgell.c
548
bf_pool->head = rx_buffer->next;
usr/src/uts/common/io/xge/drv/xgell.h
293
xgell_rx_buffer_t *head; /* header pointer */
usr/src/uts/common/ipp/flowacct/flowacct.c
289
list_hdr_t *hdr = flowacct_data->flows_tbl[index].head;
usr/src/uts/common/ipp/flowacct/flowacct.c
330
if (tophdr->head == NULL) {
usr/src/uts/common/ipp/flowacct/flowacct.c
331
tophdr->head = new_hdr;
usr/src/uts/common/ipp/flowacct/flowacct.c
336
new_hdr->next = tophdr->head;
usr/src/uts/common/ipp/flowacct/flowacct.c
337
tophdr->head->prev = new_hdr;
usr/src/uts/common/ipp/flowacct/flowacct.c
338
tophdr->head = new_hdr;
usr/src/uts/common/ipp/flowacct/flowacct.c
377
if (tophdr->head == hdr) {
usr/src/uts/common/ipp/flowacct/flowacct.c
378
tophdr->head = hdr->next;
usr/src/uts/common/ipp/flowacct/flowacct.c
410
itemhdr = flow->items.head;
usr/src/uts/common/ipp/flowacct/flowacct.c
590
if (thead->head == NULL) {
usr/src/uts/common/ipp/flowacct/flowacct.c
591
thead->head = flow->hdr;
usr/src/uts/common/ipp/flowacct/flowacct.c
611
if (flow->hdr == thead->head) {
usr/src/uts/common/ipp/flowacct/flowacct.c
612
thead->head->timeout_next->timeout_prev = NULL;
usr/src/uts/common/ipp/flowacct/flowacct.c
613
thead->head = thead->head->timeout_next;
usr/src/uts/common/ipp/flowacct/flowacct.c
731
list_head_t *head, *thead;
usr/src/uts/common/ipp/flowacct/flowacct.c
758
fl_hdr = thead->head;
usr/src/uts/common/ipp/flowacct/flowacct.c
764
head = flow->back_ptr;
usr/src/uts/common/ipp/flowacct/flowacct.c
765
mutex_enter(&head->lock);
usr/src/uts/common/ipp/flowacct/flowacct.c
776
mutex_exit(&head->lock);
usr/src/uts/common/ipp/flowacct/flowacct.c
781
ithdr = flow->items.head;
usr/src/uts/common/ipp/flowacct/flowacct.c
811
mutex_exit(&head->lock);
usr/src/uts/common/ipp/flowacct/flowacct.c
839
thead->head = fl_hdr->timeout_next;
usr/src/uts/common/ipp/flowacct/flowacct.c
849
flowacct_del_obj(head, fl_hdr, FLOWACCT_DEL_OBJ);
usr/src/uts/common/ipp/flowacct/flowacct.c
852
mutex_exit(&head->lock);
usr/src/uts/common/ipp/flowacct/flowacct_impl.h
94
list_hdr_t *head;
usr/src/uts/common/ipp/flowacct/flowacctddi.c
184
list_head_t *head;
usr/src/uts/common/ipp/flowacct/flowacctddi.c
271
for (flow_count = 0, head = flowacct_data->flows_tbl;
usr/src/uts/common/ipp/flowacct/flowacctddi.c
272
flow_count < (FLOW_TBL_COUNT + 1); flow_count++, head++) {
usr/src/uts/common/ipp/flowacct/flowacctddi.c
273
mutex_init(&head->lock, NULL, MUTEX_DEFAULT, 0);
usr/src/uts/common/ipp/flowacct/flowacctddi.c
391
list_head_t *head;
usr/src/uts/common/ipp/flowacct/flowacctddi.c
413
for (flow_count = 0, head = flowacct_data->flows_tbl;
usr/src/uts/common/ipp/flowacct/flowacctddi.c
414
flow_count < FLOW_TBL_COUNT; flow_count++, head++) {
usr/src/uts/common/ipp/flowacct/flowacctddi.c
415
mutex_destroy(&head->lock);
usr/src/uts/common/krtld/kobj.c
2240
lp = mp->head;
usr/src/uts/common/krtld/kobj.c
2921
for (lp = mp->head; lp; lp = lp->next) {
usr/src/uts/common/krtld/kobj.c
2934
mp->head = lp;
usr/src/uts/common/krtld/kobj.c
3413
for (mlp = mp->head; mlp; mlp = mlp->next) {
usr/src/uts/common/net/radix.h
118
struct radix_node_head *head, struct radix_node nodes[]);
usr/src/uts/common/net/radix.h
121
struct radix_node_head *head, struct radix_node nodes[]);
usr/src/uts/common/net/radix.h
123
(void *v, void *mask, struct radix_node_head *head);
usr/src/uts/common/net/radix.h
125
(void *v, void *mask, struct radix_node_head *head);
usr/src/uts/common/net/radix.h
127
(void *v, struct radix_node_head *head);
usr/src/uts/common/net/radix.h
130
(void *v, struct radix_node_head *head,
usr/src/uts/common/net/radix.h
133
(void *v, void *mask, struct radix_node_head *head);
usr/src/uts/common/net/radix.h
135
(void *v, struct radix_node_head *head);
usr/src/uts/common/net/radix.h
137
(struct radix_node_head *head, walktree_f_t *f, void *w);
usr/src/uts/common/net/radix.h
139
(struct radix_node_head *head, walktree_f_t *f, void *w,
usr/src/uts/common/net/radix.h
143
(struct radix_node_head *head, void *a, void *m,
usr/src/uts/common/net/radix.h
146
(struct radix_node *rn, struct radix_node_head *head);
usr/src/uts/common/nfs/nfs4_db_impl.h
137
#define ENQUEUE(head, l) { \
usr/src/uts/common/nfs/nfs4_db_impl.h
139
(l)->next = (head); \
usr/src/uts/common/nfs/nfs4_db_impl.h
142
(head) = (l); \
usr/src/uts/common/nfs/nfs4_db_impl.h
145
#define DEQUEUE(head, l) { \
usr/src/uts/common/nfs/nfs4_db_impl.h
149
(head) = (l)->next; \
usr/src/uts/common/os/aio.c
1200
aio_lio_t *head;
usr/src/uts/common/os/aio.c
1270
head = NULL;
usr/src/uts/common/os/aio.c
1274
error = aio_lio_alloc(&head);
usr/src/uts/common/os/aio.c
1279
head->lio_nent = nent;
usr/src/uts/common/os/aio.c
1280
head->lio_refcnt = nent;
usr/src/uts/common/os/aio.c
1281
head->lio_port = -1;
usr/src/uts/common/os/aio.c
1282
head->lio_portkev = NULL;
usr/src/uts/common/os/aio.c
1299
head->lio_sigqp = sqp;
usr/src/uts/common/os/aio.c
1301
head->lio_sigqp = NULL;
usr/src/uts/common/os/aio.c
1310
NULL, head);
usr/src/uts/common/os/aio.c
1312
head->lio_portkev = pkevtp;
usr/src/uts/common/os/aio.c
1313
head->lio_port = pnotify.portnfy_port;
usr/src/uts/common/os/aio.c
1322
if (head) {
usr/src/uts/common/os/aio.c
1324
head->lio_nent--;
usr/src/uts/common/os/aio.c
1325
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
1335
if (head) {
usr/src/uts/common/os/aio.c
1337
head->lio_nent--;
usr/src/uts/common/os/aio.c
1338
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
1347
if (head) {
usr/src/uts/common/os/aio.c
1349
head->lio_nent--;
usr/src/uts/common/os/aio.c
1350
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
1363
if (head) {
usr/src/uts/common/os/aio.c
1365
head->lio_nent--;
usr/src/uts/common/os/aio.c
1366
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
1386
if (head) {
usr/src/uts/common/os/aio.c
1388
head->lio_nent--;
usr/src/uts/common/os/aio.c
1389
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
1404
if (head) {
usr/src/uts/common/os/aio.c
1406
head->lio_nent--;
usr/src/uts/common/os/aio.c
1407
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
1414
reqp->aio_req_lio = head;
usr/src/uts/common/os/aio.c
1485
if (head) {
usr/src/uts/common/os/aio.c
1487
head->lio_nent--;
usr/src/uts/common/os/aio.c
1488
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
1512
while (head->lio_refcnt > 0) {
usr/src/uts/common/os/aio.c
1513
if (!cv_wait_sig(&head->lio_notify, &aiop->aio_mutex)) {
usr/src/uts/common/os/aio.c
1526
if (head->lio_sigqp)
usr/src/uts/common/os/aio.c
1527
kmem_free(head->lio_sigqp, sizeof (sigqueue_t));
usr/src/uts/common/os/aio.c
1528
if (head->lio_portkev)
usr/src/uts/common/os/aio.c
1529
port_free_event(head->lio_portkev);
usr/src/uts/common/os/aio.c
1530
kmem_free(head, sizeof (aio_lio_t));
usr/src/uts/common/os/aio.c
1554
aio_lio_t *head;
usr/src/uts/common/os/aio.c
1602
head = NULL;
usr/src/uts/common/os/aio.c
1614
if (head = aio_list_get(&cbp->aio_resultp))
usr/src/uts/common/os/aio.c
1623
if (head = aio_list_get((aio_result_t *)
usr/src/uts/common/os/aio.c
1634
if (head = aio_list_get((aio_result_t *)
usr/src/uts/common/os/aio.c
1641
if (head = aio_list_get((aio_result_t *)
usr/src/uts/common/os/aio.c
1649
if (head == NULL) {
usr/src/uts/common/os/aio.c
1655
while (head->lio_refcnt > 0) {
usr/src/uts/common/os/aio.c
1656
if (!cv_wait_sig(&head->lio_notify, &aiop->aio_mutex)) {
usr/src/uts/common/os/aio.c
1672
aio_lio_t *head = NULL;
usr/src/uts/common/os/aio.c
1688
head = reqp->aio_req_lio;
usr/src/uts/common/os/aio.c
1689
return (head);
usr/src/uts/common/os/aio.c
2521
aio_lio_alloc(aio_lio_t **head)
usr/src/uts/common/os/aio.c
2544
*head = liop;
usr/src/uts/common/os/aio.c
2893
aio_lio_t *head;
usr/src/uts/common/os/aio.c
2969
head = NULL;
usr/src/uts/common/os/aio.c
2973
error = aio_lio_alloc(&head);
usr/src/uts/common/os/aio.c
2978
head->lio_nent = nent;
usr/src/uts/common/os/aio.c
2979
head->lio_refcnt = nent;
usr/src/uts/common/os/aio.c
2980
head->lio_port = -1;
usr/src/uts/common/os/aio.c
2981
head->lio_portkev = NULL;
usr/src/uts/common/os/aio.c
2999
head->lio_sigqp = sqp;
usr/src/uts/common/os/aio.c
3001
head->lio_sigqp = NULL;
usr/src/uts/common/os/aio.c
3010
NULL, head);
usr/src/uts/common/os/aio.c
3012
head->lio_portkev = pkevtp;
usr/src/uts/common/os/aio.c
3013
head->lio_port = pnotify.portnfy_port;
usr/src/uts/common/os/aio.c
3022
if (head) {
usr/src/uts/common/os/aio.c
3024
head->lio_nent--;
usr/src/uts/common/os/aio.c
3025
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3035
if (head) {
usr/src/uts/common/os/aio.c
3037
head->lio_nent--;
usr/src/uts/common/os/aio.c
3038
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3047
if (head) {
usr/src/uts/common/os/aio.c
3049
head->lio_nent--;
usr/src/uts/common/os/aio.c
3050
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3063
if (head) {
usr/src/uts/common/os/aio.c
3065
head->lio_nent--;
usr/src/uts/common/os/aio.c
3066
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3086
if (head) {
usr/src/uts/common/os/aio.c
3088
head->lio_nent--;
usr/src/uts/common/os/aio.c
3089
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3110
if (head) {
usr/src/uts/common/os/aio.c
3112
head->lio_nent--;
usr/src/uts/common/os/aio.c
3113
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3120
reqp->aio_req_lio = head;
usr/src/uts/common/os/aio.c
3191
if (head) {
usr/src/uts/common/os/aio.c
3193
head->lio_nent--;
usr/src/uts/common/os/aio.c
3194
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3218
while (head->lio_refcnt > 0) {
usr/src/uts/common/os/aio.c
3219
if (!cv_wait_sig(&head->lio_notify, &aiop->aio_mutex)) {
usr/src/uts/common/os/aio.c
3232
if (head->lio_sigqp)
usr/src/uts/common/os/aio.c
3233
kmem_free(head->lio_sigqp, sizeof (sigqueue_t));
usr/src/uts/common/os/aio.c
3234
if (head->lio_portkev)
usr/src/uts/common/os/aio.c
3235
port_free_event(head->lio_portkev);
usr/src/uts/common/os/aio.c
3236
kmem_free(head, sizeof (aio_lio_t));
usr/src/uts/common/os/aio.c
3368
aio_lio_t *head;
usr/src/uts/common/os/aio.c
3454
head = NULL;
usr/src/uts/common/os/aio.c
3458
error = aio_lio_alloc(&head);
usr/src/uts/common/os/aio.c
3463
head->lio_nent = nent;
usr/src/uts/common/os/aio.c
3464
head->lio_refcnt = nent;
usr/src/uts/common/os/aio.c
3465
head->lio_port = -1;
usr/src/uts/common/os/aio.c
3466
head->lio_portkev = NULL;
usr/src/uts/common/os/aio.c
3484
head->lio_sigqp = sqp;
usr/src/uts/common/os/aio.c
3486
head->lio_sigqp = NULL;
usr/src/uts/common/os/aio.c
3495
NULL, head);
usr/src/uts/common/os/aio.c
3497
head->lio_portkev = pkevtp;
usr/src/uts/common/os/aio.c
3498
head->lio_port = pnotify.portnfy_port;
usr/src/uts/common/os/aio.c
3513
if (head) {
usr/src/uts/common/os/aio.c
3515
head->lio_nent--;
usr/src/uts/common/os/aio.c
3516
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3532
if (head) {
usr/src/uts/common/os/aio.c
3534
head->lio_nent--;
usr/src/uts/common/os/aio.c
3535
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3544
if (head) {
usr/src/uts/common/os/aio.c
3546
head->lio_nent--;
usr/src/uts/common/os/aio.c
3547
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3560
if (head) {
usr/src/uts/common/os/aio.c
3562
head->lio_nent--;
usr/src/uts/common/os/aio.c
3563
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3583
if (head) {
usr/src/uts/common/os/aio.c
3585
head->lio_nent--;
usr/src/uts/common/os/aio.c
3586
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3601
if (head) {
usr/src/uts/common/os/aio.c
3603
head->lio_nent--;
usr/src/uts/common/os/aio.c
3604
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3611
reqp->aio_req_lio = head;
usr/src/uts/common/os/aio.c
3696
if (head) {
usr/src/uts/common/os/aio.c
3698
head->lio_nent--;
usr/src/uts/common/os/aio.c
3699
head->lio_refcnt--;
usr/src/uts/common/os/aio.c
3723
while (head->lio_refcnt > 0) {
usr/src/uts/common/os/aio.c
3724
if (!cv_wait_sig(&head->lio_notify, &aiop->aio_mutex)) {
usr/src/uts/common/os/aio.c
3737
if (head->lio_sigqp)
usr/src/uts/common/os/aio.c
3738
kmem_free(head->lio_sigqp, sizeof (sigqueue_t));
usr/src/uts/common/os/aio.c
3739
if (head->lio_portkev)
usr/src/uts/common/os/aio.c
3740
port_free_event(head->lio_portkev);
usr/src/uts/common/os/aio.c
3741
kmem_free(head, sizeof (aio_lio_t));
usr/src/uts/common/os/aio_subr.c
1018
aio_req_t *reqp, *next, *head;
usr/src/uts/common/os/aio_subr.c
1045
if ((head = aiop->aio_doneq) != NULL) {
usr/src/uts/common/os/aio_subr.c
1047
reqp = head;
usr/src/uts/common/os/aio_subr.c
1052
} while ((reqp = next) != head);
usr/src/uts/common/os/aio_subr.c
190
aio_lio_t *head = NULL;
usr/src/uts/common/os/aio_subr.c
346
if ((head = reqp->aio_req_lio) != NULL) {
usr/src/uts/common/os/aio_subr.c
347
ASSERT(head->lio_refcnt > 0);
usr/src/uts/common/os/aio_subr.c
348
if (--head->lio_refcnt == 0) {
usr/src/uts/common/os/aio_subr.c
353
lio_sigev = head->lio_sigqp;
usr/src/uts/common/os/aio_subr.c
354
head->lio_sigqp = NULL;
usr/src/uts/common/os/aio_subr.c
355
cv_signal(&head->lio_notify);
usr/src/uts/common/os/aio_subr.c
356
if (head->lio_port >= 0 &&
usr/src/uts/common/os/aio_subr.c
357
(lio_pkevp = head->lio_portkev) != NULL)
usr/src/uts/common/os/aio_subr.c
358
head->lio_port = -1;
usr/src/uts/common/os/aio_subr.c
383
if (!sigev && !use_port && head == NULL &&
usr/src/uts/common/os/aio_subr.c
517
aio_lio_free(aio_t *aiop, aio_lio_t *head)
usr/src/uts/common/os/aio_subr.c
521
if (head->lio_sigqp != NULL)
usr/src/uts/common/os/aio_subr.c
522
kmem_free(head->lio_sigqp, sizeof (sigqueue_t));
usr/src/uts/common/os/aio_subr.c
523
head->lio_next = aiop->aio_lio_free;
usr/src/uts/common/os/aio_subr.c
524
aiop->aio_lio_free = head;
usr/src/uts/common/os/aio_subr.c
581
aio_verify_queue(aio_req_t *head, aio_req_t *entry_present,
usr/src/uts/common/os/aio_subr.c
588
if ((reqp = head) != NULL) {
usr/src/uts/common/os/aio_subr.c
596
} while ((reqp = reqp->aio_req_next) != head);
usr/src/uts/common/os/aio_subr.c
611
aio_req_t *head;
usr/src/uts/common/os/aio_subr.c
616
if ((head = *qhead) == NULL) {
usr/src/uts/common/os/aio_subr.c
621
reqp->aio_req_next = head;
usr/src/uts/common/os/aio_subr.c
622
reqp->aio_req_prev = prev = head->aio_req_prev;
usr/src/uts/common/os/aio_subr.c
624
head->aio_req_prev = reqp;
usr/src/uts/common/os/audit_zone.c
134
if (kctx->auk_queue.head != NULL) {
usr/src/uts/common/os/audit_zone.c
135
au_free_rec(kctx->auk_queue.head);
usr/src/uts/common/os/ddi_hp_ndi.c
294
ddi_hp_cn_handle_t *head, *curr, *prev;
usr/src/uts/common/os/ddi_hp_ndi.c
309
head = DEVI(dip)->devi_hp_hdlp;
usr/src/uts/common/os/ddi_hp_ndi.c
310
curr = head;
usr/src/uts/common/os/ddi_hp_ndi.c
323
if (DEVI(dip)->devi_hp_hdlp != head) {
usr/src/uts/common/os/ddi_hp_ndi.c
328
head = DEVI(dip)->devi_hp_hdlp;
usr/src/uts/common/os/ddi_hp_ndi.c
329
curr = head;
usr/src/uts/common/os/devcfg.c
2295
find_sibling(dev_info_t *head, char *cname, char *caddr, uint_t flag,
usr/src/uts/common/os/devcfg.c
2318
if (head == NULL)
usr/src/uts/common/os/devcfg.c
2329
ASSERT(DEVI_BUSY_OWNED(ddi_get_parent(head)));
usr/src/uts/common/os/devcfg.c
2330
for (dip = head; dip; dip = ddi_get_next_sibling(dip)) {
usr/src/uts/common/os/devcfg.c
3581
struct walk_elem *head = NULL;
usr/src/uts/common/os/devcfg.c
3591
free_list(head);
usr/src/uts/common/os/devcfg.c
3596
append_node(&head, dip);
usr/src/uts/common/os/devcfg.c
3607
append_node(&head, dip);
usr/src/uts/common/os/devcfg.c
3615
while (head) {
usr/src/uts/common/os/devcfg.c
3616
struct walk_elem *next = head->next;
usr/src/uts/common/os/devcfg.c
3619
ndi_devi_enter(head->dip);
usr/src/uts/common/os/devcfg.c
3620
if (walk_devs(ddi_get_child(head->dip), f, arg, do_locking) ==
usr/src/uts/common/os/devcfg.c
3623
ndi_devi_exit(head->dip);
usr/src/uts/common/os/devcfg.c
3624
free_list(head);
usr/src/uts/common/os/devcfg.c
3628
ndi_devi_exit(head->dip);
usr/src/uts/common/os/devcfg.c
3629
kmem_free(head, sizeof (*head));
usr/src/uts/common/os/devcfg.c
3630
head = next;
usr/src/uts/common/os/devcfg.c
7381
diplist_to_parent_major(dev_info_t *head, char parents[])
usr/src/uts/common/os/devcfg.c
7386
for (dip = head; dip != NULL; dip = ddi_get_next(dip)) {
usr/src/uts/common/os/kmem.c
2735
kmem_bufctl_t *next, *head;
usr/src/uts/common/os/kmem.c
2751
head = sp->slab_head;
usr/src/uts/common/os/kmem.c
2762
while (head != NULL) {
usr/src/uts/common/os/kmem.c
2763
void *buf = KMEM_BUF(cp, head);
usr/src/uts/common/os/kmem.c
2774
head = head->bc_next;
usr/src/uts/common/os/kmem.c
2802
ASSERT(head != NULL);
usr/src/uts/common/os/kmem.c
2808
while (head != NULL) {
usr/src/uts/common/os/kmem.c
2810
next = head->bc_next;
usr/src/uts/common/os/kmem.c
2811
head->bc_next = NULL;
usr/src/uts/common/os/kmem.c
2812
kmem_slab_free(cp, KMEM_BUF(cp, head));
usr/src/uts/common/os/kmem.c
2813
head = next;
usr/src/uts/common/os/kmem.c
2817
ASSERT(head == NULL);
usr/src/uts/common/os/modsysfile.c
1639
free_val_list(struct val_list *head)
usr/src/uts/common/os/modsysfile.c
1643
for (/* CSTYLED */; head != NULL; /* CSTYLED */) {
usr/src/uts/common/os/modsysfile.c
1644
tval_list = head;
usr/src/uts/common/os/modsysfile.c
1645
head = head->val_next;
usr/src/uts/common/os/msg.c
1014
size += STRUCT_SIZE(head) + nmsg * STRUCT_SIZE(mhead);
usr/src/uts/common/os/msg.c
1041
STRUCT_FSET(head, msgsnap_size, size);
usr/src/uts/common/os/msg.c
1042
STRUCT_FSET(head, msgsnap_nmsg, nmsg);
usr/src/uts/common/os/msg.c
1043
if (copyout(STRUCT_BUF(head), buf, STRUCT_SIZE(head)))
usr/src/uts/common/os/msg.c
1046
buf += STRUCT_SIZE(head);
usr/src/uts/common/os/msg.c
978
STRUCT_DECL(msgsnap_head, head);
usr/src/uts/common/os/msg.c
981
STRUCT_INIT(head, mdl);
usr/src/uts/common/os/msg.c
984
if (bufsz < STRUCT_SIZE(head))
usr/src/uts/common/os/rctl.c
749
rctl_val_list_find(rctl_val_t **head, rctl_val_t *cval)
usr/src/uts/common/os/rctl.c
751
rctl_val_t *rval = *head;
usr/src/uts/common/os/rctl.c
867
rctl_val_t *head = NULL;
usr/src/uts/common/os/rctl.c
886
(void) rctl_val_list_insert(&head, dval);
usr/src/uts/common/os/rctl.c
892
return (head);
usr/src/uts/common/os/strsubr.c
401
#define LISTCHECK(head, tail, link) { \
usr/src/uts/common/os/strsubr.c
402
EQUIV(head, tail); \
usr/src/uts/common/os/strsubr.c
410
#define ENQUEUE(el, head, tail, link) { \
usr/src/uts/common/os/strsubr.c
412
LISTCHECK(head, tail, link); \
usr/src/uts/common/os/strsubr.c
413
if (head == NULL) \
usr/src/uts/common/os/strsubr.c
414
head = el; \
usr/src/uts/common/os/strsubr.c
424
#define DQ(el, head, tail, link) { \
usr/src/uts/common/os/strsubr.c
425
LISTCHECK(head, tail, link); \
usr/src/uts/common/os/strsubr.c
426
el = head; \
usr/src/uts/common/os/strsubr.c
427
if (head != NULL) { \
usr/src/uts/common/os/strsubr.c
428
head = head->link; \
usr/src/uts/common/os/strsubr.c
429
if (head == NULL) \
usr/src/uts/common/os/strsubr.c
439
#define RMQ(el, head, tail, link, chase, curr, succeed) { \
usr/src/uts/common/os/strsubr.c
440
LISTCHECK(head, tail, link); \
usr/src/uts/common/os/strsubr.c
443
for (curr = head; (curr != el) && (curr != NULL); curr = curr->link) \
usr/src/uts/common/os/strsubr.c
451
head = curr->link; \
usr/src/uts/common/os/strsubr.c
456
LISTCHECK(head, tail, link); \
usr/src/uts/common/os/strsubr.c
7118
mblk_t *bp, *head, *tail, *prev, *next;
usr/src/uts/common/os/strsubr.c
7163
head = qp->q_sqhead;
usr/src/uts/common/os/strsubr.c
7175
for (bp = head; bp != NULL; bp = next) {
usr/src/uts/common/os/strsubr.c
7194
if (!isdriver && head != NULL) {
usr/src/uts/common/os/strsubr.c
7197
nqp->q_sqhead = head;
usr/src/uts/common/os/strsubr.c
7200
nqp->q_sqtail->b_next = head;
usr/src/uts/common/os/sunddi.c
9184
struct ptnode *head;
usr/src/uts/common/os/sunddi.c
9201
for (nextp = &ap->head; *nextp; nextp = &(*nextp)->next)
usr/src/uts/common/os/sunddi.c
9352
ap->head = NULL;
usr/src/uts/common/os/sunddi.c
9360
if (ap->head == NULL)
usr/src/uts/common/os/sunddi.c
9365
while ((tnp = ap->head) != NULL) {
usr/src/uts/common/os/sunddi.c
9366
ap->head = tnp->next;
usr/src/uts/common/os/sunmdi.c
1377
struct client_hash *head;
usr/src/uts/common/os/sunmdi.c
1382
head = &vh->vh_client_table[index];
usr/src/uts/common/os/sunmdi.c
1383
ct->ct_hnext = (mdi_client_t *)head->ct_hash_head;
usr/src/uts/common/os/sunmdi.c
1384
head->ct_hash_head = ct;
usr/src/uts/common/os/sunmdi.c
1385
head->ct_hash_count++;
usr/src/uts/common/os/sunmdi.c
1399
struct client_hash *head;
usr/src/uts/common/os/sunmdi.c
1407
head = &vh->vh_client_table[index];
usr/src/uts/common/os/sunmdi.c
1410
next = (mdi_client_t *)head->ct_hash_head;
usr/src/uts/common/os/sunmdi.c
1420
head->ct_hash_count--;
usr/src/uts/common/os/sunmdi.c
1422
head->ct_hash_head = ct->ct_hnext;
usr/src/uts/common/os/sunmdi.c
1491
struct client_hash *head;
usr/src/uts/common/os/sunmdi.c
1497
head = &vh->vh_client_table[index];
usr/src/uts/common/os/sunmdi.c
1499
ct = head->ct_hash_head;
usr/src/uts/common/os/sunmdi.c
2044
mdi_pathinfo_t *head;
usr/src/uts/common/os/sunmdi.c
2120
head = ct->ct_path_head;
usr/src/uts/common/os/sunmdi.c
2121
if (head == NULL) {
usr/src/uts/common/os/sunmdi.c
2129
for (pip = head;
usr/src/uts/common/os/sunmdi.c
2194
pip = head;
usr/src/uts/common/os/sunmdi.c
2230
next = head;
usr/src/uts/common/os/sunmdi.c
2278
pip = head;
usr/src/uts/common/os/sunmdi.c
2310
pip = head;
usr/src/uts/common/os/sunmdi.c
2417
next = head;
usr/src/uts/common/os/sunmdi.c
2430
next = head;
usr/src/uts/common/rpc/sec/svcauthdes.c
499
struct authdes_cache_entry *new, *head;
usr/src/uts/common/rpc/sec/svcauthdes.c
530
head = authdes_cache[index];
usr/src/uts/common/rpc/sec/svcauthdes.c
531
if ((new->next = head) != NULL) {
usr/src/uts/common/rpc/sec/svcauthdes.c
532
head->prev = new;
usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
270
struct ga_cache_entry **head, *current, *new, *prev;
usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
298
head = &ga_cache_table[HASH(cache_key, uid)];
usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
299
NOT_NULL(head);
usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
300
IS_ALIGNED(head);
usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
302
for (current = *head; current; current = current->next) {
usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
320
*head = current->next;
usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
368
NOT_DEAD(*head);
usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
370
new->next = *head;
usr/src/uts/common/rpc/sec_gss/rpcsec_gss.c
371
*head = new;
usr/src/uts/common/sys/ddi_hp_impl.h
112
#define DDIHP_LIST_APPEND(type, head, node) \
usr/src/uts/common/sys/ddi_hp_impl.h
116
for (curr = (head); curr; prev = curr, curr = curr->next); \
usr/src/uts/common/sys/ddi_hp_impl.h
118
(head) = (node); \
usr/src/uts/common/sys/ddi_hp_impl.h
124
#define DDIHP_LIST_REMOVE(type, head, node) \
usr/src/uts/common/sys/ddi_hp_impl.h
127
for (curr = (head); curr; prev = curr, curr = curr->next) { \
usr/src/uts/common/sys/ddi_hp_impl.h
133
(head) = (head)->next; \
usr/src/uts/common/sys/devinfo_impl.h
167
di_off_t head; /* head of per instance list */
usr/src/uts/common/sys/dkio.h
258
int head;
usr/src/uts/common/sys/dkio.h
264
int head;
usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_mbox.h
5043
uint32_t head;
usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_menlo.h
875
uint16_t head; /* Index of oldest log entry in circular */
usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_menlo.h
880
uint16_t head; /* Index of oldest log entry in circular */
usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_menlo.h
909
uint16_t head; /* Index of oldest log entry in circular */
usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_menlo.h
919
uint16_t head; /* Index of oldest log entry in circular */
usr/src/uts/common/sys/fibre-channel/fca/oce/oce_utils.h
116
OCE_LIST_NODE_T head;
usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_api.h
1241
struct ql_head *head; /* the queue this link is on */
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
155
static inline void llist_add(llist_head_t *new, llist_head_t *head)
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
157
__llist_add(new, head, head->nxt);
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
160
static inline void llist_add_tail(llist_head_t *new, llist_head_t *head)
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
162
__llist_add(new, head->prv, head);
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
171
static inline int llist_is_last(llist_head_t *list, llist_head_t *head)
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
173
return (list->nxt == head);
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
176
static inline int llist_empty(llist_head_t *head)
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
178
return (head->nxt == head);
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
200
genlist_entry_t *head;
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
209
for (_pos = (_head)->head; _pos; _pos = _pos->next)
usr/src/uts/common/sys/ib/clients/of/sol_ofs/sol_ofs_common.h
223
list->head = list->tail = NULL;
usr/src/uts/common/sys/kobj.h
103
struct module_list *head, *tail;
usr/src/uts/common/sys/mac_soft_ring.h
982
#define MAC_COUNT_CHAIN(mac_srs, head, tail, cnt, sz) { \
usr/src/uts/common/sys/mac_soft_ring.h
986
ASSERT((head) != NULL); \
usr/src/uts/common/sys/mac_soft_ring.h
991
tmp = tail = (head); \
usr/src/uts/common/sys/mac_soft_ring.h
992
if ((head)->b_next == NULL) { \
usr/src/uts/common/sys/mac_soft_ring.h
995
sz += msgdsize(head); \
usr/src/uts/common/sys/nxge/nxge_txdma.h
175
p_mblk_t head;
usr/src/uts/common/sys/nxge/nxge_txdma.h
58
#define TXDMA_RING_EMPTY(head, head_wrap, tail, tail_wrap) \
usr/src/uts/common/sys/nxge/nxge_txdma.h
59
((head == tail && head_wrap == tail_wrap) ? B_TRUE : B_FALSE)
usr/src/uts/common/sys/nxge/nxge_txdma.h
61
#define TXDMA_RING_FULL(head, head_wrap, tail, tail_wrap) \
usr/src/uts/common/sys/nxge/nxge_txdma.h
62
((head == tail && head_wrap != tail_wrap) ? B_TRUE : B_FALSE)
usr/src/uts/common/sys/nxge/nxge_txdma.h
85
int head;
usr/src/uts/common/sys/nxge/nxge_txdma_hw.h
251
uint32_t head:16;
usr/src/uts/common/sys/nxge/nxge_txdma_hw.h
255
uint32_t head:16;
usr/src/uts/common/sys/queue.h
1000
(elm)->field.cqe_prev = (head)->cqh_last; \
usr/src/uts/common/sys/queue.h
1001
if ((head)->cqh_first == (void *)(head)) \
usr/src/uts/common/sys/queue.h
1002
(head)->cqh_first = (elm); \
usr/src/uts/common/sys/queue.h
1004
(head)->cqh_last->field.cqe_next = (elm); \
usr/src/uts/common/sys/queue.h
1005
(head)->cqh_last = (elm); \
usr/src/uts/common/sys/queue.h
1009
#define CIRCLEQ_REMOVE(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
1010
if ((elm)->field.cqe_next == (void *)(head)) \
usr/src/uts/common/sys/queue.h
1011
(head)->cqh_last = (elm)->field.cqe_prev; \
usr/src/uts/common/sys/queue.h
1015
if ((elm)->field.cqe_prev == (void *)(head)) \
usr/src/uts/common/sys/queue.h
1016
(head)->cqh_first = (elm)->field.cqe_next; \
usr/src/uts/common/sys/queue.h
110
#define QMD_TRACE_HEAD(head) do { \
usr/src/uts/common/sys/queue.h
111
(head)->trace.prevline = (head)->trace.lastline; \
usr/src/uts/common/sys/queue.h
112
(head)->trace.prevfile = (head)->trace.lastfile; \
usr/src/uts/common/sys/queue.h
113
(head)->trace.lastline = __LINE__; \
usr/src/uts/common/sys/queue.h
114
(head)->trace.lastfile = __FILE__; \
usr/src/uts/common/sys/queue.h
128
#define QMD_TRACE_HEAD(head)
usr/src/uts/common/sys/queue.h
169
#define SLIST_HEAD_INITIALIZER(head) \
usr/src/uts/common/sys/queue.h
185
#define SLIST_FIRST(head) ((head)->slh_first)
usr/src/uts/common/sys/queue.h
186
#define SLIST_END(head) NULL
usr/src/uts/common/sys/queue.h
188
#define SLIST_EMPTY(head) ((head)->slh_first == SLIST_END(head))
usr/src/uts/common/sys/queue.h
190
#define SLIST_FOREACH(var, head, field) \
usr/src/uts/common/sys/queue.h
191
for ((var) = SLIST_FIRST((head)); \
usr/src/uts/common/sys/queue.h
192
(var) != SLIST_END(head); \
usr/src/uts/common/sys/queue.h
195
#define SLIST_FOREACH_FROM(var, head, field) \
usr/src/uts/common/sys/queue.h
196
for ((var) = ((var) != SLIST_END(head) ? (var) : SLIST_FIRST((head))); \
usr/src/uts/common/sys/queue.h
197
(var) != SLIST_END(head); \
usr/src/uts/common/sys/queue.h
200
#define SLIST_FOREACH_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
201
for ((var) = SLIST_FIRST((head)); \
usr/src/uts/common/sys/queue.h
202
(var) != SLIST_END(head) && \
usr/src/uts/common/sys/queue.h
206
#define SLIST_FOREACH_FROM_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
207
for ((var) = ((var) != SLIST_END(head) ? (var) : SLIST_FIRST((head))); \
usr/src/uts/common/sys/queue.h
208
(var) != SLIST_END(head) && \
usr/src/uts/common/sys/queue.h
215
#define SLIST_INIT(head) do { \
usr/src/uts/common/sys/queue.h
216
(head)->slh_first = SLIST_END(head); \
usr/src/uts/common/sys/queue.h
241
#define SLIST_INSERT_HEAD(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
242
SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
usr/src/uts/common/sys/queue.h
243
SLIST_FIRST((head)) = (elm); \
usr/src/uts/common/sys/queue.h
247
#define SLIST_REMOVE_HEAD(head, field) do { \
usr/src/uts/common/sys/queue.h
248
SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
usr/src/uts/common/sys/queue.h
258
#define SLIST_REMOVE(head, elm, type, field) do { \
usr/src/uts/common/sys/queue.h
260
if (SLIST_FIRST((head)) == (elm)) { \
usr/src/uts/common/sys/queue.h
261
SLIST_REMOVE_HEAD((head), field); \
usr/src/uts/common/sys/queue.h
264
QUEUE_TYPEOF(type) *curelm = SLIST_FIRST((head)); \
usr/src/uts/common/sys/queue.h
294
#define STAILQ_HEAD_INITIALIZER(head) \
usr/src/uts/common/sys/queue.h
295
{ NULL, &(head).stqh_first }
usr/src/uts/common/sys/queue.h
310
#define STAILQ_FIRST(head) ((head)->stqh_first)
usr/src/uts/common/sys/queue.h
311
#define STAILQ_END(head) NULL
usr/src/uts/common/sys/queue.h
313
#define STAILQ_EMPTY(head) ((head)->stqh_first == STAILQ_END(head))
usr/src/uts/common/sys/queue.h
315
#define STAILQ_FOREACH(var, head, field) \
usr/src/uts/common/sys/queue.h
316
for ((var) = STAILQ_FIRST(head); \
usr/src/uts/common/sys/queue.h
317
(var) != STAILQ_END(head); \
usr/src/uts/common/sys/queue.h
320
#define STAILQ_FOREACH_FROM(var, head, field) \
usr/src/uts/common/sys/queue.h
322
((var) != STAILQ_END(head) ? (var) : STAILQ_FIRST((head))); \
usr/src/uts/common/sys/queue.h
323
(var) != STAILQ_END(head); \
usr/src/uts/common/sys/queue.h
326
#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
327
for ((var) = STAILQ_FIRST(head); \
usr/src/uts/common/sys/queue.h
328
(var) != STAILQ_END(head) && \
usr/src/uts/common/sys/queue.h
332
#define STAILQ_FOREACH_FROM_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
334
((var) != STAILQ_END(head) ? (var) : STAILQ_FIRST((head))); \
usr/src/uts/common/sys/queue.h
335
(var) != STAILQ_END(head) && \
usr/src/uts/common/sys/queue.h
342
#define STAILQ_INIT(head) do { \
usr/src/uts/common/sys/queue.h
343
STAILQ_FIRST(head) = STAILQ_END(head); \
usr/src/uts/common/sys/queue.h
344
(head)->stqh_last = &STAILQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
357
#define STAILQ_INSERT_AFTER(head, tqelm, elm, field) do { \
usr/src/uts/common/sys/queue.h
359
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
364
#define STAILQ_INSERT_HEAD(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
365
if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
usr/src/uts/common/sys/queue.h
366
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
367
STAILQ_FIRST((head)) = (elm); \
usr/src/uts/common/sys/queue.h
371
#define STAILQ_INSERT_TAIL(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
373
*(head)->stqh_last = (elm); \
usr/src/uts/common/sys/queue.h
374
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
378
#define STAILQ_LAST(head, type, field) \
usr/src/uts/common/sys/queue.h
379
(STAILQ_EMPTY((head)) ? NULL : \
usr/src/uts/common/sys/queue.h
380
__containerof((head)->stqh_last, \
usr/src/uts/common/sys/queue.h
383
#define STAILQ_REMOVE_HEAD(head, field) do { \
usr/src/uts/common/sys/queue.h
384
if ((STAILQ_FIRST((head)) = \
usr/src/uts/common/sys/queue.h
385
STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \
usr/src/uts/common/sys/queue.h
386
(head)->stqh_last = &STAILQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
390
#define STAILQ_REMOVE_AFTER(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
393
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
397
#define STAILQ_REMOVE(head, elm, type, field) do { \
usr/src/uts/common/sys/queue.h
399
if (STAILQ_FIRST((head)) == (elm)) { \
usr/src/uts/common/sys/queue.h
400
STAILQ_REMOVE_HEAD((head), field); \
usr/src/uts/common/sys/queue.h
402
QUEUE_TYPEOF(type) *curelm = STAILQ_FIRST(head); \
usr/src/uts/common/sys/queue.h
405
STAILQ_REMOVE_AFTER(head, curelm, field); \
usr/src/uts/common/sys/queue.h
438
#define LIST_HEAD_INITIALIZER(head) \
usr/src/uts/common/sys/queue.h
456
#define LIST_FIRST(head) ((head)->lh_first)
usr/src/uts/common/sys/queue.h
457
#define LIST_END(head) NULL
usr/src/uts/common/sys/queue.h
458
#define LIST_EMPTY(head) ((head)->lh_first == LIST_END(head))
usr/src/uts/common/sys/queue.h
460
#define LIST_PREV(elm, head, type, field) \
usr/src/uts/common/sys/queue.h
461
((elm)->field.le_prev == &LIST_FIRST((head)) ? NULL : \
usr/src/uts/common/sys/queue.h
464
#define LIST_FOREACH(var, head, field) \
usr/src/uts/common/sys/queue.h
465
for ((var) = LIST_FIRST((head)); \
usr/src/uts/common/sys/queue.h
466
(var) != LIST_END(head); \
usr/src/uts/common/sys/queue.h
469
#define LIST_FOREACH_FROM(var, head, field) \
usr/src/uts/common/sys/queue.h
470
for ((var) = ((var) != LIST_END(head) ? (var) : LIST_FIRST((head));\
usr/src/uts/common/sys/queue.h
471
(var) != LIST_END(head); \
usr/src/uts/common/sys/queue.h
474
#define LIST_FOREACH_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
475
for ((var) = LIST_FIRST((head)); \
usr/src/uts/common/sys/queue.h
476
(var) != LIST_END(head) && \
usr/src/uts/common/sys/queue.h
480
#define LIST_FOREACH_FROM_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
481
for ((var) = ((var) != LIST_END(head) ? (var) : LIST_FIRST((head));\
usr/src/uts/common/sys/queue.h
482
(var) != LIST_END(head) && \
usr/src/uts/common/sys/queue.h
490
#define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) \
usr/src/uts/common/sys/queue.h
491
if ((head)->lh_first && \
usr/src/uts/common/sys/queue.h
492
(head)->lh_first->field.le_prev != &(head)->lh_first) \
usr/src/uts/common/sys/queue.h
493
panic("LIST_INSERT_HEAD %p %s:%d", (head), __FILE__, __LINE__);
usr/src/uts/common/sys/queue.h
505
#define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field)
usr/src/uts/common/sys/queue.h
510
#define LIST_INIT(head) do { \
usr/src/uts/common/sys/queue.h
511
LIST_FIRST((head)) = LIST_END(head); \
usr/src/uts/common/sys/queue.h
534
#define LIST_INSERT_HEAD(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
535
QUEUEDEBUG_LIST_INSERT_HEAD((head), (elm), field) \
usr/src/uts/common/sys/queue.h
536
if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
usr/src/uts/common/sys/queue.h
537
LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
usr/src/uts/common/sys/queue.h
538
LIST_FIRST((head)) = (elm); \
usr/src/uts/common/sys/queue.h
539
(elm)->field.le_prev = &LIST_FIRST((head)); \
usr/src/uts/common/sys/queue.h
579
#define SIMPLEQ_HEAD_INITIALIZER(head) \
usr/src/uts/common/sys/queue.h
580
{ NULL, &(head).sqh_first }
usr/src/uts/common/sys/queue.h
595
#define SIMPLEQ_FIRST(head) ((head)->sqh_first)
usr/src/uts/common/sys/queue.h
596
#define SIMPLEQ_END(head) NULL
usr/src/uts/common/sys/queue.h
597
#define SIMPLEQ_EMPTY(head) ((head)->sqh_first == SIMPLEQ_END(head))
usr/src/uts/common/sys/queue.h
600
#define SIMPLEQ_FOREACH(var, head, field) \
usr/src/uts/common/sys/queue.h
601
for ((var) = SIMPLEQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
602
(var) != SIMPLEQ_END(head); \
usr/src/uts/common/sys/queue.h
605
#define SIMPLEQ_FOREACH_FROM(var, head, field) \
usr/src/uts/common/sys/queue.h
607
((var) != SIMPLEQ_END(head) ? (var) : SIMPLEQ_FIRST((head)));\
usr/src/uts/common/sys/queue.h
608
(var) != SIMPLEQ_END(head); \
usr/src/uts/common/sys/queue.h
611
#define SIMPLEQ_FOREACH_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
612
for ((var) = SIMPLEQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
613
(var) != SIMPLEQ_END(head) && \
usr/src/uts/common/sys/queue.h
617
#define SIMPLEQ_FOREACH_FROM_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
619
((var) != SIMPLEQ_END(head) ? (var) : SIMPLEQ_FIRST((head)));\
usr/src/uts/common/sys/queue.h
620
(var) != SIMPLEQ_END(head) && \
usr/src/uts/common/sys/queue.h
627
#define SIMPLEQ_INIT(head) do { \
usr/src/uts/common/sys/queue.h
628
SIMPLEQ_FIRST((head)) = NULL; \
usr/src/uts/common/sys/queue.h
629
(head)->sqh_last = &SIMPLEQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
633
#define SIMPLEQ_INSERT_HEAD(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
634
if ((SIMPLEQ_NEXT((elm), field) = SIMPLEQ_FIRST((head))) == NULL)\
usr/src/uts/common/sys/queue.h
635
(head)->sqh_last = &SIMPLEQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
636
SIMPLEQ_FIRST((head)) = (elm); \
usr/src/uts/common/sys/queue.h
640
#define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
642
*(head)->sqh_last = (elm); \
usr/src/uts/common/sys/queue.h
643
(head)->sqh_last = &SIMPLEQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
647
#define SIMPLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
usr/src/uts/common/sys/queue.h
650
(head)->sqh_last = &SIMPLEQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
655
#define SIMPLEQ_REMOVE_HEAD(head, field) do { \
usr/src/uts/common/sys/queue.h
656
if ((SIMPLEQ_FIRST((head)) = \
usr/src/uts/common/sys/queue.h
657
SIMPLEQ_NEXT(SIMPLEQ_FIRST((head)), field)) == NULL) \
usr/src/uts/common/sys/queue.h
658
(head)->sqh_last = &SIMPLEQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
662
#define SIMPLEQ_REMOVE_AFTER(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
665
(head)->sqh_last = &SIMPLEQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
669
#define SIMPLEQ_REMOVE(head, elm, type, field) do { \
usr/src/uts/common/sys/queue.h
670
if (SIMPLEQ_FIRST((head)) == (elm)) { \
usr/src/uts/common/sys/queue.h
671
SIMPLEQ_REMOVE_HEAD((head), field); \
usr/src/uts/common/sys/queue.h
673
QUEUE_TYPEOF(type) *curelm = SIMPLEQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
676
SIMPLEQ_REMOVE_AFTER((head), curelm, field); \
usr/src/uts/common/sys/queue.h
690
#define SIMPLEQ_LAST(head, type, field) \
usr/src/uts/common/sys/queue.h
691
(SIMPLEQ_EMPTY((head)) ? \
usr/src/uts/common/sys/queue.h
694
((char *)((head)->sqh_last) - offsetof(QUEUE_TYPEOF(type), field))))
usr/src/uts/common/sys/queue.h
713
#define TAILQ_HEAD_INITIALIZER(head) \
usr/src/uts/common/sys/queue.h
714
{ NULL, &(head).tqh_first }
usr/src/uts/common/sys/queue.h
733
#define TAILQ_FIRST(head) ((head)->tqh_first)
usr/src/uts/common/sys/queue.h
734
#define TAILQ_END(head) NULL
usr/src/uts/common/sys/queue.h
736
#define TAILQ_LAST(head, headname) \
usr/src/uts/common/sys/queue.h
737
(*(((struct headname *)((head)->tqh_last))->tqh_last))
usr/src/uts/common/sys/queue.h
740
#define TAILQ_EMPTY(head) ((head)->tqh_first == TAILQ_END(head))
usr/src/uts/common/sys/queue.h
743
#define TAILQ_FOREACH(var, head, field) \
usr/src/uts/common/sys/queue.h
744
for ((var) = TAILQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
745
(var) != TAILQ_END(head); \
usr/src/uts/common/sys/queue.h
748
#define TAILQ_FOREACH_FROM(var, head, field) \
usr/src/uts/common/sys/queue.h
749
for ((var) = ((var) != TAILQ_END((head)) ? \
usr/src/uts/common/sys/queue.h
750
(var) : TAILQ_FIRST((head))); \
usr/src/uts/common/sys/queue.h
751
(var) != TAILQ_END(head); \
usr/src/uts/common/sys/queue.h
754
#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
755
for ((var) = TAILQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
756
(var) != TAILQ_END(head) && \
usr/src/uts/common/sys/queue.h
760
#define TAILQ_FOREACH_FROM_SAFE(var, head, field, tvar) \
usr/src/uts/common/sys/queue.h
761
for ((var) = ((var) != TAILQ_END((head)) ? \
usr/src/uts/common/sys/queue.h
762
(var) : TAILQ_FIRST((head))); \
usr/src/uts/common/sys/queue.h
763
(var) != TAILQ_END(head) && \
usr/src/uts/common/sys/queue.h
767
#define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
usr/src/uts/common/sys/queue.h
768
for ((var) = TAILQ_LAST((head), headname); \
usr/src/uts/common/sys/queue.h
769
(var) != TAILQ_END(head); \
usr/src/uts/common/sys/queue.h
772
#define TAILQ_FOREACH_REVERSE_FROM(var, head, headname, field) \
usr/src/uts/common/sys/queue.h
773
for ((var) = ((var) != TAILQ_END((head)) ? \
usr/src/uts/common/sys/queue.h
774
(var) : TAILQ_LAST((head), headname)); \
usr/src/uts/common/sys/queue.h
775
(var) != TAILQ_END(head); \
usr/src/uts/common/sys/queue.h
778
#define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \
usr/src/uts/common/sys/queue.h
779
for ((var) = TAILQ_LAST((head), headname); \
usr/src/uts/common/sys/queue.h
780
(var) != TAILQ_END(head) && \
usr/src/uts/common/sys/queue.h
784
#define TAILQ_FOREACH_REVERSE_FROM_SAFE(var, head, headname, field, tvar)\
usr/src/uts/common/sys/queue.h
785
for ((var) = ((var) != TAILQ_END((head)) ? \
usr/src/uts/common/sys/queue.h
786
(var) : TAILQ_LAST((head), headname)); \
usr/src/uts/common/sys/queue.h
787
(var) != TAILQ_END(head) && \
usr/src/uts/common/sys/queue.h
795
#define QUEUEDEBUG_TAILQ_INSERT_HEAD(head, elm, field) \
usr/src/uts/common/sys/queue.h
796
if ((head)->tqh_first && \
usr/src/uts/common/sys/queue.h
797
(head)->tqh_first->field.tqe_prev != &(head)->tqh_first) \
usr/src/uts/common/sys/queue.h
798
panic("TAILQ_INSERT_HEAD %p %s:%d", (void *)(head), \
usr/src/uts/common/sys/queue.h
800
#define QUEUEDEBUG_TAILQ_INSERT_TAIL(head, elm, field) \
usr/src/uts/common/sys/queue.h
801
if (*(head)->tqh_last != NULL) \
usr/src/uts/common/sys/queue.h
802
panic("TAILQ_INSERT_TAIL %p %s:%d", (void *)(head), \
usr/src/uts/common/sys/queue.h
813
#define QUEUEDEBUG_TAILQ_PREREMOVE(head, elm, field) \
usr/src/uts/common/sys/queue.h
815
(head)->tqh_last != &(elm)->field.tqe_next) \
usr/src/uts/common/sys/queue.h
817
(void *)(head), (void *)(elm), __FILE__, __LINE__);
usr/src/uts/common/sys/queue.h
822
#define QUEUEDEBUG_TAILQ_INSERT_HEAD(head, elm, field)
usr/src/uts/common/sys/queue.h
823
#define QUEUEDEBUG_TAILQ_INSERT_TAIL(head, elm, field)
usr/src/uts/common/sys/queue.h
825
#define QUEUEDEBUG_TAILQ_PREREMOVE(head, elm, field)
usr/src/uts/common/sys/queue.h
829
#define TAILQ_INIT(head) do { \
usr/src/uts/common/sys/queue.h
830
TAILQ_FIRST((head)) = TAILQ_END((head)); \
usr/src/uts/common/sys/queue.h
831
(head)->tqh_last = &TAILQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
835
#define TAILQ_INSERT_HEAD(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
836
QUEUEDEBUG_TAILQ_INSERT_HEAD((head), (elm), field) \
usr/src/uts/common/sys/queue.h
837
if ((TAILQ_NEXT((elm), field) = TAILQ_FIRST((head))) != NULL) \
usr/src/uts/common/sys/queue.h
838
TAILQ_FIRST((head))->field.tqe_prev = \
usr/src/uts/common/sys/queue.h
841
(head)->tqh_last = &TAILQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
842
TAILQ_FIRST((head)) = (elm); \
usr/src/uts/common/sys/queue.h
843
(elm)->field.tqe_prev = &TAILQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
847
#define TAILQ_INSERT_TAIL(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
848
QUEUEDEBUG_TAILQ_INSERT_TAIL((head), (elm), field) \
usr/src/uts/common/sys/queue.h
850
(elm)->field.tqe_prev = (head)->tqh_last; \
usr/src/uts/common/sys/queue.h
851
*(head)->tqh_last = (elm); \
usr/src/uts/common/sys/queue.h
852
(head)->tqh_last = &TAILQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
856
#define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
usr/src/uts/common/sys/queue.h
862
(head)->tqh_last = &TAILQ_NEXT((elm), field); \
usr/src/uts/common/sys/queue.h
877
#define TAILQ_REMOVE(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
878
QUEUEDEBUG_TAILQ_PREREMOVE((head), (elm), field) \
usr/src/uts/common/sys/queue.h
884
(head)->tqh_last = (elm)->field.tqe_prev; \
usr/src/uts/common/sys/queue.h
919
#define CIRCLEQ_HEAD_INITIALIZER(head) \
usr/src/uts/common/sys/queue.h
920
{ (void *)&head, (void *)&head }
usr/src/uts/common/sys/queue.h
931
#define CIRCLEQ_EMPTY(head) ((head)->cqh_first == (void *)(head))
usr/src/uts/common/sys/queue.h
932
#define CIRCLEQ_FIRST(head) ((head)->cqh_first)
usr/src/uts/common/sys/queue.h
933
#define CIRCLEQ_LAST(head) ((head)->cqh_last)
usr/src/uts/common/sys/queue.h
937
#define CIRCLEQ_LOOP_NEXT(head, elm, field) \
usr/src/uts/common/sys/queue.h
938
(((elm)->field.cqe_next == (void *)(head)) \
usr/src/uts/common/sys/queue.h
939
? ((head)->cqh_first) \
usr/src/uts/common/sys/queue.h
941
#define CIRCLEQ_LOOP_PREV(head, elm, field) \
usr/src/uts/common/sys/queue.h
942
(((elm)->field.cqe_prev == (void *)(head)) \
usr/src/uts/common/sys/queue.h
943
? ((head)->cqh_last) \
usr/src/uts/common/sys/queue.h
946
#define CIRCLEQ_FOREACH(var, head, field) \
usr/src/uts/common/sys/queue.h
947
for ((var) = CIRCLEQ_FIRST((head)); \
usr/src/uts/common/sys/queue.h
948
(var) != (void *)(head); \
usr/src/uts/common/sys/queue.h
951
#define CIRCLEQ_FOREACH_REVERSE(var, head, field) \
usr/src/uts/common/sys/queue.h
952
for ((var) = CIRCLEQ_LAST((head)); \
usr/src/uts/common/sys/queue.h
953
(var) != (void *)(head); \
usr/src/uts/common/sys/queue.h
959
#define CIRCLEQ_INIT(head) do { \
usr/src/uts/common/sys/queue.h
960
(head)->cqh_first = (void *)(head); \
usr/src/uts/common/sys/queue.h
961
(head)->cqh_last = (void *)(head); \
usr/src/uts/common/sys/queue.h
965
#define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
usr/src/uts/common/sys/queue.h
968
if ((listelm)->field.cqe_next == (void *)(head)) \
usr/src/uts/common/sys/queue.h
969
(head)->cqh_last = (elm); \
usr/src/uts/common/sys/queue.h
976
#define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \
usr/src/uts/common/sys/queue.h
979
if ((listelm)->field.cqe_prev == (void *)(head)) \
usr/src/uts/common/sys/queue.h
980
(head)->cqh_first = (elm); \
usr/src/uts/common/sys/queue.h
987
#define CIRCLEQ_INSERT_HEAD(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
988
(elm)->field.cqe_next = (head)->cqh_first; \
usr/src/uts/common/sys/queue.h
989
(elm)->field.cqe_prev = (void *)(head); \
usr/src/uts/common/sys/queue.h
990
if ((head)->cqh_last == (void *)(head)) \
usr/src/uts/common/sys/queue.h
991
(head)->cqh_last = (elm); \
usr/src/uts/common/sys/queue.h
993
(head)->cqh_first->field.cqe_prev = (elm); \
usr/src/uts/common/sys/queue.h
994
(head)->cqh_first = (elm); \
usr/src/uts/common/sys/queue.h
998
#define CIRCLEQ_INSERT_TAIL(head, elm, field) do { \
usr/src/uts/common/sys/queue.h
999
(elm)->field.cqe_next = (void *)(head); \
usr/src/uts/common/sys/rsm/rsmka_path_int.h
82
work_token_t *head; /* start of work queue */
usr/src/uts/common/sys/scsi/adapters/mpapi_scsi_vhci.h
84
mpapi_item_list_t *head;
usr/src/uts/common/sys/scsi/adapters/mpt_sas/mptsas_var.h
433
struct mptsas_hash_node *head[MPTSAS_HASH_ARRAY_SIZE];
usr/src/uts/common/sys/scsi/adapters/pmcs/pmcs.h
219
char *head;
usr/src/uts/common/sys/scsi/impl/commands.h
593
unsigned head : 8;
usr/src/uts/common/sys/squeue.h
51
#define SQUEUE_ENTER(sqp, head, tail, cnt, ira, flag, tag) { \
usr/src/uts/common/sys/squeue.h
52
sqp->sq_enter(sqp, head, tail, cnt, ira, flag, tag); \
usr/src/uts/common/syscall/lgrpsys.c
1430
struct cpu *head;
usr/src/uts/common/syscall/lgrpsys.c
1480
cp = head = lgrp->lgrp_cpu;
usr/src/uts/common/syscall/lgrpsys.c
1481
if (head != NULL) {
usr/src/uts/common/syscall/lgrpsys.c
1488
} while (cp != head);
usr/src/uts/common/syscall/sendfile.c
416
mblk_t *head, *tmp;
usr/src/uts/common/syscall/sendfile.c
446
head = dmp = allocb(buf_left + extra, BPRI_HI);
usr/src/uts/common/syscall/sendfile.c
447
if (head == NULL)
usr/src/uts/common/syscall/sendfile.c
449
head->b_wptr = head->b_rptr = head->b_rptr + wroff;
usr/src/uts/common/syscall/sendfile.c
455
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
474
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
480
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
494
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
522
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
532
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
538
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
545
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
558
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
581
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
600
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
638
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
652
freemsg(head);
usr/src/uts/common/syscall/sendfile.c
669
error = socket_sendmblk(VTOSO(vp), &msg, fflag, CRED(), &head);
usr/src/uts/common/syscall/sendfile.c
671
if (head != NULL)
usr/src/uts/common/syscall/sendfile.c
672
freemsg(head);
usr/src/uts/common/vm/vm_page.c
6301
struct page_capture_hash_bucket *head = NULL;
usr/src/uts/common/vm/vm_page.c
6328
bp2->next = head;
usr/src/uts/common/vm/vm_page.c
6329
head = bp2;
usr/src/uts/common/vm/vm_page.c
6334
page_clrtoxic(head->pp, PR_CAPTURE);
usr/src/uts/common/vm/vm_page.c
6345
while (head != NULL) {
usr/src/uts/common/vm/vm_page.c
6346
bp1 = head;
usr/src/uts/common/vm/vm_page.c
6347
head = head->next;
usr/src/uts/common/xen/io/xnb.c
1343
mblk_t *head, *tail;
usr/src/uts/common/xen/io/xnb.c
1348
head = tail = NULL;
usr/src/uts/common/xen/io/xnb.c
1357
return (head);
usr/src/uts/common/xen/io/xnb.c
1564
if (head == NULL) {
usr/src/uts/common/xen/io/xnb.c
1566
head = mp;
usr/src/uts/common/xen/io/xnf.c
1658
xnf_tx_push_packet(xnf_t *xnfp, xnf_txbuf_t *head)
usr/src/uts/common/xen/io/xnf.c
1673
for (xnf_txbuf_t *txp = head; txp != NULL; txp = txp->tx_next) {
usr/src/uts/common/xen/io/xnf.c
1711
head->tx_frags_to_ack = nslots - extras;
usr/src/uts/common/xen/io/xnf.c
1751
xnf_txbuf_t *head = NULL;
usr/src/uts/common/xen/io/xnf.c
1770
if (head == NULL) {
usr/src/uts/common/xen/io/xnf.c
1771
head = txp;
usr/src/uts/common/xen/io/xnf.c
1775
txp->tx_head = head;
usr/src/uts/common/xen/io/xnf.c
1813
txp->tx_head = head;
usr/src/uts/common/xen/io/xnf.c
1843
return (head);
usr/src/uts/common/xen/io/xnf.c
1846
xnf_data_txbuf_free_chain(xnfp, head);
usr/src/uts/common/xen/io/xnf.c
1851
xnf_tx_setup_offload(xnf_t *xnfp, xnf_txbuf_t *head,
usr/src/uts/common/xen/io/xnf.c
1856
ASSERT3P(head->tx_bdesc, ==, NULL);
usr/src/uts/common/xen/io/xnf.c
1858
head->tx_txreq.flags |= NETTXF_extra_info;
usr/src/uts/common/xen/io/xnf.c
1859
netif_extra_info_t *extra = &head->tx_extra;
usr/src/uts/common/xen/io/xnf.c
1880
head->tx_txreq.flags |= NETTXF_csum_blank;
usr/src/uts/common/xen/io/xnf.c
1892
xnf_txbuf_t *head;
usr/src/uts/common/xen/io/xnf.c
1976
head = xnf_mblk_copy(xnfp, mp);
usr/src/uts/common/xen/io/xnf.c
1977
if (head == NULL) {
usr/src/uts/common/xen/io/xnf.c
2014
head = xnf_mblk_map(xnfp, mp, &slots);
usr/src/uts/common/xen/io/xnf.c
2015
if (head == NULL)
usr/src/uts/common/xen/io/xnf.c
2024
head->tx_mp = mp;
usr/src/uts/common/xen/io/xnf.c
2026
xnf_tx_setup_offload(xnfp, head, cksum_flags, lso_flags, mss);
usr/src/uts/common/xen/io/xnf.c
2031
head->tx_txreq.size = length;
usr/src/uts/common/xen/io/xnf.c
2036
xnf_tx_push_packet(xnfp, head);
usr/src/uts/common/xen/io/xnf.c
2266
mblk_t *head = NULL;
usr/src/uts/common/xen/io/xnf.c
2418
if (head == NULL)
usr/src/uts/common/xen/io/xnf.c
2419
head = mp;
usr/src/uts/common/xen/io/xnf.c
2472
if (head != NULL)
usr/src/uts/common/xen/io/xnf.c
2473
freemsg(head);
usr/src/uts/common/xen/io/xnf.c
2478
ASSERT(head != NULL);
usr/src/uts/common/xen/io/xnf.c
2489
mac_hcksum_set(head, 0, 0, 0, 0, HCK_FULLCKSUM_OK);
usr/src/uts/common/xen/io/xnf.c
2495
*mpp = head;
usr/src/uts/common/xen/io/xnf.h
118
#define TXBUF_SETNEXT(head, next) \
usr/src/uts/common/xen/io/xnf.h
119
head->tx_next = next; \
usr/src/uts/common/xen/io/xnf.h
120
next->tx_prev = head;
usr/src/uts/common/xen/os/gnttab.c
217
grant_ref_t head;
usr/src/uts/common/xen/os/gnttab.c
225
ref = head = gnttab_free_head;
usr/src/uts/common/xen/os/gnttab.c
228
head = GNTTAB_ENTRY(head);
usr/src/uts/common/xen/os/gnttab.c
229
gnttab_free_head = GNTTAB_ENTRY(head);
usr/src/uts/common/xen/os/gnttab.c
230
GNTTAB_ENTRY(head) = GNTTAB_LIST_END;
usr/src/uts/common/xen/os/gnttab.c
417
gnttab_free_grant_references(grant_ref_t head)
usr/src/uts/common/xen/os/gnttab.c
422
if (head == GNTTAB_LIST_END)
usr/src/uts/common/xen/os/gnttab.c
425
ref = head;
usr/src/uts/common/xen/os/gnttab.c
431
gnttab_free_head = head;
usr/src/uts/common/xen/os/gnttab.c
438
gnttab_alloc_grant_references(uint16_t count, grant_ref_t *head)
usr/src/uts/common/xen/os/gnttab.c
445
*head = h;
usr/src/uts/common/xen/sys/gnttab.h
119
void gnttab_free_grant_references(grant_ref_t head);
usr/src/uts/i86pc/io/apix/apix_intr.c
103
struct autovec **head = apixp->x_intr_head;
usr/src/uts/i86pc/io/apix/apix_intr.c
105
struct autovec *avp = head[ipl];
usr/src/uts/i86pc/io/apix/apix_intr.c
121
head[ipl] = avp->av_ipl_link;
usr/src/uts/i86pc/io/apix/apix_intr.c
124
if (head[ipl] == NULL)
usr/src/uts/i86pc/io/apix/apix_intr.c
82
struct autovec **head = apixp->x_intr_head;
usr/src/uts/i86pc/io/apix/apix_intr.c
87
head[ipl] = tail[ipl] = avp;
usr/src/uts/i86pc/io/immu_qinv.c
713
uint16_t head;
usr/src/uts/i86pc/io/immu_qinv.c
722
head = QINV_IQA_HEAD(
usr/src/uts/i86pc/io/immu_qinv.c
726
+ (head * QINV_ENTRY_SIZE));
usr/src/uts/i86pc/io/immu_qinv.c
735
head,
usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_mca_xpv.c
236
mctelem_traverse(void *head, enum mctelem_direction direction,
usr/src/uts/i86xpv/cpu/generic_cpu/gcpu_mca_xpv.c
239
char *tep = head, **ntepp;
usr/src/uts/intel/io/acpica/acpi_enum.c
1076
used_res_io_mem(char *nodename, int *count, used_io_mem_t **head)
usr/src/uts/intel/io/acpica/acpi_enum.c
1079
used_io_mem_t *used = *head;
usr/src/uts/intel/io/acpica/acpi_enum.c
1097
*head = NULL;
usr/src/uts/intel/io/acpica/acpi_enum.c
128
insert_used_resource(used_io_mem_t *used, int *used_count, used_io_mem_t **head)
usr/src/uts/intel/io/acpica/acpi_enum.c
133
if (*head == NULL) {
usr/src/uts/intel/io/acpica/acpi_enum.c
134
*head = used;
usr/src/uts/intel/io/acpica/acpi_enum.c
137
curr = prev = *head;
usr/src/uts/intel/io/acpica/acpi_enum.c
146
*head = used;
usr/src/uts/intel/io/amr/amr.c
158
static void amr_call_pkt_comp(struct amr_command *head);
usr/src/uts/intel/io/amr/amr.c
2185
struct amr_command *ac, *head, *tail;
usr/src/uts/intel/io/amr/amr.c
2187
head = tail = NULL;
usr/src/uts/intel/io/amr/amr.c
2239
if (head) {
usr/src/uts/intel/io/amr/amr.c
2244
tail = head = ac;
usr/src/uts/intel/io/amr/amr.c
2258
if (head != NULL) {
usr/src/uts/intel/io/amr/amr.c
2259
amr_call_pkt_comp(head);
usr/src/uts/intel/io/amr/amr.c
2270
amr_call_pkt_comp(register struct amr_command *head)
usr/src/uts/intel/io/amr/amr.c
2275
localhead = head;
usr/src/uts/intel/io/dktp/controller/ata/ata_common.c
1761
uchar_t head,
usr/src/uts/intel/io/dktp/controller/ata/ata_common.c
1781
sector, head, cyl_low, cyl_hi));
usr/src/uts/intel/io/dktp/controller/ata/ata_common.c
1788
ddi_put8(io_hdl1, ata_ctlp->ac_drvhd, (head | ata_drvp->ad_drive_bits));
usr/src/uts/intel/io/dktp/controller/ata/ata_common.c
1807
sector, head, cyl_low, cyl_hi));
usr/src/uts/intel/io/dktp/controller/ata/ata_common.c
1833
sector, head, cyl_low, cyl_hi));
usr/src/uts/intel/io/dktp/controller/ata/ata_common.h
669
uchar_t count, uchar_t sector, uchar_t head, uchar_t cyl_low,
usr/src/uts/intel/io/dktp/controller/ata/ata_disk.c
1839
uchar_t head;
usr/src/uts/intel/io/dktp/controller/ata/ata_disk.c
1847
head = (resid % drvheads) & 0xf;
usr/src/uts/intel/io/dktp/controller/ata/ata_disk.c
1856
ddi_put8(io_hdl1, ata_ctlp->ac_drvhd, ata_drvp->ad_drive_bits | head);
usr/src/uts/intel/io/dktp/controller/ata/ata_disk.c
2741
uchar_t head;
usr/src/uts/intel/io/dktp/controller/ata/ata_disk.c
2747
head = ddi_get8(io_hdl1, ata_ctlp->ac_drvhd) & 0xf;
usr/src/uts/intel/io/dktp/controller/ata/ata_disk.c
2754
lbastop += (uint_t)head;
usr/src/uts/intel/io/dktp/dcdev/dadk.c
727
int err, head;
usr/src/uts/intel/io/dktp/dcdev/dadk.c
740
head = STRUCT_FGET(adh, head);
usr/src/uts/intel/io/dktp/dcdev/dadk.c
741
if (head < 0 || head >= dadkp->dad_phyg.g_head)
usr/src/uts/intel/io/dktp/dcdev/dadk.c
758
bp->b_blkno = head; /* I had to put it somwhere! */
usr/src/uts/intel/io/fdc.c
1126
fdrw(struct fcu_obj *fjp, int funit, int rw, int cyl, int head,
usr/src/uts/intel/io/fdc.c
1150
csb->csb_cmd[1] = (uchar_t)(unit | ((head & 0x1) << 2));
usr/src/uts/intel/io/fdc.c
1152
csb->csb_cmd[3] = (uchar_t)head;
usr/src/uts/intel/io/fdc.c
1246
fdtrkformat(struct fcu_obj *fjp, int funit, int cyl, int head, int filldata)
usr/src/uts/intel/io/fdc.c
1260
(CE_NOTE, "fdformattrk unit %d cyl=%d, hd=%d", funit, cyl, head));
usr/src/uts/intel/io/fdc.c
1267
csb->csb_cmd[1] = (head << 2) | unit;
usr/src/uts/intel/io/fdc.c
1321
*dp++ = (uchar_t)head;
usr/src/uts/intel/io/pci/pci_memlist.c
297
struct memlist *head, *prev;
usr/src/uts/intel/io/pci/pci_memlist.c
299
head = *src;
usr/src/uts/intel/io/pci/pci_memlist.c
300
while (head) {
usr/src/uts/intel/io/pci/pci_memlist.c
301
pci_memlist_insert(dest, head->ml_address, head->ml_size);
usr/src/uts/intel/io/pci/pci_memlist.c
302
prev = head;
usr/src/uts/intel/io/pci/pci_memlist.c
303
head = head->ml_next;
usr/src/uts/intel/io/pci/pci_memlist.c
330
struct memlist *head = 0, *prev = 0;
usr/src/uts/intel/io/pci/pci_memlist.c
340
head = entry;
usr/src/uts/intel/io/pci/pci_memlist.c
345
return (head);
usr/src/uts/intel/io/scsi/adapters/arcmsr/arcmsr.c
127
struct list_head *new_one, struct list_head *head);
usr/src/uts/intel/io/scsi/adapters/arcmsr/arcmsr.c
3050
struct list_head *head)
usr/src/uts/intel/io/scsi/adapters/arcmsr/arcmsr.c
3053
arcmsr_x_list_add(new_one, head->prev, head);
usr/src/uts/intel/io/scsi/adapters/arcmsr/arcmsr.c
3058
arcmsr_list_get_first(kmutex_t *list_lock, struct list_head *head)
usr/src/uts/intel/io/scsi/adapters/arcmsr/arcmsr.c
3063
if (head->next == head) {
usr/src/uts/intel/io/scsi/adapters/arcmsr/arcmsr.c
3067
one = head->next;
usr/src/uts/intel/io/viona/viona_ring.c
1114
uint16_t ndesc, idx, head, next;
usr/src/uts/intel/io/viona/viona_ring.c
1146
head = vq_read_avail(ring, idx & ring->vr_mask);
usr/src/uts/intel/io/viona/viona_ring.c
1147
next = head;
usr/src/uts/intel/io/viona/viona_ring.c
1185
*cookie = head;
usr/src/uts/intel/io/viona/viona_rx.c
767
viona_rx_split_deliver(viona_link_t *link, mblk_t *head,
usr/src/uts/intel/io/viona/viona_rx.c
774
viona_rx_ring_deliver(viona_rx_get_ring(link, 0), head,
usr/src/uts/intel/io/viona/viona_rx.c
779
mblk_t *curr = head;
usr/src/uts/intel/io/viona/viona_rx.c
780
mblk_t *sub_tail = head;
usr/src/uts/intel/io/viona/viona_rx.c
791
viona_rx_ring_deliver(ring, head, is_loopback);
usr/src/uts/intel/io/viona/viona_rx.c
792
head = curr;
usr/src/uts/intel/io/viona/viona_rx.c
804
ASSERT3P(head, !=, NULL);
usr/src/uts/intel/io/viona/viona_rx.c
808
viona_rx_ring_deliver(ring, head, is_loopback);
usr/src/uts/sfmmu/vm/hat_sfmmu.c
14636
sfmmu_t *head;
usr/src/uts/sfmmu/vm/hat_sfmmu.c
14646
if ((head = rgnp->rgn_sfmmu_head) == NULL) {
usr/src/uts/sfmmu/vm/hat_sfmmu.c
14657
SFMMU_HMERID2RLINKP(head, rid, hrlink, 0, 0);
usr/src/uts/sfmmu/vm/hat_sfmmu.c
14660
rlink->next = head;
usr/src/uts/sun/io/eri/eri.c
2757
mblk_t *head;
usr/src/uts/sun/io/eri/eri.c
2760
head = NULL;
usr/src/uts/sun/io/eri/eri.c
2761
tail = &head;
usr/src/uts/sun/io/eri/eri.c
2970
if (head)
usr/src/uts/sun/io/eri/eri.c
2971
mac_rx(erip->mh, NULL, head);
usr/src/uts/sun/io/fd.c
3101
uint_t head; /* one of two diskette heads */
usr/src/uts/sun/io/fd.c
3245
head = bincyl / ch->fdc_secptrack;
usr/src/uts/sun/io/fd.c
3294
cyl, head, sect));
usr/src/uts/sun/io/fd.c
3303
csb->csb_cmds[1] = (head << 2) | unit;
usr/src/uts/sun/io/fd.c
3308
csb->csb_cmds[3] = head; /* H - head number */
usr/src/uts/sun/io/fd.c
5443
fdrw(struct fdctlr *fdc, int unit, int rw, int cyl, int head,
usr/src/uts/sun/io/fd.c
5502
csb->csb_cmds[1] = (uchar_t)(unit | ((head & 0x1) << 2));
usr/src/uts/sun/io/fd.c
5506
csb->csb_cmds[3] = (uchar_t)head;
usr/src/uts/sun/io/zs_async.c
2094
mblk_t *head = NULL, *tail = NULL;
usr/src/uts/sun/io/zs_async.c
2171
if (!head) {
usr/src/uts/sun/io/zs_async.c
2172
head = bp;
usr/src/uts/sun/io/zs_async.c
2175
tail = head;
usr/src/uts/sun/io/zs_async.c
2315
while (head) {
usr/src/uts/sun/io/zs_async.c
2317
putnext(q, head);
usr/src/uts/sun/io/zs_async.c
2320
bp = head;
usr/src/uts/sun/io/zs_async.c
2321
head = head->b_next;
usr/src/uts/sun/io/zs_async.c
2597
mblk_t *head = NULL, *tail = NULL;
usr/src/uts/sun/io/zs_async.c
2661
if (!head) {
usr/src/uts/sun/io/zs_async.c
2662
head = mp;
usr/src/uts/sun/io/zs_async.c
2665
tail = head;
usr/src/uts/sun/io/zs_async.c
2684
while (head) {
usr/src/uts/sun/io/zs_async.c
2686
putnext(q, head);
usr/src/uts/sun/io/zs_async.c
2689
mp = head;
usr/src/uts/sun/io/zs_async.c
2690
head = head->b_next;
usr/src/uts/sun/io/zs_hdlc.c
1774
mblk_t *head = NULL, *tail = NULL;
usr/src/uts/sun/io/zs_hdlc.c
1845
if (head == NULL) {
usr/src/uts/sun/io/zs_hdlc.c
1848
head = mp;
usr/src/uts/sun/io/zs_hdlc.c
1851
tail = head;
usr/src/uts/sun/io/zs_hdlc.c
1879
while (head) {
usr/src/uts/sun/io/zs_hdlc.c
1881
putnext(q, head);
usr/src/uts/sun/io/zs_hdlc.c
1884
mp = head;
usr/src/uts/sun/io/zs_hdlc.c
1885
head = head->b_next;
usr/src/uts/sun/sys/dada/impl/commands.h
52
uchar_t head; /* Head number */
usr/src/uts/sun4/io/efcode/fc_ops.c
147
for (ip = rp->head; ip != NULL; ip = np) {
usr/src/uts/sun4/io/efcode/fc_ops.c
455
for (ip = rp->head; ip != NULL; ip = ip->next) {
usr/src/uts/sun4/io/efcode/fc_subr.c
333
if (rp->head != NULL)
usr/src/uts/sun4/io/efcode/fc_subr.c
334
ip->next = rp->head;
usr/src/uts/sun4/io/efcode/fc_subr.c
335
rp->head = ip;
usr/src/uts/sun4/io/efcode/fc_subr.c
347
if (rp->head == NULL) {
usr/src/uts/sun4/io/efcode/fc_subr.c
353
if (rp->head == ip) {
usr/src/uts/sun4/io/efcode/fc_subr.c
354
rp->head = ip->next;
usr/src/uts/sun4/io/efcode/fc_subr.c
359
for (fp = rp->head; fp && (fp->next != ip); fp = fp->next)
usr/src/uts/sun4/io/efcode/fc_subr.c
449
fc_phandle_table_alloc(struct fc_phandle_entry **head)
usr/src/uts/sun4/io/efcode/fc_subr.c
454
fc_phandle_table_free(struct fc_phandle_entry **head)
usr/src/uts/sun4/io/efcode/fc_subr.c
461
for (ip = *head; ip; ip = np) {
usr/src/uts/sun4/io/efcode/fc_subr.c
465
*head = NULL;
usr/src/uts/sun4/io/efcode/fc_subr.c
469
fc_phandle_to_dip(struct fc_phandle_entry **head, fc_phandle_t handle)
usr/src/uts/sun4/io/efcode/fc_subr.c
475
for (ip = *head; ip; ip = ip->next)
usr/src/uts/sun4/io/efcode/fc_subr.c
485
fc_dip_to_phandle(struct fc_phandle_entry **head, dev_info_t *dip)
usr/src/uts/sun4/io/efcode/fc_subr.c
503
for (hp = *head; hp; hp = hp->next) {
usr/src/uts/sun4/io/efcode/fc_subr.c
514
np->next = *head;
usr/src/uts/sun4/io/efcode/fc_subr.c
517
*head = np;
usr/src/uts/sun4/io/efcode/fc_subr.c
529
fc_add_dip_to_phandle(struct fc_phandle_entry **head, dev_info_t *dip,
usr/src/uts/sun4/io/efcode/fc_subr.c
546
for (hp = *head; hp; hp = hp->next) {
usr/src/uts/sun4/io/efcode/fc_subr.c
557
np->next = *head;
usr/src/uts/sun4/io/efcode/fc_subr.c
560
*head = np;
usr/src/uts/sun4/io/efcode/fc_subr.c
582
struct fc_device_tree **head = fc_handle_to_dtree_head(rp);
usr/src/uts/sun4/io/efcode/fc_subr.c
584
return (*head);
usr/src/uts/sun4/io/efcode/fc_subr.c
592
fc_create_device_tree(dev_info_t *ap, struct fc_device_tree **head)
usr/src/uts/sun4/io/efcode/fc_subr.c
598
*head = dp;
usr/src/uts/sun4/io/efcode/fc_subr.c
632
fc_remove_device_tree(struct fc_device_tree **head)
usr/src/uts/sun4/io/efcode/fc_subr.c
634
ASSERT(head && (*head != NULL));
usr/src/uts/sun4/io/efcode/fc_subr.c
636
fc_remove_subtree(*head);
usr/src/uts/sun4/io/efcode/fc_subr.c
637
*head = NULL;
usr/src/uts/sun4/io/efcode/fc_subr.c
642
fc_remove_device_tree(struct fc_device_tree **head)
usr/src/uts/sun4/io/efcode/fc_subr.c
646
ASSERT(head && (*head != NULL));
usr/src/uts/sun4/io/efcode/fc_subr.c
648
dp = *head;
usr/src/uts/sun4/io/efcode/fc_subr.c
659
*head = NULL;
usr/src/uts/sun4/io/efcode/fc_subr.c
706
fc_remove_child(dev_info_t *child, struct fc_device_tree *head)
usr/src/uts/sun4/io/efcode/fc_subr.c
713
p = fc_find_node(parent, head);
usr/src/uts/sun4/io/efcode/fcpci.c
237
for (ip = rp->head; ip != NULL; ip = np) {
usr/src/uts/sun4/io/efcode/fcpci.c
401
for (ip = rp->head; ip != NULL; ip = ip->next) {
usr/src/uts/sun4/io/efcode/fcpci.c
455
for (ip = rp->head; ip != NULL; ip = ip->next) {
usr/src/uts/sun4/io/efcode/fcpci.c
501
for (ip = rp->head; ip != NULL; ip = ip->next)
usr/src/uts/sun4/io/efcode/fcpci.c
627
for (ip = rp->head; ip != NULL; ip = ip->next) {
usr/src/uts/sun4/io/efcode/fcpci.c
697
for (ip = rp->head; ip != NULL; ip = ip->next) {
usr/src/uts/sun4/io/efcode/fcpci.c
784
for (ip = rp->head; ip != NULL; ip = ip->next) {
usr/src/uts/sun4/sys/fcode.h
428
struct fc_device_tree *head);
usr/src/uts/sun4/sys/fcode.h
430
void fc_remove_child(dev_info_t *child, struct fc_device_tree *head);
usr/src/uts/sun4/sys/fcode.h
432
dev_info_t *fc_child_node(dev_info_t *parent, struct fc_device_tree *head);
usr/src/uts/sun4/sys/fcode.h
433
dev_info_t *fc_peer_node(dev_info_t *devi, struct fc_device_tree *head);
usr/src/uts/sun4/sys/fcode.h
436
void fc_create_device_tree(dev_info_t *ap, struct fc_device_tree **head);
usr/src/uts/sun4/sys/fcode.h
437
void fc_remove_device_tree(struct fc_device_tree **head);
usr/src/uts/sun4/sys/fcode.h
449
struct fc_resource *head;
usr/src/uts/sun4u/io/mc-us3.c
154
static void mc_node_add(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail);
usr/src/uts/sun4u/io/mc-us3.c
155
static void mc_node_del(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail);
usr/src/uts/sun4u/io/mc-us3.c
156
static mc_dlist_t *mc_node_get(int id, mc_dlist_t *head);
usr/src/uts/sun4u/io/mc-us3.c
1937
mc_node_add(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail)
usr/src/uts/sun4u/io/mc-us3.c
1940
node->id, (void *)*head, (void *)*tail));
usr/src/uts/sun4u/io/mc-us3.c
1942
if (*head != NULL) {
usr/src/uts/sun4u/io/mc-us3.c
1949
*head = *tail = node;
usr/src/uts/sun4u/io/mc-us3.c
1964
mc_node_del(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail)
usr/src/uts/sun4u/io/mc-us3.c
1975
*head = node->next;
usr/src/uts/sun4u/io/mc-us3.c
1987
mc_node_get(int id, mc_dlist_t *head)
usr/src/uts/sun4u/io/mc-us3.c
1991
node = head;
usr/src/uts/sun4u/io/mc-us3i.c
1440
mc_node_add(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail)
usr/src/uts/sun4u/io/mc-us3i.c
1443
node->id, (void *) *head, (void *) *tail));
usr/src/uts/sun4u/io/mc-us3i.c
1445
if (*head != NULL) {
usr/src/uts/sun4u/io/mc-us3i.c
1452
*head = *tail = node;
usr/src/uts/sun4u/io/mc-us3i.c
1467
mc_node_del(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail)
usr/src/uts/sun4u/io/mc-us3i.c
147
static void mc_node_add(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail);
usr/src/uts/sun4u/io/mc-us3i.c
1478
*head = node->next;
usr/src/uts/sun4u/io/mc-us3i.c
148
static void mc_node_del(mc_dlist_t *node, mc_dlist_t **head, mc_dlist_t **tail);
usr/src/uts/sun4u/io/mc-us3i.c
149
static void *mc_node_get(int id, mc_dlist_t *head);
usr/src/uts/sun4u/io/mc-us3i.c
1490
mc_node_get(int id, mc_dlist_t *head)
usr/src/uts/sun4u/io/mc-us3i.c
1494
node = head;
usr/src/uts/sun4u/io/mc-us3i.c
559
bank = seg->head;
usr/src/uts/sun4u/io/mc-us3i.c
920
segi->head = banki;
usr/src/uts/sun4u/io/opl_cfg.c
1193
for (resp = rp->head; resp != NULL; resp = nresp) {
usr/src/uts/sun4u/io/opl_cfg.c
1351
for (resp = rp->head; resp != NULL; resp = resp->next) {
usr/src/uts/sun4u/io/opl_cfg.c
1420
for (resp = rp->head; resp != NULL; resp = resp->next) {
usr/src/uts/sun4u/io/opl_cfg.c
1553
for (resp = rp->head; resp != NULL; resp = resp->next) {
usr/src/uts/sun4u/io/opl_cfg.c
1705
for (resp = rp->head; resp != NULL; resp = resp->next) {
usr/src/uts/sun4u/io/opl_cfg.c
1757
for (resp = rp->head; resp != NULL; resp = resp->next) {
usr/src/uts/sun4u/io/rmclomv.c
105
static void add_section(rmclomv_cache_section_t **head,
usr/src/uts/sun4u/io/rmclomv.c
627
add_section(rmclomv_cache_section_t **head, rmclomv_cache_section_t *section)
usr/src/uts/sun4u/io/rmclomv.c
629
section->next_section = *head;
usr/src/uts/sun4u/io/rmclomv.c
630
*head = section;
usr/src/uts/sun4u/opl/os/opl.c
1138
(m)->next = ctl_msg.head; \
usr/src/uts/sun4u/opl/os/opl.c
1142
ctl_msg.head = (m); \
usr/src/uts/sun4u/opl/os/opl.c
1150
ctl_msg.head = (m)->next; \
usr/src/uts/sun4u/opl/os/opl.c
1155
#define FREE_THE_TAIL(head) \
usr/src/uts/sun4u/opl/os/opl.c
1158
m = (head)->next; \
usr/src/uts/sun4u/opl/os/opl.c
1159
(head)->next = NULL; \
usr/src/uts/sun4u/opl/os/opl.c
1198
nm_msg_t *head;
usr/src/uts/sun4u/opl/os/opl.c
1279
ctl_msg.now_serving = ctl_msg.head;
usr/src/uts/sun4u/opl/os/opl.c
328
struct memlist *head, *tail, *new;
usr/src/uts/sun4u/opl/os/opl.c
332
head = tail = NULL;
usr/src/uts/sun4u/opl/os/opl.c
343
if (head == NULL)
usr/src/uts/sun4u/opl/os/opl.c
344
head = new;
usr/src/uts/sun4u/opl/os/opl.c
353
return (head);
usr/src/uts/sun4u/sys/mc-us3i.h
111
struct bank_info *head; /* first bank at this segment */
usr/src/uts/sun4v/io/ds_drv.c
456
ds_log_entry_t *head; /* head of the log */
usr/src/uts/sun4v/io/ds_drv.c
481
ds_log.head = NULL;
usr/src/uts/sun4v/io/ds_drv.c
577
if (ds_log.head == NULL) {
usr/src/uts/sun4v/io/ds_drv.c
582
ds_log.head = new;
usr/src/uts/sun4v/io/ds_drv.c
584
ds_log_entry_t *head = ds_log.head;
usr/src/uts/sun4v/io/ds_drv.c
585
ds_log_entry_t *tail = ds_log.head->prev;
usr/src/uts/sun4v/io/ds_drv.c
587
new->next = head;
usr/src/uts/sun4v/io/ds_drv.c
590
head->prev = new;
usr/src/uts/sun4v/io/ds_drv.c
609
ds_log_entry_t *head;
usr/src/uts/sun4v/io/ds_drv.c
613
head = ds_log.head;
usr/src/uts/sun4v/io/ds_drv.c
616
if (head == NULL)
usr/src/uts/sun4v/io/ds_drv.c
619
if (head->next == ds_log.head) {
usr/src/uts/sun4v/io/ds_drv.c
621
ds_log.head = NULL;
usr/src/uts/sun4v/io/ds_drv.c
623
head->next->prev = head->prev;
usr/src/uts/sun4v/io/ds_drv.c
624
head->prev->next = head->next;
usr/src/uts/sun4v/io/ds_drv.c
625
ds_log.head = head->next;
usr/src/uts/sun4v/io/ds_drv.c
629
head->datasz, DS_LOG_ENTRY_SZ(head));
usr/src/uts/sun4v/io/ds_drv.c
631
ds_log.size -= DS_LOG_ENTRY_SZ(head);
usr/src/uts/sun4v/io/ds_drv.c
634
ds_log_entry_free(head);
usr/src/uts/sun4v/io/ds_drv.c
647
ds_log_entry_t *head;
usr/src/uts/sun4v/io/ds_drv.c
651
head = ds_log.head;
usr/src/uts/sun4v/io/ds_drv.c
654
" %ld data bytes (%ld total)", head->datasz,
usr/src/uts/sun4v/io/ds_drv.c
655
DS_LOG_ENTRY_SZ(head), sz, sz + sizeof (ds_log_entry_t));
usr/src/uts/sun4v/io/ds_drv.c
657
ds_log.size -= DS_LOG_ENTRY_SZ(head);
usr/src/uts/sun4v/io/ds_drv.c
659
kmem_free(head->data, head->datasz);
usr/src/uts/sun4v/io/ds_drv.c
661
head->data = msg;
usr/src/uts/sun4v/io/ds_drv.c
662
head->datasz = sz;
usr/src/uts/sun4v/io/ds_drv.c
663
head->timestamp = ddi_get_time();
usr/src/uts/sun4v/io/ds_drv.c
664
head->dest = dest;
usr/src/uts/sun4v/io/ds_drv.c
666
ds_log.size += DS_LOG_ENTRY_SZ(head);
usr/src/uts/sun4v/io/ds_drv.c
668
ds_log.head = head->next;
usr/src/uts/sun4v/io/ldc.c
350
#define TRACE_RXHVQ_LENGTH(ldcp, head, tail) \
usr/src/uts/sun4v/io/ldc.c
353
uint64_t, head, \
usr/src/uts/sun4v/io/ldc.c
362
#define Q_CONTIG_SPACE(head, tail, size) \
usr/src/uts/sun4v/io/ldc.c
363
((head) <= (tail) ? ((size) - (tail)) : \
usr/src/uts/sun4v/io/ldc.c
364
((head) - (tail) - LDC_PACKET_SIZE))
usr/src/uts/sun4v/io/ldc.c
794
i_ldc_set_rx_head(ldc_chan_t *ldcp, uint64_t head)
usr/src/uts/sun4v/io/ldc.c
80
static void i_ldc_get_tx_head(ldc_chan_t *ldcp, uint64_t *head);
usr/src/uts/sun4v/io/ldc.c
802
if ((rv = hv_ldc_rx_set_qhead(ldcp->id, head)) == 0)
usr/src/uts/sun4v/io/ldc.c
813
"rv = 0x%x", ldcp->id, head, rv);
usr/src/uts/sun4v/io/ldc.c
82
static int i_ldc_set_rx_head(ldc_chan_t *ldcp, uint64_t head);
usr/src/uts/sun4v/io/ldc.c
825
i_ldc_get_tx_head(ldc_chan_t *ldcp, uint64_t *head)
usr/src/uts/sun4v/io/ldc.c
832
*head = ldcp->tx_head;
usr/src/uts/sun4v/io/ldc.c
851
*head = ldcp->tx_ackd_head;
usr/src/uts/sun4v/io/ldc.c
86
static int i_ldc_set_rxdq_head(ldc_chan_t *ldcp, uint64_t head);
usr/src/uts/sun4v/io/ldc.c
87
static void i_ldc_rxdq_copy(ldc_chan_t *ldcp, uint64_t *head);
usr/src/uts/sun4v/io/ldc.c
88
static uint64_t i_ldc_dq_rx_get_state(ldc_chan_t *ldcp, uint64_t *head,
usr/src/uts/sun4v/io/ldc.c
90
static uint64_t i_ldc_hvq_rx_get_state(ldc_chan_t *ldcp, uint64_t *head,
usr/src/uts/sun4v/io/ldc.c
943
i_ldc_rxdq_copy(ldc_chan_t *ldcp, uint64_t *head)
usr/src/uts/sun4v/io/ldc.c
955
bcopy((void *)(ldcp->rx_q_va + *head),
usr/src/uts/sun4v/io/ldc.c
960
*head = (*head + LDC_PACKET_SIZE) % q_size;
usr/src/uts/sun4v/io/ldc.c
970
i_ldc_set_rxdq_head(ldc_chan_t *ldcp, uint64_t head)
usr/src/uts/sun4v/io/ldc.c
972
ldcp->rx_dq_head = head;
usr/src/uts/sun4v/io/ldc.c
980
i_ldc_dq_rx_get_state(ldc_chan_t *ldcp, uint64_t *head, uint64_t *tail,
usr/src/uts/sun4v/io/ldc.c
984
*head = ldcp->rx_dq_head;
usr/src/uts/sun4v/io/ldc.c
994
i_ldc_hvq_rx_get_state(ldc_chan_t *ldcp, uint64_t *head, uint64_t *tail,
usr/src/uts/sun4v/io/ldc.c
997
return (i_ldc_h2v_error(hv_ldc_rx_get_state(ldcp->id, head, tail,
usr/src/uts/sun4v/io/vds.c
1083
size_t blk, sec, cyl, head, cnt;
usr/src/uts/sun4v/io/vds.c
1102
head = label->dkl_nhead - 1;
usr/src/uts/sun4v/io/vds.c
1105
(head * label->dkl_nsect);
usr/src/uts/sun4v/io/vds.c
1153
diskaddr_t spc, head, cyl;
usr/src/uts/sun4v/io/vds.c
1191
head = vd->dk_geom.dkg_nhead - 1;
usr/src/uts/sun4v/io/vds.c
1194
(head * vd->dk_geom.dkg_nsect) + 1;
usr/src/uts/sun4v/io/vio_util.c
102
vmplp->tail = vmplp->head;
usr/src/uts/sun4v/io/vio_util.c
156
if (vmplp->head == vmplp->tail) {
usr/src/uts/sun4v/io/vio_util.c
164
if (vmplp->head != vmplp->tail) {
usr/src/uts/sun4v/io/vio_util.c
214
uint32_t head;
usr/src/uts/sun4v/io/vio_util.c
217
head = (vmplp->head + 1) & vmplp->quemask;
usr/src/uts/sun4v/io/vio_util.c
218
if (head != vmplp->tail) {
usr/src/uts/sun4v/io/vio_util.c
220
vmp = vmplp->quep[vmplp->head];
usr/src/uts/sun4v/io/vio_util.c
221
vmplp->head = head;
usr/src/uts/sun4v/io/vio_util.c
284
ASSERT(vmplp->tail != vmplp->head);
usr/src/uts/sun4v/io/vio_util.c
87
vmplp->head = 0;
usr/src/uts/sun4v/io/vsw_hio.c
478
for (portp = plist->head; portp != NULL; portp = portp->p_next) {
usr/src/uts/sun4v/io/vsw_ldc.c
1059
for (port = plist->head; port != NULL; port = port->p_next) {
usr/src/uts/sun4v/io/vsw_ldc.c
1134
for (portp = plist->head; portp != NULL; portp = portp->p_next) {
usr/src/uts/sun4v/io/vsw_ldc.c
1195
for (portp = plist->head; portp != NULL; portp = portp->p_next) {
usr/src/uts/sun4v/io/vsw_ldc.c
1212
if (plist->head == NULL)
usr/src/uts/sun4v/io/vsw_ldc.c
1215
curr_p = prev_p = plist->head;
usr/src/uts/sun4v/io/vsw_ldc.c
1220
plist->head = curr_p->p_next;
usr/src/uts/sun4v/io/vsw_ldc.c
340
for (p = plist->head; p != NULL; p = p->p_next) {
usr/src/uts/sun4v/io/vsw_ldc.c
386
pp = (vsw_port_t **)(&plist->head);
usr/src/uts/sun4v/io/vsw_ldc.c
481
while ((port = plist->head) != NULL) {
usr/src/uts/sun4v/io/vsw_ldc.c
4851
for (port = plist->head; port != NULL; port = port->p_next) {
usr/src/uts/sun4v/io/vsw_phys.c
212
for (port = plist->head; port != NULL; port = port->p_next) {
usr/src/uts/sun4v/io/vsw_phys.c
227
for (port = plist->head; port != NULL; port = port->p_next) {
usr/src/uts/sun4v/io/vsw_phys.c
605
for (port = plist->head; port != NULL; port = port->p_next) {
usr/src/uts/sun4v/io/vsw_switching.c
1896
mblk_t *head = NULL;
usr/src/uts/sun4v/io/vsw_switching.c
1914
if (head == NULL) {
usr/src/uts/sun4v/io/vsw_switching.c
1915
head = tail = bp;
usr/src/uts/sun4v/io/vsw_switching.c
1925
return (head);
usr/src/uts/sun4v/io/vsw_switching.c
752
for (portp = plist->head; portp != NULL; portp = portp->p_next) {
usr/src/uts/sun4v/sys/hypervisor_api.h
423
extern uint64_t hv_ldc_rx_set_qhead(uint64_t channel, uint64_t head);
usr/src/uts/sun4v/sys/ldc_impl.h
485
uint64_t (*readq_get_state)(ldc_chan_t *ldcp, uint64_t *head,
usr/src/uts/sun4v/sys/ldc_impl.h
488
int (*readq_set_head)(ldc_chan_t *ldcp, uint64_t head);
usr/src/uts/sun4v/sys/vio_util.h
128
uint32_t head; /* queue head */
usr/src/uts/sun4v/sys/vsw_ldc.h
443
vsw_port_t *head; /* head of the list */