Symbol: head
bin/csh/set.c
359
value1(Char *var, struct varent *head)
bin/csh/set.c
363
vp = adrof1(var, head);
bin/csh/set.c
410
set1(Char *var, Char **vec, struct varent *head)
bin/csh/set.c
426
setq(var, vec, head);
bin/csh/set.c
471
unset1(Char *v[], struct varent *head)
bin/csh/set.c
478
while ((vp = madrof(*v, head->v_left)) != NULL)
games/atc/graphics.c
328
for (pp = air.head; pp != NULL; pp = pp->next) {
games/atc/graphics.c
336
for (pp = ground.head; pp != NULL; pp = pp->next) {
games/atc/graphics.c
78
for (pp = air.head; pp != NULL; pp = pp->next) {
games/atc/graphics.c
93
for (pp = air.head; pp != NULL; pp = pp->next) {
games/atc/list.c
102
if (l->head == p && l->tail == p)
games/atc/list.c
103
l->head = l->tail = NULL;
games/atc/list.c
104
else if (l->head == p) {
games/atc/list.c
105
l->head = p->next;
games/atc/list.c
106
l->head->prev = NULL;
games/atc/list.c
64
if (l->head == NULL) {
games/atc/list.c
66
l->head = l->tail = p;
games/atc/list.c
68
q = l -> head;
games/atc/list.c
85
l->head = p;
games/atc/list.c
99
if (l->head == NULL)
games/atc/struct.h
97
PLANE *head, *tail;
games/atc/update.c
202
for (pp = air.head; pp != NULL; pp = p2) {
games/atc/update.c
212
for (p1 = air.head; p1 != NULL; p1 = p1->next)
games/atc/update.c
297
for (pp = air.head; pp != NULL; pp = pp->next)
games/atc/update.c
303
for (pp = ground.head; pp != NULL; pp = pp->next)
games/atc/update.c
349
for (p1 = air.head; p1 != NULL; p1 = p1->next)
games/atc/update.c
390
for (pp = air.head; pp != NULL; pp = pp->next)
games/atc/update.c
393
for (pp = ground.head; pp != NULL; pp = pp->next)
games/atc/update.c
87
for (pp = ground.head; pp != NULL; pp = pp->next) {
games/atc/update.c
98
for (pp = air.head; pp != NULL; pp = pp->next) {
games/fortune/fortune/fortune.c
389
add_file(int percent, char *file, char *dir, FILEDESC **head, FILEDESC **tail,
games/fortune/fortune/fortune.c
447
return add_file(percent, file, FORTDIR, head, tail,
games/fortune/fortune/fortune.c
488
if (*head == NULL)
games/fortune/fortune/fortune.c
489
*head = *tail = fp;
games/fortune/fortune/fortune.c
496
(*head)->prev = fp;
games/fortune/fortune/fortune.c
497
fp->next = *head;
games/fortune/fortune/fortune.c
498
*head = fp;
games/monop/prop.c
102
for (op = *head; op; op = op->next)
games/monop/prop.c
108
*head = op->next;
games/monop/prop.c
56
add_list(int plr, OWN **head, int op_sqr)
games/monop/prop.c
67
for (tp = *head; tp && value(tp->sqr) < val; tp = tp->next)
games/monop/prop.c
78
*head = op;
games/monop/prop.c
86
del_list(int plr, OWN **head, shrt op_sqr)
games/worm/worm.c
135
wmove(tv, head->y, head->x); /* Leave cursor on worm */
games/worm/worm.c
196
head = newlink();
games/worm/worm.c
197
head->x = start_len % (COLS-5) + 2;
games/worm/worm.c
198
head->y = LINES / 2;
games/worm/worm.c
199
head->next = NULL;
games/worm/worm.c
200
display(head, HEAD);
games/worm/worm.c
201
for (i = 0, bp = head; i < start_len; i++, bp = np) {
games/worm/worm.c
271
x = head->x;
games/worm/worm.c
272
y = head->y;
games/worm/worm.c
346
display(head, BODY);
games/worm/worm.c
361
nh->prev = head;
games/worm/worm.c
362
head->next = nh;
games/worm/worm.c
366
head = nh;
games/worm/worm.c
369
wmove(tv, head->y, head->x);
games/worm/worm.c
58
} *head, *tail, goody;
games/worms/worms.c
159
int orientation, head;
games/worms/worms.c
254
w->orientation = w->head = 0;
games/worms/worms.c
298
if ((x = w->xpos[h = w->head]) < 0) {
games/worms/worms.c
308
if (w->xpos[w->head = h] >= 0) {
lib/libc/asr/getrrsetbyname_async.c
434
struct dns_query *head, *curr, *prev;
lib/libc/asr/getrrsetbyname_async.c
444
for (i = 1, head = NULL, prev = NULL; i <= count; i++, prev = curr) {
lib/libc/asr/getrrsetbyname_async.c
447
free_dns_query(head);
lib/libc/asr/getrrsetbyname_async.c
454
if (head == NULL)
lib/libc/asr/getrrsetbyname_async.c
455
head = curr;
lib/libc/asr/getrrsetbyname_async.c
463
free_dns_query(head);
lib/libc/asr/getrrsetbyname_async.c
468
free_dns_query(head);
lib/libc/asr/getrrsetbyname_async.c
486
return (head);
lib/libc/asr/getrrsetbyname_async.c
493
struct dns_rr *head, *curr, *prev;
lib/libc/asr/getrrsetbyname_async.c
503
for (i = 1, head = NULL, prev = NULL; i <= count; i++, prev = curr) {
lib/libc/asr/getrrsetbyname_async.c
506
free_dns_rr(head);
lib/libc/asr/getrrsetbyname_async.c
514
if (head == NULL)
lib/libc/asr/getrrsetbyname_async.c
515
head = curr;
lib/libc/asr/getrrsetbyname_async.c
523
free_dns_rr(head);
lib/libc/asr/getrrsetbyname_async.c
528
free_dns_rr(head);
lib/libc/asr/getrrsetbyname_async.c
558
free_dns_rr(head);
lib/libc/asr/getrrsetbyname_async.c
567
return (head);
lib/libc/db/mpool/mpool.c
107
struct _hqh *head;
lib/libc/db/mpool/mpool.c
132
head = &mp->hqh[HASHKEY(bp->pgno)];
lib/libc/db/mpool/mpool.c
133
TAILQ_INSERT_HEAD(head, bp, hq);
lib/libc/db/mpool/mpool.c
141
struct _hqh *head;
lib/libc/db/mpool/mpool.c
155
head = &mp->hqh[HASHKEY(bp->pgno)];
lib/libc/db/mpool/mpool.c
156
TAILQ_REMOVE(head, bp, hq);
lib/libc/db/mpool/mpool.c
172
struct _hqh *head;
lib/libc/db/mpool/mpool.c
194
head = &mp->hqh[HASHKEY(bp->pgno)];
lib/libc/db/mpool/mpool.c
195
TAILQ_REMOVE(head, bp, hq);
lib/libc/db/mpool/mpool.c
196
TAILQ_INSERT_HEAD(head, bp, hq);
lib/libc/db/mpool/mpool.c
247
head = &mp->hqh[HASHKEY(bp->pgno)];
lib/libc/db/mpool/mpool.c
248
TAILQ_INSERT_HEAD(head, bp, hq);
lib/libc/db/mpool/mpool.c
330
struct _hqh *head;
lib/libc/db/mpool/mpool.c
353
head = &mp->hqh[HASHKEY(bp->pgno)];
lib/libc/db/mpool/mpool.c
354
TAILQ_REMOVE(head, bp, hq);
lib/libc/db/mpool/mpool.c
420
struct _hqh *head;
lib/libc/db/mpool/mpool.c
423
head = &mp->hqh[HASHKEY(pgno)];
lib/libc/db/mpool/mpool.c
424
TAILQ_FOREACH(bp, head, hq)
lib/libc/gen/fts.c
1000
for (p = head; p->fts_level >= FTS_ROOTLEVEL;) {
lib/libc/gen/fts.c
550
FTSENT *p, *head;
lib/libc/gen/fts.c
652
for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) {
lib/libc/gen/fts.c
668
fts_lfree(head);
lib/libc/gen/fts.c
694
fts_lfree(head);
lib/libc/gen/fts.c
737
if (head == NULL)
lib/libc/gen/fts.c
738
head = tail = p;
lib/libc/gen/fts.c
753
fts_padjust(sp, head);
lib/libc/gen/fts.c
789
head = fts_sort(sp, head, nitems);
lib/libc/gen/fts.c
790
return (head);
lib/libc/gen/fts.c
870
fts_sort(FTS *sp, FTSENT *head, int nitems)
lib/libc/gen/fts.c
889
return (head);
lib/libc/gen/fts.c
894
for (ap = sp->fts_array, p = head; p; p = p->fts_link)
lib/libc/gen/fts.c
897
for (head = *(ap = sp->fts_array); --nitems; ++ap)
lib/libc/gen/fts.c
900
return (head);
lib/libc/gen/fts.c
934
fts_lfree(FTSENT *head)
lib/libc/gen/fts.c
939
while ((p = head)) {
lib/libc/gen/fts.c
940
head = head->fts_link;
lib/libc/gen/fts.c
983
fts_padjust(FTS *sp, FTSENT *head)
lib/libc/rpc/pmap_getmaps.c
60
struct pmaplist *head = NULL;
lib/libc/rpc/pmap_getmaps.c
72
&head, minutetimeout) != RPC_SUCCESS) {
lib/libc/rpc/pmap_getmaps.c
79
return (head);
lib/libc/stdlib/hcreate.c
156
struct internal_head *head;
lib/libc/stdlib/hcreate.c
168
head = &htable[hashval & (htablesize - 1)];
lib/libc/stdlib/hcreate.c
169
ie = SLIST_FIRST(head);
lib/libc/stdlib/hcreate.c
187
SLIST_INSERT_HEAD(head, ie, link);
lib/libc/thread/rthread_file.c
110
p = LIST_FIRST(&flh[idx].head);
lib/libc/thread/rthread_file.c
140
p = LIST_FIRST(&flh[idx].head);
lib/libc/thread/rthread_file.c
158
LIST_INSERT_HEAD(&flh[idx].head, p, entry);
lib/libc/thread/rthread_file.c
87
LIST_HEAD(file_list_head, file_lock) head;
lib/libcurses/base/lib_getch.c
222
int ch = (head >= 0) ? sp->_fifo[head] : ERR;
lib/libcurses/base/lib_getch.c
224
TR(TRACE_IEVENT, ("pulling %s from %d", _nc_tracechar(sp, ch), head));
lib/libcurses/base/lib_getch.c
226
if (peek == head) {
lib/libcurses/base/lib_getch.c
228
peek = head;
lib/libcurses/base/lib_getch.c
357
if (head == -1)
lib/libcurses/base/lib_getch.c
358
head = peek = tail;
lib/libcurses/base/lib_getch.c
374
head = -1;
lib/libcurses/base/lib_getch.c
482
if (head == -1 &&
lib/libcurses/base/lib_getch.c
519
if (head == -1) { /* fifo is empty */
lib/libcurses/base/lib_getch.c
599
if (head == -1)
lib/libcurses/base/lib_getch.c
731
if (cooked_key_in_fifo() && sp->_fifo[head] >= KEY_MIN) {
lib/libcurses/base/lib_getch.c
736
peek = head; /* the keys stay uninterpreted */
lib/libcurses/base/lib_getch.c
741
peek = head; /* the keys stay uninterpreted */
lib/libcurses/base/lib_getch.c
753
peek = head;
lib/libcurses/base/lib_getch.c
775
head = peek;
lib/libcurses/base/lib_getch.c
791
peek = head; /* Restart interpreting later */
lib/libcurses/base/lib_getch.c
802
peek = head;
lib/libcurses/base/lib_ungetch.c
57
T(("head = %d, tail = %d, peek = %d", head, tail, peek));
lib/libcurses/base/lib_ungetch.c
71
if (head < 0) {
lib/libcurses/base/lib_ungetch.c
72
head = 0;
lib/libcurses/base/lib_ungetch.c
79
sp->_fifo[head] = ch;
lib/libcurses/fifo_defs.h
52
(head >= FIFO_SIZE-1) \
lib/libcurses/fifo_defs.h
53
? head = 0 \
lib/libcurses/fifo_defs.h
54
: head++; \
lib/libcurses/fifo_defs.h
55
if (head == tail) \
lib/libcurses/fifo_defs.h
56
head = -1, tail = 0; \
lib/libcurses/fifo_defs.h
59
(head <= 0) \
lib/libcurses/fifo_defs.h
60
? head = FIFO_SIZE-1 \
lib/libcurses/fifo_defs.h
61
: head--; \
lib/libcurses/fifo_defs.h
62
if (head == tail) \
lib/libcurses/fifo_defs.h
69
if (tail == head) \
lib/libcurses/fifo_defs.h
76
if (head == tail) \
lib/libcurses/fifo_defs.h
85
#define cooked_key_in_fifo() ((head >= 0) && (peek != head))
lib/libcurses/fifo_defs.h
86
#define raw_key_in_fifo() ((head >= 0) && (peek != tail))
lib/libcurses/tinfo/access.c
142
char head[PATH_MAX];
lib/libcurses/tinfo/access.c
145
_nc_STRCPY(head, path, sizeof(head));
lib/libcurses/tinfo/access.c
146
leaf = _nc_basename(head);
lib/libcurses/tinfo/access.c
148
leaf = head;
lib/libcurses/tinfo/access.c
150
if (head == leaf)
lib/libcurses/tinfo/access.c
151
_nc_STRCPY(head, ".", sizeof(head));
lib/libcurses/tinfo/access.c
153
result = ACCESS(head, R_OK | W_OK | X_OK);
lib/libelf/_elftc.h
104
#define STAILQ_EMPTY(head) ((head)->stqh_first == NULL)
lib/libelf/_elftc.h
115
#define STAILQ_FIRST(head) ((head)->stqh_first)
lib/libelf/_elftc.h
127
#define STAILQ_HEAD_INITIALIZER(head) \
lib/libelf/_elftc.h
128
{ NULL, &(head).stqh_first }
lib/libelf/_elftc.h
132
#define STAILQ_FOREACH(var, head, field) \
lib/libelf/_elftc.h
133
for ((var) = ((head)->stqh_first); \
lib/libelf/_elftc.h
139
#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \
lib/libelf/_elftc.h
140
for ((var) = STAILQ_FIRST((head)); \
lib/libelf/_elftc.h
146
#define STAILQ_INIT(head) do { \
lib/libelf/_elftc.h
147
(head)->stqh_first = NULL; \
lib/libelf/_elftc.h
148
(head)->stqh_last = &(head)->stqh_first; \
lib/libelf/_elftc.h
153
#define STAILQ_INSERT_HEAD(head, elm, field) do { \
lib/libelf/_elftc.h
154
if (((elm)->field.stqe_next = (head)->stqh_first) == NULL) \
lib/libelf/_elftc.h
155
(head)->stqh_last = &(elm)->field.stqe_next; \
lib/libelf/_elftc.h
156
(head)->stqh_first = (elm); \
lib/libelf/_elftc.h
161
#define STAILQ_INSERT_TAIL(head, elm, field) do { \
lib/libelf/_elftc.h
163
*(head)->stqh_last = (elm); \
lib/libelf/_elftc.h
164
(head)->stqh_last = &(elm)->field.stqe_next; \
lib/libelf/_elftc.h
169
#define STAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
lib/libelf/_elftc.h
171
(head)->stqh_last = &(elm)->field.stqe_next; \
lib/libelf/_elftc.h
177
#define STAILQ_LAST(head, type, field) \
lib/libelf/_elftc.h
178
(STAILQ_EMPTY((head)) ? \
lib/libelf/_elftc.h
180
((char *)((head)->stqh_last) - offsetof(struct type, field))))
lib/libelf/_elftc.h
188
#define STAILQ_REMOVE(head, elm, type, field) do { \
lib/libelf/_elftc.h
189
if ((head)->stqh_first == (elm)) { \
lib/libelf/_elftc.h
190
STAILQ_REMOVE_HEAD((head), field); \
lib/libelf/_elftc.h
192
struct type *curelm = (head)->stqh_first; \
lib/libelf/_elftc.h
197
(head)->stqh_last = &(curelm)->field.stqe_next; \
lib/libelf/_elftc.h
203
#define STAILQ_REMOVE_HEAD(head, field) do { \
lib/libelf/_elftc.h
204
if (((head)->stqh_first = (head)->stqh_first->field.stqe_next) == \
lib/libelf/_elftc.h
206
(head)->stqh_last = &(head)->stqh_first; \
lib/libelf/_elftc.h
215
#define STAILQ_SORT(head, type, field, cmp) do { \
lib/libelf/_elftc.h
224
while (!STAILQ_EMPTY((head))) { \
lib/libelf/_elftc.h
228
for (_i = 0; _i < _sz && !STAILQ_EMPTY((head)); \
lib/libelf/_elftc.h
230
_e = STAILQ_FIRST((head)); \
lib/libelf/_elftc.h
234
STAILQ_REMOVE_HEAD((head), field); \
lib/libelf/_elftc.h
239
_q = STAILQ_FIRST((head)); \
lib/libelf/_elftc.h
244
STAILQ_REMOVE_HEAD((head), \
lib/libelf/_elftc.h
260
STAILQ_REMOVE_HEAD((head), \
lib/libelf/_elftc.h
267
(head)->stqh_first = _lb.stqh_first; \
lib/libelf/_elftc.h
268
(head)->stqh_last = _lb.stqh_last; \
lib/libelf/_elftc.h
275
#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
lib/libelf/_elftc.h
276
for ((var) = TAILQ_FIRST((head)); \
lib/libelf/_elftc.h
80
#define LIST_FOREACH_SAFE(var, head, field, tvar) \
lib/libelf/_elftc.h
81
for ((var) = LIST_FIRST((head)); \
lib/libelf/_elftc.h
87
#define SLIST_FOREACH_SAFE(var, head, field, tvar) \
lib/libelf/_elftc.h
88
for ((var) = SLIST_FIRST((head)); \
lib/libevent/kqueue.c
268
struct event_list *head =
lib/libevent/kqueue.c
270
TAILQ_FOREACH(ev, head, ev_signal_next) {
lib/libform/frm_def.c
101
head = (FIELD *)0;
lib/libform/frm_def.c
110
if (current == head)
lib/libform/frm_def.c
81
Insert_Field_By_Position(FIELD *newfield, FIELD *head)
lib/libform/frm_def.c
87
if (!head)
lib/libform/frm_def.c
93
newhead = current = head;
lib/libform/frm_def.c
99
if (current == head)
lib/libpcap/gencode.c
238
p->head = p;
lib/libpcap/gencode.c
423
root = p->head;
lib/libpcap/gencode.c
445
backpatch(b0, b1->head);
lib/libpcap/gencode.c
450
b1->head = b0->head;
lib/libpcap/gencode.c
457
backpatch(b0, b1->head);
lib/libpcap/gencode.c
460
b1->head = b0->head;
lib/libpcap/gencode.h
130
struct block *head;
lib/libpcap/grammar.y
207
head: pqual dqual aqual { QSET($$.q, $1, $2, $3); }
lib/libpcap/grammar.y
214
rterm: head id { $$ = $2; }
lib/libpcap/grammar.y
94
%type <blk> head
lib/librthread/rthread_stack.c
20
static SLIST_HEAD(, stack) def_stacks = SLIST_HEAD_INITIALIZER(head);
lib/libssl/ssl_ciph.c
1120
CIPHER_ORDER *co_list = NULL, *head = NULL, *tail = NULL, *curr;
lib/libssl/ssl_ciph.c
1161
co_list, &head, &tail);
lib/libssl/ssl_ciph.c
1167
ssl_cipher_apply_rule(0, SSL_kECDHE, 0, 0, 0, 0, 0, CIPHER_ADD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1168
ssl_cipher_apply_rule(0, SSL_kECDHE, 0, 0, 0, 0, 0, CIPHER_DEL, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1176
CIPHER_ADD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1178
0, 0, 0, CIPHER_ADD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1185
0, 0, 0, CIPHER_ADD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1187
CIPHER_ADD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1191
ssl_cipher_apply_rule(0, 0, 0, 0, 0, 0, 0, CIPHER_ADD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1194
ssl_cipher_apply_rule(0, 0, 0, 0, SSL_MD5, 0, 0, CIPHER_ORD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1199
ssl_cipher_apply_rule(0, 0, SSL_aNULL, 0, 0, 0, 0, CIPHER_ORD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1202
ssl_cipher_apply_rule(0, SSL_kRSA, 0, 0, 0, 0, 0, CIPHER_ORD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1205
ssl_cipher_apply_rule(0, 0, 0, SSL_RC4, 0, 0, 0, CIPHER_ORD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1209
if (!ssl_cipher_strength_sort(&head, &tail))
lib/libssl/ssl_ciph.c
1213
ssl_cipher_apply_rule(0, 0, 0, 0, 0, 0, 0, CIPHER_DEL, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1216
ssl_cipher_apply_rule(0, 0, 0, 0, 0, SSL_TLSV1_3, 0, CIPHER_ADD, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1217
ssl_cipher_apply_rule(0, 0, 0, 0, 0, SSL_TLSV1_3, 0, CIPHER_DEL, -1, &head, &tail);
lib/libssl/ssl_ciph.c
1235
disabled_auth, disabled_enc, disabled_mac, disabled_ssl, head);
lib/libssl/ssl_ciph.c
1245
&head, &tail, ca_list, cert, &tls13_seen);
lib/libssl/ssl_ciph.c
1252
ok = ssl_cipher_process_rulestr(rule_p, &head, &tail, ca_list,
lib/libssl/ssl_ciph.c
1293
for (curr = head; curr != NULL; curr = curr->next) {
lib/libssl/ssl_ciph.c
536
ll_append_tail(CIPHER_ORDER **head, CIPHER_ORDER *curr,
lib/libssl/ssl_ciph.c
541
if (curr == *head)
lib/libssl/ssl_ciph.c
542
*head = curr->next;
lib/libssl/ssl_ciph.c
554
ll_append_head(CIPHER_ORDER **head, CIPHER_ORDER *curr,
lib/libssl/ssl_ciph.c
557
if (curr == *head)
lib/libssl/ssl_ciph.c
565
(*head)->prev = curr;
lib/libssl/ssl_ciph.c
566
curr->next= *head;
lib/libssl/ssl_ciph.c
568
*head = curr;
lib/libssl/ssl_ciph.c
643
unsigned long disabled_ssl, CIPHER_ORDER *head)
lib/libssl/ssl_ciph.c
657
ciph_curr = head;
lib/libssl/ssl_ciph.c
711
CIPHER_ORDER *head, *tail, *curr, *next, *last;
lib/libssl/ssl_ciph.c
718
head = *head_p;
lib/libssl/ssl_ciph.c
723
last = head;
lib/libssl/ssl_ciph.c
725
next = head;
lib/libssl/ssl_ciph.c
767
ll_append_tail(&head, curr, &tail);
lib/libssl/ssl_ciph.c
775
ll_append_tail(&head, curr, &tail);
lib/libssl/ssl_ciph.c
783
ll_append_head(&head, curr, &tail);
lib/libssl/ssl_ciph.c
788
if (head == curr)
lib/libssl/ssl_ciph.c
789
head = curr->next;
lib/libssl/ssl_ciph.c
804
*head_p = head;
lib/libz/deflate.c
1298
TRY_FREE(strm, strm->state->head);
lib/libz/deflate.c
1340
ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
lib/libz/deflate.c
1343
if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL ||
lib/libz/deflate.c
1353
zmemcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos));
lib/libz/deflate.c
153
match_head = s->head[s->ins_h], \
lib/libz/deflate.c
154
s->head[s->ins_h] = (Pos)(str))
lib/libz/deflate.c
158
match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
lib/libz/deflate.c
159
s->head[s->ins_h] = (Pos)(str))
lib/libz/deflate.c
168
s->head[s->hash_size - 1] = NIL; \
lib/libz/deflate.c
169
zmemzero(s->head, (unsigned)(s->hash_size - 1)*sizeof(*s->head)); \
lib/libz/deflate.c
189
p = &s->head[n];
lib/libz/deflate.c
321
s->prev[str & s->w_mask] = s->head[s->ins_h];
lib/libz/deflate.c
323
s->head[s->ins_h] = (Pos)str;
lib/libz/deflate.c
456
s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
lib/libz/deflate.c
504
if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
lib/libz/deflate.c
599
s->prev[str & s->w_mask] = s->head[s->ins_h];
lib/libz/deflate.c
601
s->head[s->ins_h] = (Pos)str;
lib/libz/deflate.c
710
int ZEXPORT deflateSetHeader(z_streamp strm, gz_headerp head) {
lib/libz/deflate.c
713
strm->state->gzhead = head;
lib/libz/deflate.h
142
Posf *head; /* Heads of the hash chains or NIL. */
lib/libz/inflate.c
115
state->head = Z_NULL;
lib/libz/inflate.c
1305
int ZEXPORT inflateGetHeader(z_streamp strm, gz_headerp head) {
lib/libz/inflate.c
1314
state->head = head;
lib/libz/inflate.c
1315
head->done = 0;
lib/libz/inflate.c
522
if (state->head != Z_NULL)
lib/libz/inflate.c
523
state->head->done = -1;
lib/libz/inflate.c
588
if (state->head != Z_NULL)
lib/libz/inflate.c
589
state->head->text = (int)((hold >> 8) & 1);
lib/libz/inflate.c
597
if (state->head != Z_NULL)
lib/libz/inflate.c
598
state->head->time = hold;
lib/libz/inflate.c
606
if (state->head != Z_NULL) {
lib/libz/inflate.c
607
state->head->xflags = (int)(hold & 0xff);
lib/libz/inflate.c
608
state->head->os = (int)(hold >> 8);
lib/libz/inflate.c
619
if (state->head != Z_NULL)
lib/libz/inflate.c
620
state->head->extra_len = (unsigned)hold;
lib/libz/inflate.c
625
else if (state->head != Z_NULL)
lib/libz/inflate.c
626
state->head->extra = Z_NULL;
lib/libz/inflate.c
634
if (state->head != Z_NULL &&
lib/libz/inflate.c
635
state->head->extra != Z_NULL &&
lib/libz/inflate.c
636
(len = state->head->extra_len - state->length) <
lib/libz/inflate.c
637
state->head->extra_max) {
lib/libz/inflate.c
638
zmemcpy(state->head->extra + len, next,
lib/libz/inflate.c
639
len + copy > state->head->extra_max ?
lib/libz/inflate.c
640
state->head->extra_max - len : copy);
lib/libz/inflate.c
659
if (state->head != Z_NULL &&
lib/libz/inflate.c
660
state->head->name != Z_NULL &&
lib/libz/inflate.c
661
state->length < state->head->name_max)
lib/libz/inflate.c
662
state->head->name[state->length++] = (Bytef)len;
lib/libz/inflate.c
670
else if (state->head != Z_NULL)
lib/libz/inflate.c
671
state->head->name = Z_NULL;
lib/libz/inflate.c
681
if (state->head != Z_NULL &&
lib/libz/inflate.c
682
state->head->comment != Z_NULL &&
lib/libz/inflate.c
683
state->length < state->head->comm_max)
lib/libz/inflate.c
684
state->head->comment[state->length++] = (Bytef)len;
lib/libz/inflate.c
692
else if (state->head != Z_NULL)
lib/libz/inflate.c
693
state->head->comment = Z_NULL;
lib/libz/inflate.c
710
if (state->head != Z_NULL) {
lib/libz/inflate.c
711
state->head->hcrc = (int)((state->flags >> 9) & 1);
lib/libz/inflate.c
712
state->head->done = 1;
lib/libz/inflate.h
94
gz_headerp head; /* where to save gzip header information */
lib/libz/zlib.h
1071
gz_headerp head);
lib/libz/zlib.h
834
gz_headerp head);
libexec/ld.so/resolve.c
489
elf_object_t *nobj, *head;
libexec/ld.so/resolve.c
502
head = free_objects;
libexec/ld.so/resolve.c
504
while (head != NULL) {
libexec/ld.so/resolve.c
505
_dl_free(head->load_name);
libexec/ld.so/resolve.c
506
_dl_free((char *)head->sod.sod_name);
libexec/ld.so/resolve.c
507
_dl_free_path(head->runpath);
libexec/ld.so/resolve.c
508
_dl_free_path(head->rpath);
libexec/ld.so/resolve.c
509
_dl_free(head->grpsym_vec.vec);
libexec/ld.so/resolve.c
510
_dl_free(head->child_vec.vec);
libexec/ld.so/resolve.c
511
_dl_tailq_free(TAILQ_FIRST(&head->grpref_list));
libexec/ld.so/resolve.c
512
nobj = head->next;
libexec/ld.so/resolve.c
513
_dl_free(head);
libexec/ld.so/resolve.c
514
head = nobj;
libexec/spamd/sdl.c
419
sdl_lookup(struct sdlist *head, int af, void *src)
libexec/spamd/sdl.c
421
if (head == NULL)
libexec/spamd/sdl.c
426
return (sdl_lookup_v4(head, src));
libexec/spamd/sdl.c
428
return (sdl_lookup_v6(head, src));
libexec/spamd/sdl.c
463
sdl_check(struct sdlist *head, int af, void *src)
libexec/spamd/sdl.c
465
if (head == NULL)
libexec/spamd/sdl.c
470
return (sdl_check_v4(head, src));
libexec/spamd/sdl.c
472
return (sdl_check_v6(head, src));
regress/lib/libz/infcover.c
291
gz_header head;
regress/lib/libz/infcover.c
303
head.extra = out;
regress/lib/libz/infcover.c
304
head.extra_max = len;
regress/lib/libz/infcover.c
305
head.name = out;
regress/lib/libz/infcover.c
306
head.name_max = len;
regress/lib/libz/infcover.c
307
head.comment = out;
regress/lib/libz/infcover.c
308
head.comm_max = len;
regress/lib/libz/infcover.c
309
ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK);
regress/sbin/iked/parser/common.c
171
config_add_proposal(struct iked_proposals *head, u_int id, u_int proto)
regress/sbin/iked/parser/common.c
177
config_free_proposal(struct iked_proposals *head, struct iked_proposal *prop)
regress/sys/sys/tree/rb-linux/rb-linux.c
147
#define RB_ROOT(head) (head)->rbh_root
regress/sys/sys/tree/rb-linux/rb-linux.c
46
rb_find(struct rb_root *head, struct keynode *elm)
regress/sys/sys/tree/rb-linux/rb-linux.c
48
struct rb_node *tmp = head->rb_node;
regress/sys/sys/tree/rb-linux/rb-linux.c
63
rb_insert(struct rb_root *head, struct keynode *elm)
regress/sys/sys/tree/rb-linux/rb-linux.c
67
tmp = &(head->rb_node);
regress/sys/sys/tree/rb-linux/rb-linux.c
81
rb_insert_color(&elm->node, head);
regress/usr.sbin/bgpd/unittests/chash_test.c
105
CH_FOREACH(pp, test, &head, &iter) {
regress/usr.sbin/bgpd/unittests/chash_test.c
112
CH_DESTROY(test, &head);
regress/usr.sbin/bgpd/unittests/chash_test.c
115
if (CH_INSERT(test, &head, &peers[0], NULL) != 1)
regress/usr.sbin/bgpd/unittests/chash_test.c
78
struct test head = CH_INITIALIZER(head);
regress/usr.sbin/bgpd/unittests/chash_test.c
85
if (CH_INSERT(test, &head, &peers[i], NULL) != 1)
regress/usr.sbin/bgpd/unittests/chash_test.c
91
if ((pp = CH_FIND(test, &head, &peers[i])) != &peers[i])
regress/usr.sbin/bgpd/unittests/chash_test.c
99
if (CH_FIND(test, &head, &p) != NULL)
sbin/dhcp6leased/frontend.c
1012
find_iface_conf(struct iface_conf_head *head, char *if_name)
sbin/dhcp6leased/frontend.c
1019
SIMPLEQ_FOREACH(iface_conf, head, entry) {
sbin/dhcpleased/frontend.c
1219
find_iface_conf(struct iface_conf_head *head, char *if_name)
sbin/dhcpleased/frontend.c
1226
SIMPLEQ_FOREACH(iface_conf, head, entry) {
sbin/fdisk/part.c
755
uint32_t head = chs->chs_head;
sbin/fdisk/part.c
758
if (head > 254 || sect > 63 || cyl > 1023) {
sbin/fdisk/part.c
760
head = (prt_id == DOSPTYP_EFI) ? 255 : 254;
sbin/fdisk/part.c
765
*dp_hd = head & 0xFF;
sbin/fsck_msdos/dir.c
232
if (fat[boot->RootCl].head != boot->RootCl) {
sbin/fsck_msdos/dir.c
238
rootDir->head = boot->RootCl;
sbin/fsck_msdos/dir.c
364
if (dir->head == CLUST_FREE)
sbin/fsck_msdos/dir.c
367
if (dir->head < CLUST_FIRST || dir->head >= boot->NumClusters)
sbin/fsck_msdos/dir.c
369
physicalSize = fat[dir->head].length * boot->ClusterSize;
sbin/fsck_msdos/dir.c
391
for (cl = dir->head; (sz += boot->ClusterSize) < dir->size;) {
sbin/fsck_msdos/dir.c
397
fat[dir->head].length = len;
sbin/fsck_msdos/dir.c
426
cl = dir->head;
sbin/fsck_msdos/dir.c
630
dirent.head = p[26] | (p[27] << 8);
sbin/fsck_msdos/dir.c
632
dirent.head |= (p[20] << 16) | (p[21] << 24);
sbin/fsck_msdos/dir.c
661
if (dirent.head != 0) {
sbin/fsck_msdos/dir.c
668
clearchain(boot, fat, dirent.head);
sbin/fsck_msdos/dir.c
669
dirent.head = 0;
sbin/fsck_msdos/dir.c
674
} else if (dirent.head == 0
sbin/fsck_msdos/dir.c
681
} else if (dirent.head < CLUST_FIRST
sbin/fsck_msdos/dir.c
682
|| dirent.head >= boot->NumClusters
sbin/fsck_msdos/dir.c
683
|| fat[dirent.head].next == CLUST_FREE
sbin/fsck_msdos/dir.c
684
|| (fat[dirent.head].next >= CLUST_RSRVD
sbin/fsck_msdos/dir.c
685
&& fat[dirent.head].next < CLUST_EOFS)
sbin/fsck_msdos/dir.c
686
|| fat[dirent.head].head != dirent.head) {
sbin/fsck_msdos/dir.c
687
if (dirent.head == 0)
sbin/fsck_msdos/dir.c
690
else if (dirent.head < CLUST_FIRST
sbin/fsck_msdos/dir.c
691
|| dirent.head >= boot->NumClusters)
sbin/fsck_msdos/dir.c
694
dirent.head);
sbin/fsck_msdos/dir.c
695
else if (fat[dirent.head].next == CLUST_FREE)
sbin/fsck_msdos/dir.c
698
else if (fat[dirent.head].next >= CLUST_RSRVD)
sbin/fsck_msdos/dir.c
701
rsrvdcltype(fat[dirent.head].next));
sbin/fsck_msdos/dir.c
725
if (dirent.head >= CLUST_FIRST && dirent.head < boot->NumClusters)
sbin/fsck_msdos/dir.c
726
fat[dirent.head].flags |= FAT_USED;
sbin/fsck_msdos/dir.c
748
if (dirent.head != dir->head) {
sbin/fsck_msdos/dir.c
752
dirent.head = dir->head;
sbin/fsck_msdos/dir.c
753
p[26] = (u_char)dirent.head;
sbin/fsck_msdos/dir.c
754
p[27] = (u_char)(dirent.head >> 8);
sbin/fsck_msdos/dir.c
756
p[20] = (u_char)(dirent.head >> 16);
sbin/fsck_msdos/dir.c
757
p[21] = (u_char)(dirent.head >> 24);
sbin/fsck_msdos/dir.c
768
if (dirent.head) {
sbin/fsck_msdos/dir.c
772
dirent.head = 0;
sbin/fsck_msdos/dir.c
780
} else if (dirent.head != dir->parent->head) {
sbin/fsck_msdos/dir.c
784
dirent.head = dir->parent->head;
sbin/fsck_msdos/dir.c
785
p[26] = (u_char)dirent.head;
sbin/fsck_msdos/dir.c
786
p[27] = (u_char)(dirent.head >> 8);
sbin/fsck_msdos/dir.c
788
p[20] = (u_char)(dirent.head >> 16);
sbin/fsck_msdos/dir.c
789
p[21] = (u_char)(dirent.head >> 24);
sbin/fsck_msdos/dir.c
896
reconnect(int dosfs, struct bootblock *boot, struct fatEntry *fat, cl_t head)
sbin/fsck_msdos/dir.c
931
lfcl = p ? fat[lfcl].next : lostDir->head;
sbin/fsck_msdos/dir.c
950
snprintf(d.name, sizeof d.name, "%u", head);
sbin/fsck_msdos/dir.c
952
d.head = head;
sbin/fsck_msdos/dir.c
953
d.size = fat[head].length * boot->ClusterSize;
sbin/fsck_msdos/dir.c
958
p[26] = (u_char)d.head;
sbin/fsck_msdos/dir.c
959
p[27] = (u_char)(d.head >> 8);
sbin/fsck_msdos/dir.c
961
p[20] = (u_char)(d.head >> 16);
sbin/fsck_msdos/dir.c
962
p[21] = (u_char)(d.head >> 24);
sbin/fsck_msdos/dir.c
968
fat[head].flags |= FAT_USED;
sbin/fsck_msdos/dosfs.h
122
cl_t head; /* cluster no */
sbin/fsck_msdos/dosfs.h
85
cl_t head; /* pointer to start of chain */
sbin/fsck_msdos/fat.c
288
clearchain(struct bootblock *boot, struct fatEntry *fat, cl_t head)
sbin/fsck_msdos/fat.c
292
for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; p = q) {
sbin/fsck_msdos/fat.c
293
if (fat[p].head != head)
sbin/fsck_msdos/fat.c
296
fat[p].next = fat[p].head = CLUST_FREE;
sbin/fsck_msdos/fat.c
302
tryclear(struct bootblock *boot, struct fatEntry *fat, cl_t head, cl_t *trunc)
sbin/fsck_msdos/fat.c
307
if (ask(0, "Clear chain starting at %u", head)) {
sbin/fsck_msdos/fat.c
308
clearchain(boot, fat, head);
sbin/fsck_msdos/fat.c
313
for (p = head; p >= CLUST_FIRST && p < boot->NumClusters;
sbin/fsck_msdos/fat.c
317
fat[head].length = len;
sbin/fsck_msdos/fat.c
329
cl_t head, p, h, n;
sbin/fsck_msdos/fat.c
337
for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
sbin/fsck_msdos/fat.c
339
if (fat[head].head != 0 /* cluster already belongs to some chain */
sbin/fsck_msdos/fat.c
340
|| fat[head].next == CLUST_FREE
sbin/fsck_msdos/fat.c
341
|| fat[head].next == CLUST_BAD)
sbin/fsck_msdos/fat.c
345
for (len = 0, p = head;
sbin/fsck_msdos/fat.c
347
fat[p].head != head;
sbin/fsck_msdos/fat.c
349
fat[p].head = head;
sbin/fsck_msdos/fat.c
354
fat[head].length = fat[head].next == CLUST_FREE ? 0 : len;
sbin/fsck_msdos/fat.c
362
for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
sbin/fsck_msdos/fat.c
364
if (fat[head].head != head)
sbin/fsck_msdos/fat.c
368
for (len = fat[head].length, p = head;
sbin/fsck_msdos/fat.c
372
if (fat[n].head != head || len-- < 2)
sbin/fsck_msdos/fat.c
380
head, rsrvdcltype(n));
sbin/fsck_msdos/fat.c
381
ret |= tryclear(boot, fat, head, &fat[p].next);
sbin/fsck_msdos/fat.c
386
head, n);
sbin/fsck_msdos/fat.c
387
ret |= tryclear(boot, fat, head, &fat[p].next);
sbin/fsck_msdos/fat.c
390
if (head == fat[n].head) {
sbin/fsck_msdos/fat.c
392
head, p);
sbin/fsck_msdos/fat.c
393
ret |= tryclear(boot, fat, head, &fat[p].next);
sbin/fsck_msdos/fat.c
397
head, fat[n].head, n);
sbin/fsck_msdos/fat.c
398
conf = tryclear(boot, fat, head, &fat[p].next);
sbin/fsck_msdos/fat.c
399
if (ask(0, "Clear chain starting at %u", h = fat[n].head)) {
sbin/fsck_msdos/fat.c
407
if (h != fat[p].head) {
sbin/fsck_msdos/fat.c
411
head--;
sbin/fsck_msdos/fat.c
414
fat[p].head = head;
sbin/fsck_msdos/fat.c
514
cl_t head;
sbin/fsck_msdos/fat.c
518
for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
sbin/fsck_msdos/fat.c
520
if (fat[head].head != head
sbin/fsck_msdos/fat.c
521
|| fat[head].next == CLUST_FREE
sbin/fsck_msdos/fat.c
522
|| (fat[head].next >= CLUST_RSRVD
sbin/fsck_msdos/fat.c
523
&& fat[head].next < CLUST_EOFS)
sbin/fsck_msdos/fat.c
524
|| (fat[head].flags & FAT_USED))
sbin/fsck_msdos/fat.c
528
head, fat[head].length);
sbin/fsck_msdos/fat.c
529
mod |= ret = reconnect(dosfs, boot, fat, head);
sbin/fsck_msdos/fat.c
533
clearchain(boot, fat, head);
sbin/fsck_msdos/fat.c
556
for (head = CLUST_FIRST; head < boot->NumClusters; head++)
sbin/fsck_msdos/fat.c
557
if (fat[head].next == CLUST_FREE) {
sbin/fsck_msdos/fat.c
558
boot->FSNext = head;
sbin/iked/config.c
261
config_add_proposal(struct iked_proposals *head, unsigned int id,
sbin/iked/config.c
266
TAILQ_FOREACH(pp, head, prop_entry) {
sbin/iked/config.c
278
TAILQ_INSERT_TAIL(head, pp, prop_entry);
sbin/iked/config.c
284
config_free_proposal(struct iked_proposals *head, struct iked_proposal *prop)
sbin/iked/config.c
286
TAILQ_REMOVE(head, prop, prop_entry);
sbin/iked/config.c
293
config_free_proposals(struct iked_proposals *head, unsigned int proto)
sbin/iked/config.c
297
TAILQ_FOREACH_SAFE(prop, head, prop_entry, proptmp) {
sbin/iked/config.c
304
config_free_proposal(head, prop);
sbin/iked/config.c
309
config_free_flows(struct iked *env, struct iked_flows *head)
sbin/iked/config.c
313
while ((flow = RB_MIN(iked_flows, head))) {
sbin/iked/config.c
315
RB_REMOVE(iked_flows, head, flow);
sbin/iked/config.c
321
config_free_childsas(struct iked *env, struct iked_childsas *head,
sbin/iked/config.c
329
TAILQ_FOREACH_SAFE(csa, head, csa_entry, csatmp) {
sbin/iked/config.c
342
TAILQ_REMOVE(head, csa, csa_entry);
sbin/iked/parse.y
2310
struct ipsec_addr_wrap *ipa = NULL, *head = NULL;
sbin/iked/parse.y
2341
if (head == NULL)
sbin/iked/parse.y
2342
head = ipa;
sbin/iked/parse.y
2344
head->tail->next = ipa;
sbin/iked/parse.y
2345
head->tail = ipa;
sbin/iked/parse.y
2363
return (head);
sbin/iked/parse.y
3374
iaw_free(struct ipsec_addr_wrap *head)
sbin/iked/parse.y
3378
if (head == NULL)
sbin/iked/parse.y
3381
for (n = head; n != NULL; ) {
sbin/iked/policy.c
322
while (head[i] != cur) { \
sbin/iked/policy.c
323
head[i]->pol_skip[i] = cur; \
sbin/iked/policy.c
324
head[i] = TAILQ_NEXT(head[i], pol_entry); \
sbin/iked/policy.c
332
struct iked_policy *head[IKED_SKIP_COUNT], *cur, *prev;
sbin/iked/policy.c
338
head[i] = cur;
sbin/iked/policy.c
664
sa_free_flows(struct iked *env, struct iked_saflows *head)
sbin/iked/policy.c
668
TAILQ_FOREACH_SAFE(flow, head, flow_entry, flowtmp) {
sbin/iked/policy.c
673
TAILQ_REMOVE(head, flow, flow_entry);
sbin/ipsecctl/parse.y
1778
struct ipsec_addr_wrap *ipa = NULL, *head = NULL;
sbin/ipsecctl/parse.y
1824
if (head == NULL)
sbin/ipsecctl/parse.y
1825
head = ipa;
sbin/ipsecctl/parse.y
1827
head->tail->next = ipa;
sbin/ipsecctl/parse.y
1828
head->tail = ipa;
sbin/ipsecctl/parse.y
1846
return (head);
sbin/pfctl/pfctl.c
1783
pfctl_clear_queues(struct pf_qihead *head)
sbin/pfctl/pfctl.c
1787
while ((qi = TAILQ_FIRST(head)) != NULL) {
sbin/pfctl/pfctl.c
1788
TAILQ_REMOVE(head, qi, entries);
sbin/pfctl/pfctl_optimize.c
628
TAILQ_HEAD( , pf_opt_rule) head;
sbin/pfctl/pfctl_optimize.c
689
TAILQ_INIT(&head);
sbin/pfctl/pfctl_optimize.c
690
TAILQ_CONCAT(&head, &block->sb_rules, por_entry);
sbin/pfctl/pfctl_optimize.c
692
while (!TAILQ_EMPTY(&head)) {
sbin/pfctl/pfctl_optimize.c
711
TAILQ_CONCAT(&block->sb_rules, &head, por_entry);
sbin/pfctl/pfctl_optimize.c
753
TAILQ_REMOVE(&head, por, por_entry);
sbin/pfctl/pfctl_optimize.c
969
remove_from_skipsteps(struct skiplist *head, struct superblock *block,
sbin/pfctl/pfctl_optimize.c
995
TAILQ_REMOVE(head, sk, ps_entry);
sbin/pfctl/pfctl_optimize.c
996
TAILQ_INSERT_AFTER(head, next, sk, ps_entry);
sbin/unwind/libunbound/util/config_file.c
2099
struct config_strlist** head, char* item)
sbin/unwind/libunbound/util/config_file.c
2102
if(!item || !head)
sbin/unwind/libunbound/util/config_file.c
2109
s->next = *head;
sbin/unwind/libunbound/util/config_file.c
2110
*head = s;
sbin/unwind/libunbound/util/config_file.c
2115
cfg_strlist_find(struct config_strlist* head, const char *item)
sbin/unwind/libunbound/util/config_file.c
2117
struct config_strlist *s = head;
sbin/unwind/libunbound/util/config_file.c
2118
if(!head){
sbin/unwind/libunbound/util/config_file.c
2131
cfg_strlist_insert(struct config_strlist** head, char* item)
sbin/unwind/libunbound/util/config_file.c
2134
if(!item || !head) {
sbin/unwind/libunbound/util/config_file.c
2144
s->next = *head;
sbin/unwind/libunbound/util/config_file.c
2145
*head = s;
sbin/unwind/libunbound/util/config_file.c
2150
cfg_strlist_append_ex(struct config_strlist** head, char* item)
sbin/unwind/libunbound/util/config_file.c
2153
if(!item || !head)
sbin/unwind/libunbound/util/config_file.c
2161
if (*head==NULL) {
sbin/unwind/libunbound/util/config_file.c
2162
*head = s;
sbin/unwind/libunbound/util/config_file.c
2164
struct config_strlist *last = *head;
sbin/unwind/libunbound/util/config_file.c
2175
cfg_str2list_insert(struct config_str2list** head, char* item, char* i2)
sbin/unwind/libunbound/util/config_file.c
2178
if(!item || !i2 || !head) {
sbin/unwind/libunbound/util/config_file.c
2191
s->next = *head;
sbin/unwind/libunbound/util/config_file.c
2192
*head = s;
sbin/unwind/libunbound/util/config_file.c
2197
cfg_str3list_insert(struct config_str3list** head, char* item, char* i2,
sbin/unwind/libunbound/util/config_file.c
2201
if(!item || !i2 || !i3 || !head)
sbin/unwind/libunbound/util/config_file.c
2209
s->next = *head;
sbin/unwind/libunbound/util/config_file.c
2210
*head = s;
sbin/unwind/libunbound/util/config_file.c
2215
cfg_strbytelist_insert(struct config_strbytelist** head, char* item,
sbin/unwind/libunbound/util/config_file.c
2219
if(!item || !i2 || !head)
sbin/unwind/libunbound/util/config_file.c
2227
s->next = *head;
sbin/unwind/libunbound/util/config_file.c
2228
*head = s;
sbin/unwind/libunbound/util/config_file.h
1095
int cfg_strlist_append_ex(struct config_strlist** head, char* item);
sbin/unwind/libunbound/util/config_file.h
1103
struct config_strlist* cfg_strlist_find(struct config_strlist* head,
sbin/unwind/libunbound/util/config_file.h
1113
int cfg_strlist_insert(struct config_strlist** head, char* item);
sbin/unwind/libunbound/util/config_file.h
1117
struct config_strlist** head, char* item);
sbin/unwind/libunbound/util/config_file.h
1127
int cfg_str2list_insert(struct config_str2list** head, char* item, char* i2);
sbin/unwind/libunbound/util/config_file.h
1137
int cfg_str3list_insert(struct config_str3list** head, char* item, char* i2,
sbin/unwind/libunbound/util/config_file.h
1148
int cfg_strbytelist_insert(struct config_strbytelist** head, char* item,
sys/arch/alpha/include/ioctl_fd.h
42
int cyl, head;
sys/arch/amd64/include/ioctl_fd.h
43
int cyl, head;
sys/arch/amd64/stand/libsa/biosdev.c
188
CHS_rw(int rw, int dev, int cyl, int head, int sect, int nsect, void *buf)
sys/arch/amd64/stand/libsa/biosdev.c
206
"b" (buf), "m" (sect), "m" (head),
sys/arch/amd64/stand/libsa/biosdev.c
288
int cyl, head, sect;
sys/arch/amd64/stand/libsa/biosdev.c
296
btochs(off, cyl, head, sect, bd->bios_heads,
sys/arch/amd64/stand/libsa/biosdev.c
304
error = CHS_rw(rw, dev, cyl, head, sect, n, p);
sys/arch/armv7/sunxi/sxie.c
475
struct mbuf *head;
sys/arch/armv7/sunxi/sxie.c
486
head = NULL;
sys/arch/i386/include/ioctl_fd.h
44
int cyl, head;
sys/arch/i386/stand/libsa/biosdev.c
189
CHS_rw(int rw, int dev, int cyl, int head, int sect, int nsect, void *buf)
sys/arch/i386/stand/libsa/biosdev.c
207
"b" (buf), "m" (sect), "m" (head),
sys/arch/i386/stand/libsa/biosdev.c
289
int cyl, head, sect;
sys/arch/i386/stand/libsa/biosdev.c
297
btochs(off, cyl, head, sect, bd->bios_heads,
sys/arch/i386/stand/libsa/biosdev.c
305
error = CHS_rw(rw, dev, cyl, head, sect, n, p);
sys/arch/m88k/m88k/pmap.c
1009
head = pg_to_pvh(pg);
sys/arch/m88k/m88k/pmap.c
1010
if (head->pv_pmap == NULL) {
sys/arch/m88k/m88k/pmap.c
1014
head->pv_va = va;
sys/arch/m88k/m88k/pmap.c
1015
head->pv_pmap = pmap;
sys/arch/m88k/m88k/pmap.c
1016
head->pv_next = NULL;
sys/arch/m88k/m88k/pmap.c
1036
pv_e->pv_next = head->pv_next;
sys/arch/m88k/m88k/pmap.c
1037
head->pv_next = pv_e;
sys/arch/m88k/m88k/pmap.c
1147
pv_entry_t prev, cur, head;
sys/arch/m88k/m88k/pmap.c
1181
head = pg_to_pvh(pg);
sys/arch/m88k/m88k/pmap.c
1184
if (head->pv_pmap == NULL)
sys/arch/m88k/m88k/pmap.c
1190
for (cur = head; cur != NULL; cur = cur->pv_next) {
sys/arch/m88k/m88k/pmap.c
1198
pmap, (void *)va, pte, pg, flush, (void *)pa, head);
sys/arch/m88k/m88k/pmap.c
1209
*head = *cur;
sys/arch/m88k/m88k/pmap.c
1212
head->pv_pmap = NULL;
sys/arch/m88k/m88k/pmap.c
1348
pv_entry_t head, pvep;
sys/arch/m88k/m88k/pmap.c
1359
pvep = head = pg_to_pvh(pg);
sys/arch/m88k/m88k/pmap.c
1370
pvep = head;
sys/arch/m88k/m88k/pmap.c
1496
pv_entry_t head, pvep;
sys/arch/m88k/m88k/pmap.c
1506
head = pg_to_pvh(pg);
sys/arch/m88k/m88k/pmap.c
1507
if (head->pv_pmap != NULL) {
sys/arch/m88k/m88k/pmap.c
1509
for (pvep = head; pvep != NULL; pvep = pvep->pv_next) {
sys/arch/m88k/m88k/pmap.c
1557
pv_entry_t head, pvep;
sys/arch/m88k/m88k/pmap.c
1574
head = pg_to_pvh(pg);
sys/arch/m88k/m88k/pmap.c
1575
if (head->pv_pmap != NULL) {
sys/arch/m88k/m88k/pmap.c
1577
for (pvep = head; pvep != NULL; pvep = pvep->pv_next) {
sys/arch/m88k/m88k/pmap.c
1615
pv_entry_t head, pvep;
sys/arch/m88k/m88k/pmap.c
1633
head = pg_to_pvh(pg);
sys/arch/m88k/m88k/pmap.c
1634
if (head->pv_pmap != NULL) {
sys/arch/m88k/m88k/pmap.c
1636
for (pvep = head; pvep != NULL; pvep = pvep->pv_next) {
sys/arch/m88k/m88k/pmap.c
1909
pv_entry_t head, pvep;
sys/arch/m88k/m88k/pmap.c
1915
head = pg_to_pvh(pg);
sys/arch/m88k/m88k/pmap.c
1916
if (head->pv_pmap != NULL) {
sys/arch/m88k/m88k/pmap.c
1917
for (pvep = head; pvep != NULL; pvep = pvep->pv_next) {
sys/arch/m88k/m88k/pmap.c
959
pv_entry_t pv_e, head;
sys/arch/sh/sh/pmap.c
633
struct pv_entry *pv, *head;
sys/arch/sh/sh/pmap.c
698
head = SLIST_FIRST(&pvh->pvh_head);
sys/arch/sh/sh/pmap.c
699
if (head != NULL)
sys/arch/sh/sh/pmap.c
700
while((pv = SLIST_NEXT(head, pv_link))!= NULL)
sys/arch/sparc64/dev/fd.c
1241
int read, head, sec, nblks, cylin;
sys/arch/sparc64/dev/fd.c
1398
head = sec / type->sectrac;
sys/arch/sparc64/dev/fd.c
1399
sec -= head * type->sectrac;
sys/arch/sparc64/dev/fd.c
1404
block = (fd->sc_cylin * type->heads + head) *
sys/arch/sparc64/dev/fd.c
1429
fd->sc_drive, fd->sc_cylin, head, sec, nblks);
sys/arch/sparc64/dev/fd.c
1443
FDC_WRFIFO(fdc, (head << 2) | fd->sc_drive);
sys/arch/sparc64/dev/fd.c
1453
FDC_WRFIFO(fdc, (head << 2) | fd->sc_drive);
sys/arch/sparc64/dev/fd.c
1455
FDC_WRFIFO(fdc, head);
sys/arch/sparc64/dev/fd.c
1912
+ finfo->head * type->sectrac) * FD_BSIZE(fd))
sys/arch/sparc64/dev/fd.c
1926
printf("\thead:\t%d\n", finfo->head);
sys/arch/sparc64/dev/pyro.c
829
uint64_t head, tail;
sys/arch/sparc64/dev/pyro.c
833
head = bus_space_read_8(sc->sc_bust, sc->sc_csrh, eq->eq_head);
sys/arch/sparc64/dev/pyro.c
836
if (head == tail)
sys/arch/sparc64/dev/pyro.c
840
msg = &eq->eq_ring[head];
sys/arch/sparc64/dev/pyro.c
853
head += 1;
sys/arch/sparc64/dev/pyro.c
854
head &= eq->eq_mask;
sys/arch/sparc64/dev/pyro.c
855
} while (head != tail);
sys/arch/sparc64/dev/pyro.c
857
bus_space_write_8(sc->sc_bust, sc->sc_csrh, eq->eq_head, head);
sys/arch/sparc64/dev/vldcp.c
606
uint64_t head, tail, avail, state;
sys/arch/sparc64/dev/vldcp.c
610
err = hv_ldc_rx_get_state(lc->lc_id, &head, &tail, &state);
sys/arch/sparc64/dev/vldcp.c
611
if (err == 0 && state == LDC_CHANNEL_UP && head != tail) {
sys/arch/sparc64/dev/vldcp.c
612
avail = (tail - head) / sizeof(struct ldc_pkt) +
sys/arch/sparc64/dev/vldcp.c
631
uint64_t head, tail, avail, state;
sys/arch/sparc64/dev/vldcp.c
635
err = hv_ldc_tx_get_state(lc->lc_id, &head, &tail, &state);
sys/arch/sparc64/dev/vldcp.c
636
if (err == 0 && state == LDC_CHANNEL_UP && head != tail) {
sys/arch/sparc64/dev/vldcp.c
637
avail = (head - tail) / sizeof(struct ldc_pkt) +
sys/arch/sparc64/dev/vpci.c
731
uint64_t head, tail;
sys/arch/sparc64/dev/vpci.c
736
err = hv_pci_msiq_gethead(devhandle, eq->eq_id, &head);
sys/arch/sparc64/dev/vpci.c
746
if (head == tail)
sys/arch/sparc64/dev/vpci.c
749
while (head != tail) {
sys/arch/sparc64/dev/vpci.c
750
msg = (struct vpci_msi_msg *)(eq->eq_meq->meq_va + head);
sys/arch/sparc64/dev/vpci.c
765
head += sizeof(struct vpci_msi_msg);
sys/arch/sparc64/dev/vpci.c
766
head &= eq->eq_mask;
sys/arch/sparc64/dev/vpci.c
769
err = hv_pci_msiq_sethead(devhandle, eq->eq_id, head);
sys/arch/sparc64/include/ioctl_fd.h
42
int cyl, head;
sys/dev/acpi/acpidmar.c
1529
int tail, head, nfree;
sys/dev/acpi/acpidmar.c
1601
head = (int)(h / sizeof(struct qi_entry));
sys/dev/acpi/acpidmar.c
1603
if (tail >= head)
sys/dev/acpi/acpidmar.c
1604
nfree = IOMMU_QI_ENTRIES - (tail - head) - 1;
sys/dev/acpi/acpidmar.c
1606
nfree = head - tail - 1;
sys/dev/acpi/acpidmar.c
2764
ivhd_show_event(struct iommu_softc *iommu, struct ivhd_event *evt, int head)
sys/dev/acpi/acpidmar.c
2776
printf("=== IOMMU Error[%.4x]: ", head);
sys/dev/acpi/acpidmar.c
2847
uint32_t head, tail;
sys/dev/acpi/acpidmar.c
2851
head = iommu_read_4(iommu, EVT_HEAD_REG);
sys/dev/acpi/acpidmar.c
2853
if (head == tail) {
sys/dev/acpi/acpidmar.c
2857
while (head != tail) {
sys/dev/acpi/acpidmar.c
2858
iommu_flush_cache(iommu, iommu->evt_tbl + head, sz);
sys/dev/acpi/acpidmar.c
2859
ivhd_show_event(iommu, iommu->evt_tbl + head, head);
sys/dev/acpi/acpidmar.c
2860
head = (head + sz) % EVT_TBL_SIZE;
sys/dev/acpi/acpidmar.c
2862
iommu_write_4(iommu, EVT_HEAD_REG, head);
sys/dev/acpi/acpidmar.c
2870
uint32_t head, tail, next;
sys/dev/acpi/acpidmar.c
2878
head = iommu_read_4(iommu, CMD_HEAD_REG);
sys/dev/acpi/acpidmar.c
2881
if (next != head)
sys/dev/ata/ata_wdc.c
237
u_int8_t head, sect, cmd = 0;
sys/dev/ata/ata_wdc.c
295
head = (ata_bio->blkno >> 24) & 0x0f;
sys/dev/ata/ata_wdc.c
296
head |= WDSD_LBA;
sys/dev/ata/ata_wdc.c
302
head = blkno % ata_bio->lp->d_ntracks;
sys/dev/ata/ata_wdc.c
305
head |= WDSD_CHS;
sys/dev/ata/ata_wdc.c
352
head, sect, nblks, 0);
sys/dev/ata/ata_wdc.c
392
head, sect, nblks, 0);
sys/dev/ata/wd.c
1000
unit, va, cylin, head, sector);
sys/dev/cardbus/cardbus_exrom.c
100
struct cardbus_rom_image_head *head)
sys/dev/cardbus/cardbus_exrom.c
109
SIMPLEQ_INIT(head);
sys/dev/cardbus/cardbus_exrom.c
145
SIMPLEQ_INSERT_TAIL(head, image, next);
sys/dev/fdt/if_cad.c
1135
unsigned int free, head, used;
sys/dev/fdt/if_cad.c
1138
head = sc->sc_tx_prod;
sys/dev/fdt/if_cad.c
1139
if (free <= head)
sys/dev/fdt/if_cad.c
1141
free -= head;
sys/dev/fdt/if_cad.c
1197
unsigned int head, idx, nsegs;
sys/dev/fdt/if_cad.c
1201
head = sc->sc_tx_prod;
sys/dev/fdt/if_cad.c
1203
txb = &sc->sc_txbuf[head];
sys/dev/fdt/if_cad.c
1233
idx = (head + i) % CAD_NTXDESC;
sys/dev/fdt/if_cad.c
1266
sc->sc_tx_prod = (head + nsegs) % CAD_NTXDESC;
sys/dev/fdt/qcpas.c
760
uint32_t head, tail;
sys/dev/fdt/qcpas.c
763
head = *sc->sc_rx_head;
sys/dev/fdt/qcpas.c
769
KASSERT(head != tail);
sys/dev/fdt/qcpas.c
771
if (head >= tail)
sys/dev/fdt/qcpas.c
772
avail = head - tail;
sys/dev/fdt/qcpas.c
774
avail = (sc->sc_rx_fifolen - tail) + head;
sys/dev/fdt/qcpas.c
807
uint32_t head, tail;
sys/dev/fdt/qcpas.c
810
head = *sc->sc_tx_head + sc->sc_tx_off;
sys/dev/fdt/qcpas.c
811
if (head >= sc->sc_tx_fifolen)
sys/dev/fdt/qcpas.c
812
head -= sc->sc_tx_fifolen;
sys/dev/fdt/qcpas.c
815
if (head < tail)
sys/dev/fdt/qcpas.c
816
avail = tail - head;
sys/dev/fdt/qcpas.c
818
avail = (sc->sc_rx_fifolen - head) + tail;
sys/dev/fdt/qcpas.c
824
sc->sc_tx_fifo[head] = *buf;
sys/dev/fdt/qcpas.c
825
head++;
sys/dev/fdt/qcpas.c
826
if (head >= sc->sc_tx_fifolen)
sys/dev/fdt/qcpas.c
827
head -= sc->sc_tx_fifolen;
sys/dev/fdt/qcpas.c
837
uint32_t head;
sys/dev/fdt/qcpas.c
839
head = *sc->sc_tx_head + roundup(sc->sc_tx_off, 8);
sys/dev/fdt/qcpas.c
840
if (head >= sc->sc_tx_fifolen)
sys/dev/fdt/qcpas.c
841
head -= sc->sc_tx_fifolen;
sys/dev/fdt/qcpas.c
844
*sc->sc_tx_head = head;
sys/dev/ic/acx.c
1318
struct acx_rxbuf_hdr *head;
sys/dev/ic/acx.c
1345
head = mtod(m, struct acx_rxbuf_hdr *);
sys/dev/ic/acx.c
1347
len = letoh16(head->rbh_len) & ACX_RXBUF_LEN_MASK;
sys/dev/ic/acx.c
1383
tap->wr_rssi = head->rbh_level;
sys/dev/ic/acx.c
1398
rxi.rxi_rssi = head->rbh_level;
sys/dev/ic/acx.c
1399
rxi.rxi_tstamp = letoh32(head->rbh_time);
sys/dev/ic/ar5008.c
1069
SIMPLEQ_REMOVE_HEAD(&rxq->head, bf_list);
sys/dev/ic/ar5008.c
1075
if (__predict_true(!SIMPLEQ_EMPTY(&rxq->head)))
sys/dev/ic/ar5008.c
1079
SIMPLEQ_INSERT_TAIL(&rxq->head, bf, bf_list);
sys/dev/ic/ar5008.c
1113
bf = SIMPLEQ_FIRST(&txq->head);
sys/dev/ic/ar5008.c
1122
SIMPLEQ_REMOVE_HEAD(&txq->head, bf_list);
sys/dev/ic/ar5008.c
1256
SIMPLEQ_EMPTY(&sc->txq[ATHN_QID_CAB].head))
sys/dev/ic/ar5008.c
1809
if (!SIMPLEQ_EMPTY(&txq->head))
sys/dev/ic/ar5008.c
1815
SIMPLEQ_INSERT_TAIL(&txq->head, bf, bf_list);
sys/dev/ic/ar5008.c
699
SIMPLEQ_INIT(&rxq->head);
sys/dev/ic/ar5008.c
713
SIMPLEQ_INSERT_TAIL(&rxq->head, bf, bf_list);
sys/dev/ic/ar5008.c
720
AR_WRITE(sc, AR_RXDP, SIMPLEQ_FIRST(&rxq->head)->bf_daddr);
sys/dev/ic/ar5008.c
870
bf = SIMPLEQ_FIRST(&rxq->head);
sys/dev/ic/ar9003.c
1039
SIMPLEQ_REMOVE_HEAD(&rxq->head, bf_list);
sys/dev/ic/ar9003.c
1051
SIMPLEQ_INSERT_TAIL(&rxq->head, bf, bf_list);
sys/dev/ic/ar9003.c
1098
bf = SIMPLEQ_FIRST(&txq->head);
sys/dev/ic/ar9003.c
1103
SIMPLEQ_REMOVE_HEAD(&txq->head, bf_list);
sys/dev/ic/ar9003.c
1194
SIMPLEQ_EMPTY(&sc->txq[ATHN_QID_CAB].head))
sys/dev/ic/ar9003.c
1758
SIMPLEQ_INSERT_TAIL(&txq->head, bf, bf_list);
sys/dev/ic/ar9003.c
831
SIMPLEQ_INIT(&rxq->head);
sys/dev/ic/ar9003.c
842
SIMPLEQ_INSERT_TAIL(&rxq->head, bf, bf_list);
sys/dev/ic/ar9003.c
925
bf = SIMPLEQ_FIRST(&rxq->head);
sys/dev/ic/athn.c
1872
while ((bf = SIMPLEQ_FIRST(&txq->head)) != NULL) {
sys/dev/ic/athn.c
1873
SIMPLEQ_REMOVE_HEAD(&txq->head, bf_list);
sys/dev/ic/athn.c
1970
SIMPLEQ_INIT(&sc->txq[qid].head);
sys/dev/ic/athnvar.h
114
SIMPLEQ_HEAD(, athn_rx_buf) head;
sys/dev/ic/athnvar.h
89
SIMPLEQ_HEAD(, athn_tx_buf) head;
sys/dev/ic/i82596.c
1017
off = IE_RBUF_ADDR(sc,head) + thisrboff;
sys/dev/ic/i82596.c
1028
if (++head == sc->nrxbuf)
sys/dev/ic/i82596.c
1029
head = 0;
sys/dev/ic/i82596.c
1183
int buffer, head, xbase;
sys/dev/ic/i82596.c
1217
head = sc->xchead;
sys/dev/ic/i82596.c
1218
sc->xchead = (head + 1) % NTXBUF;
sys/dev/ic/i82596.c
1219
buffer = IE_XBUF_ADDR(sc, head);
sys/dev/ic/i82596.c
1224
sc->sc_dev.dv_xname, head, buffer);
sys/dev/ic/i82596.c
1266
sc->ie_bus_write16(sc, IE_XBD_FLAGS(xbase, head),
sys/dev/ic/i82596.c
1268
sc->ie_bus_write16(sc, IE_XBD_NEXT(xbase, head), 0xffff);
sys/dev/ic/i82596.c
1269
sc->ie_bus_write24(sc, IE_XBD_BUF(xbase, head),
sys/dev/ic/i82596.c
1270
sc->sc_maddr + IE_XBUF_ADDR(sc, head));
sys/dev/ic/i82596.c
942
i82596_get(struct ie_softc *sc, int head, int totlen)
sys/dev/ic/i82596.c
952
(sc->memcopyin)(sc, &eh, IE_RBUF_ADDR(sc, head),
sys/dev/ic/nvme.c
1193
u_int32_t head;
sys/dev/ic/nvme.c
1202
head = q->q_cq_head;
sys/dev/ic/nvme.c
1206
cqe = &ring[head];
sys/dev/ic/nvme.c
1219
if (++head >= q->q_entries) {
sys/dev/ic/nvme.c
1220
head = 0;
sys/dev/ic/nvme.c
1229
nvme_write4(sc, q->q_cqhdbl, q->q_cq_head = head);
sys/dev/ic/wdc.c
157
unsigned int head = wdc_head;
sys/dev/ic/wdc.c
161
if (head > wdc_log_cap || tail > wdc_log_cap) {
sys/dev/ic/wdc.c
162
printf ("wdc_log: head %x wdc_tail %x\n", head,
sys/dev/ic/wdc.c
1828
u_int16_t cylin, u_int8_t head, u_int8_t sector, u_int8_t count,
sys/dev/ic/wdc.c
1833
chp->channel, drive, command, cylin, head, sector, count, features),
sys/dev/ic/wdc.c
1835
WDC_LOG_ATA_CMDLONG(chp, head, features, cylin, cylin >> 8, sector,
sys/dev/ic/wdc.c
1839
CHP_WRITE_REG(chp, wdr_sdh, WDSD_IBM | (drive << 4) | head);
sys/dev/ic/wdc.c
184
log_size = head - tail;
sys/dev/ic/wdc.c
202
if (head + request_size >= wdc_log_cap) {
sys/dev/ic/wdc.c
203
memset(&wdc_log_buf[head], 0, wdc_log_cap - head);
sys/dev/ic/wdc.c
204
head = 0;
sys/dev/ic/wdc.c
207
ptr = &wdc_log_buf[head];
sys/dev/ic/wdc.c
2080
wdc_c.r_head = atareq->head & 0x0f;
sys/dev/ic/wdc.c
2109
atareq->head = wdc_c.r_head;
sys/dev/ic/wdc.c
212
wdc_head = (head + request_size) % wdc_log_cap;
sys/dev/ic/wdc.c
225
unsigned int head = wdc_head;
sys/dev/ic/wdc.c
230
log_size = (head - tail);
sys/dev/ic/wdc.c
248
if (head > wdc_log_cap || tail > wdc_log_cap) {
sys/dev/ic/wdc.c
249
printf ("wdc_log: head %x tail %x\n", head,
sys/dev/ic/wdcevent.h
126
#define WDC_LOG_ATA_CMDLONG(chp, head, features, cylinhi, cylinlo, \
sys/dev/ic/wdcevent.h
86
u_int8_t head, u_int8_t features, u_int8_t cylinhi, u_int8_t cylinlo,
sys/dev/ic/wdcevent.h
88
char record[8] = { head, features, cylinhi, cylinlo,
sys/dev/isa/fd.c
1100
+ finfo->head * type->sectrac) * fd_bsize / DEV_BSIZE;
sys/dev/isa/fd.c
663
int read, head, sec, i, nblks, cylin;
sys/dev/isa/fd.c
754
head = sec / type->sectrac;
sys/dev/isa/fd.c
755
sec -= head * type->sectrac;
sys/dev/isa/fd.c
758
block = (fd->sc_cylin * type->heads + head) * type->sectrac + sec;
sys/dev/isa/fd.c
769
read ? "read" : "write", fd->sc_drive, fd->sc_cylin, head,
sys/dev/isa/fd.c
779
out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
sys/dev/isa/fd.c
789
out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
sys/dev/isa/fd.c
791
out_fdc(iot, ioh, head);
sys/dev/isa/if_ie.c
1054
ie_buflen(struct ie_softc *sc, int head)
sys/dev/isa/if_ie.c
1057
return (sc->rbuffs[head]->ie_rbd_actual
sys/dev/isa/if_ie.c
1065
int head = sc->rbhead;
sys/dev/isa/if_ie.c
1072
i = sc->rbuffs[head]->ie_rbd_actual & IE_RBD_LAST;
sys/dev/isa/if_ie.c
1074
acc += ie_buflen(sc, head);
sys/dev/isa/if_ie.c
1075
head = (head + 1) % NRXBUF;
sys/dev/isa/if_ie.c
1131
int head;
sys/dev/isa/if_ie.c
1139
head = sc->rbhead;
sys/dev/isa/if_ie.c
1144
bcopy((caddr_t)sc->cbuffs[head], (caddr_t)ehp, sizeof *ehp);
sys/dev/isa/if_ie.c
1202
int thisrblen = ie_buflen(sc, head) - thisrboff,
sys/dev/isa/if_ie.c
1206
bcopy((caddr_t)(sc->cbuffs[head] + thisrboff),
sys/dev/isa/if_ie.c
1217
head = (head + 1) % NRXBUF;
sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c
1274
head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c
1648
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c
347
struct drm_display_mode, head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c
609
list_for_each_entry_safe(mode, t, &connector->probed_modes, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c
619
list_for_each_entry_safe(mode, t, &connector->probed_modes, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
6406
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
7257
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
7305
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
7363
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
1454
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
1719
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
1758
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
331
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_display.c
455
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_encoders.c
135
list_for_each_entry(other_encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_encoders.c
48
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1034
ih_data.head = *ras_if;
sys/dev/pci/drm/amd/amdgpu/amdgpu_job.c
68
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_jpeg.c
282
ih_data.head = *ras_if;
sys/dev/pci/drm/amd/amdgpu/amdgpu_pll.c
276
list_for_each_entry(test_crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_pll.c
302
list_for_each_entry(test_crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_pll.c
337
list_for_each_entry(test_crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
1548
list_for_each_entry(mirror_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1006
struct ras_common_if head = {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1020
if (__amdgpu_ras_feature_enable(adev, &head, 1))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1023
if (amdgpu_ras_feature_enable(adev, &head, 1))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1029
struct ras_common_if head = {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1040
if (__amdgpu_ras_feature_enable(adev, &head, 1))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1043
if (amdgpu_ras_feature_enable(adev, &head, 1))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1221
struct ras_manager *ras_mgr = amdgpu_ras_find_obj(adev, &query_if->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1222
const char *blk_name = get_ras_block_str(&query_if->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1301
struct ras_manager *obj = amdgpu_ras_find_obj(adev, &query_if->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1302
const char *blk_name = get_ras_block_str(&query_if->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1365
struct ras_common_if head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1367
memset(&head, 0, sizeof(head));
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1368
head.block = blk;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1370
return amdgpu_ras_find_obj(adev, &head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1420
.head = obj->head,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1439
enum amdgpu_ras_block blk = info ? info->head.block : AMDGPU_RAS_BLOCK_COUNT;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1452
if (info->head.block == AMDGPU_RAS_BLOCK__UMC) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1455
block_obj = amdgpu_ras_get_ras_block(adev, info->head.block, 0);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1458
get_ras_block_str(&info->head));
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1465
if ((info->head.block == AMDGPU_RAS_BLOCK__SDMA) ||
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1466
(info->head.block == AMDGPU_RAS_BLOCK__GFX) ||
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1467
(info->head.block == AMDGPU_RAS_BLOCK__MMHUB)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1500
struct ras_manager *obj = amdgpu_ras_find_obj(adev, &info->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1613
struct ras_manager *obj = amdgpu_ras_find_obj(adev, &info->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1615
.block_id = amdgpu_ras_block_to_ta(info->head.block),
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1616
.inject_error_type = amdgpu_ras_error_to_ta(info->head.type),
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1617
.sub_block_index = info->head.sub_block_index,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1623
info->head.block,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1624
info->head.sub_block_index);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1635
get_ras_block_str(&info->head));
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1641
info->head.block != AMDGPU_RAS_BLOCK__GFX) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1648
if (info->head.block == AMDGPU_RAS_BLOCK__GFX)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1660
get_ras_block_str(&info->head), ret);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1697
if (amdgpu_ras_reset_error_status(adev, query_info->head.block))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1741
list_for_each_entry(obj, &con->head, node) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1743
.head = obj->head,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1940
struct ras_common_if *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1942
struct ras_manager *obj = amdgpu_ras_find_obj(adev, head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1950
if (amdgpu_sriov_vf(adev) && !amdgpu_virt_ras_telemetry_block_en(adev, head->block))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1956
"%s_err_count", head->name);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1982
struct ras_common_if *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
1984
struct ras_manager *obj = amdgpu_ras_find_obj(adev, head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2011
list_for_each_entry_safe(obj, tmp, &con->head, node) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2012
amdgpu_ras_sysfs_remove(adev, &obj->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2087
struct ras_fs_if *head,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2090
struct ras_manager *obj = amdgpu_ras_find_obj(adev, &head->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2098
head->debugfs_name,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2143
list_for_each_entry(obj, &con->head, node) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2144
if (amdgpu_ras_is_supported(adev, obj->head.block) &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2147
get_ras_block_str(&obj->head));
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2148
fs_info.head = obj->head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2236
list_for_each_entry_safe(con_obj, tmp, &con->head, node) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2237
ip_obj = amdgpu_ras_find_obj(adev, &con_obj->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2287
amdgpu_ras_get_ras_block(adev, obj->head.block, 0);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2316
amdgpu_umc_poison_handler(adev, obj->head.block, 0);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2412
if (obj->head.block == AMDGPU_RAS_BLOCK__UMC)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2417
if (obj->head.block == AMDGPU_RAS_BLOCK__UMC)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2442
obj = amdgpu_ras_find_obj(adev, &info->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2465
struct ras_common_if *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2467
struct ras_manager *obj = amdgpu_ras_find_obj(adev, head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2487
struct ras_common_if *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2489
struct ras_manager *obj = amdgpu_ras_find_obj(adev, head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2495
obj = amdgpu_ras_create_obj(adev, head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2501
ras_obj = container_of(head, struct amdgpu_ras_block_object, ras_comm);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2535
list_for_each_entry_safe(obj, tmp, &con->head, node) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2536
amdgpu_ras_interrupt_remove_handler(adev, &obj->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2552
list_for_each_entry(obj, &con->head, node) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2554
.head = obj->head,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2563
if (info.head.block == AMDGPU_RAS_BLOCK__PCIE_BIF)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2572
if ((info.head.block == AMDGPU_RAS_BLOCK__UMC) &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2585
if (amdgpu_ras_reset_error_status(adev, info.head.block))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2600
if ((info->head.block != AMDGPU_RAS_BLOCK__GFX) &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2601
(info->head.block != AMDGPU_RAS_BLOCK__MMHUB))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2605
info->head.block,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2606
info->head.sub_block_index);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2610
get_ras_block_str(&info->head));
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2627
list_for_each_entry(obj, &con->head, node) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2629
.head = obj->head,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2700
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2752
gmc.xgmi.head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2765
list_add_tail(&adev->gmc.xgmi.head, &device_list);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
2778
device_list_handle, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
278
.head = obj->head,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
289
if (amdgpu_ras_reset_error_status(obj->adev, info.head.block))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
3451
info.head.block = AMDGPU_RAS_BLOCK__UMC;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
393
data->head.block = block_id;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
396
data->head.type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
398
data->head.type = AMDGPU_RAS_ERROR__SINGLE_CORRECTABLE;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
400
data->head.type = AMDGPU_RAS_ERROR__POISON;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
4139
INIT_LIST_HEAD(&con->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
416
data->head.sub_block_index = sub_block;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
4265
.head = *ras_block,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
4344
memcpy(&query_info->head, ras_block, sizeof(struct ras_common_if));
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
4418
list_for_each_entry_safe(obj, tmp, &con->head, node) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
4419
if (!amdgpu_ras_is_supported(adev, obj->head.block)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
4420
amdgpu_ras_feature_enable(adev, &obj->head, 0);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
448
switch (data->head.block) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
582
if (!amdgpu_ras_is_supported(adev, data.head.block))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
587
ret = amdgpu_ras_feature_enable(adev, &data.head, 0);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
590
ret = amdgpu_ras_feature_enable(adev, &data.head, 1);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
594
if (data.head.block == AMDGPU_RAS_BLOCK__UMC)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
699
.head = obj->head,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
710
if (amdgpu_ras_reset_error_status(obj->adev, info.head.block))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
714
if (info.head.block == AMDGPU_RAS_BLOCK__UMC)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
737
DRM_ERROR("RAS ERROR: Unbalance obj(%s) use\n", get_ras_block_str(&obj->head));
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
742
struct ras_common_if *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
750
if (head->block >= AMDGPU_RAS_BLOCK_COUNT)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
753
if (head->block == AMDGPU_RAS_BLOCK__MCA) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
754
if (head->sub_block_index >= AMDGPU_RAS_MCA_BLOCK__LAST)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
757
obj = &con->objs[AMDGPU_RAS_BLOCK__LAST + head->sub_block_index];
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
759
obj = &con->objs[head->block];
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
768
obj->head = *head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
770
list_add(&obj->node, &con->head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
778
struct ras_common_if *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
787
if (head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
788
if (head->block >= AMDGPU_RAS_BLOCK_COUNT)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
791
if (head->block == AMDGPU_RAS_BLOCK__MCA) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
792
if (head->sub_block_index >= AMDGPU_RAS_MCA_BLOCK__LAST)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
795
obj = &con->objs[AMDGPU_RAS_BLOCK__LAST + head->sub_block_index];
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
797
obj = &con->objs[head->block];
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
815
struct ras_common_if *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
817
return adev->ras_hw_enabled & BIT(head->block);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
821
struct ras_common_if *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
825
return con->features & BIT(head->block);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
833
struct ras_common_if *head, int enable)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
836
struct ras_manager *obj = amdgpu_ras_find_obj(adev, head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
844
if (!amdgpu_ras_is_feature_allowed(adev, head))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
849
obj = amdgpu_ras_create_obj(adev, head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
856
con->features |= BIT(head->block);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
858
if (obj && amdgpu_ras_is_feature_enabled(adev, head)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
859
con->features &= ~BIT(head->block);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
869
struct ras_common_if *head, bool enable)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
881
if (head->block != AMDGPU_RAS_BLOCK__GFX &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
882
!amdgpu_ras_is_feature_allowed(adev, head))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
886
if (head->block == AMDGPU_RAS_BLOCK__GFX &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
895
.block_id = amdgpu_ras_block_to_ta(head->block),
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
896
.error_type = amdgpu_ras_error_to_ta(head->type),
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
900
.block_id = amdgpu_ras_block_to_ta(head->block),
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
901
.error_type = amdgpu_ras_error_to_ta(head->type),
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
909
get_ras_block_str(head),
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
919
__amdgpu_ras_feature_enable(adev, head, enable);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
926
struct ras_common_if *head, bool enable)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
942
ret = amdgpu_ras_feature_enable(adev, head, 1);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
948
ret = __amdgpu_ras_feature_enable(adev, head, 1);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
952
get_ras_block_str(head));
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
956
ret = __amdgpu_ras_feature_enable(adev, head, 1);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
961
if (head->block == AMDGPU_RAS_BLOCK__GFX)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
962
con->features |= BIT(head->block);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
964
ret = amdgpu_ras_feature_enable(adev, head, 0);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
967
if (adev->ras_enabled && head->block == AMDGPU_RAS_BLOCK__GFX)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
968
con->features &= ~BIT(head->block);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
971
ret = amdgpu_ras_feature_enable(adev, head, enable);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
982
list_for_each_entry_safe(obj, tmp, &con->head, node) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
987
if (__amdgpu_ras_feature_enable(adev, &obj->head, 0))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.c
990
if (amdgpu_ras_feature_enable(adev, &obj->head, 0))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
511
struct list_head head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
662
struct ras_common_if head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
692
struct ras_common_if head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
698
struct ras_common_if head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
705
struct ras_common_if head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
712
struct ras_common_if head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
717
struct ras_common_if head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
722
struct ras_common_if head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
728
struct ras_common_if head;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
870
struct ras_common_if *head, bool enable);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
873
struct ras_common_if *head, bool enable);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
876
struct ras_common_if *head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
879
struct ras_common_if *head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
895
struct ras_common_if *head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
898
struct ras_common_if *head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras.h
904
struct ras_common_if *head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_res_cursor.h
59
struct list_head *head, *next;
sys/dev/pci/drm/amd/amdgpu/amdgpu_res_cursor.h
71
head = &to_amdgpu_vram_mgr_resource(res)->blocks;
sys/dev/pci/drm/amd/amdgpu/amdgpu_res_cursor.h
73
block = list_first_entry_or_null(head,
sys/dev/pci/drm/amd/amdgpu/amdgpu_res_cursor.h
83
if (next != head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
144
ih_data.head = *ras_if;
sys/dev/pci/drm/amd/amdgpu/amdgpu_umc.c
229
struct ras_common_if head = {
sys/dev/pci/drm/amd/amdgpu/amdgpu_umc.c
232
struct ras_manager *obj = amdgpu_ras_find_obj(adev, &head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_umc.c
357
ih_data.head = *ras_if;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vcn.c
1273
ih_data.head = *ras_if;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vram_mgr.c
61
static inline bool amdgpu_is_vram_mgr_blocks_contiguous(struct list_head *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_vram_mgr.c
66
block = amdgpu_vram_mgr_first_block(head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_vram_mgr.c
70
while (head != block->link.next) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_vram_mgr.c
82
static inline u64 amdgpu_vram_mgr_blocks_size(struct list_head *head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_vram_mgr.c
87
list_for_each_entry(block, head, link)
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1057
list_add_tail(&adev->gmc.xgmi.head, &hive->device_list);
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1058
list_for_each_entry(entry, &hive->device_list, head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1066
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1094
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1099
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1122
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1177
list_del(&adev->gmc.xgmi.head);
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1680
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1698
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1760
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
1771
tmp_adev, &hive->device_list, gmc.xgmi.head)
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.c
971
list_for_each_entry(tmp_adev, &hive->device_list, gmc.xgmi.head) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_xgmi.h
89
struct list_head head;
sys/dev/pci/drm/amd/amdgpu/atombios_encoders.c
1646
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/dce_v10_0.c
2633
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/dce_v10_0.c
3522
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/dce_v6_0.c
2600
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/dce_v6_0.c
3420
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/dce_v8_0.c
2559
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/dce_v8_0.c
3430
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0_3.c
68
ih_data.head = *ras_if;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6742
if (info->head.sub_block_index >= ARRAY_SIZE(ras_gfx_subblocks))
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6745
if (!ras_gfx_subblocks[info->head.sub_block_index].name)
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6748
if (!(ras_gfx_subblocks[info->head.sub_block_index].hw_supported_error_type &
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6749
info->head.type)) {
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6751
ras_gfx_subblocks[info->head.sub_block_index].name,
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6752
info->head.type);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6756
if (!(ras_gfx_subblocks[info->head.sub_block_index].sw_supported_error_type &
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6757
info->head.type)) {
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6759
ras_gfx_subblocks[info->head.sub_block_index].name,
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6760
info->head.type);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6764
block_info.block_id = amdgpu_ras_block_to_ta(info->head.block);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6766
ras_gfx_subblocks[info->head.sub_block_index].ta_subblock;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
6767
block_info.inject_error_type = amdgpu_ras_error_to_ta(info->head.type);
sys/dev/pci/drm/amd/amdkfd/kfd_events.c
268
list_for_each_entry(waiter, &ev->wq.head, wait.entry)
sys/dev/pci/drm/amd/amdkfd/kfd_events.c
646
list_for_each_entry(waiter, &ev->wq.head, wait.entry)
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
1175
struct svm_range *head = NULL;
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
1178
r = svm_range_split(prange, new_start, prange->last, &head);
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
1183
list_add(&head->list, insert_list);
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
1185
if (huge_page_mapping && head->last + 1 > start_align &&
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
1186
head->last + 1 < last_align_down && (!IS_ALIGNED(head->last, 512)))
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
1187
list_add(&head->update_list, remap_list);
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
2468
struct svm_range *head;
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
2479
head = tail = prange;
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
2483
svm_range_split(tail, last + 1, tail->last, &head);
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
2485
if (head != prange && tail != prange) {
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
2486
svm_range_add_child(parent, head, SVM_OP_UNMAP_RANGE);
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
2490
} else if (head != prange) {
sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
2491
svm_range_add_child(parent, head, SVM_OP_UNMAP_RANGE);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1092
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
11066
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
354
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
4262
&dev->mode_config.connector_list, head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
5083
list_for_each_entry(connector, &dm->ddev->mode_config.connector_list, head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6941
list_for_each_entry(m, list_head, head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6951
&aconnector->base.modes, struct drm_display_mode, head);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
6965
list_for_each_entry(m, list_head, head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
7235
list_for_each_entry(preferred_mode, &connector->modes, head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
7246
head);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
8431
head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
8509
list_for_each_entry(curmode, &connector->probed_modes, head) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
8599
list_for_each_entry(m, &aconnector->base.probed_modes, head) {
sys/dev/pci/drm/amd/pm/amdgpu_dpm_internal.c
45
list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
sys/dev/pci/drm/apple/dcp-internal.h
76
struct list_head head;
sys/dev/pci/drm/apple/iomfb_template.c
1130
struct dcp_fb_reference, head);
sys/dev/pci/drm/apple/iomfb_template.c
1135
list_del(&entry->head);
sys/dev/pci/drm/apple/iomfb_template.c
1319
list_add_tail(&entry->head,
sys/dev/pci/drm/apple/iomfb_template.c
736
struct dcp_fb_reference, head);
sys/dev/pci/drm/apple/iomfb_template.c
741
list_del(&entry->head);
sys/dev/pci/drm/drm_agpsupport.c
128
struct drm_agp_head *head = NULL;
sys/dev/pci/drm/drm_agpsupport.c
138
head = mallocarray(1, sizeof(*head), M_DRM, M_NOWAIT | M_ZERO);
sys/dev/pci/drm/drm_agpsupport.c
139
if (head == NULL)
sys/dev/pci/drm/drm_agpsupport.c
141
head->agpdev = agpdev;
sys/dev/pci/drm/drm_agpsupport.c
142
agp_get_info(agpdev, &head->info);
sys/dev/pci/drm/drm_agpsupport.c
143
head->base = head->info.ai_aperture_base;
sys/dev/pci/drm/drm_agpsupport.c
144
head->cant_use_aperture = (head->base == 0);
sys/dev/pci/drm/drm_agpsupport.c
145
TAILQ_INIT(&head->memory);
sys/dev/pci/drm/drm_agpsupport.c
147
return (head);
sys/dev/pci/drm/drm_atomic.c
1864
list_for_each_entry(plane, &config->plane_list, head) {
sys/dev/pci/drm/drm_atomic.c
1872
list_for_each_entry(crtc, &config->crtc_list, head) {
sys/dev/pci/drm/drm_atomic.c
1889
list_for_each_entry(obj, &config->privobj_list, head) {
sys/dev/pci/drm/drm_atomic.c
797
list_add_tail(&obj->head, &dev->mode_config.privobj_list);
sys/dev/pci/drm/drm_atomic.c
812
list_del(&obj->head);
sys/dev/pci/drm/drm_client_modeset.c
128
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_client_modeset.c
141
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_client_modeset.c
155
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_client_modeset.c
169
struct drm_display_mode, head);
sys/dev/pci/drm/drm_client_modeset.c
185
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_client_modeset.c
201
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_client_modeset.c
359
list_for_each_entry(mode, &connectors[i]->modes, head) {
sys/dev/pci/drm/drm_connector.c
1099
lhead = old_conn ? &old_conn->head : &config->connector_list;
sys/dev/pci/drm/drm_connector.c
1108
iter->conn = list_entry(lhead, struct drm_connector, head);
sys/dev/pci/drm/drm_connector.c
279
INIT_LIST_HEAD(&connector->head);
sys/dev/pci/drm/drm_connector.c
3315
list_for_each_entry(mode_itr, modes, head) {
sys/dev/pci/drm/drm_connector.c
339
if (drm_WARN_ON(dev, !list_empty(&connector->head)))
sys/dev/pci/drm/drm_connector.c
3393
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_connector.c
3410
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_connector.c
343
list_add_tail(&connector->head, &config->connector_list);
sys/dev/pci/drm/drm_connector.c
3432
list_for_each_entry_continue(mode, &connector->modes, head)
sys/dev/pci/drm/drm_connector.c
3443
list_for_each_entry(mode, &connector->modes, head)
sys/dev/pci/drm/drm_connector.c
356
if (list_empty(&connector->head))
sys/dev/pci/drm/drm_connector.c
360
list_del_init(&connector->head);
sys/dev/pci/drm/drm_connector.c
712
list_del(&mode->head);
sys/dev/pci/drm/drm_connector.c
788
list_for_each_entry_safe(mode, t, &connector->probed_modes, head)
sys/dev/pci/drm/drm_connector.c
791
list_for_each_entry_safe(mode, t, &connector->modes, head)
sys/dev/pci/drm/drm_crtc.c
283
list_add_tail(&crtc->head, &config->crtc_list);
sys/dev/pci/drm/drm_crtc.c
500
list_del(&crtc->head);
sys/dev/pci/drm/drm_debugfs_crc.c
182
return CIRC_CNT(crc->head, crc->tail, DRM_CRC_ENTRIES_NR);
sys/dev/pci/drm/drm_debugfs_crc.c
190
crc->head = 0;
sys/dev/pci/drm/drm_debugfs_crc.c
399
int head, tail;
sys/dev/pci/drm/drm_debugfs_crc.c
410
head = crc->head;
sys/dev/pci/drm/drm_debugfs_crc.c
413
if (CIRC_SPACE(head, tail, DRM_CRC_ENTRIES_NR) < 1) {
sys/dev/pci/drm/drm_debugfs_crc.c
425
entry = &crc->entries[head];
sys/dev/pci/drm/drm_debugfs_crc.c
430
head = (head + 1) & (DRM_CRC_ENTRIES_NR - 1);
sys/dev/pci/drm/drm_debugfs_crc.c
431
crc->head = head;
sys/dev/pci/drm/drm_edid.c
3033
struct drm_display_mode, head);
sys/dev/pci/drm/drm_edid.c
3035
list_for_each_entry_safe(cur_mode, t, &connector->probed_modes, head) {
sys/dev/pci/drm/drm_edid.c
3436
list_for_each_entry(m, &connector->probed_modes, head)
sys/dev/pci/drm/drm_edid.c
3723
list_for_each_entry(m, &connector->probed_modes, head) {
sys/dev/pci/drm/drm_edid.c
4550
list_for_each_entry(mode, &connector->probed_modes, head) {
sys/dev/pci/drm/drm_edid.c
4594
list_add_tail(&newmode->head, &list);
sys/dev/pci/drm/drm_edid.c
4597
list_for_each_entry_safe(mode, tmp, &list, head) {
sys/dev/pci/drm/drm_edid.c
4598
list_del(&mode->head);
sys/dev/pci/drm/drm_edid.c
4753
list_for_each_entry(mode, &connector->probed_modes, head) {
sys/dev/pci/drm/drm_edid.c
4768
list_add_tail(&new_mode->head, &stereo_modes);
sys/dev/pci/drm/drm_encoder.c
132
list_add_tail(&encoder->head, &dev->mode_config.encoder_list);
sys/dev/pci/drm/drm_encoder.c
203
list_del(&encoder->head);
sys/dev/pci/drm/drm_framebuffer.c
899
list_add(&fb->head, &dev->mode_config.fb_list);
sys/dev/pci/drm/drm_framebuffer.c
997
list_del(&fb->head);
sys/dev/pci/drm/drm_gpusvm.c
450
struct list_head *head;
sys/dev/pci/drm/drm_gpusvm.c
456
head = &(to_drm_gpusvm_notifier(node))->entry;
sys/dev/pci/drm/drm_gpusvm.c
458
head = &gpusvm->notifier_list;
sys/dev/pci/drm/drm_gpusvm.c
460
list_add(&notifier->entry, head);
sys/dev/pci/drm/drm_gpusvm.c
580
struct list_head *head;
sys/dev/pci/drm/drm_gpusvm.c
587
head = &(to_drm_gpusvm_range(node))->entry;
sys/dev/pci/drm/drm_gpusvm.c
589
head = &notifier->range_list;
sys/dev/pci/drm/drm_gpusvm.c
591
list_add(&range->entry, head);
sys/dev/pci/drm/drm_gpuvm.c
1792
struct list_head *head;
sys/dev/pci/drm/drm_gpuvm.c
1805
head = &(to_drm_gpuva(node))->rb.entry;
sys/dev/pci/drm/drm_gpuvm.c
1807
head = &gpuvm->rb.list;
sys/dev/pci/drm/drm_gpuvm.c
1809
list_add(&va->rb.entry, head);
sys/dev/pci/drm/drm_linux.c
792
#define RB_ROOT(head) (head)->rbh_root
sys/dev/pci/drm/drm_mode_config.c
522
head) {
sys/dev/pci/drm/drm_mode_config.c
545
head) {
sys/dev/pci/drm/drm_mode_config.c
550
head) {
sys/dev/pci/drm/drm_mode_config.c
554
list_for_each_entry_safe(crtc, ct, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/drm_mode_config.c
572
list_for_each_entry_safe(fb, fbt, &dev->mode_config.fb_list, head) {
sys/dev/pci/drm/drm_modes.c
116
list_add_tail(&mode->head, &connector->probed_modes);
sys/dev/pci/drm/drm_modes.c
1422
struct list_head head = dst->head;
sys/dev/pci/drm/drm_modes.c
1425
dst->head = head;
sys/dev/pci/drm/drm_modes.c
1811
list_for_each_entry_safe(mode, t, mode_list, head) {
sys/dev/pci/drm/drm_modes.c
1813
list_del(&mode->head);
sys/dev/pci/drm/drm_modes.c
1844
struct drm_display_mode *a = list_entry(lh_a, struct drm_display_mode, head);
sys/dev/pci/drm/drm_modes.c
1845
struct drm_display_mode *b = list_entry(lh_b, struct drm_display_mode, head);
sys/dev/pci/drm/drm_modes.c
1893
list_for_each_entry_safe(pmode, pt, &connector->probed_modes, head) {
sys/dev/pci/drm/drm_modes.c
1898
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_modes.c
1926
list_del(&pmode->head);
sys/dev/pci/drm/drm_modes.c
1932
list_move_tail(&pmode->head, &connector->modes);
sys/dev/pci/drm/drm_modes.c
2784
list_for_each_entry(mode, &connector->probed_modes, head) {
sys/dev/pci/drm/drm_modeset_helper.c
61
&dev->mode_config.connector_list, head) {
sys/dev/pci/drm/drm_modeset_helper.c
65
list_move_tail(&connector->head, &panel_list);
sys/dev/pci/drm/drm_modeset_lock.c
289
struct drm_modeset_lock, head);
sys/dev/pci/drm/drm_modeset_lock.c
323
WARN_ON(!list_empty(&lock->head));
sys/dev/pci/drm/drm_modeset_lock.c
324
list_add(&lock->head, &ctx->locked);
sys/dev/pci/drm/drm_modeset_lock.c
375
INIT_LIST_HEAD(&lock->head);
sys/dev/pci/drm/drm_modeset_lock.c
430
list_del_init(&lock->head);
sys/dev/pci/drm/drm_plane.c
458
list_add_tail(&plane->head, &config->plane_list);
sys/dev/pci/drm/drm_plane.c
693
BUG_ON(list_empty(&plane->head));
sys/dev/pci/drm/drm_plane.c
700
list_del(&plane->head);
sys/dev/pci/drm/drm_probe_helper.c
156
list_for_each_entry(mode, &connector->probed_modes, head) {
sys/dev/pci/drm/drm_probe_helper.c
463
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_probe_helper.c
584
list_for_each_entry(mode, &connector->modes, head)
sys/dev/pci/drm/drm_probe_helper.c
704
list_for_each_entry(mode, &connector->modes, head) {
sys/dev/pci/drm/drm_property.c
133
list_add_tail(&property->head, &dev->mode_config.property_list);
sys/dev/pci/drm/drm_property.c
411
list_for_each_entry(prop_enum, &property->enum_list, head) {
sys/dev/pci/drm/drm_property.c
428
list_add_tail(&prop_enum->head, &property->enum_list);
sys/dev/pci/drm/drm_property.c
445
list_for_each_entry_safe(prop_enum, pt, &property->enum_list, head) {
sys/dev/pci/drm/drm_property.c
446
list_del(&prop_enum->head);
sys/dev/pci/drm/drm_property.c
453
list_del(&property->head);
sys/dev/pci/drm/drm_property.c
496
list_for_each_entry(prop_enum, &property->enum_list, head) {
sys/dev/pci/drm/i915/display/intel_display.h
225
base.head)
sys/dev/pci/drm/i915/display/intel_display.h
230
base.head) \
sys/dev/pci/drm/i915/display/intel_display.h
237
base.head) \
sys/dev/pci/drm/i915/display/intel_display.h
243
base.head)
sys/dev/pci/drm/i915/display/intel_display.h
248
base.head) \
sys/dev/pci/drm/i915/display/intel_display.h
254
base.head) \
sys/dev/pci/drm/i915/display/intel_display.h
260
base.head)
sys/dev/pci/drm/i915/display/intel_display.h
265
base.head) \
sys/dev/pci/drm/i915/display/intel_display.h
270
list_for_each_entry((intel_encoder), &(dev)->mode_config.encoder_list, base.head) \
sys/dev/pci/drm/i915/display/intel_display.h
286
list_for_each_entry((intel_encoder), &(dev)->mode_config.encoder_list, base.head) \
sys/dev/pci/drm/i915/display/intel_display_debugfs.c
211
list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head)
sys/dev/pci/drm/i915/display/intel_display_debugfs.c
286
list_for_each_entry(mode, &connector->modes, head)
sys/dev/pci/drm/i915/display/intel_dp.c
6698
list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head)
sys/dev/pci/drm/i915/display/intel_dsb.c
573
unsigned int head, tail;
sys/dev/pci/drm/i915/display/intel_dsb.c
584
head = intel_dsb_head(sub_dsb);
sys/dev/pci/drm/i915/display/intel_dsb.c
603
head_tail = ((u64)(DSB_GOSUB_CONVERT_ADDR(head)) << DSB_GOSUB_HEAD_SHIFT) |
sys/dev/pci/drm/i915/display/intel_flipq.c
333
int head, size = intel_flipq_size_entries(flipq_id);
sys/dev/pci/drm/i915/display/intel_flipq.c
335
head = intel_flipq_current_head(crtc, flipq_id);
sys/dev/pci/drm/i915/display/intel_flipq.c
338
(flipq->tail + size - head) % size >= size - 1,
sys/dev/pci/drm/i915/display/intel_flipq.c
341
head, flipq->tail, size);
sys/dev/pci/drm/i915/display/intel_global_state.c
124
list_add_tail(&obj->head, &display->global.obj_list);
sys/dev/pci/drm/i915/display/intel_global_state.c
131
list_for_each_entry_safe(obj, next, &display->global.obj_list, head) {
sys/dev/pci/drm/i915/display/intel_global_state.c
132
list_del(&obj->head);
sys/dev/pci/drm/i915/display/intel_global_state.c
152
list_for_each_entry(l, &ctx->locked, head) {
sys/dev/pci/drm/i915/display/intel_global_state.h
25
struct list_head head;
sys/dev/pci/drm/i915/display/intel_panel.c
133
list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) {
sys/dev/pci/drm/i915/display/intel_panel.c
153
list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) {
sys/dev/pci/drm/i915/display/intel_panel.c
166
list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) {
sys/dev/pci/drm/i915/display/intel_panel.c
183
list_for_each_entry(mode1, &connector->panel.fixed_modes, head) {
sys/dev/pci/drm/i915/display/intel_panel.c
186
list_for_each_entry_continue(mode2, &connector->panel.fixed_modes, head) {
sys/dev/pci/drm/i915/display/intel_panel.c
257
list_for_each_entry_safe(mode, next, &connector->base.probed_modes, head) {
sys/dev/pci/drm/i915/display/intel_panel.c
266
list_move_tail(&mode->head, &connector->panel.fixed_modes);
sys/dev/pci/drm/i915/display/intel_panel.c
279
list_for_each_entry(scan, &connector->base.probed_modes, head) {
sys/dev/pci/drm/i915/display/intel_panel.c
288
typeof(*fixed_mode), head);
sys/dev/pci/drm/i915/display/intel_panel.c
298
list_move_tail(&fixed_mode->head, &connector->panel.fixed_modes);
sys/dev/pci/drm/i915/display/intel_panel.c
306
list_for_each_entry_safe(mode, next, &connector->base.probed_modes, head) {
sys/dev/pci/drm/i915/display/intel_panel.c
311
list_del(&mode->head);
sys/dev/pci/drm/i915/display/intel_panel.c
344
list_add_tail(&fixed_mode->head, &connector->panel.fixed_modes);
sys/dev/pci/drm/i915/display/intel_panel.c
460
list_for_each_entry_safe(fixed_mode, next, &panel->fixed_modes, head) {
sys/dev/pci/drm/i915/display/intel_panel.c
461
list_del(&fixed_mode->head);
sys/dev/pci/drm/i915/display/intel_panel.c
59
struct drm_display_mode, head);
sys/dev/pci/drm/i915/display/intel_panel.c
92
list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) {
sys/dev/pci/drm/i915/display/intel_sdvo.c
3059
&display->drm->mode_config.connector_list, head) {
sys/dev/pci/drm/i915/gem/i915_gem_execbuffer.c
1055
struct hlist_head *head;
sys/dev/pci/drm/i915/gem/i915_gem_execbuffer.c
1058
head = &eb->buckets[hash_32(handle, eb->lut_size)];
sys/dev/pci/drm/i915/gem/i915_gem_execbuffer.c
1059
hlist_for_each_entry(ev, head, node) {
sys/dev/pci/drm/i915/gem/i915_gem_object.c
303
void __i915_gem_free_object_rcu(struct rcu_head *head)
sys/dev/pci/drm/i915/gem/i915_gem_object.c
306
container_of(head, typeof(*obj), rcu);
sys/dev/pci/drm/i915/gem/i915_gem_object.h
817
void __i915_gem_free_object_rcu(struct rcu_head *head);
sys/dev/pci/drm/i915/gem/i915_gem_shrinker.c
514
struct list_head *head)
sys/dev/pci/drm/i915/gem/i915_gem_shrinker.c
530
list_add_tail(&obj->mm.link, head);
sys/dev/pci/drm/i915/gt/gen8_engine_cs.c
605
GEM_BUG_ON(intel_ring_direction(ring, rq->wa_tail, rq->head) <= 0);
sys/dev/pci/drm/i915/gt/intel_breadcrumbs.c
166
slist_add(struct llist_node *node, struct llist_node *head)
sys/dev/pci/drm/i915/gt/intel_breadcrumbs.c
168
node->next = head;
sys/dev/pci/drm/i915/gt/intel_context.c
288
ce->ring->head, ce->ring->tail);
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2233
rq->head, rq->postfix, rq->tail,
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2237
size = rq->tail - rq->head;
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2238
if (rq->tail < rq->head)
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2244
unsigned int head = rq->head;
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2247
if (rq->tail < head) {
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2248
len = rq->ring->size - head;
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2249
memcpy(ring, vaddr + head, len);
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2250
head = 0;
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2252
memcpy(ring + len, vaddr + head, size - len);
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2303
rq->ring->head);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1821
u8 head, tail;
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1841
head = execlists->csb_head;
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1843
if (unlikely(head == tail))
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1863
ENGINE_TRACE(engine, "cs-irq head=%d, tail=%d\n", head, tail);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1883
if (++head == num_entries)
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1884
head = 0;
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1904
csb = csb_read(engine, buf + head);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1906
head, upper_32_bits(csb), lower_32_bits(csb));
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1982
rq->head, rq->tail,
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
1998
} while (head != tail);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
3031
u32 head;
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
3047
head = intel_ring_wrap(ce->ring, rq->tail);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
3058
head = intel_ring_wrap(ce->ring, rq->head);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
3059
GEM_BUG_ON(head == ce->ring->tail);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
3099
head, ce->ring->tail);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
3101
ce->lrc.lrca = lrc_update_regs(ce, engine, head);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
433
u32 head;
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
455
head = rq->tail;
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
457
head = __active_request(ce->timeline, rq, -EIO)->head;
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
458
head = intel_ring_wrap(ce->ring, head);
sys/dev/pci/drm/i915/gt/intel_execlists_submission.c
464
ce->lrc.lrca = lrc_update_regs(ce, engine, head);
sys/dev/pci/drm/i915/gt/intel_lrc.c
1541
u32 head)
sys/dev/pci/drm/i915/gt/intel_lrc.c
1546
GEM_BUG_ON(!intel_ring_offset_valid(ring, head));
sys/dev/pci/drm/i915/gt/intel_lrc.c
1550
regs[CTX_RING_HEAD] = head;
sys/dev/pci/drm/i915/gt/intel_lrc.h
66
u32 head);
sys/dev/pci/drm/i915/gt/intel_ring.c
23
space = __intel_ring_space(ring->head, ring->emit, ring->size);
sys/dev/pci/drm/i915/gt/intel_ring.c
89
ring->head = tail;
sys/dev/pci/drm/i915/gt/intel_ring.h
111
GEM_BUG_ON(cacheline(tail) == cacheline(head) && tail < head);
sys/dev/pci/drm/i915/gt/intel_ring.h
130
__intel_ring_space(unsigned int head, unsigned int tail, unsigned int size)
sys/dev/pci/drm/i915/gt/intel_ring.h
138
return (head - tail - CACHELINE_BYTES) & (size - 1);
sys/dev/pci/drm/i915/gt/intel_ring.h
92
unsigned int head = READ_ONCE(ring->head);
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
200
ring->head, ring->tail);
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
229
GEM_BUG_ON(!intel_ring_offset_valid(ring, ring->head));
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
249
ENGINE_WRITE_FW(engine, RING_HEAD, ring->head);
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
250
if (ENGINE_READ_FW(engine, RING_HEAD) == ring->head)
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
254
ENGINE_WRITE_FW(engine, RING_TAIL, ring->head);
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
259
ring->head);
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
282
if (ring->tail != ring->head) {
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
297
ENGINE_READ(engine, RING_HEAD), ring->head,
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
392
u32 head;
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
446
head = rq->head;
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
448
head = engine->legacy.ring->tail;
sys/dev/pci/drm/i915/gt/intel_ring_submission.c
450
engine->legacy.ring->head = intel_ring_wrap(engine->legacy.ring, head);
sys/dev/pci/drm/i915/gt/intel_ring_types.h
41
u32 head; /* updated during retire, loosely tracks RING_HEAD */
sys/dev/pci/drm/i915/gt/selftest_execlists.c
226
lrc_update_regs(ce[1], engine, ce[1]->ring->head);
sys/dev/pci/drm/i915/gt/selftest_execlists.c
2591
ring_size = rq->wa_tail - rq->head;
sys/dev/pci/drm/i915/gt/selftest_execlists.c
527
GEM_BUG_ON(ring->head);
sys/dev/pci/drm/i915/gt/selftest_execlists.c
540
GEM_BUG_ON(!rq->head);
sys/dev/pci/drm/i915/gt/selftest_execlists.c
933
struct i915_request *head;
sys/dev/pci/drm/i915/gt/selftest_execlists.c
937
head = semaphore_queue(outer, vma, n++);
sys/dev/pci/drm/i915/gt/selftest_execlists.c
938
if (IS_ERR(head))
sys/dev/pci/drm/i915/gt/selftest_execlists.c
939
return PTR_ERR(head);
sys/dev/pci/drm/i915/gt/selftest_execlists.c
962
if (i915_request_wait(head, 0,
sys/dev/pci/drm/i915/gt/selftest_execlists.c
972
i915_request_put(head);
sys/dev/pci/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h
49
u32 head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
1377
ct->ctbs.send.desc->head);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
1383
ct->ctbs.recv.desc->head);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
167
ctb->head = 0;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
168
space = CIRC_SPACE(ctb->tail, ctb->head, ctb->size) - ctb->resv_space;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
458
if (unlikely(READ_ONCE(desc->head) >= size)) {
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
460
desc->head, size);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
519
desc->head, desc->tail, desc->status);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
584
CT_ERROR(ct, "Head: %u (Dwords)\n", ct->ctbs.send.desc->head);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
588
CT_ERROR(ct, "Head: %u\n (Dwords)", ct->ctbs.recv.desc->head);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
628
u32 head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
634
head = READ_ONCE(desc->head);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
635
if (unlikely(head > ctb->size)) {
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
637
head, ctb->size);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
644
space = CIRC_SPACE(ctb->tail, head, ctb->size);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
891
u32 head = ctb->head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
920
GEM_BUG_ON(head > size);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
923
if (unlikely(head != READ_ONCE(desc->head))) {
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
925
desc->head, head);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
938
available = tail - head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
947
CT_DEBUG(ct, "available %d (%u:%u:%u)\n", available, head, tail, size);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
950
header = cmds[head];
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
951
head = (head + 1) % size;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
958
4 * (head + available - 1 > size ?
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
959
size - head : available - 1), &cmds[head],
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
960
4 * (head + available - 1 > size ?
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
961
available - 1 - size + head : 0), &cmds[0]);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
970
4 * (head + available - 1 > size ?
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
971
size - head : available - 1), &cmds[head],
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
972
4 * (head + available - 1 > size ?
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
973
available - 1 - size + head : 0), &cmds[0]);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
980
(*msg)->msg[i] = cmds[head];
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
981
head = (head + 1) % size;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
986
ctb->head = head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
989
WRITE_ONCE(desc->head, head);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
997
desc->head, desc->tail, desc->status);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.h
52
u32 head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_fwif.h
210
u32 head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_fwif.h
222
u32 head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
1777
static void guc_reset_state(struct intel_context *ce, u32 head, bool scrub)
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
1798
lrc_update_regs(ce, engine, head);
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
1862
u32 head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
1890
head = ce->ring->tail;
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
1898
head = intel_ring_wrap(ce->ring, rq->head);
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
1903
guc_reset_state(ce, head, guilty);
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
2844
ce->parallel.guc.wq_head = &pdesc->head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
2918
ce->parallel.guc.wq_head = &wq_desc->head;
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
3224
guc_reset_state(ce, intel_ring_wrap(ce->ring, rq->head),
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
5548
ce->ring->head,
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
5556
ce->ring->head);
sys/dev/pci/drm/i915/gvt/sched_policy.c
180
struct list_head *head = &sched_data->lru_runq_head;
sys/dev/pci/drm/i915/gvt/sched_policy.c
184
list_for_each(pos, head) {
sys/dev/pci/drm/i915/gvt/scheduler.c
1637
u32 head, tail, start, ctl, ctx_ctl, per_ctx, indirect_ctx;
sys/dev/pci/drm/i915/gvt/scheduler.c
1649
RING_CTX_OFF(ring_header.val), &head, 4);
sys/dev/pci/drm/i915/gvt/scheduler.c
1654
guest_head = head;
sys/dev/pci/drm/i915/gvt/scheduler.c
1656
head &= RB_HEAD_OFF_MASK;
sys/dev/pci/drm/i915/gvt/scheduler.c
1664
gvt_dbg_el("ctx head %x real head %lx\n", head,
sys/dev/pci/drm/i915/gvt/scheduler.c
1670
head = last_workload->rb_tail;
sys/dev/pci/drm/i915/gvt/scheduler.c
1698
workload->rb_head = head;
sys/dev/pci/drm/i915/gvt/scheduler.c
1743
workload, engine->name, head, tail, start, ctl);
sys/dev/pci/drm/i915/gvt/scheduler.c
950
u32 head, tail;
sys/dev/pci/drm/i915/gvt/scheduler.c
958
head = workload->rb_head;
sys/dev/pci/drm/i915/gvt/scheduler.c
962
if (tail < head) {
sys/dev/pci/drm/i915/gvt/scheduler.c
969
head = (wrap_count << RB_HEAD_WRAP_CNT_OFF) | tail;
sys/dev/pci/drm/i915/gvt/scheduler.c
973
vgpu_vreg_t(vgpu, RING_HEAD(ring_base)) = head;
sys/dev/pci/drm/i915/i915_active.c
381
struct llist_node *head = NULL, *tail = NULL;
sys/dev/pci/drm/i915/i915_active.c
407
pos->next = head;
sys/dev/pci/drm/i915/i915_active.c
408
head = pos;
sys/dev/pci/drm/i915/i915_active.c
412
if (head)
sys/dev/pci/drm/i915/i915_active.c
413
llist_add_batch(head, tail, &engine->barrier_tasks);
sys/dev/pci/drm/i915/i915_gpu_error.c
1403
ee->head = ENGINE_READ(engine, RING_HEAD);
sys/dev/pci/drm/i915/i915_gpu_error.c
1476
erq->head = request->head;
sys/dev/pci/drm/i915/i915_gpu_error.c
1715
ee->rq_head = rq->head;
sys/dev/pci/drm/i915/i915_gpu_error.c
1844
saved->raw_head = ctb->desc->head;
sys/dev/pci/drm/i915/i915_gpu_error.c
1846
saved->head = ctb->head;
sys/dev/pci/drm/i915/i915_gpu_error.c
527
erq->head, erq->tail);
sys/dev/pci/drm/i915/i915_gpu_error.c
568
err_printf(m, " HEAD: 0x%08x [0x%08x]\n", ee->head, ee->rq_head);
sys/dev/pci/drm/i915/i915_gpu_error.c
717
ctb->head, ctb->tail, ctb->desc_offset, ctb->cmds_offset, ctb->size);
sys/dev/pci/drm/i915/i915_gpu_error.h
131
u32 raw_head, head;
sys/dev/pci/drm/i915/i915_gpu_error.h
52
u32 head;
sys/dev/pci/drm/i915/i915_gpu_error.h
73
u32 head;
sys/dev/pci/drm/i915/i915_list_util.h
10
static inline void __list_del_many(struct list_head *head,
sys/dev/pci/drm/i915/i915_list_util.h
13
first->prev = head;
sys/dev/pci/drm/i915/i915_list_util.h
14
WRITE_ONCE(head->next, first);
sys/dev/pci/drm/i915/i915_list_util.h
18
const struct list_head *head)
sys/dev/pci/drm/i915/i915_list_util.h
20
return READ_ONCE(list->next) == head;
sys/dev/pci/drm/i915/i915_perf.c
1059
u32 head, tail;
sys/dev/pci/drm/i915/i915_perf.c
1067
head = stream->oa_buffer.head;
sys/dev/pci/drm/i915/i915_perf.c
1079
head > OA_BUFFER_SIZE || head % report_size ||
sys/dev/pci/drm/i915/i915_perf.c
1082
head, tail))
sys/dev/pci/drm/i915/i915_perf.c
1087
OA_TAKEN(tail, head);
sys/dev/pci/drm/i915/i915_perf.c
1088
head = (head + report_size) & mask) {
sys/dev/pci/drm/i915/i915_perf.c
1089
u8 *report = oa_buf_base + head;
sys/dev/pci/drm/i915/i915_perf.c
1101
(OA_BUFFER_SIZE - head) < report_size)) {
sys/dev/pci/drm/i915/i915_perf.c
1135
((head + gtt_offset) & GEN7_OASTATUS2_HEAD_MASK) |
sys/dev/pci/drm/i915/i915_perf.c
1137
stream->oa_buffer.head = head;
sys/dev/pci/drm/i915/i915_perf.c
1730
stream->oa_buffer.head = 0;
sys/dev/pci/drm/i915/i915_perf.c
1772
stream->oa_buffer.head = 0;
sys/dev/pci/drm/i915/i915_perf.c
1826
stream->oa_buffer.head = 0;
sys/dev/pci/drm/i915/i915_perf.c
229
#define OA_TAKEN(tail, head) ((tail - head) & (OA_BUFFER_SIZE - 1))
sys/dev/pci/drm/i915/i915_perf.c
608
stream->oa_buffer.head, tail, hw_tail);
sys/dev/pci/drm/i915/i915_perf.c
613
stream->oa_buffer.head) >= report_size;
sys/dev/pci/drm/i915/i915_perf.c
749
u32 head, tail;
sys/dev/pci/drm/i915/i915_perf.c
757
head = stream->oa_buffer.head;
sys/dev/pci/drm/i915/i915_perf.c
769
head > OA_BUFFER_SIZE ||
sys/dev/pci/drm/i915/i915_perf.c
772
head, tail))
sys/dev/pci/drm/i915/i915_perf.c
777
OA_TAKEN(tail, head);
sys/dev/pci/drm/i915/i915_perf.c
778
head = (head + report_size) & mask) {
sys/dev/pci/drm/i915/i915_perf.c
779
u8 *report = oa_buf_base + head;
sys/dev/pci/drm/i915/i915_perf.c
927
(head + gtt_offset) & GEN12_OAG_OAHEADPTR_MASK);
sys/dev/pci/drm/i915/i915_perf.c
928
stream->oa_buffer.head = head;
sys/dev/pci/drm/i915/i915_perf_types.h
325
u32 head;
sys/dev/pci/drm/i915/i915_pmu.c
394
u32 tail, head, acthd;
sys/dev/pci/drm/i915/i915_pmu.c
397
head = ENGINE_READ_FW(engine, RING_HEAD);
sys/dev/pci/drm/i915/i915_pmu.c
400
if (head & HEAD_WAIT_I8XX)
sys/dev/pci/drm/i915/i915_pmu.c
403
if (head & HEAD_WAIT_I8XX || head != acthd ||
sys/dev/pci/drm/i915/i915_pmu.c
404
(head & HEAD_ADDR) != (tail & TAIL_ADDR))
sys/dev/pci/drm/i915/i915_request.c
1080
rq->head = rq->ring->emit;
sys/dev/pci/drm/i915/i915_request.c
1094
ce->ring->emit = rq->head;
sys/dev/pci/drm/i915/i915_request.c
242
u32 head;
sys/dev/pci/drm/i915/i915_request.c
244
head = rq->infix;
sys/dev/pci/drm/i915/i915_request.c
245
if (rq->postfix < head) {
sys/dev/pci/drm/i915/i915_request.c
246
memset(vaddr + head, val, rq->ring->size - head);
sys/dev/pci/drm/i915/i915_request.c
247
head = 0;
sys/dev/pci/drm/i915/i915_request.c
249
memset(vaddr + head, val, rq->postfix - head);
sys/dev/pci/drm/i915/i915_request.c
430
rq->ring->head = rq->postfix;
sys/dev/pci/drm/i915/i915_request.h
282
u32 head;
sys/dev/pci/drm/i915/i915_sw_fence.c
160
list_for_each_entry_safe(pos, next, &x->head, entry) {
sys/dev/pci/drm/i915/i915_sw_fence.c
170
list_for_each_entry_safe(pos, next, &x->head, entry) {
sys/dev/pci/drm/i915/i915_sw_fence.c
183
list_splice_tail_init(&extra, &x->head);
sys/dev/pci/drm/i915/i915_sw_fence.c
260
I915_SW_FENCE_BUG_ON(!list_empty(&fence->wait.head));
sys/dev/pci/drm/i915/i915_sw_fence.c
293
list_for_each_entry(wq, &fence->wait.head, entry) {
sys/dev/pci/drm/i915/i915_sw_fence.c
311
list_for_each_entry(wq, &fence->wait.head, entry) {
sys/dev/pci/drm/i915/i915_vma_resource.c
149
static void unbind_fence_free_rcu(struct rcu_head *head)
sys/dev/pci/drm/i915/i915_vma_resource.c
152
container_of(head, typeof(*vma_res), unbind_fence.rcu);
sys/dev/pci/drm/i915/selftests/i915_request.c
1713
sz = rq->ring->emit - rq->head;
sys/dev/pci/drm/include/drm/drm_atomic.h
291
struct list_head head;
sys/dev/pci/drm/include/drm/drm_atomic.h
322
list_for_each_entry(privobj, &(dev)->mode_config.privobj_list, head)
sys/dev/pci/drm/include/drm/drm_connector.h
1919
struct list_head head;
sys/dev/pci/drm/include/drm/drm_crtc.h
1312
list_for_each_entry(crtc, &(dev)->mode_config.crtc_list, head)
sys/dev/pci/drm/include/drm/drm_crtc.h
1322
list_for_each_entry_reverse(crtc, &(dev)->mode_config.crtc_list, head)
sys/dev/pci/drm/include/drm/drm_crtc.h
944
struct list_head head;
sys/dev/pci/drm/include/drm/drm_debugfs_crc.h
64
int head, tail;
sys/dev/pci/drm/include/drm/drm_encoder.h
107
struct list_head head;
sys/dev/pci/drm/include/drm/drm_encoder.h
333
list_for_each_entry((encoder), &(dev)->mode_config.encoder_list, head) \
sys/dev/pci/drm/include/drm/drm_encoder.h
344
list_for_each_entry(encoder, &(dev)->mode_config.encoder_list, head)
sys/dev/pci/drm/include/drm/drm_framebuffer.h
129
struct list_head head;
sys/dev/pci/drm/include/drm/drm_framebuffer.h
286
struct drm_framebuffer, head); \
sys/dev/pci/drm/include/drm/drm_framebuffer.h
287
&fb->head != (&(dev)->mode_config.fb_list); \
sys/dev/pci/drm/include/drm/drm_framebuffer.h
288
fb = list_next_entry(fb, head))
sys/dev/pci/drm/include/drm/drm_modes.h
396
struct list_head head;
sys/dev/pci/drm/include/drm/drm_modeset_lock.h
114
WARN_ON(!list_empty(&lock->head));
sys/dev/pci/drm/include/drm/drm_modeset_lock.h
95
struct list_head head;
sys/dev/pci/drm/include/drm/drm_plane.h
644
struct list_head head;
sys/dev/pci/drm/include/drm/drm_plane.h
966
list_for_each_entry((plane), &(dev)->mode_config.plane_list, head) \
sys/dev/pci/drm/include/drm/drm_plane.h
979
list_for_each_entry(plane, &(dev)->mode_config.plane_list, head) \
sys/dev/pci/drm/include/drm/drm_plane.h
990
list_for_each_entry(plane, &(dev)->mode_config.plane_list, head)
sys/dev/pci/drm/include/drm/drm_property.h
50
struct list_head head;
sys/dev/pci/drm/include/drm/drm_property.h
84
struct list_head head;
sys/dev/pci/drm/include/drm/spsc_queue.h
104
WRITE_ONCE(queue->head, next);
sys/dev/pci/drm/include/drm/spsc_queue.h
110
(long)&node->next, (long) &queue->head) != (long)&node->next) {
sys/dev/pci/drm/include/drm/spsc_queue.h
114
} while (unlikely(!(queue->head = READ_ONCE(node->next))));
sys/dev/pci/drm/include/drm/spsc_queue.h
40
struct spsc_node *head;
sys/dev/pci/drm/include/drm/spsc_queue.h
50
queue->head = NULL;
sys/dev/pci/drm/include/drm/spsc_queue.h
51
atomic_long_set(&queue->tail, (long)&queue->head);
sys/dev/pci/drm/include/drm/spsc_queue.h
57
return queue->head;
sys/dev/pci/drm/include/drm/spsc_queue.h
87
return tail == &queue->head;
sys/dev/pci/drm/include/drm/spsc_queue.h
98
node = READ_ONCE(queue->head);
sys/dev/pci/drm/include/drm/ttm/ttm_execbuf_util.h
49
struct list_head head;
sys/dev/pci/drm/include/drm/ttm/ttm_resource.h
478
ttm_lru_first_res_or_null(struct list_head *head);
sys/dev/pci/drm/include/linux/list.h
100
(head)->next = new;
sys/dev/pci/drm/include/linux/list.h
104
list_add_tail(struct list_head *entry, struct list_head *head) {
sys/dev/pci/drm/include/linux/list.h
105
(entry)->prev = (head)->prev;
sys/dev/pci/drm/include/linux/list.h
106
(entry)->next = head;
sys/dev/pci/drm/include/linux/list.h
107
(head)->prev->next = entry;
sys/dev/pci/drm/include/linux/list.h
108
(head)->prev = entry;
sys/dev/pci/drm/include/linux/list.h
135
static inline void list_move(struct list_head *list, struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
138
list_add(list, head);
sys/dev/pci/drm/include/linux/list.h
142
struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
145
list_add_tail(list, head);
sys/dev/pci/drm/include/linux/list.h
149
list_rotate_to_front(struct list_head *list, struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
151
list_del(head);
sys/dev/pci/drm/include/linux/list.h
152
list_add_tail(head, list);
sys/dev/pci/drm/include/linux/list.h
156
list_bulk_move_tail(struct list_head *head, struct list_head *first,
sys/dev/pci/drm/include/linux/list.h
161
head->prev->next = first;
sys/dev/pci/drm/include/linux/list.h
162
first->prev = head->prev;
sys/dev/pci/drm/include/linux/list.h
163
last->next = head;
sys/dev/pci/drm/include/linux/list.h
164
head->prev = last;
sys/dev/pci/drm/include/linux/list.h
183
#define list_for_each(entry, head) \
sys/dev/pci/drm/include/linux/list.h
184
for (entry = (head)->next; entry != head; entry = (entry)->next)
sys/dev/pci/drm/include/linux/list.h
186
#define list_for_each_prev(entry, head) \
sys/dev/pci/drm/include/linux/list.h
187
for (entry = (head)->prev; entry != (head); \
sys/dev/pci/drm/include/linux/list.h
190
#define list_for_each_safe(entry, temp, head) \
sys/dev/pci/drm/include/linux/list.h
191
for (entry = (head)->next, temp = (entry)->next; \
sys/dev/pci/drm/include/linux/list.h
192
entry != head; \
sys/dev/pci/drm/include/linux/list.h
195
#define list_for_each_entry_safe_reverse(pos, n, head, member) \
sys/dev/pci/drm/include/linux/list.h
196
for (pos = list_entry((head)->prev, __typeof(*pos), member), \
sys/dev/pci/drm/include/linux/list.h
198
&(pos)->member != (head); \
sys/dev/pci/drm/include/linux/list.h
201
#define list_for_each_entry_safe_from(pos, n, head, member) \
sys/dev/pci/drm/include/linux/list.h
203
&pos->member != (head); \
sys/dev/pci/drm/include/linux/list.h
206
#define list_for_each_entry(pos, head, member) \
sys/dev/pci/drm/include/linux/list.h
207
for (pos = list_entry((head)->next, __typeof(*pos), member); \
sys/dev/pci/drm/include/linux/list.h
208
&pos->member != (head); \
sys/dev/pci/drm/include/linux/list.h
211
#define list_for_each_entry_from(pos, head, member) \
sys/dev/pci/drm/include/linux/list.h
213
&pos->member != (head); \
sys/dev/pci/drm/include/linux/list.h
216
#define list_for_each_entry_reverse(pos, head, member) \
sys/dev/pci/drm/include/linux/list.h
217
for (pos = list_entry((head)->prev, __typeof(*pos), member); \
sys/dev/pci/drm/include/linux/list.h
218
&pos->member != (head); \
sys/dev/pci/drm/include/linux/list.h
221
#define list_for_each_entry_from_reverse(pos, head, member) \
sys/dev/pci/drm/include/linux/list.h
223
&pos->member != (head); \
sys/dev/pci/drm/include/linux/list.h
226
#define list_for_each_entry_continue(pos, head, member) \
sys/dev/pci/drm/include/linux/list.h
228
&pos->member != (head); \
sys/dev/pci/drm/include/linux/list.h
231
#define list_for_each_entry_continue_reverse(pos, head, member) \
sys/dev/pci/drm/include/linux/list.h
233
&pos->member != (head); \
sys/dev/pci/drm/include/linux/list.h
243
#define list_for_each_entry_safe(pos, n, head, member) \
sys/dev/pci/drm/include/linux/list.h
244
for (pos = list_entry((head)->next, __typeof(*pos), member), \
sys/dev/pci/drm/include/linux/list.h
246
&pos->member != (head); \
sys/dev/pci/drm/include/linux/list.h
276
list_splice(const struct list_head *list, struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
281
__list_splice(list, head, head->next);
sys/dev/pci/drm/include/linux/list.h
285
list_splice_init(struct list_head *list, struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
290
__list_splice(list, head, head->next);
sys/dev/pci/drm/include/linux/list.h
295
list_splice_tail(const struct list_head *list, struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
300
__list_splice(list, head->prev, head);
sys/dev/pci/drm/include/linux/list.h
304
list_splice_tail_init(struct list_head *list, struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
309
__list_splice(list, head->prev, head);
sys/dev/pci/drm/include/linux/list.h
314
list_count_nodes(struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
319
list_for_each(entry, head)
sys/dev/pci/drm/include/linux/list.h
332
INIT_HLIST_HEAD(struct hlist_head *head) {
sys/dev/pci/drm/include/linux/list.h
333
head->first = NULL;
sys/dev/pci/drm/include/linux/list.h
337
hlist_empty(const struct hlist_head *head) {
sys/dev/pci/drm/include/linux/list.h
338
return head->first == NULL;
sys/dev/pci/drm/include/linux/list.h
342
hlist_add_head(struct hlist_node *new, struct hlist_head *head)
sys/dev/pci/drm/include/linux/list.h
344
if ((new->next = head->first) != NULL)
sys/dev/pci/drm/include/linux/list.h
345
head->first->prev = &new->next;
sys/dev/pci/drm/include/linux/list.h
346
head->first = new;
sys/dev/pci/drm/include/linux/list.h
347
new->prev = &head->first;
sys/dev/pci/drm/include/linux/list.h
371
#define hlist_for_each(pos, head) \
sys/dev/pci/drm/include/linux/list.h
372
for (pos = (head)->first; pos != NULL; pos = pos->next)
sys/dev/pci/drm/include/linux/list.h
374
#define hlist_for_each_entry(pos, head, member) \
sys/dev/pci/drm/include/linux/list.h
375
for (pos = hlist_entry((head)->first, __typeof(*pos), member); \
sys/dev/pci/drm/include/linux/list.h
379
#define hlist_for_each_entry_safe(pos, n, head, member) \
sys/dev/pci/drm/include/linux/list.h
380
for (pos = hlist_entry((head)->first, __typeof(*pos), member); \
sys/dev/pci/drm/include/linux/list.h
44
INIT_LIST_HEAD(struct list_head *head) {
sys/dev/pci/drm/include/linux/list.h
45
(head)->next = head;
sys/dev/pci/drm/include/linux/list.h
46
(head)->prev = head;
sys/dev/pci/drm/include/linux/list.h
55
list_empty(const struct list_head *head) {
sys/dev/pci/drm/include/linux/list.h
56
return (head)->next == head;
sys/dev/pci/drm/include/linux/list.h
60
list_is_singular(const struct list_head *head) {
sys/dev/pci/drm/include/linux/list.h
61
return !list_empty(head) && ((head)->next == (head)->prev);
sys/dev/pci/drm/include/linux/list.h
66
const struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
68
return list->prev == head;
sys/dev/pci/drm/include/linux/list.h
73
const struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
75
return list->next == head;
sys/dev/pci/drm/include/linux/list.h
80
const struct list_head *head)
sys/dev/pci/drm/include/linux/list.h
82
return list == head;
sys/dev/pci/drm/include/linux/list.h
96
list_add(struct list_head *new, struct list_head *head) {
sys/dev/pci/drm/include/linux/list.h
97
(head)->next->prev = new;
sys/dev/pci/drm/include/linux/list.h
98
(new)->next = (head)->next;
sys/dev/pci/drm/include/linux/list.h
99
(new)->prev = head;
sys/dev/pci/drm/include/linux/llist.h
19
llist_del_all(struct llist_head *head)
sys/dev/pci/drm/include/linux/llist.h
21
return atomic_swap_ptr(&head->first, NULL);
sys/dev/pci/drm/include/linux/llist.h
25
llist_del_first(struct llist_head *head)
sys/dev/pci/drm/include/linux/llist.h
30
first = head->first;
sys/dev/pci/drm/include/linux/llist.h
34
} while (atomic_cas_ptr(&head->first, first, next) != first);
sys/dev/pci/drm/include/linux/llist.h
40
llist_add(struct llist_node *new, struct llist_head *head)
sys/dev/pci/drm/include/linux/llist.h
45
new->next = first = head->first;
sys/dev/pci/drm/include/linux/llist.h
46
} while (atomic_cas_ptr(&head->first, first, new) != first);
sys/dev/pci/drm/include/linux/llist.h
53
struct llist_head *head)
sys/dev/pci/drm/include/linux/llist.h
58
new_last->next = first = head->first;
sys/dev/pci/drm/include/linux/llist.h
59
} while (atomic_cas_ptr(&head->first, first, new_first) != first);
sys/dev/pci/drm/include/linux/llist.h
65
init_llist_head(struct llist_head *head)
sys/dev/pci/drm/include/linux/llist.h
67
head->first = NULL;
sys/dev/pci/drm/include/linux/llist.h
71
llist_empty(struct llist_head *head)
sys/dev/pci/drm/include/linux/llist.h
73
return (head->first == NULL);
sys/dev/pci/drm/include/linux/rbtree.h
118
#define rbtree_postorder_for_each_entry_safe(x, y, head, member) \
sys/dev/pci/drm/include/linux/rbtree.h
119
for ((x) = rb_entry_safe(__rb_deepest_left((head)->rb_node), \
sys/dev/pci/drm/include/linux/rcupdate.h
36
typedef void (*rcu_callback_t)(struct rcu_head *head);
sys/dev/pci/drm/include/linux/rcupdate.h
39
call_rcu(struct rcu_head *head, void (*fn)(struct rcu_head *))
sys/dev/pci/drm/include/linux/rcupdate.h
41
fn(head);
sys/dev/pci/drm/include/linux/wait.h
101
mtx_enter(&head->lock);
sys/dev/pci/drm/include/linux/wait.h
102
__remove_wait_queue(head, old);
sys/dev/pci/drm/include/linux/wait.h
103
mtx_leave(&head->lock);
sys/dev/pci/drm/include/linux/wait.h
294
list_for_each_entry_safe(wqe, tmp, &wqh->head, entry) {
sys/dev/pci/drm/include/linux/wait.h
310
list_for_each_entry_safe(wqe, tmp, &wqh->head, entry) {
sys/dev/pci/drm/include/linux/wait.h
44
struct list_head head;
sys/dev/pci/drm/include/linux/wait.h
55
INIT_LIST_HEAD(&wqh->head);
sys/dev/pci/drm/include/linux/wait.h
75
list_add(&wqe->entry, &wqh->head);
sys/dev/pci/drm/include/linux/wait.h
81
list_add_tail(&wqe->entry, &wqh->head);
sys/dev/pci/drm/include/linux/wait.h
85
add_wait_queue(wait_queue_head_t *head, wait_queue_entry_t *new)
sys/dev/pci/drm/include/linux/wait.h
87
mtx_enter(&head->lock);
sys/dev/pci/drm/include/linux/wait.h
88
__add_wait_queue(head, new);
sys/dev/pci/drm/include/linux/wait.h
89
mtx_leave(&head->lock);
sys/dev/pci/drm/include/linux/wait.h
99
remove_wait_queue(wait_queue_head_t *head, wait_queue_entry_t *old)
sys/dev/pci/drm/linux_list_sort.c
124
struct list_head head, *tail = &head;
sys/dev/pci/drm/linux_list_sort.c
141
return head.next;
sys/dev/pci/drm/radeon/atombios_crtc.c
1730
list_for_each_entry(test_crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/atombios_crtc.c
1757
list_for_each_entry(test_crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/atombios_crtc.c
1797
list_for_each_entry(test_crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/atombios_crtc.c
2093
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/atombios_encoders.c
2140
list_for_each_entry(test_encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/atombios_encoders.c
2184
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/atombios_encoders.c
2495
list_for_each_entry(other_encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/atombios_encoders.c
2668
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/dce6_afmt.c
94
list_for_each_entry(encoder, &rdev_to_drm(rdev)->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/evergreen.c
1682
list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/evergreen.c
1707
list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/evergreen.c
1772
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/evergreen.c
1811
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/mkregtable.c
101
#define list_for_each_entry(pos, head, member) \
sys/dev/pci/drm/radeon/mkregtable.c
102
for (pos = list_entry((head)->next, typeof(*pos), member); \
sys/dev/pci/drm/radeon/mkregtable.c
103
&pos->member != (head); \
sys/dev/pci/drm/radeon/mkregtable.c
81
static inline void list_add_tail(struct list_head *new, struct list_head *head)
sys/dev/pci/drm/radeon/mkregtable.c
83
__list_add(new, head->prev, head);
sys/dev/pci/drm/radeon/r100.c
468
list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/r100.c
499
list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/r100.c
610
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/r100.c
633
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/r600.c
1024
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/r600.c
957
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/r600_dpm.c
163
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/r600_dpm.c
189
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/r600_hdmi.c
133
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon.h
2883
struct list_head *head);
sys/dev/pci/drm/radeon/radeon_acpi.c
740
head) {
sys/dev/pci/drm/radeon/radeon_agp.c
136
struct radeon_agp_head *head;
sys/dev/pci/drm/radeon/radeon_agp.c
138
head = kzalloc(sizeof(*head), GFP_KERNEL);
sys/dev/pci/drm/radeon/radeon_agp.c
139
if (!head)
sys/dev/pci/drm/radeon/radeon_agp.c
141
head->bridge = agp_find_bridge(pdev);
sys/dev/pci/drm/radeon/radeon_agp.c
142
if (!head->bridge) {
sys/dev/pci/drm/radeon/radeon_agp.c
143
head->bridge = agp_backend_acquire(pdev);
sys/dev/pci/drm/radeon/radeon_agp.c
144
if (!head->bridge) {
sys/dev/pci/drm/radeon/radeon_agp.c
145
kfree(head);
sys/dev/pci/drm/radeon/radeon_agp.c
148
agp_copy_info(head->bridge, &head->agp_info);
sys/dev/pci/drm/radeon/radeon_agp.c
149
agp_backend_release(head->bridge);
sys/dev/pci/drm/radeon/radeon_agp.c
151
agp_copy_info(head->bridge, &head->agp_info);
sys/dev/pci/drm/radeon/radeon_agp.c
153
if (head->agp_info.chipset == NOT_SUPPORTED) {
sys/dev/pci/drm/radeon/radeon_agp.c
154
kfree(head);
sys/dev/pci/drm/radeon/radeon_agp.c
157
INIT_LIST_HEAD(&head->memory);
sys/dev/pci/drm/radeon/radeon_agp.c
158
head->cant_use_aperture = head->agp_info.cant_use_aperture;
sys/dev/pci/drm/radeon/radeon_agp.c
159
head->page_mask = head->agp_info.page_mask;
sys/dev/pci/drm/radeon/radeon_agp.c
160
head->base = head->agp_info.aper_base;
sys/dev/pci/drm/radeon/radeon_agp.c
162
return head;
sys/dev/pci/drm/radeon/radeon_audio.c
199
list_for_each_entry(encoder, &rdev_to_drm(rdev)->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_audio.c
765
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_connectors.c
1299
list_for_each_entry(list_connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_connectors.c
1866
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_connectors.c
1886
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_connectors.c
2384
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_connectors.c
363
struct drm_display_mode, head);
sys/dev/pci/drm/radeon/radeon_connectors.c
387
list_for_each_entry(conflict, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_connectors.c
744
list_for_each_entry_safe(mode, t, &connector->probed_modes, head) {
sys/dev/pci/drm/radeon/radeon_connectors.c
754
list_for_each_entry_safe(mode, t, &connector->probed_modes, head) {
sys/dev/pci/drm/radeon/radeon_cursor.c
185
list_for_each_entry(crtc_p, &crtc->dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/radeon_device.c
1608
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_device.c
1614
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/radeon_device.c
1737
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/radeon_device.c
1776
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_display.c
1698
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_display.c
643
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head)
sys/dev/pci/drm/radeon/radeon_display.c
778
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_display.c
812
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_drv.c
458
list_for_each_entry(crtc, &drm_dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/radeon_encoders.c
218
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_encoders.c
220
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_encoders.c
237
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_encoders.c
257
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_encoders.c
273
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/radeon_encoders.c
291
list_for_each_entry(other_encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_encoders.c
60
list_for_each_entry(clone_encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_encoders.c
81
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_irq_kms.c
112
list_for_each_entry(connector, &mode_config->connector_list, head)
sys/dev/pci/drm/radeon/radeon_irq_kms.c
96
list_for_each_entry(connector, &mode_config->connector_list, head)
sys/dev/pci/drm/radeon/radeon_legacy_crtc.c
1070
list_for_each_entry(crtci, &dev->mode_config.crtc_list, head)
sys/dev/pci/drm/radeon/radeon_legacy_crtc.c
1082
list_for_each_entry(crtci, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/radeon_legacy_crtc.c
591
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_legacy_crtc.c
785
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_legacy_encoders.c
1539
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/radeon_legacy_encoders.c
1745
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
sys/dev/pci/drm/radeon/radeon_object.c
487
struct list_head *head, int ring)
sys/dev/pci/drm/radeon/radeon_object.c
496
list_for_each_entry(lobj, head, list) {
sys/dev/pci/drm/radeon/radeon_object.c
505
list_for_each_entry(lobj, head, list) {
sys/dev/pci/drm/radeon/radeon_object.h
156
struct list_head *head, int ring);
sys/dev/pci/drm/radeon/radeon_pm.c
1729
&ddev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/radeon_pm.c
1805
&ddev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/radeon_vm.c
131
struct list_head *head)
sys/dev/pci/drm/radeon/radeon_vm.c
147
list_add(&list[0].list, head);
sys/dev/pci/drm/radeon/radeon_vm.c
158
list_add(&list[idx++].list, head);
sys/dev/pci/drm/radeon/rs600.c
330
list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/rs600.c
348
list_for_each_entry(crtc, &ddev->mode_config.crtc_list, head) {
sys/dev/pci/drm/radeon/rs600.c
415
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/radeon/rs600.c
442
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
sys/dev/pci/drm/ttm/ttm_execbuf_util.c
135
list_del(&entry->head);
sys/dev/pci/drm/ttm/ttm_execbuf_util.c
136
list_add(&entry->head, list);
sys/dev/pci/drm/ttm/ttm_execbuf_util.c
152
list_for_each_entry(entry, list, head) {
sys/dev/pci/drm/ttm/ttm_execbuf_util.c
37
list_for_each_entry_continue_reverse(entry, list, head) {
sys/dev/pci/drm/ttm/ttm_execbuf_util.c
52
list_for_each_entry(entry, list, head) {
sys/dev/pci/drm/ttm/ttm_execbuf_util.c
89
list_for_each_entry(entry, list, head) {
sys/dev/pci/drm/ttm/ttm_execbuf_util.c
96
entry = list_prev_entry(entry, head);
sys/dev/pci/drm/ttm/ttm_execbuf_util.c
97
list_del(&safe->head);
sys/dev/pci/drm/ttm/ttm_execbuf_util.c
98
list_add(&safe->head, dups);
sys/dev/pci/drm/ttm/ttm_resource.c
703
struct ttm_resource *ttm_lru_first_res_or_null(struct list_head *head)
sys/dev/pci/drm/ttm/ttm_resource.c
707
list_for_each_entry(lru, head, link) {
sys/dev/pci/if_em.c
1203
u_int head, last, used = 0;
sys/dev/pci/if_em.c
1211
head = que->tx.sc_tx_desc_head;
sys/dev/pci/if_em.c
1212
pkt = &que->tx.sc_tx_pkts_ring[head];
sys/dev/pci/if_em.c
1242
used += em_tso_setup(que, m, head, &txd_upper,
sys/dev/pci/if_em.c
1247
used += em_tx_ctx_setup(que, m, head, &txd_upper,
sys/dev/pci/if_em.c
1251
used += em_transmit_checksum_setup(que, m, head,
sys/dev/pci/if_em.c
1257
head += used;
sys/dev/pci/if_em.c
1258
if (head >= sc->sc_tx_slots)
sys/dev/pci/if_em.c
1259
head -= sc->sc_tx_slots;
sys/dev/pci/if_em.c
1272
desc = &que->tx.sc_tx_desc_ring[head];
sys/dev/pci/if_em.c
1281
last = head;
sys/dev/pci/if_em.c
1282
if (++head == sc->sc_tx_slots)
sys/dev/pci/if_em.c
1283
head = 0;
sys/dev/pci/if_em.c
1288
desc = &que->tx.sc_tx_desc_ring[head];
sys/dev/pci/if_em.c
1295
last = head;
sys/dev/pci/if_em.c
1296
if (++head == sc->sc_tx_slots)
sys/dev/pci/if_em.c
1297
head = 0;
sys/dev/pci/if_em.c
1319
que->tx.sc_tx_desc_head = head;
sys/dev/pci/if_em.c
2432
em_tso_setup(struct em_queue *que, struct mbuf *mp, u_int head,
sys/dev/pci/if_em.c
2441
TD = (struct e1000_adv_tx_context_desc *)&que->tx.sc_tx_desc_ring[head];
sys/dev/pci/if_em.c
2499
em_tx_ctx_setup(struct em_queue *que, struct mbuf *mp, u_int head,
sys/dev/pci/if_em.c
2509
TD = (struct e1000_adv_tx_context_desc *)&que->tx.sc_tx_desc_ring[head];
sys/dev/pci/if_em.c
2579
em_transmit_checksum_setup(struct em_queue *que, struct mbuf *mp, u_int head,
sys/dev/pci/if_em.c
2607
TXD = (struct em_context_desc *)&que->tx.sc_tx_desc_ring[head];
sys/dev/pci/if_em.c
2649
u_int head, tail;
sys/dev/pci/if_em.c
2652
head = que->tx.sc_tx_desc_head;
sys/dev/pci/if_em.c
2655
if (head == tail)
sys/dev/pci/if_em.c
2685
} while (tail != head);
sys/dev/pci/if_em.c
2698
else if (tail == head)
sys/dev/pci/if_em.c
647
u_int head, free, used;
sys/dev/pci/if_em.c
658
head = que->tx.sc_tx_desc_head;
sys/dev/pci/if_em.c
660
if (free <= head)
sys/dev/pci/if_em.c
662
free -= head;
sys/dev/pci/if_ice.c
10858
ICE_CTX_STORE(ice_rlan_ctx, head, 13, 0),
sys/dev/pci/if_ice.c
1233
(qinfo)->sq.head = prefix##_ATQH; \
sys/dev/pci/if_ice.c
1242
(qinfo)->rq.head = prefix##_ARQH; \
sys/dev/pci/if_ice.c
1500
ICE_WRITE(hw, ring->head, 0);
sys/dev/pci/if_ice.c
1791
while (ICE_READ(hw, cq->sq.head) != ntc) {
sys/dev/pci/if_ice.c
1793
ICE_READ(hw, cq->sq.head));
sys/dev/pci/if_ice.c
1893
return ICE_READ(hw, cq->sq.head) == cq->sq.next_to_use;
sys/dev/pci/if_ice.c
1954
val = ICE_READ(hw, cq->sq.head);
sys/dev/pci/if_ice.c
22981
struct ice_fltr_mgmt_list_head *head;
sys/dev/pci/if_ice.c
22983
head = &sw->recp_list[i].filt_replay_rules;
sys/dev/pci/if_ice.c
22986
head);
sys/dev/pci/if_ice.c
2743
ICE_WRITE(hw, cq->sq.head, 0);
sys/dev/pci/if_ice.c
2784
ICE_WRITE(hw, cq->rq.head, 0);
sys/dev/pci/if_ice.c
28414
ntu = (uint16_t)(ICE_READ(hw, cq->rq.head) & cq->rq.head_mask);
sys/dev/pci/if_ice.c
28469
ntu = (uint16_t)(ICE_READ(hw, cq->rq.head) & cq->rq.head_mask);
sys/dev/pci/if_icereg.h
13784
uint16_t head;
sys/dev/pci/if_icevar.h
935
uint32_t head;
sys/dev/pci/if_iwn.c
2006
caddr_t head;
sys/dev/pci/if_iwn.c
2042
head = (caddr_t)(mpdu + 1);
sys/dev/pci/if_iwn.c
2045
head = (caddr_t)(stat + 1) + stat->cfg_phy_len;
sys/dev/pci/if_iwn.c
2049
flags = letoh32(*(uint32_t *)(head + len));
sys/dev/pci/if_iwn.c
2113
m->m_data = head;
sys/dev/pci/if_ix.c
2645
unsigned int head, tail, last;
sys/dev/pci/if_ix.c
2653
head = txr->next_avail_desc;
sys/dev/pci/if_ix.c
2658
if (head == tail)
sys/dev/pci/if_ix.c
2685
if (head == tail) {
sys/dev/pci/if_ix.c
455
unsigned int head, free, used;
sys/dev/pci/if_ix.c
461
head = txr->next_avail_desc;
sys/dev/pci/if_ix.c
463
if (free <= head)
sys/dev/pci/if_ix.c
465
free -= head;
sys/dev/pci/if_ixl.c
1013
uint16_t head;
sys/dev/pci/if_ixl.c
1049
{ offsetof(struct ixl_hmc_rxq, head), 13, 0 },
sys/dev/pci/if_ixl.c
1075
uint16_t head;
sys/dev/pci/if_ixl.c
1099
{ offsetof(struct ixl_hmc_txq, head), 13, 0 },
sys/dev/pci/if_ixl.c
2647
txq.head = htole16(0);
sys/dev/pci/if_ixl.c
3163
rxq.head = htole16(0);
sys/dev/pci/if_msk.c
598
uint32_t prod, head;
sys/dev/pci/if_msk.c
620
head = prod;
sys/dev/pci/if_msk.c
643
sc_if->sk_cdata.sk_rx_maps[head] = sc_if->sk_cdata.sk_rx_maps[prod];
sys/dev/pci/if_wpi.c
1179
struct wpi_rx_head *head;
sys/dev/pci/if_wpi.c
1198
head = (struct wpi_rx_head *)((caddr_t)(stat + 1) + stat->len);
sys/dev/pci/if_wpi.c
1199
tail = (struct wpi_rx_tail *)((caddr_t)(head + 1) + letoh16(head->len));
sys/dev/pci/if_wpi.c
1209
if (letoh16(head->len) < sizeof (*wh)) {
sys/dev/pci/if_wpi.c
1210
DPRINTF(("frame too short: %d\n", letoh16(head->len)));
sys/dev/pci/if_wpi.c
1255
m->m_data = (caddr_t)(head + 1);
sys/dev/pci/if_wpi.c
1256
m->m_pkthdr.len = m->m_len = letoh16(head->len);
sys/dev/pci/if_wpi.c
1297
if (letoh16(head->flags) & 0x4)
sys/dev/pci/if_wpi.c
1300
htole16(ic->ic_channels[head->chan].ic_freq);
sys/dev/pci/if_wpi.c
1302
htole16(ic->ic_channels[head->chan].ic_flags);
sys/dev/pci/if_wpi.c
1306
tap->wr_antenna = (letoh16(head->flags) >> 4) & 0xf;
sys/dev/pci/if_wpi.c
1307
switch (head->rate) {
sys/dev/pci/maestro.c
1689
salloc_insert(salloc_t pool, struct salloc_head *head, struct salloc_zone *zone,
sys/dev/pci/maestro.c
1699
SLIST_FOREACH(next, head, link) {
sys/dev/pci/maestro.c
1712
SLIST_INSERT_HEAD(head, zone, link);
sys/dev/pci/maestro.c
1715
SLIST_REMOVE(head, next, salloc_zone, link);
sys/dev/pci/pccbb.c
2546
struct pccbb_win_chain_head *head;
sys/dev/pci/pccbb.c
2549
head = &sc->sc_iowindow;
sys/dev/pci/pccbb.c
2552
head = &sc->sc_memwindow;
sys/dev/pci/pccbb.c
2558
if (pccbb_winlist_insert(head, addr, size, bsh, flags)) {
sys/dev/pci/pccbb.c
2561
(head == &sc->sc_memwindow) ? "mem" : "io");
sys/dev/pci/pccbb.c
2572
struct pccbb_win_chain_head *head;
sys/dev/pci/pccbb.c
2575
head = &sc->sc_iowindow;
sys/dev/pci/pccbb.c
2578
head = &sc->sc_memwindow;
sys/dev/pci/pccbb.c
2582
if (pccbb_winlist_delete(head, bsh, size)) {
sys/dev/pci/pccbb.c
2585
(head == &sc->sc_memwindow) ? "mem" : "io");
sys/dev/pci/pccbb.c
2593
pccbb_winlist_insert(struct pccbb_win_chain_head *head, bus_addr_t start,
sys/dev/pci/pccbb.c
2607
for (chainp = TAILQ_FIRST(head); chainp != NULL;
sys/dev/pci/pccbb.c
2611
TAILQ_INSERT_AFTER(head, chainp, elem, wc_list);
sys/dev/pci/pccbb.c
2615
TAILQ_INSERT_TAIL(head, elem, wc_list);
sys/dev/pci/pccbb.c
2620
pccbb_winlist_delete(struct pccbb_win_chain_head *head, bus_space_handle_t bsh,
sys/dev/pci/pccbb.c
2625
for (chainp = TAILQ_FIRST(head); chainp != NULL;
sys/dev/pci/pccbb.c
2638
TAILQ_REMOVE(head, chainp, wc_list);
sys/dev/usb/dwc2/list.h
100
list_add_tail(list, head);
sys/dev/usb/dwc2/list.h
110
#define list_for_each(entry, head) \
sys/dev/usb/dwc2/list.h
111
for (entry = (head)->next; entry != head; entry = (entry)->next)
sys/dev/usb/dwc2/list.h
113
#define list_for_each_safe(entry, temp, head) \
sys/dev/usb/dwc2/list.h
114
for (entry = (head)->next, temp = (entry)->next; \
sys/dev/usb/dwc2/list.h
115
entry != head; \
sys/dev/usb/dwc2/list.h
118
#define list_for_each_entry(pos, head, member) \
sys/dev/usb/dwc2/list.h
119
for (pos = list_entry((head)->next, __typeof(*pos), member); \
sys/dev/usb/dwc2/list.h
120
&pos->member != (head); \
sys/dev/usb/dwc2/list.h
123
#define list_for_each_entry_safe(pos, n, head, member) \
sys/dev/usb/dwc2/list.h
124
for (pos = list_entry((head)->next, __typeof(*pos), member), \
sys/dev/usb/dwc2/list.h
126
&pos->member != (head); \
sys/dev/usb/dwc2/list.h
58
INIT_LIST_HEAD(struct list_head *head) {
sys/dev/usb/dwc2/list.h
59
(head)->next = head;
sys/dev/usb/dwc2/list.h
60
(head)->prev = head;
sys/dev/usb/dwc2/list.h
64
list_empty(const struct list_head *head) {
sys/dev/usb/dwc2/list.h
65
return (head)->next == head;
sys/dev/usb/dwc2/list.h
69
list_add(struct list_head *new, struct list_head *head) {
sys/dev/usb/dwc2/list.h
70
(head)->next->prev = new;
sys/dev/usb/dwc2/list.h
71
(new)->next = (head)->next;
sys/dev/usb/dwc2/list.h
72
(new)->prev = head;
sys/dev/usb/dwc2/list.h
73
(head)->next = new;
sys/dev/usb/dwc2/list.h
77
list_add_tail(struct list_head *entry, struct list_head *head) {
sys/dev/usb/dwc2/list.h
78
(entry)->prev = (head)->prev;
sys/dev/usb/dwc2/list.h
79
(entry)->next = head;
sys/dev/usb/dwc2/list.h
80
(head)->prev->next = entry;
sys/dev/usb/dwc2/list.h
81
(head)->prev = entry;
sys/dev/usb/dwc2/list.h
90
static inline void list_move(struct list_head *list, struct list_head *head)
sys/dev/usb/dwc2/list.h
93
list_add(list, head);
sys/dev/usb/dwc2/list.h
97
struct list_head *head)
sys/dev/usb/ehci.c
1537
ehci_add_qh(struct ehci_soft_qh *sqh, struct ehci_soft_qh *head)
sys/dev/usb/ehci.c
1541
usb_syncmem(&head->dma, head->offs + offsetof(struct ehci_qh, qh_link),
sys/dev/usb/ehci.c
1542
sizeof(head->qh.qh_link), BUS_DMASYNC_POSTWRITE);
sys/dev/usb/ehci.c
1543
sqh->next = head->next;
sys/dev/usb/ehci.c
1544
sqh->prev = head;
sys/dev/usb/ehci.c
1545
sqh->qh.qh_link = head->qh.qh_link;
sys/dev/usb/ehci.c
1548
head->next = sqh;
sys/dev/usb/ehci.c
1551
head->qh.qh_link = htole32(sqh->physaddr | EHCI_LINK_QH);
sys/dev/usb/ehci.c
1552
usb_syncmem(&head->dma, head->offs + offsetof(struct ehci_qh, qh_link),
sys/dev/usb/ehci.c
1553
sizeof(head->qh.qh_link), BUS_DMASYNC_PREWRITE);
sys/dev/usb/if_otus.c
1207
struct ar_rx_head *head;
sys/dev/usb/if_otus.c
1221
while (len >= sizeof (*head)) {
sys/dev/usb/if_otus.c
1222
head = (struct ar_rx_head *)buf;
sys/dev/usb/if_otus.c
1223
if (__predict_false(head->tag != htole16(AR_RX_HEAD_TAG))) {
sys/dev/usb/if_otus.c
1224
DPRINTF(("tag not valid 0x%x\n", letoh16(head->tag)));
sys/dev/usb/if_otus.c
1227
hlen = letoh16(head->len);
sys/dev/usb/if_otus.c
1228
if (__predict_false(sizeof (*head) + hlen > len)) {
sys/dev/usb/if_otus.c
1233
otus_sub_rxeof(sc, (uint8_t *)&head[1], hlen, &ml);
sys/dev/usb/if_otus.c
1236
hlen = (sizeof (*head) + hlen + 3) & ~3;
sys/dev/usb/if_otus.c
1281
struct ar_tx_head *head;
sys/dev/usb/if_otus.c
1352
head = (struct ar_tx_head *)data->buf;
sys/dev/usb/if_otus.c
1353
head->len = htole16(m->m_pkthdr.len + IEEE80211_CRC_LEN);
sys/dev/usb/if_otus.c
1354
head->macctl = htole16(macctl);
sys/dev/usb/if_otus.c
1355
head->phyctl = htole32(phyctl);
sys/dev/usb/if_otus.c
1377
xferlen = sizeof (*head) + m->m_pkthdr.len;
sys/dev/usb/if_otus.c
1378
m_copydata(m, 0, m->m_pkthdr.len, &head[1]);
sys/dev/usb/if_otus.c
1382
sc->tx_queued, head->len, head->macctl, head->phyctl,
sys/dev/usb/if_upgtvar.h
189
uint16_t head;
sys/dev/usb/ohci.c
1672
ohci_add_ed(struct ohci_soft_ed *sed, struct ohci_soft_ed *head)
sys/dev/usb/ohci.c
1674
DPRINTFN(8,("ohci_add_ed: sed=%p head=%p\n", sed, head));
sys/dev/usb/ohci.c
1677
sed->next = head->next;
sys/dev/usb/ohci.c
1678
sed->ed.ed_nexted = head->ed.ed_nexted;
sys/dev/usb/ohci.c
1679
head->next = sed;
sys/dev/usb/ohci.c
1680
head->ed.ed_nexted = htole32(sed->physaddr);
sys/dev/usb/ohci.c
1687
ohci_rem_ed(struct ohci_soft_ed *sed, struct ohci_soft_ed *head)
sys/dev/usb/ohci.c
1694
for (p = head; p != NULL && p->next != sed; p = p->next)
sys/dev/usb/ohci.c
2036
ohci_close_pipe(struct usbd_pipe *pipe, struct ohci_soft_ed *head)
sys/dev/usb/ohci.c
2066
ohci_rem_ed(sed, head);
sys/kern/kern_bufq.c
263
struct bufq_fifo_head *head;
sys/kern/kern_bufq.c
265
head = malloc(sizeof(*head), M_DEVBUF, M_NOWAIT | M_ZERO);
sys/kern/kern_bufq.c
266
if (head == NULL)
sys/kern/kern_bufq.c
269
SIMPLEQ_INIT(head);
sys/kern/kern_bufq.c
271
return (head);
sys/kern/kern_bufq.c
277
struct bufq_fifo_head *head = data;
sys/kern/kern_bufq.c
279
free(head, M_DEVBUF, sizeof(*head));
sys/kern/kern_bufq.c
285
struct bufq_fifo_head *head = data;
sys/kern/kern_bufq.c
287
SIMPLEQ_INSERT_TAIL(head, bp, b_bufq.bufq_data_fifo.bqf_entries);
sys/kern/kern_bufq.c
293
struct bufq_fifo_head *head = data;
sys/kern/kern_bufq.c
296
bp = SIMPLEQ_FIRST(head);
sys/kern/kern_bufq.c
298
SIMPLEQ_REMOVE_HEAD(head, b_bufq.bufq_data_fifo.bqf_entries);
sys/kern/kern_bufq.c
306
struct bufq_fifo_head *head = data;
sys/kern/kern_bufq.c
308
return (SIMPLEQ_FIRST(head) != NULL);
sys/kern/kern_bufq.c
329
bufq_simple_nscan(struct bufq_nscan_head *head, struct buf *bp)
sys/kern/kern_bufq.c
338
SIMPLEQ_FOREACH(cur, head, dsentries) {
sys/kern/kern_bufq.c
344
SIMPLEQ_INSERT_AFTER(head, prev, bp, dsentries);
sys/kern/kern_bufq.c
346
SIMPLEQ_INSERT_HEAD(head, bp, dsentries);
sys/kern/kern_subr.c
265
hook_establish(struct hook_desc_head *head, int tail, void (*fn)(void *),
sys/kern/kern_subr.c
277
TAILQ_INSERT_TAIL(head, hdp, hd_list);
sys/kern/kern_subr.c
279
TAILQ_INSERT_HEAD(head, hdp, hd_list);
sys/kern/kern_subr.c
285
hook_disestablish(struct hook_desc_head *head, void *vhook)
sys/kern/kern_subr.c
290
for (hdp = TAILQ_FIRST(head); hdp != NULL;
sys/kern/kern_subr.c
298
TAILQ_REMOVE(head, hdp, hd_list);
sys/kern/kern_subr.c
309
dohooks(struct hook_desc_head *head, int flags)
sys/kern/kern_subr.c
314
TAILQ_FOREACH_SAFE(hdp, head, hd_list, hdp_temp) {
sys/kern/kern_subr.c
318
while ((hdp = TAILQ_FIRST(head)) != NULL) {
sys/kern/kern_subr.c
319
TAILQ_REMOVE(head, hdp, hd_list);
sys/kern/uipc_mbuf.c
907
caddr_t head, tail;
sys/kern/uipc_mbuf.c
919
head = M_DATABUF(m0);
sys/kern/uipc_mbuf.c
931
tail = head + M_SIZE(m0);
sys/kern/uipc_mbuf.c
932
head += adj;
sys/kern/uipc_mbuf.c
934
if (!M_READONLY(m0) && len <= tail - head) {
sys/kern/uipc_mbuf.c
937
m0->m_data = head;
sys/kern/uipc_mbuf.c
940
memmove(head, mtod(m0, caddr_t), m0->m_len);
sys/kern/uipc_mbuf.c
941
m0->m_data = head;
sys/kern/uipc_socket.c
316
struct socket *head = so->so_head;
sys/kern/uipc_socket.c
323
if (so->so_onq == &head->so_q) {
sys/kern/uipc_socket.c
330
soref(head);
sys/kern/uipc_socket.c
332
solock(head);
sys/kern/uipc_socket.c
335
if (so->so_onq != &head->so_q0) {
sys/kern/uipc_socket.c
337
sounlock(head);
sys/kern/uipc_socket.c
338
sorele(head);
sys/kern/uipc_socket.c
346
sounlock(head);
sys/kern/uipc_socket.c
347
sorele(head);
sys/kern/uipc_socket2.c
102
if (head != NULL && so->so_onq == &head->so_q0) {
sys/kern/uipc_socket2.c
103
soref(head);
sys/kern/uipc_socket2.c
105
solock(head);
sys/kern/uipc_socket2.c
108
if (so->so_onq != &head->so_q0) {
sys/kern/uipc_socket2.c
109
sounlock(head);
sys/kern/uipc_socket2.c
110
sorele(head);
sys/kern/uipc_socket2.c
115
soqinsque(head, so, 1);
sys/kern/uipc_socket2.c
116
sorwakeup(head);
sys/kern/uipc_socket2.c
117
wakeup_one(&head->so_timeo);
sys/kern/uipc_socket2.c
119
sounlock(head);
sys/kern/uipc_socket2.c
120
sorele(head);
sys/kern/uipc_socket2.c
178
sonewconn(struct socket *head, int connstatus, int wait)
sys/kern/uipc_socket2.c
183
soassertlocked(head);
sys/kern/uipc_socket2.c
187
if (head->so_qlen + head->so_q0len > head->so_qlimit * 3)
sys/kern/uipc_socket2.c
189
so = soalloc(head->so_proto, wait);
sys/kern/uipc_socket2.c
192
so->so_type = head->so_type;
sys/kern/uipc_socket2.c
193
so->so_options = head->so_options &~ SO_ACCEPTCONN;
sys/kern/uipc_socket2.c
194
so->so_linger = head->so_linger;
sys/kern/uipc_socket2.c
195
so->so_state = head->so_state | SS_NOFDREF;
sys/kern/uipc_socket2.c
196
so->so_proto = head->so_proto;
sys/kern/uipc_socket2.c
197
so->so_timeo = head->so_timeo;
sys/kern/uipc_socket2.c
198
so->so_euid = head->so_euid;
sys/kern/uipc_socket2.c
199
so->so_ruid = head->so_ruid;
sys/kern/uipc_socket2.c
200
so->so_egid = head->so_egid;
sys/kern/uipc_socket2.c
201
so->so_rgid = head->so_rgid;
sys/kern/uipc_socket2.c
202
so->so_cpid = head->so_cpid;
sys/kern/uipc_socket2.c
212
if (soreserve(so, head->so_snd.sb_hiwat, head->so_rcv.sb_hiwat))
sys/kern/uipc_socket2.c
215
mtx_enter(&head->so_snd.sb_mtx);
sys/kern/uipc_socket2.c
216
so->so_snd.sb_wat = head->so_snd.sb_wat;
sys/kern/uipc_socket2.c
217
so->so_snd.sb_lowat = head->so_snd.sb_lowat;
sys/kern/uipc_socket2.c
218
so->so_snd.sb_timeo_nsecs = head->so_snd.sb_timeo_nsecs;
sys/kern/uipc_socket2.c
219
mtx_leave(&head->so_snd.sb_mtx);
sys/kern/uipc_socket2.c
221
mtx_enter(&head->so_rcv.sb_mtx);
sys/kern/uipc_socket2.c
222
so->so_rcv.sb_wat = head->so_rcv.sb_wat;
sys/kern/uipc_socket2.c
223
so->so_rcv.sb_lowat = head->so_rcv.sb_lowat;
sys/kern/uipc_socket2.c
224
so->so_rcv.sb_timeo_nsecs = head->so_rcv.sb_timeo_nsecs;
sys/kern/uipc_socket2.c
225
mtx_leave(&head->so_rcv.sb_mtx);
sys/kern/uipc_socket2.c
227
sigio_copy(&so->so_sigio, &head->so_sigio);
sys/kern/uipc_socket2.c
229
soqinsque(head, so, soqueue);
sys/kern/uipc_socket2.c
236
sorwakeup(head);
sys/kern/uipc_socket2.c
237
wakeup(&head->so_timeo);
sys/kern/uipc_socket2.c
253
soqinsque(struct socket *head, struct socket *so, int q)
sys/kern/uipc_socket2.c
255
soassertlocked(head);
sys/kern/uipc_socket2.c
260
so->so_head = head;
sys/kern/uipc_socket2.c
262
head->so_q0len++;
sys/kern/uipc_socket2.c
263
so->so_onq = &head->so_q0;
sys/kern/uipc_socket2.c
265
head->so_qlen++;
sys/kern/uipc_socket2.c
266
so->so_onq = &head->so_q;
sys/kern/uipc_socket2.c
274
struct socket *head = so->so_head;
sys/kern/uipc_socket2.c
277
soassertlocked(head);
sys/kern/uipc_socket2.c
280
if (so->so_onq != &head->so_q0)
sys/kern/uipc_socket2.c
282
head->so_q0len--;
sys/kern/uipc_socket2.c
284
if (so->so_onq != &head->so_q)
sys/kern/uipc_socket2.c
286
head->so_qlen--;
sys/kern/uipc_socket2.c
96
struct socket *head = so->so_head;
sys/kern/uipc_syscalls.c
263
struct socket *head, *so;
sys/kern/uipc_syscalls.c
286
head = headfp->f_data;
sys/kern/uipc_syscalls.c
287
solock_shared(head);
sys/kern/uipc_syscalls.c
289
if (isdnssocket(head) || (head->so_options & SO_ACCEPTCONN) == 0) {
sys/kern/uipc_syscalls.c
293
if ((headfp->f_flag & FNONBLOCK) && head->so_qlen == 0) {
sys/kern/uipc_syscalls.c
294
if (head->so_rcv.sb_state & SS_CANTRCVMORE)
sys/kern/uipc_syscalls.c
300
while (head->so_qlen == 0 && head->so_error == 0) {
sys/kern/uipc_syscalls.c
301
if (head->so_rcv.sb_state & SS_CANTRCVMORE) {
sys/kern/uipc_syscalls.c
302
head->so_error = ECONNABORTED;
sys/kern/uipc_syscalls.c
305
error = sosleep_nsec(head, &head->so_timeo, PSOCK | PCATCH,
sys/kern/uipc_syscalls.c
310
if (head->so_error) {
sys/kern/uipc_syscalls.c
311
error = head->so_error;
sys/kern/uipc_syscalls.c
312
head->so_error = 0;
sys/kern/uipc_syscalls.c
319
so = TAILQ_FIRST(&head->so_q);
sys/kern/uipc_syscalls.c
331
knote(&head->so_rcv.sb_klist, 0);
sys/kern/uipc_syscalls.c
333
sounlock_nonet(head);
sys/kern/uipc_syscalls.c
365
sounlock_shared(head);
sys/lib/libz/deflate.c
1298
TRY_FREE(strm, strm->state->head, strm->state->hash_size * sizeof(Pos));
sys/lib/libz/deflate.c
1340
ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
sys/lib/libz/deflate.c
1343
if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL ||
sys/lib/libz/deflate.c
1353
zmemcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos));
sys/lib/libz/deflate.c
153
match_head = s->head[s->ins_h], \
sys/lib/libz/deflate.c
154
s->head[s->ins_h] = (Pos)(str))
sys/lib/libz/deflate.c
158
match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
sys/lib/libz/deflate.c
159
s->head[s->ins_h] = (Pos)(str))
sys/lib/libz/deflate.c
168
s->head[s->hash_size - 1] = NIL; \
sys/lib/libz/deflate.c
169
zmemzero(s->head, (unsigned)(s->hash_size - 1)*sizeof(*s->head)); \
sys/lib/libz/deflate.c
189
p = &s->head[n];
sys/lib/libz/deflate.c
321
s->prev[str & s->w_mask] = s->head[s->ins_h];
sys/lib/libz/deflate.c
323
s->head[s->ins_h] = (Pos)str;
sys/lib/libz/deflate.c
456
s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
sys/lib/libz/deflate.c
504
if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
sys/lib/libz/deflate.c
599
s->prev[str & s->w_mask] = s->head[s->ins_h];
sys/lib/libz/deflate.c
601
s->head[s->ins_h] = (Pos)str;
sys/lib/libz/deflate.c
710
int ZEXPORT deflateSetHeader(z_streamp strm, gz_headerp head) {
sys/lib/libz/deflate.c
713
strm->state->gzhead = head;
sys/lib/libz/deflate.h
142
Posf *head; /* Heads of the hash chains or NIL. */
sys/lib/libz/inflate.c
115
state->head = Z_NULL;
sys/lib/libz/inflate.c
1305
int ZEXPORT inflateGetHeader(z_streamp strm, gz_headerp head) {
sys/lib/libz/inflate.c
1314
state->head = head;
sys/lib/libz/inflate.c
1315
head->done = 0;
sys/lib/libz/inflate.c
522
if (state->head != Z_NULL)
sys/lib/libz/inflate.c
523
state->head->done = -1;
sys/lib/libz/inflate.c
588
if (state->head != Z_NULL)
sys/lib/libz/inflate.c
589
state->head->text = (int)((hold >> 8) & 1);
sys/lib/libz/inflate.c
597
if (state->head != Z_NULL)
sys/lib/libz/inflate.c
598
state->head->time = hold;
sys/lib/libz/inflate.c
606
if (state->head != Z_NULL) {
sys/lib/libz/inflate.c
607
state->head->xflags = (int)(hold & 0xff);
sys/lib/libz/inflate.c
608
state->head->os = (int)(hold >> 8);
sys/lib/libz/inflate.c
619
if (state->head != Z_NULL)
sys/lib/libz/inflate.c
620
state->head->extra_len = (unsigned)hold;
sys/lib/libz/inflate.c
625
else if (state->head != Z_NULL)
sys/lib/libz/inflate.c
626
state->head->extra = Z_NULL;
sys/lib/libz/inflate.c
634
if (state->head != Z_NULL &&
sys/lib/libz/inflate.c
635
state->head->extra != Z_NULL &&
sys/lib/libz/inflate.c
636
(len = state->head->extra_len - state->length) <
sys/lib/libz/inflate.c
637
state->head->extra_max) {
sys/lib/libz/inflate.c
638
zmemcpy(state->head->extra + len, next,
sys/lib/libz/inflate.c
639
len + copy > state->head->extra_max ?
sys/lib/libz/inflate.c
640
state->head->extra_max - len : copy);
sys/lib/libz/inflate.c
659
if (state->head != Z_NULL &&
sys/lib/libz/inflate.c
660
state->head->name != Z_NULL &&
sys/lib/libz/inflate.c
661
state->length < state->head->name_max)
sys/lib/libz/inflate.c
662
state->head->name[state->length++] = (Bytef)len;
sys/lib/libz/inflate.c
670
else if (state->head != Z_NULL)
sys/lib/libz/inflate.c
671
state->head->name = Z_NULL;
sys/lib/libz/inflate.c
681
if (state->head != Z_NULL &&
sys/lib/libz/inflate.c
682
state->head->comment != Z_NULL &&
sys/lib/libz/inflate.c
683
state->length < state->head->comm_max)
sys/lib/libz/inflate.c
684
state->head->comment[state->length++] = (Bytef)len;
sys/lib/libz/inflate.c
692
else if (state->head != Z_NULL)
sys/lib/libz/inflate.c
693
state->head->comment = Z_NULL;
sys/lib/libz/inflate.c
710
if (state->head != Z_NULL) {
sys/lib/libz/inflate.c
711
state->head->hcrc = (int)((state->flags >> 9) & 1);
sys/lib/libz/inflate.c
712
state->head->done = 1;
sys/lib/libz/inflate.h
94
gz_headerp head; /* where to save gzip header information */
sys/lib/libz/zlib.h
1071
gz_headerp head);
sys/lib/libz/zlib.h
834
gz_headerp head);
sys/net/if_pfsync.c
2750
struct pf_state *head, *tail, *st, *next;
sys/net/if_pfsync.c
2759
head = TAILQ_FIRST(&pf_state_list.pfs_list);
sys/net/if_pfsync.c
2777
next = head;
sys/net/pf.c
2269
struct pf_state *head, *tail;
sys/net/pf.c
2281
head = TAILQ_FIRST(&pf_state_list.pfs_list);
sys/net/pf.c
2285
if (head == NULL) {
sys/net/pf.c
2293
cur = head;
sys/net/pf.c
2557
while (head[i] != cur) { \
sys/net/pf.c
2558
head[i]->skip[i].ptr = cur; \
sys/net/pf.c
2559
head[i] = TAILQ_NEXT(head[i], entries); \
sys/net/pf.c
2566
struct pf_rule *cur, *prev, *head[PF_SKIP_COUNT];
sys/net/pf.c
2572
head[i] = cur;
sys/net/pf_ioctl.c
1871
struct pf_state *head, *tail;
sys/net/pf_ioctl.c
1884
head = TAILQ_FIRST(&pf_state_list.pfs_list);
sys/net/pf_ioctl.c
1889
nextst = head;
sys/net/pf_ioctl.c
1931
struct pf_state *head, *tail;
sys/net/pf_ioctl.c
1951
head = TAILQ_FIRST(&pf_state_list.pfs_list);
sys/net/pf_ioctl.c
1956
nextst = head;
sys/net/pf_ioctl.c
415
tagname2tag(struct pf_tags *head, char *tagname, int create)
sys/net/pf_ioctl.c
420
TAILQ_FOREACH(tag, head, entries)
sys/net/pf_ioctl.c
436
TAILQ_FOREACH(p, head, entries) {
sys/net/pf_ioctl.c
456
TAILQ_INSERT_TAIL(head, tag, entries);
sys/net/pf_ioctl.c
462
tag2tagname(struct pf_tags *head, u_int16_t tagid, char *p)
sys/net/pf_ioctl.c
466
TAILQ_FOREACH(tag, head, entries)
sys/net/pf_ioctl.c
474
tag_unref(struct pf_tags *head, u_int16_t tag)
sys/net/pf_ioctl.c
481
TAILQ_FOREACH_SAFE(p, head, entries, next) {
sys/net/pf_ioctl.c
484
TAILQ_REMOVE(head, p, entries);
sys/net/pf_table.c
1289
struct radix_node_head *head;
sys/net/pf_table.c
1294
head = kt->pfrkt_ip4;
sys/net/pf_table.c
1298
head = kt->pfrkt_ip6;
sys/net/pf_table.c
1307
rn = rn_addroute(&ke->pfrke_sa, &mask, head, ke->pfrke_node, 0);
sys/net/pf_table.c
1309
rn = rn_addroute(&ke->pfrke_sa, NULL, head, ke->pfrke_node, 0);
sys/net/pf_table.c
1319
struct radix_node_head *head;
sys/net/pf_table.c
1323
head = kt->pfrkt_ip4;
sys/net/pf_table.c
1327
head = kt->pfrkt_ip6;
sys/net/pf_table.c
1336
rn = rn_delete(&ke->pfrke_sa, &mask, head, NULL);
sys/net/pf_table.c
1338
rn = rn_delete(&ke->pfrke_sa, NULL, head, NULL);
sys/net/pf_table.c
882
struct radix_node_head *head;
sys/net/pf_table.c
889
head = kt->pfrkt_ip4;
sys/net/pf_table.c
894
head = kt->pfrkt_ip6;
sys/net/pf_table.c
902
ke = (struct pfr_kentry *)rn_lookup(&sa, &mask, head);
sys/net/pf_table.c
904
ke = (struct pfr_kentry *)rn_match(&sa, head);
sys/net/pf_table.c
915
struct radix_node_head *head;
sys/net/pf_table.c
920
head = kt->pfrkt_ip4;
sys/net/pf_table.c
924
head = kt->pfrkt_ip6;
sys/net/pf_table.c
933
head);
sys/net/pf_table.c
935
ke = (struct pfr_kentry *)rn_match(&key->pfrke_sa, head);
sys/net/radix.c
1109
rn_inithead(void **head, int off)
sys/net/radix.c
1113
if (*head != NULL)
sys/net/radix.c
1122
*head = rnh;
sys/net/radix.c
123
rn_search(void *v_arg, struct radix_node *head)
sys/net/radix.c
125
struct radix_node *x = head;
sys/net/radix.c
138
rn_search_m(void *v_arg, struct radix_node *head, void *m_arg)
sys/net/radix.c
140
struct radix_node *x = head;
sys/net/radix.c
185
rn_lookup(void *v_arg, void *m_arg, struct radix_node_head *head)
sys/net/radix.c
191
tm = rn_addmask(m_arg, 1, head->rnh_treetop->rn_off);
sys/net/radix.c
196
x = rn_match(v_arg, head);
sys/net/radix.c
234
rn_match(void *v_arg, struct radix_node_head *head)
sys/net/radix.c
238
struct radix_node *top = head->rnh_treetop;
sys/net/radix.c
355
rn_insert(void *v_arg, struct radix_node_head *head,
sys/net/radix.c
359
struct radix_node *top = head->rnh_treetop;
sys/net/radix.c
627
rn_add_dupedkey(struct radix_node *saved_tt, struct radix_node_head *head,
sys/net/radix.c
758
rn_addroute(void *v_arg, void *n_arg, struct radix_node_head *head,
sys/net/radix.c
762
struct radix_node *top = head->rnh_treetop;
sys/net/radix.c
778
tt = rn_insert(v, head, &keyduplicated, treenodes);
sys/net/radix.c
798
if (rn_add_dupedkey(saved_tt, head, tt, prio))
sys/net/radix.c
904
rn_delete(void *v_arg, void *n_arg, struct radix_node_head *head,
sys/net/radix.c
909
struct radix_node *top = head->rnh_treetop;
sys/netinet/in_pcb.c
1089
struct inpcbhead *head;
sys/netinet/in_pcb.c
1095
head = &table->inpt_lhashtbl[lhash & table->inpt_lmask];
sys/netinet/in_pcb.c
1096
LIST_INSERT_HEAD(head, inp, inp_lhash);
sys/netinet/in_pcb.c
1107
head = &table->inpt_hashtbl[hash & table->inpt_mask];
sys/netinet/in_pcb.c
1108
LIST_INSERT_HEAD(head, inp, inp_hash);
sys/netinet/in_pcb.c
1116
struct inpcbhead *head;
sys/netinet/in_pcb.c
1121
head = &table->inpt_hashtbl[hash & table->inpt_mask];
sys/netinet/in_pcb.c
1122
LIST_FOREACH(inp, head, inp_hash) {
sys/netinet/in_pcb.c
1138
if (inp != LIST_FIRST(head)) {
sys/netinet/in_pcb.c
1140
LIST_INSERT_HEAD(head, inp, inp_hash);
sys/netinet/in_pcb.c
903
struct inpcbhead *head;
sys/netinet/in_pcb.c
916
head = &table->inpt_lhashtbl[lhash & table->inpt_lmask];
sys/netinet/in_pcb.c
917
LIST_FOREACH(inp, head, inp_lhash) {
sys/netinet/tcp_input.c
4258
tcp_softlro_compare(struct ether_extracted *head, struct ether_extracted *tail)
sys/netinet/tcp_input.c
4261
if (head->evh && tail->evh) {
sys/netinet/tcp_input.c
4263
if (EVL_VLANOFTAG(head->evh->evl_tag) !=
sys/netinet/tcp_input.c
4268
if (EVL_PRIOFTAG(head->evh->evl_tag) !=
sys/netinet/tcp_input.c
4271
} else if (head->evh || tail->evh)
sys/netinet/tcp_input.c
4275
if (head->tcp->th_sport != tail->tcp->th_sport ||
sys/netinet/tcp_input.c
4276
head->tcp->th_dport != tail->tcp->th_dport)
sys/netinet/tcp_input.c
4280
if (head->ip4 && tail->ip4) {
sys/netinet/tcp_input.c
4282
if (head->ip4->ip_src.s_addr != tail->ip4->ip_src.s_addr ||
sys/netinet/tcp_input.c
4283
head->ip4->ip_dst.s_addr != tail->ip4->ip_dst.s_addr)
sys/netinet/tcp_input.c
4287
if (head->iplen + tail->iplen > IP_MAXPACKET - max_linkhdr)
sys/netinet/tcp_input.c
4289
} else if (head->ip6 && tail->ip6) {
sys/netinet/tcp_input.c
4291
if (!IN6_ARE_ADDR_EQUAL(&head->ip6->ip6_src,
sys/netinet/tcp_input.c
4293
!IN6_ARE_ADDR_EQUAL(&head->ip6->ip6_dst,
sys/netinet/tcp_input.c
4298
if ((head->iplen - head->iphlen) +
sys/netinet/tcp_input.c
4307
if (ntohl(head->tcp->th_seq) + head->paylen != ntohl(tail->tcp->th_seq))
sys/netinet/tcp_input.c
4311
if (head->tcphlen != tail->tcphlen)
sys/netinet/tcp_input.c
4315
if (head->tcphlen > sizeof(struct tcphdr)) {
sys/netinet/tcp_input.c
4316
uint32_t *hoptp = (uint32_t *)(head->tcp + 1);
sys/netinet/tcp_input.c
4329
tcp_softlro_concat(struct mbuf *mhead, struct ether_extracted *head,
sys/netinet/tcp_input.c
4336
if (head->ip4) {
sys/netinet/tcp_input.c
4337
head->ip4->ip_len = htons(head->iplen + tail->paylen);
sys/netinet/tcp_input.c
4338
} else if (head->ip6) {
sys/netinet/tcp_input.c
4339
head->ip6->ip6_plen =
sys/netinet/tcp_input.c
4340
htons(head->iplen - head->iphlen + tail->paylen);
sys/netinet/tcp_input.c
4345
SET(head->tcp->th_flags, TH_PUSH);
sys/netinet/tcp_input.c
4348
head->tcp->th_win = tail->tcp->th_win;
sys/netinet/tcp_input.c
4349
head->tcp->th_ack = tail->tcp->th_ack;
sys/netinet/tcp_input.c
4352
if (head->tcphlen > sizeof(struct tcphdr)) {
sys/netinet/tcp_input.c
4353
uint32_t *hoptp = (uint32_t *)(head->tcp + 1);
sys/netinet/tcp_input.c
4381
head->tcp->th_sum = 0;
sys/netinet/tcp_input.c
4382
if (head->ip4) {
sys/netinet/tcp_input.c
4384
head->ip4->ip_sum = 0;
sys/netinet/tcp_input.c
4388
mhead->m_pkthdr.ph_mss = head->paylen;
sys/netinet/tcp_input.c
4399
struct ether_extracted head, tail;
sys/netinet/tcp_input.c
4453
ether_extract_headers(mhead, &head);
sys/netinet/tcp_input.c
4454
if (!tcp_softlro_compare(&head, &tail))
sys/netinet/tcp_input.c
4457
tcp_softlro_concat(mhead, &head, mtail, &tail);
sys/netinet6/in6_pcb.c
568
struct inpcbhead *head;
sys/netinet6/in6_pcb.c
574
head = &table->inpt_hashtbl[hash & table->inpt_mask];
sys/netinet6/in6_pcb.c
575
LIST_FOREACH(inp, head, inp_hash) {
sys/netinet6/in6_pcb.c
591
if (inp != LIST_FIRST(head)) {
sys/netinet6/in6_pcb.c
593
LIST_INSERT_HEAD(head, inp, inp_hash);
sys/scsi/scsi_disk.h
129
u_int8_t head;
sys/scsi/scsi_disk.h
136
u_int8_t head;
sys/scsi/scsi_ioctl.c
229
cdb->device = atareq->head & 0x0f;
sys/sys/ataio.h
16
u_char head; /* head number */
sys/sys/queue.h
110
#define SLIST_FIRST(head) ((head)->slh_first)
sys/sys/queue.h
111
#define SLIST_END(head) NULL
sys/sys/queue.h
112
#define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head))
sys/sys/queue.h
115
#define SLIST_FOREACH(var, head, field) \
sys/sys/queue.h
116
for((var) = SLIST_FIRST(head); \
sys/sys/queue.h
117
(var) != SLIST_END(head); \
sys/sys/queue.h
120
#define SLIST_FOREACH_SAFE(var, head, field, tvar) \
sys/sys/queue.h
121
for ((var) = SLIST_FIRST(head); \
sys/sys/queue.h
128
#define SLIST_INIT(head) { \
sys/sys/queue.h
129
SLIST_FIRST(head) = SLIST_END(head); \
sys/sys/queue.h
137
#define SLIST_INSERT_HEAD(head, elm, field) do { \
sys/sys/queue.h
138
(elm)->field.sle_next = (head)->slh_first; \
sys/sys/queue.h
139
(head)->slh_first = (elm); \
sys/sys/queue.h
146
#define SLIST_REMOVE_HEAD(head, field) do { \
sys/sys/queue.h
147
(head)->slh_first = (head)->slh_first->field.sle_next; \
sys/sys/queue.h
150
#define SLIST_REMOVE(head, elm, type, field) do { \
sys/sys/queue.h
151
if ((head)->slh_first == (elm)) { \
sys/sys/queue.h
152
SLIST_REMOVE_HEAD((head), field); \
sys/sys/queue.h
154
struct type *curelm = (head)->slh_first; \
sys/sys/queue.h
172
#define LIST_HEAD_INITIALIZER(head) \
sys/sys/queue.h
184
#define LIST_FIRST(head) ((head)->lh_first)
sys/sys/queue.h
185
#define LIST_END(head) NULL
sys/sys/queue.h
186
#define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))
sys/sys/queue.h
189
#define LIST_FOREACH(var, head, field) \
sys/sys/queue.h
190
for((var) = LIST_FIRST(head); \
sys/sys/queue.h
191
(var)!= LIST_END(head); \
sys/sys/queue.h
194
#define LIST_FOREACH_SAFE(var, head, field, tvar) \
sys/sys/queue.h
195
for ((var) = LIST_FIRST(head); \
sys/sys/queue.h
202
#define LIST_INIT(head) do { \
sys/sys/queue.h
203
LIST_FIRST(head) = LIST_END(head); \
sys/sys/queue.h
221
#define LIST_INSERT_HEAD(head, elm, field) do { \
sys/sys/queue.h
222
if (((elm)->field.le_next = (head)->lh_first) != NULL) \
sys/sys/queue.h
223
(head)->lh_first->field.le_prev = &(elm)->field.le_next;\
sys/sys/queue.h
224
(head)->lh_first = (elm); \
sys/sys/queue.h
225
(elm)->field.le_prev = &(head)->lh_first; \
sys/sys/queue.h
256
#define SIMPLEQ_HEAD_INITIALIZER(head) \
sys/sys/queue.h
257
{ NULL, &(head).sqh_first }
sys/sys/queue.h
267
#define SIMPLEQ_FIRST(head) ((head)->sqh_first)
sys/sys/queue.h
268
#define SIMPLEQ_END(head) NULL
sys/sys/queue.h
269
#define SIMPLEQ_EMPTY(head) (SIMPLEQ_FIRST(head) == SIMPLEQ_END(head))
sys/sys/queue.h
272
#define SIMPLEQ_FOREACH(var, head, field) \
sys/sys/queue.h
273
for((var) = SIMPLEQ_FIRST(head); \
sys/sys/queue.h
274
(var) != SIMPLEQ_END(head); \
sys/sys/queue.h
277
#define SIMPLEQ_FOREACH_SAFE(var, head, field, tvar) \
sys/sys/queue.h
278
for ((var) = SIMPLEQ_FIRST(head); \
sys/sys/queue.h
285
#define SIMPLEQ_INIT(head) do { \
sys/sys/queue.h
286
(head)->sqh_first = NULL; \
sys/sys/queue.h
287
(head)->sqh_last = &(head)->sqh_first; \
sys/sys/queue.h
290
#define SIMPLEQ_INSERT_HEAD(head, elm, field) do { \
sys/sys/queue.h
291
if (((elm)->field.sqe_next = (head)->sqh_first) == NULL) \
sys/sys/queue.h
292
(head)->sqh_last = &(elm)->field.sqe_next; \
sys/sys/queue.h
293
(head)->sqh_first = (elm); \
sys/sys/queue.h
296
#define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \
sys/sys/queue.h
298
*(head)->sqh_last = (elm); \
sys/sys/queue.h
299
(head)->sqh_last = &(elm)->field.sqe_next; \
sys/sys/queue.h
302
#define SIMPLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
sys/sys/queue.h
304
(head)->sqh_last = &(elm)->field.sqe_next; \
sys/sys/queue.h
308
#define SIMPLEQ_REMOVE_HEAD(head, field) do { \
sys/sys/queue.h
309
if (((head)->sqh_first = (head)->sqh_first->field.sqe_next) == NULL) \
sys/sys/queue.h
310
(head)->sqh_last = &(head)->sqh_first; \
sys/sys/queue.h
313
#define SIMPLEQ_REMOVE_AFTER(head, elm, field) do { \
sys/sys/queue.h
316
(head)->sqh_last = &(elm)->field.sqe_next; \
sys/sys/queue.h
345
#define XSIMPLEQ_XOR(head, ptr) ((__typeof(ptr))((head)->sqx_cookie ^ \
sys/sys/queue.h
347
#define XSIMPLEQ_FIRST(head) XSIMPLEQ_XOR(head, ((head)->sqx_first))
sys/sys/queue.h
348
#define XSIMPLEQ_END(head) NULL
sys/sys/queue.h
349
#define XSIMPLEQ_EMPTY(head) (XSIMPLEQ_FIRST(head) == XSIMPLEQ_END(head))
sys/sys/queue.h
350
#define XSIMPLEQ_NEXT(head, elm, field) XSIMPLEQ_XOR(head, ((elm)->field.sqx_next))
sys/sys/queue.h
353
#define XSIMPLEQ_FOREACH(var, head, field) \
sys/sys/queue.h
354
for ((var) = XSIMPLEQ_FIRST(head); \
sys/sys/queue.h
355
(var) != XSIMPLEQ_END(head); \
sys/sys/queue.h
356
(var) = XSIMPLEQ_NEXT(head, var, field))
sys/sys/queue.h
358
#define XSIMPLEQ_FOREACH_SAFE(var, head, field, tvar) \
sys/sys/queue.h
359
for ((var) = XSIMPLEQ_FIRST(head); \
sys/sys/queue.h
360
(var) && ((tvar) = XSIMPLEQ_NEXT(head, var, field), 1); \
sys/sys/queue.h
366
#define XSIMPLEQ_INIT(head) do { \
sys/sys/queue.h
367
arc4random_buf(&(head)->sqx_cookie, sizeof((head)->sqx_cookie)); \
sys/sys/queue.h
368
(head)->sqx_first = XSIMPLEQ_XOR(head, NULL); \
sys/sys/queue.h
369
(head)->sqx_last = XSIMPLEQ_XOR(head, &(head)->sqx_first); \
sys/sys/queue.h
372
#define XSIMPLEQ_INSERT_HEAD(head, elm, field) do { \
sys/sys/queue.h
373
if (((elm)->field.sqx_next = (head)->sqx_first) == \
sys/sys/queue.h
374
XSIMPLEQ_XOR(head, NULL)) \
sys/sys/queue.h
375
(head)->sqx_last = XSIMPLEQ_XOR(head, &(elm)->field.sqx_next); \
sys/sys/queue.h
376
(head)->sqx_first = XSIMPLEQ_XOR(head, (elm)); \
sys/sys/queue.h
379
#define XSIMPLEQ_INSERT_TAIL(head, elm, field) do { \
sys/sys/queue.h
380
(elm)->field.sqx_next = XSIMPLEQ_XOR(head, NULL); \
sys/sys/queue.h
381
*(XSIMPLEQ_XOR(head, (head)->sqx_last)) = XSIMPLEQ_XOR(head, (elm)); \
sys/sys/queue.h
382
(head)->sqx_last = XSIMPLEQ_XOR(head, &(elm)->field.sqx_next); \
sys/sys/queue.h
385
#define XSIMPLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
sys/sys/queue.h
387
XSIMPLEQ_XOR(head, NULL)) \
sys/sys/queue.h
388
(head)->sqx_last = XSIMPLEQ_XOR(head, &(elm)->field.sqx_next); \
sys/sys/queue.h
389
(listelm)->field.sqx_next = XSIMPLEQ_XOR(head, (elm)); \
sys/sys/queue.h
392
#define XSIMPLEQ_REMOVE_HEAD(head, field) do { \
sys/sys/queue.h
393
if (((head)->sqx_first = XSIMPLEQ_XOR(head, \
sys/sys/queue.h
394
(head)->sqx_first)->field.sqx_next) == XSIMPLEQ_XOR(head, NULL)) \
sys/sys/queue.h
395
(head)->sqx_last = XSIMPLEQ_XOR(head, &(head)->sqx_first); \
sys/sys/queue.h
398
#define XSIMPLEQ_REMOVE_AFTER(head, elm, field) do { \
sys/sys/queue.h
399
if (((elm)->field.sqx_next = XSIMPLEQ_XOR(head, \
sys/sys/queue.h
401
== XSIMPLEQ_XOR(head, NULL)) \
sys/sys/queue.h
402
(head)->sqx_last = \
sys/sys/queue.h
403
XSIMPLEQ_XOR(head, &(elm)->field.sqx_next); \
sys/sys/queue.h
416
#define TAILQ_HEAD_INITIALIZER(head) \
sys/sys/queue.h
417
{ NULL, &(head).tqh_first }
sys/sys/queue.h
428
#define TAILQ_FIRST(head) ((head)->tqh_first)
sys/sys/queue.h
429
#define TAILQ_END(head) NULL
sys/sys/queue.h
431
#define TAILQ_LAST(head, headname) \
sys/sys/queue.h
432
(*(((struct headname *)((head)->tqh_last))->tqh_last))
sys/sys/queue.h
436
#define TAILQ_EMPTY(head) \
sys/sys/queue.h
437
(TAILQ_FIRST(head) == TAILQ_END(head))
sys/sys/queue.h
439
#define TAILQ_FOREACH(var, head, field) \
sys/sys/queue.h
440
for((var) = TAILQ_FIRST(head); \
sys/sys/queue.h
441
(var) != TAILQ_END(head); \
sys/sys/queue.h
444
#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
sys/sys/queue.h
445
for ((var) = TAILQ_FIRST(head); \
sys/sys/queue.h
446
(var) != TAILQ_END(head) && \
sys/sys/queue.h
451
#define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
sys/sys/queue.h
452
for((var) = TAILQ_LAST(head, headname); \
sys/sys/queue.h
453
(var) != TAILQ_END(head); \
sys/sys/queue.h
456
#define TAILQ_FOREACH_REVERSE_SAFE(var, head, headname, field, tvar) \
sys/sys/queue.h
457
for ((var) = TAILQ_LAST(head, headname); \
sys/sys/queue.h
458
(var) != TAILQ_END(head) && \
sys/sys/queue.h
465
#define TAILQ_INIT(head) do { \
sys/sys/queue.h
466
(head)->tqh_first = NULL; \
sys/sys/queue.h
467
(head)->tqh_last = &(head)->tqh_first; \
sys/sys/queue.h
470
#define TAILQ_INSERT_HEAD(head, elm, field) do { \
sys/sys/queue.h
471
if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
sys/sys/queue.h
472
(head)->tqh_first->field.tqe_prev = \
sys/sys/queue.h
475
(head)->tqh_last = &(elm)->field.tqe_next; \
sys/sys/queue.h
476
(head)->tqh_first = (elm); \
sys/sys/queue.h
477
(elm)->field.tqe_prev = &(head)->tqh_first; \
sys/sys/queue.h
480
#define TAILQ_INSERT_TAIL(head, elm, field) do { \
sys/sys/queue.h
482
(elm)->field.tqe_prev = (head)->tqh_last; \
sys/sys/queue.h
483
*(head)->tqh_last = (elm); \
sys/sys/queue.h
484
(head)->tqh_last = &(elm)->field.tqe_next; \
sys/sys/queue.h
487
#define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
sys/sys/queue.h
492
(head)->tqh_last = &(elm)->field.tqe_next; \
sys/sys/queue.h
504
#define TAILQ_REMOVE(head, elm, field) do { \
sys/sys/queue.h
509
(head)->tqh_last = (elm)->field.tqe_prev; \
sys/sys/queue.h
515
#define TAILQ_REPLACE(head, elm, elm2, field) do { \
sys/sys/queue.h
520
(head)->tqh_last = &(elm2)->field.tqe_next; \
sys/sys/queue.h
545
#define STAILQ_HEAD_INITIALIZER(head) \
sys/sys/queue.h
546
{ NULL, &(head).stqh_first }
sys/sys/queue.h
556
#define STAILQ_FIRST(head) ((head)->stqh_first)
sys/sys/queue.h
557
#define STAILQ_END(head) NULL
sys/sys/queue.h
558
#define STAILQ_EMPTY(head) (STAILQ_FIRST(head) == STAILQ_END(head))
sys/sys/queue.h
561
#define STAILQ_FOREACH(var, head, field) \
sys/sys/queue.h
562
for ((var) = STAILQ_FIRST(head); \
sys/sys/queue.h
563
(var) != STAILQ_END(head); \
sys/sys/queue.h
566
#define STAILQ_FOREACH_SAFE(var, head, field, tvar) \
sys/sys/queue.h
567
for ((var) = STAILQ_FIRST(head); \
sys/sys/queue.h
574
#define STAILQ_INIT(head) do { \
sys/sys/queue.h
575
STAILQ_FIRST((head)) = NULL; \
sys/sys/queue.h
576
(head)->stqh_last = &STAILQ_FIRST((head)); \
sys/sys/queue.h
579
#define STAILQ_INSERT_HEAD(head, elm, field) do { \
sys/sys/queue.h
580
if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
sys/sys/queue.h
581
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
sys/sys/queue.h
582
STAILQ_FIRST((head)) = (elm); \
sys/sys/queue.h
585
#define STAILQ_INSERT_TAIL(head, elm, field) do { \
sys/sys/queue.h
587
*(head)->stqh_last = (elm); \
sys/sys/queue.h
588
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
sys/sys/queue.h
591
#define STAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
sys/sys/queue.h
593
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
sys/sys/queue.h
597
#define STAILQ_REMOVE_HEAD(head, field) do { \
sys/sys/queue.h
598
if ((STAILQ_FIRST((head)) = \
sys/sys/queue.h
599
STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \
sys/sys/queue.h
600
(head)->stqh_last = &STAILQ_FIRST((head)); \
sys/sys/queue.h
603
#define STAILQ_REMOVE_AFTER(head, elm, field) do { \
sys/sys/queue.h
606
(head)->stqh_last = &STAILQ_NEXT((elm), field); \
sys/sys/queue.h
609
#define STAILQ_REMOVE(head, elm, type, field) do { \
sys/sys/queue.h
610
if (STAILQ_FIRST((head)) == (elm)) { \
sys/sys/queue.h
611
STAILQ_REMOVE_HEAD((head), field); \
sys/sys/queue.h
613
struct type *curelm = (head)->stqh_first; \
sys/sys/queue.h
616
STAILQ_REMOVE_AFTER(head, curelm, field); \
sys/sys/queue.h
628
#define STAILQ_LAST(head, type, field) \
sys/sys/queue.h
629
(STAILQ_EMPTY((head)) ? NULL : \
sys/sys/queue.h
631
((char *)((head)->stqh_last) - offsetof(struct type, field))))
sys/sys/queue.h
99
#define SLIST_HEAD_INITIALIZER(head) \
sys/sys/smr.h
157
#define SMR_SLIST_HEAD_INITIALIZER(head) \
sys/sys/smr.h
168
#define SMR_SLIST_END(head) NULL
sys/sys/smr.h
170
#define SMR_SLIST_FIRST(head) \
sys/sys/smr.h
171
SMR_PTR_GET(&(head)->smr_slh_first)
sys/sys/smr.h
175
#define SMR_SLIST_FIRST_LOCKED(head) \
sys/sys/smr.h
176
SMR_PTR_GET_LOCKED(&(head)->smr_slh_first)
sys/sys/smr.h
177
#define SMR_SLIST_EMPTY_LOCKED(head) \
sys/sys/smr.h
178
(SMR_SLIST_FIRST_LOCKED(head) == SMR_SLIST_END(head))
sys/sys/smr.h
182
#define SMR_SLIST_FOREACH(var, head, field) \
sys/sys/smr.h
183
for ((var) = SMR_SLIST_FIRST(head); \
sys/sys/smr.h
184
(var) != SMR_SLIST_END(head); \
sys/sys/smr.h
187
#define SMR_SLIST_FOREACH_LOCKED(var, head, field) \
sys/sys/smr.h
188
for ((var) = SMR_SLIST_FIRST_LOCKED(head); \
sys/sys/smr.h
189
(var) != SMR_SLIST_END(head); \
sys/sys/smr.h
192
#define SMR_SLIST_FOREACH_SAFE_LOCKED(var, head, field, tvar) \
sys/sys/smr.h
193
for ((var) = SMR_SLIST_FIRST_LOCKED(head); \
sys/sys/smr.h
200
#define SMR_SLIST_INIT(head) do { \
sys/sys/smr.h
201
(head)->smr_slh_first = SMR_SLIST_END(head); \
sys/sys/smr.h
210
#define SMR_SLIST_INSERT_HEAD_LOCKED(head, elm, field) do { \
sys/sys/smr.h
211
(elm)->field.smr_sle_next = (head)->smr_slh_first; \
sys/sys/smr.h
213
(head)->smr_slh_first = (elm); \
sys/sys/smr.h
221
#define SMR_SLIST_REMOVE_HEAD_LOCKED(head, field) do { \
sys/sys/smr.h
222
(head)->smr_slh_first = (head)->smr_slh_first->field.smr_sle_next;\
sys/sys/smr.h
225
#define SMR_SLIST_REMOVE_LOCKED(head, elm, type, field) do { \
sys/sys/smr.h
226
if ((head)->smr_slh_first == (elm)) { \
sys/sys/smr.h
227
SMR_SLIST_REMOVE_HEAD_LOCKED((head), field); \
sys/sys/smr.h
229
struct type *curelm = (head)->smr_slh_first; \
sys/sys/smr.h
248
#define SMR_LIST_HEAD_INITIALIZER(head) \
sys/sys/smr.h
260
#define SMR_LIST_END(head) NULL
sys/sys/smr.h
262
#define SMR_LIST_FIRST(head) \
sys/sys/smr.h
263
SMR_PTR_GET(&(head)->smr_lh_first)
sys/sys/smr.h
267
#define SMR_LIST_FIRST_LOCKED(head) ((head)->smr_lh_first)
sys/sys/smr.h
269
#define SMR_LIST_EMPTY_LOCKED(head) \
sys/sys/smr.h
270
(SMR_LIST_FIRST_LOCKED(head) == SMR_LIST_END(head))
sys/sys/smr.h
272
#define SMR_LIST_FOREACH(var, head, field) \
sys/sys/smr.h
273
for((var) = SMR_LIST_FIRST(head); \
sys/sys/smr.h
274
(var)!= SMR_LIST_END(head); \
sys/sys/smr.h
277
#define SMR_LIST_FOREACH_LOCKED(var, head, field) \
sys/sys/smr.h
278
for((var) = SMR_LIST_FIRST_LOCKED(head); \
sys/sys/smr.h
279
(var)!= SMR_LIST_END(head); \
sys/sys/smr.h
282
#define SMR_LIST_FOREACH_SAFE_LOCKED(var, head, field, tvar) \
sys/sys/smr.h
283
for ((var) = SMR_LIST_FIRST_LOCKED(head); \
sys/sys/smr.h
290
#define SMR_LIST_INIT(head) do { \
sys/sys/smr.h
291
(head)->smr_lh_first = SMR_LIST_END(head); \
sys/sys/smr.h
312
#define SMR_LIST_INSERT_HEAD_LOCKED(head, elm, field) do { \
sys/sys/smr.h
313
(elm)->field.smr_le_next = (head)->smr_lh_first; \
sys/sys/smr.h
314
(elm)->field.smr_le_prev = &(head)->smr_lh_first; \
sys/sys/smr.h
315
if ((head)->smr_lh_first != NULL) \
sys/sys/smr.h
316
(head)->smr_lh_first->field.smr_le_prev = \
sys/sys/smr.h
319
(head)->smr_lh_first = (elm); \
sys/sys/smr.h
340
#define SMR_TAILQ_HEAD_INITIALIZER(head) \
sys/sys/smr.h
341
{ .smr_tqh_first = NULL, .smr_tqh_last = &(head).smr_tqh_first }
sys/sys/smr.h
352
#define SMR_TAILQ_END(head) NULL
sys/sys/smr.h
354
#define SMR_TAILQ_FIRST(head) \
sys/sys/smr.h
355
SMR_PTR_GET(&(head)->smr_tqh_first)
sys/sys/smr.h
359
#define SMR_TAILQ_FIRST_LOCKED(head) ((head)->smr_tqh_first)
sys/sys/smr.h
361
#define SMR_TAILQ_LAST_LOCKED(head, headname) \
sys/sys/smr.h
362
(*(((struct headname *)((head)->smr_tqh_last))->smr_tqh_last))
sys/sys/smr.h
363
#define SMR_TAILQ_EMPTY_LOCKED(head) \
sys/sys/smr.h
364
(SMR_TAILQ_FIRST_LOCKED(head) == SMR_TAILQ_END(head))
sys/sys/smr.h
366
#define SMR_TAILQ_FOREACH(var, head, field) \
sys/sys/smr.h
367
for((var) = SMR_TAILQ_FIRST(head); \
sys/sys/smr.h
368
(var)!= SMR_TAILQ_END(head); \
sys/sys/smr.h
371
#define SMR_TAILQ_FOREACH_LOCKED(var, head, field) \
sys/sys/smr.h
372
for((var) = SMR_TAILQ_FIRST_LOCKED(head); \
sys/sys/smr.h
373
(var)!= SMR_TAILQ_END(head); \
sys/sys/smr.h
376
#define SMR_TAILQ_FOREACH_SAFE_LOCKED(var, head, field, tvar) \
sys/sys/smr.h
377
for ((var) = SMR_TAILQ_FIRST_LOCKED(head); \
sys/sys/smr.h
384
#define SMR_TAILQ_INIT(head) do { \
sys/sys/smr.h
385
(head)->smr_tqh_first = SMR_TAILQ_END(head); \
sys/sys/smr.h
386
(head)->smr_tqh_last = &(head)->smr_tqh_first; \
sys/sys/smr.h
389
#define SMR_TAILQ_INSERT_AFTER_LOCKED(head, listelm, elm, field) do { \
sys/sys/smr.h
395
(head)->smr_tqh_last = &(elm)->field.smr_tqe_next; \
sys/sys/smr.h
409
#define SMR_TAILQ_INSERT_HEAD_LOCKED(head, elm, field) do { \
sys/sys/smr.h
410
(elm)->field.smr_tqe_next = (head)->smr_tqh_first; \
sys/sys/smr.h
411
(elm)->field.smr_tqe_prev = &(head)->smr_tqh_first; \
sys/sys/smr.h
412
if ((head)->smr_tqh_first != NULL) \
sys/sys/smr.h
413
(head)->smr_tqh_first->field.smr_tqe_prev = \
sys/sys/smr.h
416
(head)->smr_tqh_last = &(elm)->field.smr_tqe_next; \
sys/sys/smr.h
418
(head)->smr_tqh_first = (elm); \
sys/sys/smr.h
421
#define SMR_TAILQ_INSERT_TAIL_LOCKED(head, elm, field) do { \
sys/sys/smr.h
423
(elm)->field.smr_tqe_prev = (head)->smr_tqh_last; \
sys/sys/smr.h
425
*(head)->smr_tqh_last = (elm); \
sys/sys/smr.h
426
(head)->smr_tqh_last = &(elm)->field.smr_tqe_next; \
sys/sys/smr.h
429
#define SMR_TAILQ_REMOVE_LOCKED(head, elm, field) do { \
sys/sys/smr.h
434
(head)->smr_tqh_last = (elm)->field.smr_tqe_prev; \
sys/sys/srp.h
147
void *head; \
sys/sys/srp.h
151
head = SRPL_FIRST_LOCKED(_sl); \
sys/sys/srp.h
152
if (head != NULL) { \
sys/sys/srp.h
153
(_rc)->srpl_ref(&(_rc)->srpl_cookie, head); \
sys/sys/srp.h
155
&(_e)->_ENTRY.se_next, head); \
sys/sys/tree.h
101
#define SPLAY_LINKRIGHT(head, tmp, field) do { \
sys/sys/tree.h
102
SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
sys/sys/tree.h
103
tmp = (head)->sph_root; \
sys/sys/tree.h
104
(head)->sph_root = SPLAY_RIGHT((head)->sph_root, field); \
sys/sys/tree.h
107
#define SPLAY_ASSEMBLE(head, node, left, right, field) do { \
sys/sys/tree.h
108
SPLAY_RIGHT(left, field) = SPLAY_LEFT((head)->sph_root, field); \
sys/sys/tree.h
109
SPLAY_LEFT(right, field) = SPLAY_RIGHT((head)->sph_root, field);\
sys/sys/tree.h
110
SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(node, field); \
sys/sys/tree.h
111
SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(node, field); \
sys/sys/tree.h
124
name##_SPLAY_FIND(struct name *head, struct type *elm) \
sys/sys/tree.h
126
if (SPLAY_EMPTY(head)) \
sys/sys/tree.h
128
name##_SPLAY(head, elm); \
sys/sys/tree.h
129
if ((cmp)(elm, (head)->sph_root) == 0) \
sys/sys/tree.h
130
return (head->sph_root); \
sys/sys/tree.h
135
name##_SPLAY_NEXT(struct name *head, struct type *elm) \
sys/sys/tree.h
137
name##_SPLAY(head, elm); \
sys/sys/tree.h
149
name##_SPLAY_MIN_MAX(struct name *head, int val) \
sys/sys/tree.h
151
name##_SPLAY_MINMAX(head, val); \
sys/sys/tree.h
152
return (SPLAY_ROOT(head)); \
sys/sys/tree.h
160
name##_SPLAY_INSERT(struct name *head, struct type *elm) \
sys/sys/tree.h
162
if (SPLAY_EMPTY(head)) { \
sys/sys/tree.h
166
name##_SPLAY(head, elm); \
sys/sys/tree.h
167
__comp = (cmp)(elm, (head)->sph_root); \
sys/sys/tree.h
169
SPLAY_LEFT(elm, field) = SPLAY_LEFT((head)->sph_root, field);\
sys/sys/tree.h
170
SPLAY_RIGHT(elm, field) = (head)->sph_root; \
sys/sys/tree.h
171
SPLAY_LEFT((head)->sph_root, field) = NULL; \
sys/sys/tree.h
173
SPLAY_RIGHT(elm, field) = SPLAY_RIGHT((head)->sph_root, field);\
sys/sys/tree.h
174
SPLAY_LEFT(elm, field) = (head)->sph_root; \
sys/sys/tree.h
175
SPLAY_RIGHT((head)->sph_root, field) = NULL; \
sys/sys/tree.h
177
return ((head)->sph_root); \
sys/sys/tree.h
179
(head)->sph_root = (elm); \
sys/sys/tree.h
184
name##_SPLAY_REMOVE(struct name *head, struct type *elm) \
sys/sys/tree.h
187
if (SPLAY_EMPTY(head)) \
sys/sys/tree.h
189
name##_SPLAY(head, elm); \
sys/sys/tree.h
190
if ((cmp)(elm, (head)->sph_root) == 0) { \
sys/sys/tree.h
191
if (SPLAY_LEFT((head)->sph_root, field) == NULL) { \
sys/sys/tree.h
192
(head)->sph_root = SPLAY_RIGHT((head)->sph_root, field);\
sys/sys/tree.h
194
__tmp = SPLAY_RIGHT((head)->sph_root, field); \
sys/sys/tree.h
195
(head)->sph_root = SPLAY_LEFT((head)->sph_root, field);\
sys/sys/tree.h
196
name##_SPLAY(head, elm); \
sys/sys/tree.h
197
SPLAY_RIGHT((head)->sph_root, field) = __tmp; \
sys/sys/tree.h
205
name##_SPLAY(struct name *head, struct type *elm) \
sys/sys/tree.h
213
while ((__comp = (cmp)(elm, (head)->sph_root))) { \
sys/sys/tree.h
215
__tmp = SPLAY_LEFT((head)->sph_root, field); \
sys/sys/tree.h
219
SPLAY_ROTATE_RIGHT(head, __tmp, field); \
sys/sys/tree.h
220
if (SPLAY_LEFT((head)->sph_root, field) == NULL)\
sys/sys/tree.h
223
SPLAY_LINKLEFT(head, __right, field); \
sys/sys/tree.h
225
__tmp = SPLAY_RIGHT((head)->sph_root, field); \
sys/sys/tree.h
229
SPLAY_ROTATE_LEFT(head, __tmp, field); \
sys/sys/tree.h
230
if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\
sys/sys/tree.h
233
SPLAY_LINKRIGHT(head, __left, field); \
sys/sys/tree.h
236
SPLAY_ASSEMBLE(head, &__node, __left, __right, field); \
sys/sys/tree.h
242
void name##_SPLAY_MINMAX(struct name *head, int __comp) \
sys/sys/tree.h
251
__tmp = SPLAY_LEFT((head)->sph_root, field); \
sys/sys/tree.h
255
SPLAY_ROTATE_RIGHT(head, __tmp, field); \
sys/sys/tree.h
256
if (SPLAY_LEFT((head)->sph_root, field) == NULL)\
sys/sys/tree.h
259
SPLAY_LINKLEFT(head, __right, field); \
sys/sys/tree.h
261
__tmp = SPLAY_RIGHT((head)->sph_root, field); \
sys/sys/tree.h
265
SPLAY_ROTATE_LEFT(head, __tmp, field); \
sys/sys/tree.h
266
if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\
sys/sys/tree.h
269
SPLAY_LINKRIGHT(head, __left, field); \
sys/sys/tree.h
272
SPLAY_ASSEMBLE(head, &__node, __left, __right, field); \
sys/sys/tree.h
287
#define SPLAY_FOREACH(x, name, head) \
sys/sys/tree.h
288
for ((x) = SPLAY_MIN(name, head); \
sys/sys/tree.h
290
(x) = SPLAY_NEXT(name, head, x))
sys/sys/tree.h
319
#define RB_ROOT(head) (head)->rbh_root
sys/sys/tree.h
320
#define RB_EMPTY(head) (RB_ROOT(head) == NULL)
sys/sys/tree.h
337
#define RB_ROTATE_LEFT(head, elm, tmp, field) do { \
sys/sys/tree.h
349
(head)->rbh_root = (tmp); \
sys/sys/tree.h
357
#define RB_ROTATE_RIGHT(head, elm, tmp, field) do { \
sys/sys/tree.h
369
(head)->rbh_root = (tmp); \
sys/sys/tree.h
403
name##_RB_INSERT_COLOR(struct name *head, struct type *elm) \
sys/sys/tree.h
418
RB_ROTATE_LEFT(head, parent, tmp, field);\
sys/sys/tree.h
424
RB_ROTATE_RIGHT(head, gparent, tmp, field); \
sys/sys/tree.h
434
RB_ROTATE_RIGHT(head, parent, tmp, field);\
sys/sys/tree.h
440
RB_ROTATE_LEFT(head, gparent, tmp, field); \
sys/sys/tree.h
443
RB_COLOR(head->rbh_root, field) = RB_BLACK; \
sys/sys/tree.h
447
name##_RB_REMOVE_COLOR(struct name *head, struct type *parent, struct type *elm) \
sys/sys/tree.h
451
elm != RB_ROOT(head)) { \
sys/sys/tree.h
456
RB_ROTATE_LEFT(head, parent, tmp, field);\
sys/sys/tree.h
473
RB_ROTATE_RIGHT(head, tmp, oleft, field);\
sys/sys/tree.h
480
RB_ROTATE_LEFT(head, parent, tmp, field);\
sys/sys/tree.h
481
elm = RB_ROOT(head); \
sys/sys/tree.h
488
RB_ROTATE_RIGHT(head, parent, tmp, field);\
sys/sys/tree.h
505
RB_ROTATE_LEFT(head, tmp, oright, field);\
sys/sys/tree.h
512
RB_ROTATE_RIGHT(head, parent, tmp, field);\
sys/sys/tree.h
513
elm = RB_ROOT(head); \
sys/sys/tree.h
523
name##_RB_REMOVE(struct name *head, struct type *elm) \
sys/sys/tree.h
548
RB_ROOT(head) = child; \
sys/sys/tree.h
559
RB_ROOT(head) = elm; \
sys/sys/tree.h
582
RB_ROOT(head) = child; \
sys/sys/tree.h
585
name##_RB_REMOVE_COLOR(head, parent, child); \
sys/sys/tree.h
591
name##_RB_INSERT(struct name *head, struct type *elm) \
sys/sys/tree.h
596
tmp = RB_ROOT(head); \
sys/sys/tree.h
615
RB_ROOT(head) = elm; \
sys/sys/tree.h
616
name##_RB_INSERT_COLOR(head, elm); \
sys/sys/tree.h
622
name##_RB_FIND(struct name *head, struct type *elm) \
sys/sys/tree.h
624
struct type *tmp = RB_ROOT(head); \
sys/sys/tree.h
640
name##_RB_NFIND(struct name *head, struct type *elm) \
sys/sys/tree.h
642
struct type *tmp = RB_ROOT(head); \
sys/sys/tree.h
702
name##_RB_MINMAX(struct name *head, int val) \
sys/sys/tree.h
704
struct type *tmp = RB_ROOT(head); \
sys/sys/tree.h
728
#define RB_FOREACH(x, name, head) \
sys/sys/tree.h
729
for ((x) = RB_MIN(name, head); \
sys/sys/tree.h
733
#define RB_FOREACH_SAFE(x, name, head, y) \
sys/sys/tree.h
734
for ((x) = RB_MIN(name, head); \
sys/sys/tree.h
738
#define RB_FOREACH_REVERSE(x, name, head) \
sys/sys/tree.h
739
for ((x) = RB_MAX(name, head); \
sys/sys/tree.h
743
#define RB_FOREACH_REVERSE_SAFE(x, name, head, y) \
sys/sys/tree.h
744
for ((x) = RB_MAX(name, head); \
sys/sys/tree.h
79
#define SPLAY_ROOT(head) (head)->sph_root
sys/sys/tree.h
80
#define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL)
sys/sys/tree.h
825
_name##_RBT_INIT(struct _name *head) \
sys/sys/tree.h
827
_rb_init(&head->rbh_root); \
sys/sys/tree.h
83
#define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \
sys/sys/tree.h
831
_name##_RBT_INSERT(struct _name *head, struct _type *elm) \
sys/sys/tree.h
833
return _rb_insert(_name##_RBT_TYPE, &head->rbh_root, elm); \
sys/sys/tree.h
837
_name##_RBT_REMOVE(struct _name *head, struct _type *elm) \
sys/sys/tree.h
839
return _rb_remove(_name##_RBT_TYPE, &head->rbh_root, elm); \
sys/sys/tree.h
84
SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
sys/sys/tree.h
843
_name##_RBT_FIND(struct _name *head, const struct _type *key) \
sys/sys/tree.h
845
return _rb_find(_name##_RBT_TYPE, &head->rbh_root, key); \
sys/sys/tree.h
849
_name##_RBT_NFIND(struct _name *head, const struct _type *key) \
sys/sys/tree.h
85
SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
sys/sys/tree.h
851
return _rb_nfind(_name##_RBT_TYPE, &head->rbh_root, key); \
sys/sys/tree.h
855
_name##_RBT_ROOT(struct _name *head) \
sys/sys/tree.h
857
return _rb_root(_name##_RBT_TYPE, &head->rbh_root); \
sys/sys/tree.h
86
(head)->sph_root = tmp; \
sys/sys/tree.h
861
_name##_RBT_EMPTY(struct _name *head) \
sys/sys/tree.h
863
return _rb_empty(&head->rbh_root); \
sys/sys/tree.h
867
_name##_RBT_MIN(struct _name *head) \
sys/sys/tree.h
869
return _rb_min(_name##_RBT_TYPE, &head->rbh_root); \
sys/sys/tree.h
873
_name##_RBT_MAX(struct _name *head) \
sys/sys/tree.h
875
return _rb_max(_name##_RBT_TYPE, &head->rbh_root); \
sys/sys/tree.h
89
#define SPLAY_ROTATE_LEFT(head, tmp, field) do { \
sys/sys/tree.h
90
SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
sys/sys/tree.h
91
SPLAY_LEFT(tmp, field) = (head)->sph_root; \
sys/sys/tree.h
92
(head)->sph_root = tmp; \
sys/sys/tree.h
95
#define SPLAY_LINKLEFT(head, tmp, field) do { \
sys/sys/tree.h
96
SPLAY_LEFT(tmp, field) = (head)->sph_root; \
sys/sys/tree.h
97
tmp = (head)->sph_root; \
sys/sys/tree.h
98
(head)->sph_root = SPLAY_LEFT((head)->sph_root, field); \
usr.bin/calendar/io.c
443
insert(struct event **head, struct event *cur_evt)
usr.bin/calendar/io.c
447
if (*head) {
usr.bin/calendar/io.c
449
tmp = *head;
usr.bin/calendar/io.c
461
*head = cur_evt;
usr.bin/calendar/io.c
467
*head = cur_evt;
usr.bin/cdio/rip.c
183
_add_pair(struct track_pair_head *head, int val1, int val2, int issorted)
usr.bin/cdio/rip.c
202
TAILQ_FOREACH(entry, head, list) {
usr.bin/cdio/rip.c
231
TAILQ_INSERT_TAIL(head, tp, list);
usr.bin/cdio/rip.c
237
parse_tracks_init(struct track_pair_head *head)
usr.bin/cdio/rip.c
240
memset(head, 0, sizeof(*head));
usr.bin/cdio/rip.c
241
TAILQ_INIT(head);
usr.bin/cdio/rip.c
245
parse_tracks_final(struct track_pair_head *head)
usr.bin/cdio/rip.c
249
while ((tp = TAILQ_FIRST(head)) != NULL) {
usr.bin/cdio/rip.c
250
TAILQ_REMOVE(head, tp, list);
usr.bin/cdio/rip.c
256
parse_tracks(struct track_pair_head *head, u_char first, u_char last,
usr.bin/cdio/rip.c
284
error = _add_pair(head, val1, val2, issorted);
usr.bin/cdio/rip.c
295
parse_tracks_add(struct track_pair_head *head, u_char first, u_char last,
usr.bin/cdio/rip.c
299
return _add_pair(head, first, last, issorted);
usr.bin/cdio/rip.c
60
static int _add_pair(struct track_pair_head *head, int val1, int val2,
usr.bin/cdio/rip.c
69
void parse_tracks_init(struct track_pair_head *head);
usr.bin/cdio/rip.c
70
void parse_tracks_final(struct track_pair_head *head);
usr.bin/cdio/rip.c
71
int parse_tracks(struct track_pair_head *head, u_char first, u_char last,
usr.bin/cdio/rip.c
73
int parse_tracks_add(struct track_pair_head *head, u_char first,
usr.bin/ctags/ctags.c
141
if (head) {
usr.bin/ctags/ctags.c
143
put_entries(head);
usr.bin/ctags/ctags.c
147
put_entries(head);
usr.bin/ctags/ctags.c
46
NODE *head; /* head of the sorted binary tree */
usr.bin/ctags/ctags.h
63
extern NODE *head; /* head of the sorted binary tree */
usr.bin/ctags/tree.c
60
put_entries(head);
usr.bin/ctags/tree.c
61
free_tree(head);
usr.bin/ctags/tree.c
62
if (!(head = np = malloc(sizeof(NODE))))
usr.bin/ctags/tree.c
85
if (!head)
usr.bin/ctags/tree.c
86
head = np;
usr.bin/ctags/tree.c
88
add_node(np, head);
usr.bin/cvs/add.c
414
RCSNUM *head = NULL;
usr.bin/cvs/add.c
424
head = rcs_head_get(cf->file_rcs);
usr.bin/cvs/add.c
425
if (head == NULL) {
usr.bin/cvs/add.c
429
rcsnum_tostr(head, revbuf, sizeof(revbuf));
usr.bin/cvs/add.c
449
cvs_checkout_file(cf, head, NULL, 0);
usr.bin/cvs/add.c
488
free(head);
usr.bin/cvs/status.c
123
RCSNUM *head, *brev;
usr.bin/cvs/status.c
146
head = cf->file_rcsrev;
usr.bin/cvs/status.c
148
head = NULL;
usr.bin/cvs/status.c
152
if (cf->file_rcs != NULL && head == NULL)
usr.bin/cvs/status.c
208
} else if (head == NULL) {
usr.bin/cvs/status.c
213
rcsnum_tostr(head, revbuf, sizeof(revbuf));
usr.bin/cvs/status.c
220
if (cf->file_rcs != NULL && head != NULL) {
usr.bin/cvs/status.c
221
rdp = rcs_findrev(cf->file_rcs, head);
usr.bin/dig/dig.c
1812
if ((lookup_list.head == NULL) && !config_only) {
usr.bin/dig/lib/isc/include/isc/list.h
151
(list1).tail->link.next = (list2).head; \
usr.bin/dig/lib/isc/include/isc/list.h
152
(list2).head->link.prev = (list1).tail; \
usr.bin/dig/lib/isc/include/isc/list.h
155
(list2).head = NULL; \
usr.bin/dig/lib/isc/include/isc/list.h
164
(list2).tail->link.next = (list1).head; \
usr.bin/dig/lib/isc/include/isc/list.h
165
(list1).head->link.prev = (list2).tail; \
usr.bin/dig/lib/isc/include/isc/list.h
166
(list1).head = (list2).head; \
usr.bin/dig/lib/isc/include/isc/list.h
168
(list2).head = NULL; \
usr.bin/dig/lib/isc/include/isc/list.h
23
#define ISC_LIST(type) struct { type *head, *tail; }
usr.bin/dig/lib/isc/include/isc/list.h
25
do { (list).head = NULL; (list).tail = NULL; } while (0)
usr.bin/dig/lib/isc/include/isc/list.h
37
#define ISC_LIST_HEAD(list) ((list).head)
usr.bin/dig/lib/isc/include/isc/list.h
39
#define ISC_LIST_EMPTY(list) ((list).head == NULL)
usr.bin/dig/lib/isc/include/isc/list.h
43
if ((list).head != NULL) \
usr.bin/dig/lib/isc/include/isc/list.h
44
(list).head->link.prev = (elt); \
usr.bin/dig/lib/isc/include/isc/list.h
48
(elt)->link.next = (list).head; \
usr.bin/dig/lib/isc/include/isc/list.h
49
(list).head = (elt); \
usr.bin/dig/lib/isc/include/isc/list.h
65
(list).head = (elt); \
usr.bin/dig/lib/isc/include/isc/list.h
90
ISC_INSIST((list).head == (elt)); \
usr.bin/dig/lib/isc/include/isc/list.h
91
(list).head = (elt)->link.next; \
usr.bin/dig/lib/isc/include/isc/list.h
95
ISC_INSIST((list).head != (elt)); \
usr.bin/ftp/cookie.c
174
char *head;
usr.bin/ftp/cookie.c
209
head = str + strlen(str);
usr.bin/ftp/cookie.c
212
snprintf(head, headlen, "%s %s=%s",
usr.bin/infocmp/infocmp.c
1030
entered[n].head = _nc_head;
usr.bin/infocmp/infocmp.c
109
_nc_head = entered[n].head;
usr.bin/infocmp/infocmp.c
111
_nc_free_entries(entered[n].head);
usr.bin/infocmp/infocmp.c
1195
static const char head[] =
usr.bin/infocmp/infocmp.c
1253
fputs(head, stderr);
usr.bin/infocmp/infocmp.c
92
ENTRY *head;
usr.bin/mail/cmd3.c
194
struct header head;
usr.bin/mail/cmd3.c
227
head.h_to = np;
usr.bin/mail/cmd3.c
228
head.h_from = NULL;
usr.bin/mail/cmd3.c
229
if ((head.h_subject = hfield("subject", mp)) == NULL)
usr.bin/mail/cmd3.c
230
head.h_subject = hfield("subj", mp);
usr.bin/mail/cmd3.c
231
head.h_subject = reedit(head.h_subject);
usr.bin/mail/cmd3.c
238
head.h_cc = np;
usr.bin/mail/cmd3.c
240
head.h_cc = NULL;
usr.bin/mail/cmd3.c
241
head.h_bcc = NULL;
usr.bin/mail/cmd3.c
242
head.h_smopts = NULL;
usr.bin/mail/cmd3.c
243
mail1(&head, 1);
usr.bin/mail/cmd3.c
600
struct header head;
usr.bin/mail/cmd3.c
605
head.h_to = NULL;
usr.bin/mail/cmd3.c
612
head.h_to = cat(head.h_to, extract(cp, GTO));
usr.bin/mail/cmd3.c
614
if (head.h_to == NULL)
usr.bin/mail/cmd3.c
617
if ((head.h_subject = hfield("subject", mp)) == NULL)
usr.bin/mail/cmd3.c
618
head.h_subject = hfield("subj", mp);
usr.bin/mail/cmd3.c
619
head.h_subject = reedit(head.h_subject);
usr.bin/mail/cmd3.c
620
head.h_from = NULL;
usr.bin/mail/cmd3.c
621
head.h_cc = NULL;
usr.bin/mail/cmd3.c
622
head.h_bcc = NULL;
usr.bin/mail/cmd3.c
623
head.h_smopts = NULL;
usr.bin/mail/cmd3.c
624
mail1(&head, 1);
usr.bin/mail/send.c
284
struct header head;
usr.bin/mail/send.c
286
head.h_to = to;
usr.bin/mail/send.c
287
head.h_from = fromaddr;
usr.bin/mail/send.c
288
head.h_subject = subject;
usr.bin/mail/send.c
289
head.h_cc = cc;
usr.bin/mail/send.c
290
head.h_bcc = bcc;
usr.bin/mail/send.c
291
head.h_smopts = smopts;
usr.bin/mail/send.c
292
mail1(&head, 0);
usr.bin/mail/send.c
304
struct header head;
usr.bin/mail/send.c
306
head.h_to = extract(str, GTO);
usr.bin/mail/send.c
307
head.h_from = NULL;
usr.bin/mail/send.c
308
head.h_subject = NULL;
usr.bin/mail/send.c
309
head.h_cc = NULL;
usr.bin/mail/send.c
310
head.h_bcc = NULL;
usr.bin/mail/send.c
311
head.h_smopts = NULL;
usr.bin/mail/send.c
312
mail1(&head, 0);
usr.bin/mandoc/man_html.c
439
n1 = n1->head->child;
usr.bin/mandoc/man_html.c
440
n2 = n2->head->child;
usr.bin/mandoc/man_macro.c
268
if (tok == MAN_RE && nn->head->aux > 0)
usr.bin/mandoc/man_macro.c
269
roff_setreg(man->roff, "an-margin", nn->head->aux, '-');
usr.bin/mandoc/man_macro.c
298
struct roff_node *head;
usr.bin/mandoc/man_macro.c
307
head = roff_head_alloc(man, line, ppos, tok);
usr.bin/mandoc/man_macro.c
316
if ((head->aux = strtod(p, NULL) * 24.0) > 0)
usr.bin/mandoc/man_macro.c
318
head->aux, '+');
usr.bin/mandoc/man_macro.c
327
man_unscope(man, head);
usr.bin/mandoc/man_term.c
453
if ((nn = n->parent->head->child) != NULL &&
usr.bin/mandoc/man_term.c
541
if ((nn = n->parent->head->child) != NULL &&
usr.bin/mandoc/man_term.c
616
if ((nn = n->parent->head->child) != NULL &&
usr.bin/mandoc/man_term.c
791
n = n->parent->head;
usr.bin/mandoc/man_term.c
826
mt->offset -= n->parent->head->aux;
usr.bin/mandoc/man_term.c
850
nn = n->parent->head->child;
usr.bin/mandoc/man_validate.c
415
if (n->head->child == NULL && n->body->child == NULL)
usr.bin/mandoc/man_validate.c
422
if (n->parent->head->child == NULL && n->child == NULL)
usr.bin/mandoc/mandocdb.c
1438
const struct roff_node *head, *body;
usr.bin/mandoc/mandocdb.c
1455
if ((head = body->parent->head) != NULL &&
usr.bin/mandoc/mandocdb.c
1456
(head = head->child) != NULL &&
usr.bin/mandoc/mandocdb.c
1457
head->next == NULL &&
usr.bin/mandoc/mandocdb.c
1458
head->type == ROFFT_TEXT &&
usr.bin/mandoc/mandocdb.c
1459
strcmp(head->string, "NAME") == 0 &&
usr.bin/mandoc/mdoc_html.c
1776
n->parent->head->child == NULL &&
usr.bin/mandoc/mdoc_html.c
1781
n->parent->head->child != NULL && (n->child != NULL ||
usr.bin/mandoc/mdoc_html.c
1800
body = n->child != NULL || n->parent->head->child != NULL;
usr.bin/mandoc/mdoc_html.c
557
id = html_make_id(sn->head, 0);
usr.bin/mandoc/mdoc_html.c
560
print_mdoc_nodelist(meta, sn->head->child, h);
usr.bin/mandoc/mdoc_html.c
567
id = html_make_id(subn->head, 0);
usr.bin/mandoc/mdoc_html.c
577
subn->head->child, h);
usr.bin/mandoc/mdoc_macro.c
1068
head = body = NULL;
usr.bin/mandoc/mdoc_macro.c
1085
head = roff_head_alloc(mdoc, line, ppos, tok);
usr.bin/mandoc/mdoc_macro.c
1086
rew_last(mdoc, head);
usr.bin/mandoc/mdoc_macro.c
1148
if (head == NULL &&
usr.bin/mandoc/mdoc_macro.c
1159
if (head == NULL)
usr.bin/mandoc/mdoc_macro.c
1160
head = roff_head_alloc(mdoc, line, ppos, tok);
usr.bin/mandoc/mdoc_macro.c
1169
rew_last(mdoc, body == NULL ? head : body);
usr.bin/mandoc/mdoc_macro.c
1194
if (head == NULL)
usr.bin/mandoc/mdoc_macro.c
1195
head = roff_head_alloc(mdoc, line, ppos, tok);
usr.bin/mandoc/mdoc_macro.c
1200
if (find_pending(mdoc, tok, line, ppos, head))
usr.bin/mandoc/mdoc_macro.c
1205
rew_last(mdoc, head);
usr.bin/mandoc/mdoc_macro.c
1318
struct roff_node *head; /* keep track of head */
usr.bin/mandoc/mdoc_macro.c
1330
head = NULL;
usr.bin/mandoc/mdoc_macro.c
1339
if (head == NULL && mdoc_isdelim(p) == DELIM_OPEN) {
usr.bin/mandoc/mdoc_macro.c
1346
if (head == NULL) {
usr.bin/mandoc/mdoc_macro.c
1347
head = roff_head_alloc(mdoc, line, ppos, tok);
usr.bin/mandoc/mdoc_macro.c
1350
rew_last(mdoc, head);
usr.bin/mandoc/mdoc_macro.c
1368
if (head == NULL) {
usr.bin/mandoc/mdoc_macro.c
954
struct roff_node *head; /* Our own head. */
usr.bin/mandoc/mdoc_man.c
1203
n->parent->head->child == NULL &&
usr.bin/mandoc/mdoc_man.c
1208
n->parent->head->child != NULL && (n->child != NULL ||
usr.bin/mandoc/mdoc_man.c
1224
body = n->child != NULL || n->parent->head->child != NULL;
usr.bin/mandoc/mdoc_man.c
290
char *head;
usr.bin/mandoc/mdoc_man.c
351
if (fontqueue.head + fontqueue.size <= ++fontqueue.tail) {
usr.bin/mandoc/mdoc_man.c
353
fontqueue.head = mandoc_realloc(fontqueue.head,
usr.bin/mandoc/mdoc_man.c
367
if (fontqueue.tail > fontqueue.head)
usr.bin/mandoc/mdoc_man.c
630
fontqueue.head = fontqueue.tail = mandoc_malloc(8);
usr.bin/mandoc/mdoc_markdown.c
1024
n->parent->head->child == NULL &&
usr.bin/mandoc/mdoc_markdown.c
1029
n->parent->head->child != NULL && (n->child != NULL ||
usr.bin/mandoc/mdoc_markdown.c
1043
if (n->child == NULL && n->parent->head->child == NULL)
usr.bin/mandoc/mdoc_term.c
1711
n->parent->head->child == NULL &&
usr.bin/mandoc/mdoc_term.c
1716
n->parent->head->child != NULL && (n->child != NULL ||
usr.bin/mandoc/mdoc_term.c
1736
body = n->child != NULL || n->parent->head->child != NULL;
usr.bin/mandoc/mdoc_term.c
763
if (n->type == ROFFT_BODY && n->parent->head->child != NULL)
usr.bin/mandoc/mdoc_validate.c
1171
nn = nn->head->child == NULL ? n : nn->head;
usr.bin/mandoc/mdoc_validate.c
1185
nn = nn->head;
usr.bin/mandoc/mdoc_validate.c
1736
if (nit->head->child == NULL)
usr.bin/mandoc/mdoc_validate.c
1751
if ((nch = nit->head->child) != NULL)
usr.bin/mandoc/mdoc_validate.c
1760
assert(nit->head->child == NULL);
usr.bin/mandoc/mdoc_validate.c
1762
if (nit->head->next->child == NULL &&
usr.bin/mandoc/mdoc_validate.c
1763
nit->head->next->next == NULL) {
usr.bin/mandoc/mdoc_validate.c
1781
else if (nit->head->next->child != NULL &&
usr.bin/mandoc/mdoc_validate.c
1782
nit->head->next->child->flags & NODE_LINE)
usr.bin/mandoc/mdoc_validate.c
2015
if ((nnext = nchild->head->child) == NULL)
usr.bin/mandoc/roff.c
935
n->parent->head = n;
usr.bin/mandoc/roff.h
504
struct roff_node *head; /* BLOCK */
usr.bin/mandoc/tag.c
268
np = np->parent->head;
usr.bin/mandoc/term.c
68
term_begin(struct termp *p, term_margin head,
usr.bin/mandoc/term.c
72
p->headf = head;
usr.bin/mg/funmap.c
303
struct list *head, *el;
usr.bin/mg/funmap.c
307
head = NULL;
usr.bin/mg/funmap.c
311
free_file_list(head);
usr.bin/mg/funmap.c
316
free_file_list(head);
usr.bin/mg/funmap.c
319
el->l_next = head;
usr.bin/mg/funmap.c
320
head = el;
usr.bin/mg/funmap.c
323
return (head);
usr.bin/netstat/inet.c
821
static struct pmaplist *head;
usr.bin/netstat/inet.c
844
xdr_pmaplist, &head, minutetimeout) != RPC_SUCCESS) {
usr.bin/netstat/inet.c
848
for (; head != NULL; head = head->pml_next) {
usr.bin/netstat/inet.c
854
n->port = head->pml_map.pm_port;
usr.bin/netstat/inet.c
855
n->proto = head->pml_map.pm_prot;
usr.bin/netstat/inet.c
857
rpc = getrpcbynumber(head->pml_map.pm_prog);
usr.bin/netstat/inet.c
862
head->pml_map.pm_prog);
usr.bin/nm/elf.c
151
elf_load_shdrs(const char *name, FILE *fp, off_t foff, Elf_Ehdr *head)
usr.bin/nm/elf.c
155
elf_fix_header(head);
usr.bin/nm/elf.c
157
if (head->e_shnum == 0) {
usr.bin/nm/elf.c
162
if (head->e_shstrndx >= head->e_shnum) {
usr.bin/nm/elf.c
167
if (head->e_shentsize < sizeof(Elf_Shdr)) {
usr.bin/nm/elf.c
172
if ((shdr = calloc(head->e_shnum, head->e_shentsize)) == NULL) {
usr.bin/nm/elf.c
177
if (fseeko(fp, foff + head->e_shoff, SEEK_SET)) {
usr.bin/nm/elf.c
183
if (fread(shdr, head->e_shentsize, head->e_shnum, fp) != head->e_shnum) {
usr.bin/nm/elf.c
189
elf_fix_shdrs(head, shdr);
usr.bin/nm/elf.c
398
elf_size(Elf_Ehdr *head, Elf_Shdr *shdr,
usr.bin/nm/elf.c
405
for (i = 0; i < head->e_shnum; i++) {
usr.bin/nm/nm.c
634
show_file(int count, int warn_fmt, const char *name, FILE *fp, off_t foff, union hdr *head)
usr.bin/nm/nm.c
641
if (IS_ELF(head->elf32) &&
usr.bin/nm/nm.c
642
head->elf32.e_ident[EI_CLASS] == ELFCLASS32 &&
usr.bin/nm/nm.c
643
head->elf32.e_ident[EI_VERSION] == ELF_TARG_VER) {
usr.bin/nm/nm.c
646
if (!(shdr = elf32_load_shdrs(name, fp, foff, &head->elf32)))
usr.bin/nm/nm.c
650
elf32_size(&head->elf32, shdr, &text, &data, &bss) :
usr.bin/nm/nm.c
651
elf32_symload(name, fp, foff, &head->elf32, shdr,
usr.bin/nm/nm.c
657
} else if (IS_ELF(head->elf64) &&
usr.bin/nm/nm.c
658
head->elf64.e_ident[EI_CLASS] == ELFCLASS64 &&
usr.bin/nm/nm.c
659
head->elf64.e_ident[EI_VERSION] == ELF_TARG_VER) {
usr.bin/nm/nm.c
662
if (!(shdr = elf64_load_shdrs(name, fp, foff, &head->elf64)))
usr.bin/nm/nm.c
666
elf64_size(&head->elf64, shdr, &text, &data, &bss) :
usr.bin/nm/nm.c
667
elf64_symload(name, fp, foff, &head->elf64, shdr,
usr.bin/openssl/certhash.c
135
hashinfo_chain(struct hashinfo *head, struct hashinfo *entry)
usr.bin/openssl/certhash.c
137
struct hashinfo *hi = head;
usr.bin/openssl/certhash.c
145
return (head);
usr.bin/openssl/certhash.c
173
hashinfo_chain_sort(struct hashinfo **head)
usr.bin/openssl/certhash.c
179
if (*head == NULL)
usr.bin/openssl/certhash.c
182
len = hashinfo_chain_length(*head);
usr.bin/openssl/certhash.c
186
for (entry = *head, i = 0; entry != NULL; entry = entry->next, i++)
usr.bin/openssl/certhash.c
190
*head = entry = list[0];
usr.bin/openssl/certhash.c
397
certhash_index(struct hashinfo *head, const char *name)
usr.bin/openssl/certhash.c
403
for (entry = head; entry != NULL; entry = entry->next) {
usr.bin/paste/paste.c
104
SIMPLEQ_HEAD(, list) head = SIMPLEQ_HEAD_INITIALIZER(head);
usr.bin/paste/paste.c
123
SIMPLEQ_INSERT_TAIL(&head, lp, entries);
usr.bin/paste/paste.c
131
SIMPLEQ_FOREACH(lp, &head, entries) {
usr.bin/patch/ed.c
127
LIST_INSERT_HEAD(&head, nline, entries);
usr.bin/patch/ed.c
238
LIST_FOREACH(line, &head, entries) {
usr.bin/patch/ed.c
275
LIST_INIT(&head);
usr.bin/patch/ed.c
283
LIST_INSERT_HEAD(&head, line, entries);
usr.bin/patch/ed.c
293
while (!LIST_EMPTY(&head)) {
usr.bin/patch/ed.c
294
line = LIST_FIRST(&head);
usr.bin/patch/ed.c
310
LIST_FOREACH(line, &head, entries)
usr.bin/patch/ed.c
53
LIST_HEAD(ed_head, ed_line) head;
usr.bin/pkgconf/cli/main.c
1452
PKGCONF_FOREACH_LIST_ENTRY(deplist.head, node)
usr.bin/pkgconf/cli/main.c
1492
PKGCONF_FOREACH_LIST_ENTRY(deplist.head, node)
usr.bin/pkgconf/cli/main.c
1532
PKGCONF_FOREACH_LIST_ENTRY(deplist.head, node)
usr.bin/pkgconf/cli/main.c
1613
if (pkgq.head == NULL)
usr.bin/pkgconf/cli/main.c
176
PKGCONF_FOREACH_LIST_ENTRY(pkg->vars.head, node)
usr.bin/pkgconf/cli/main.c
189
PKGCONF_FOREACH_LIST_ENTRY(pkg->required.head, node)
usr.bin/pkgconf/cli/main.c
207
PKGCONF_FOREACH_LIST_ENTRY(pkg->requires_private.head, node)
usr.bin/pkgconf/cli/main.c
225
PKGCONF_FOREACH_LIST_ENTRY(pkg->provides.head, node)
usr.bin/pkgconf/cli/main.c
246
PKGCONF_FOREACH_LIST_ENTRY(world->required.head, iter)
usr.bin/pkgconf/cli/main.c
281
PKGCONF_FOREACH_LIST_ENTRY(pkg->required.head, node)
usr.bin/pkgconf/cli/main.c
292
PKGCONF_FOREACH_LIST_ENTRY(pkg->requires_private.head, node)
usr.bin/pkgconf/cli/main.c
314
PKGCONF_FOREACH_LIST_ENTRY(list->head, iter)
usr.bin/pkgconf/cli/main.c
360
PKGCONF_FOREACH_LIST_ENTRY(pkgq->head, queue_iter)
usr.bin/pkgconf/cli/main.c
365
PKGCONF_FOREACH_LIST_ENTRY(world->required.head, world_iter)
usr.bin/pkgconf/cli/main.c
400
PKGCONF_FOREACH_LIST_ENTRY(world->required.head, iter)
usr.bin/pkgconf/cli/main.c
419
PKGCONF_FOREACH_LIST_ENTRY(world->required.head, iter)
usr.bin/pkgconf/cli/main.c
438
PKGCONF_FOREACH_LIST_ENTRY(world->required.head, iter)
usr.bin/pkgconf/cli/main.c
475
if (filtered_list.head == NULL)
usr.bin/pkgconf/cli/main.c
497
PKGCONF_FOREACH_LIST_ENTRY(world->required.head, world_iter)
usr.bin/pkgconf/cli/main.c
535
PKGCONF_FOREACH_LIST_ENTRY(world->required.head, world_iter)
usr.bin/pkgconf/cli/main.c
547
PKGCONF_FOREACH_LIST_ENTRY(pkg->vars.head, tuple_iter)
usr.bin/pkgconf/cli/main.c
618
if (filtered_list.head == NULL)
usr.bin/pkgconf/cli/main.c
647
if (filtered_list.head == NULL)
usr.bin/pkgconf/cli/main.c
669
PKGCONF_FOREACH_LIST_ENTRY(world->required.head, iter)
usr.bin/pkgconf/cli/main.c
688
PKGCONF_FOREACH_LIST_ENTRY(world->required.head, iter)
usr.bin/pkgconf/cli/main.c
735
PKGCONF_FOREACH_LIST_ENTRY(pkg->required.head, n)
usr.bin/pkgconf/cli/main.c
772
PKGCONF_FOREACH_LIST_ENTRY(fragment_list->head, iter)
usr.bin/pkgconf/cli/main.c
784
if (fragment_list->head != NULL)
usr.bin/pkgconf/cli/main.c
978
PKGCONF_FOREACH_LIST_ENTRY(p->dir_list.head, n)
usr.bin/pkgconf/cli/main.c
986
PKGCONF_FOREACH_LIST_ENTRY(p->filter_includedirs.head, n)
usr.bin/pkgconf/cli/main.c
994
PKGCONF_FOREACH_LIST_ENTRY(p->filter_libdirs.head, n)
usr.bin/pkgconf/libpkgconf/client.c
40
PKGCONF_FOREACH_LIST_ENTRY(list->head, n)
usr.bin/pkgconf/libpkgconf/dependency.c
275
PKGCONF_FOREACH_LIST_ENTRY_SAFE(list->head, next, node)
usr.bin/pkgconf/libpkgconf/dependency.c
61
PKGCONF_FOREACH_LIST_ENTRY(list->head, n)
usr.bin/pkgconf/libpkgconf/fragment.c
302
if (base->children.head != NULL)
usr.bin/pkgconf/libpkgconf/fragment.c
433
PKGCONF_FOREACH_LIST_ENTRY(base->head, node)
usr.bin/pkgconf/libpkgconf/fragment.c
460
PKGCONF_FOREACH_LIST_ENTRY(src->head, node)
usr.bin/pkgconf/libpkgconf/fragment.c
484
(*src >= (' ' + (frag->children.head != NULL ? 1 : 0)) && *src < '$') ||
usr.bin/pkgconf/libpkgconf/fragment.c
530
PKGCONF_FOREACH_LIST_ENTRY(frag->children.head, iter)
usr.bin/pkgconf/libpkgconf/fragment.c
548
PKGCONF_FOREACH_LIST_ENTRY(list->head, node)
usr.bin/pkgconf/libpkgconf/fragment.c
582
PKGCONF_FOREACH_LIST_ENTRY(frag->children.head, iter)
usr.bin/pkgconf/libpkgconf/fragment.c
603
PKGCONF_FOREACH_LIST_ENTRY(list->head, node)
usr.bin/pkgconf/libpkgconf/fragment.c
727
PKGCONF_FOREACH_LIST_ENTRY_SAFE(list->head, next, node)
usr.bin/pkgconf/libpkgconf/iter.h
31
pkgconf_node_t *head, *tail;
usr.bin/pkgconf/libpkgconf/iter.h
40
list->head = NULL;
usr.bin/pkgconf/libpkgconf/iter.h
52
if (list->head == NULL)
usr.bin/pkgconf/libpkgconf/iter.h
54
list->head = node;
usr.bin/pkgconf/libpkgconf/iter.h
60
tnode = list->head;
usr.bin/pkgconf/libpkgconf/iter.h
65
list->head = node;
usr.bin/pkgconf/libpkgconf/iter.h
78
list->head = node;
usr.bin/pkgconf/libpkgconf/iter.h
99
list->head = node->next;
usr.bin/pkgconf/libpkgconf/libpkgconf.h
75
#define PKGCONF_FOREACH_LIST_ENTRY(head, value) \
usr.bin/pkgconf/libpkgconf/libpkgconf.h
76
for ((value) = (head); (value) != NULL; (value) = (value)->next)
usr.bin/pkgconf/libpkgconf/libpkgconf.h
78
#define PKGCONF_FOREACH_LIST_ENTRY_SAFE(head, nextiter, value) \
usr.bin/pkgconf/libpkgconf/libpkgconf.h
79
for ((value) = (head), (nextiter) = (head) != NULL ? (head)->next : NULL; (value) != NULL; (value) = (nextiter), (nextiter) = (nextiter) != NULL ? (nextiter)->next : NULL)
usr.bin/pkgconf/libpkgconf/path.c
238
PKGCONF_FOREACH_LIST_ENTRY(dirlist->head, n)
usr.bin/pkgconf/libpkgconf/path.c
265
PKGCONF_FOREACH_LIST_ENTRY(src->head, n)
usr.bin/pkgconf/libpkgconf/path.c
296
PKGCONF_FOREACH_LIST_ENTRY_SAFE(dirlist->head, tn, n)
usr.bin/pkgconf/libpkgconf/path.c
34
PKGCONF_FOREACH_LIST_ENTRY(dirlist->head, n)
usr.bin/pkgconf/libpkgconf/personality.c
318
PKGCONF_FOREACH_LIST_ENTRY(plist.head, n)
usr.bin/pkgconf/libpkgconf/personality.c
331
PKGCONF_FOREACH_LIST_ENTRY(plist.head, n)
usr.bin/pkgconf/libpkgconf/pkg.c
1047
.head = &(pkgconf_node_t){
usr.bin/pkgconf/libpkgconf/pkg.c
1078
.head = &(pkgconf_node_t){
usr.bin/pkgconf/libpkgconf/pkg.c
1401
PKGCONF_FOREACH_LIST_ENTRY(pkg->provides.head, node)
usr.bin/pkgconf/libpkgconf/pkg.c
1570
PKGCONF_FOREACH_LIST_ENTRY_SAFE(deplist->head, next, node)
usr.bin/pkgconf/libpkgconf/pkg.c
1636
PKGCONF_FOREACH_LIST_ENTRY(deplist->head, node)
usr.bin/pkgconf/libpkgconf/pkg.c
1643
PKGCONF_FOREACH_LIST_ENTRY(root->required.head, childnode)
usr.bin/pkgconf/libpkgconf/pkg.c
1723
if (!(client->flags & PKGCONF_PKG_PKGF_SKIP_CONFLICTS) && root->conflicts.head != NULL)
usr.bin/pkgconf/libpkgconf/pkg.c
1773
PKGCONF_FOREACH_LIST_ENTRY(pkg->cflags.head, node)
usr.bin/pkgconf/libpkgconf/pkg.c
1786
PKGCONF_FOREACH_LIST_ENTRY(pkg->cflags_private.head, node)
usr.bin/pkgconf/libpkgconf/pkg.c
1840
PKGCONF_FOREACH_LIST_ENTRY(pkg->libs.head, node)
usr.bin/pkgconf/libpkgconf/pkg.c
1848
PKGCONF_FOREACH_LIST_ENTRY(pkg->libs_private.head, node)
usr.bin/pkgconf/libpkgconf/pkg.c
777
PKGCONF_FOREACH_LIST_ENTRY(client->dir_list.head, n)
usr.bin/pkgconf/libpkgconf/pkg.c
882
PKGCONF_FOREACH_LIST_ENTRY(client->dir_list.head, n)
usr.bin/pkgconf/libpkgconf/queue.c
113
PKGCONF_FOREACH_LIST_ENTRY(list->head, node)
usr.bin/pkgconf/libpkgconf/queue.c
70
PKGCONF_FOREACH_LIST_ENTRY(list->head, iter)
usr.bin/pkgconf/libpkgconf/queue.c
78
return (world->required.head != NULL);
usr.bin/pkgconf/libpkgconf/queue.c
96
PKGCONF_FOREACH_LIST_ENTRY_SAFE(list->head, tnode, node)
usr.bin/pkgconf/libpkgconf/tuple.c
144
PKGCONF_FOREACH_LIST_ENTRY_SAFE(list->head, next, node)
usr.bin/pkgconf/libpkgconf/tuple.c
283
PKGCONF_FOREACH_LIST_ENTRY(list->head, node)
usr.bin/pkgconf/libpkgconf/tuple.c
472
PKGCONF_FOREACH_LIST_ENTRY_SAFE(list->head, next, node)
usr.bin/pkgconf/libpkgconf/tuple.c
56
PKGCONF_FOREACH_LIST_ENTRY(client->global_vars.head, node)
usr.bin/pkill/pkill.c
541
makelist(struct listhead *head, enum listtype type, char *src)
usr.bin/pkill/pkill.c
558
SLIST_INSERT_HEAD(head, li, li_chain);
usr.bin/rpcinfo/rpcinfo.c
492
struct pmaplist *head = NULL;
usr.bin/rpcinfo/rpcinfo.c
515
xdr_pmaplist, &head, minutetimeout) != RPC_SUCCESS) {
usr.bin/rpcinfo/rpcinfo.c
520
if (head == NULL) {
usr.bin/rpcinfo/rpcinfo.c
524
for (; head != NULL; head = head->pml_next) {
usr.bin/rpcinfo/rpcinfo.c
526
head->pml_map.pm_prog,
usr.bin/rpcinfo/rpcinfo.c
527
head->pml_map.pm_vers);
usr.bin/rpcinfo/rpcinfo.c
528
if (head->pml_map.pm_prot == IPPROTO_UDP)
usr.bin/rpcinfo/rpcinfo.c
530
else if (head->pml_map.pm_prot == IPPROTO_TCP)
usr.bin/rpcinfo/rpcinfo.c
533
printf("%6ld", head->pml_map.pm_prot);
usr.bin/rpcinfo/rpcinfo.c
534
printf("%7ld", head->pml_map.pm_port);
usr.bin/rpcinfo/rpcinfo.c
535
rpc = getrpcbynumber(head->pml_map.pm_prog);
usr.bin/tee/tee.c
118
SLIST_FOREACH(p, &head, next) {
usr.bin/tee/tee.c
135
SLIST_FOREACH(p, &head, next) {
usr.bin/tee/tee.c
53
SLIST_HEAD(, list) head;
usr.bin/tee/tee.c
64
SLIST_INSERT_HEAD(&head, p, next);
usr.bin/tee/tee.c
79
SLIST_INIT(&head);
usr.sbin/ac/ac.c
169
update_user(struct user_list *head, char *name, time_t secs)
usr.sbin/ac/ac.c
173
for (up = head; up != NULL; up = up->next) {
usr.sbin/ac/ac.c
177
return head;
usr.sbin/ac/ac.c
184
return head;
usr.sbin/ac/ac.c
188
up->next = head;
usr.sbin/ac/ac.c
311
log_out(struct utmp_list *head, struct utmp *up)
usr.sbin/ac/ac.c
316
for (lp = head, lp2 = NULL; lp != NULL; )
usr.sbin/ac/ac.c
334
if (tlp == head)
usr.sbin/ac/ac.c
335
head = lp;
usr.sbin/ac/ac.c
343
return head;
usr.sbin/ac/ac.c
351
log_in(struct utmp_list *head, struct utmp *up)
usr.sbin/ac/ac.c
372
return head;
usr.sbin/ac/ac.c
379
lp->next = head;
usr.sbin/ac/ac.c
380
head = lp;
usr.sbin/ac/ac.c
392
return head;
usr.sbin/ac/ac.c
398
struct utmp_list *lp, *head = NULL;
usr.sbin/ac/ac.c
423
show_today(Users, head, secs);
usr.sbin/ac/ac.c
436
for (lp = head; lp != NULL; lp = lp->next)
usr.sbin/ac/ac.c
440
head = log_out(head, &usr);
usr.sbin/ac/ac.c
452
head = log_in(head, &usr);
usr.sbin/ac/ac.c
454
head = log_out(head, &usr);
usr.sbin/ac/ac.c
475
show_today(Users, head, secs);
usr.sbin/ac/ac.c
481
head = log_out(head, &usr);
usr.sbin/ac/ac.c
484
show_today(Users, head, time(NULL));
usr.sbin/acme-client/http.c
365
free(x->head);
usr.sbin/acme-client/http.c
487
if (trans->head != NULL) {
usr.sbin/acme-client/http.c
489
return trans->head;
usr.sbin/acme-client/http.c
49
struct httphead *head; /* parsed headers */
usr.sbin/acme-client/http.c
549
trans->head = h;
usr.sbin/acme-client/http.c
665
struct httphead *head;
usr.sbin/acme-client/http.c
689
if ((head = http_head_parse(h, x, &headsz)) == NULL) {
usr.sbin/acme-client/http.c
693
} else if ((code = http_head_status(h, head, headsz)) < 0) {
usr.sbin/acme-client/http.c
710
g->head = head;
usr.sbin/acme-client/http.h
47
struct httphead *head; /* headers */
usr.sbin/acme-client/netproc.c
218
if ((st = http_head_get("Location", g->head, g->headsz)) ==
usr.sbin/acme-client/netproc.c
281
h = http_head_get("Replay-Nonce", g->head, g->headsz);
usr.sbin/acme-client/netproc.c
377
h = http_head_get("Replay-Nonce", g->head, g->headsz);
usr.sbin/acme-client/netproc.c
395
h = http_head_get("Location", g->head, g->headsz);
usr.sbin/bgpctl/bgpctl.c
153
output->head(res);
usr.sbin/bgpctl/bgpctl.c
420
output->head(res);
usr.sbin/bgpctl/bgpctl.h
22
void (*head)(struct parse_result *);
usr.sbin/bgpctl/output.c
1244
.head = show_head,
usr.sbin/bgpctl/output_json.c
1079
.head = json_head,
usr.sbin/bgpctl/output_ometric.c
425
.head = ometric_head,
usr.sbin/bgpd/chash.h
100
_name##_CH_DESTROY(struct _name *head) \
usr.sbin/bgpd/chash.h
102
_ch_destroy(_name##_CH_TYPE, &head->ch_table); \
usr.sbin/bgpd/chash.h
106
_name##_CH_INSERT(struct _name *head, struct _type *elm, struct _type **prev) \
usr.sbin/bgpd/chash.h
111
p = _ch_insert(_name##_CH_TYPE, &head->ch_table, h, elm); \
usr.sbin/bgpd/chash.h
120
_name##_CH_REMOVE(struct _name *head, struct _type *elm) \
usr.sbin/bgpd/chash.h
124
return _ch_remove(_name##_CH_TYPE, &head->ch_table, h, elm); \
usr.sbin/bgpd/chash.h
128
_name##_CH_FIND(struct _name *head, const struct _type *key) \
usr.sbin/bgpd/chash.h
132
return _ch_find(_name##_CH_TYPE, &head->ch_table, h, key); \
usr.sbin/bgpd/chash.h
136
_name##_CH_LOCATE(struct _name *head, uint64_t hash, \
usr.sbin/bgpd/chash.h
139
return _ch_locate(_name##_CH_TYPE, &head->ch_table, hash, \
usr.sbin/bgpd/chash.h
144
_name##_CH_FIRST(struct _name *head, struct ch_iter *iter) \
usr.sbin/bgpd/chash.h
146
return _ch_first(_name##_CH_TYPE, &head->ch_table, iter); \
usr.sbin/bgpd/chash.h
150
_name##_CH_NEXT(struct _name *head, struct ch_iter *iter) \
usr.sbin/bgpd/chash.h
152
return _ch_next(_name##_CH_TYPE, &head->ch_table, iter); \
usr.sbin/bgpd/chash.h
156
_name##_CH_STATS(struct _name *head, struct ch_stats *stats) \
usr.sbin/bgpd/chash.h
158
_ch_get_stats(stats, &head->ch_table.ch_counts); \
usr.sbin/bgpd/chash.h
94
_name##_CH_INIT(struct _name *head) \
usr.sbin/bgpd/chash.h
96
return _ch_init(_name##_CH_TYPE, &head->ch_table); \
usr.sbin/bgpd/name2id.c
102
_name2id(struct n2id_labels *head, const char *name)
usr.sbin/bgpd/name2id.c
110
TAILQ_FOREACH(label, head, entry)
usr.sbin/bgpd/name2id.c
122
TAILQ_FOREACH(p, head, entry) {
usr.sbin/bgpd/name2id.c
143
TAILQ_INSERT_TAIL(head, label, entry);
usr.sbin/bgpd/name2id.c
149
_id2name(struct n2id_labels *head, uint16_t id)
usr.sbin/bgpd/name2id.c
156
TAILQ_FOREACH(label, head, entry)
usr.sbin/bgpd/name2id.c
164
_unref(struct n2id_labels *head, uint16_t id)
usr.sbin/bgpd/name2id.c
171
TAILQ_FOREACH_SAFE(p, head, entry, next) {
usr.sbin/bgpd/name2id.c
174
TAILQ_REMOVE(head, p, entry);
usr.sbin/bgpd/name2id.c
184
_ref(struct n2id_labels *head, uint16_t id)
usr.sbin/bgpd/name2id.c
191
TAILQ_FOREACH(label, head, entry)
usr.sbin/bgpd/rde_adjout.c
164
pend_prefix_remove(struct pend_prefix *pp, struct pend_prefix_queue *head,
usr.sbin/bgpd/rde_adjout.c
171
TAILQ_REMOVE(head, pp, entry);
usr.sbin/bgpd/rde_adjout.c
187
struct pend_prefix_queue *head;
usr.sbin/bgpd/rde_adjout.c
200
head = &peer->withdraws[pt->aid];
usr.sbin/bgpd/rde_adjout.c
202
head = &pp->attrs->prefixes;
usr.sbin/bgpd/rde_adjout.c
204
pend_prefix_remove(pp, head, peer);
usr.sbin/bgpd/rde_adjout.c
209
head = &peer->withdraws[pt->aid];
usr.sbin/bgpd/rde_adjout.c
212
head = &pa->prefixes;
usr.sbin/bgpd/rde_adjout.c
216
TAILQ_INSERT_TAIL(head, pp, entry);
usr.sbin/bgpd/rde_adjout.c
242
pend_prefix_free(struct pend_prefix *pp, struct pend_prefix_queue *head,
usr.sbin/bgpd/rde_adjout.c
245
pend_prefix_remove(pp, head, peer);
usr.sbin/bgpd/rde_filter.c
1060
while (head[i] != cur) { \
usr.sbin/bgpd/rde_filter.c
1061
head[i]->skip[i] = cur; \
usr.sbin/bgpd/rde_filter.c
1062
head[i] = TAILQ_NEXT(head[i], entry); \
usr.sbin/bgpd/rde_filter.c
1069
struct filter_rule *cur, *prev, *head[RDE_FILTER_SKIP_COUNT];
usr.sbin/bgpd/rde_filter.c
1079
head[i] = cur;
usr.sbin/bgpd/rde_update.c
264
struct adjout_prefix *head, *p;
usr.sbin/bgpd/rde_update.c
271
head = adjout_prefix_first(peer, re->prefix);
usr.sbin/bgpd/rde_update.c
272
for (p = head; p != NULL; p = adjout_prefix_next(peer, re->prefix, p)) {
usr.sbin/btrace/bt_parse.y
301
br_new(struct bt_probe *probe, struct bt_filter *filter, struct bt_stmt *head)
usr.sbin/btrace/bt_parse.y
312
SLIST_FIRST(&br->br_action) = head;
usr.sbin/btrace/bt_parse.y
494
bs_new(enum bt_action act, struct bt_arg *head, struct bt_var *var)
usr.sbin/btrace/bt_parse.y
504
SLIST_FIRST(&bs->bs_args) = head;
usr.sbin/config/mkheaders.c
113
for (nv = head; nv != NULL; nv = nv->nv_next)
usr.sbin/config/mkheaders.c
83
emitcnt(struct nvlist *head)
usr.sbin/config/mkheaders.c
92
(void)snprintf(fname, sizeof fname, "%s.h", head->nv_name);
usr.sbin/config/mkheaders.c
95
nv = head;
usr.sbin/dhcpd/memory.c
706
struct lease *head = find_lease_by_uid(lease->uid, lease->uid_len);
usr.sbin/dhcpd/memory.c
710
if (!head)
usr.sbin/dhcpd/memory.c
715
for (scan = head; scan->n_uid; scan = scan->n_uid)
usr.sbin/dhcpd/memory.c
725
struct lease *head = find_lease_by_uid(lease->uid, lease->uid_len);
usr.sbin/dhcpd/memory.c
729
if (!head) {
usr.sbin/dhcpd/memory.c
737
if (head == lease) {
usr.sbin/dhcpd/memory.c
747
for (scan = head; scan->n_uid; scan = scan->n_uid) {
usr.sbin/dhcpd/memory.c
761
struct lease *head = find_lease_by_hw_addr(lease->hardware_addr.haddr,
usr.sbin/dhcpd/memory.c
766
if (!head)
usr.sbin/dhcpd/memory.c
771
for (scan = head; scan->n_hw; scan = scan->n_hw)
usr.sbin/dhcpd/memory.c
781
struct lease *head = find_lease_by_hw_addr(lease->hardware_addr.haddr,
usr.sbin/dhcpd/memory.c
786
if (!head) {
usr.sbin/dhcpd/memory.c
794
if (head == lease) {
usr.sbin/dhcpd/memory.c
808
for (scan = head; scan->n_hw; scan = scan->n_hw) {
usr.sbin/dvmrpd/neighbor.c
189
struct nbr_head *head;
usr.sbin/dvmrpd/neighbor.c
202
head = NBR_HASH(nbr->peerid);
usr.sbin/dvmrpd/neighbor.c
203
LIST_INSERT_HEAD(head, nbr, hash);
usr.sbin/dvmrpd/neighbor.c
237
struct nbr_head *head;
usr.sbin/dvmrpd/neighbor.c
240
head = NBR_HASH(peerid);
usr.sbin/dvmrpd/neighbor.c
242
LIST_FOREACH(nbr, head, hash) {
usr.sbin/fdformat/fdformat.c
61
format_track(int fd, int cyl, int secs, int head, int rate, int gaplen,
usr.sbin/fdformat/fdformat.c
77
f.head = head;
usr.sbin/fdformat/fdformat.c
87
f.fd_formb_headno(i) = head;
usr.sbin/ldapd/btree.c
1021
if (size == bt->head.psize) { /* there is only the header */
usr.sbin/ldapd/btree.c
1027
next_pgno = size / bt->head.psize;
usr.sbin/ldapd/btree.c
1036
if (size % bt->head.psize != 0) {
usr.sbin/ldapd/btree.c
1120
bt->head.version, bt->head.psize);
usr.sbin/ldapd/btree.c
1297
if ((mp->page = malloc(bt->head.psize)) == NULL) {
usr.sbin/ldapd/btree.c
1505
max = bt->head.psize - PAGEHDRSZ;
usr.sbin/ldapd/btree.c
1849
bt->txn->next_pgno, bt->head.psize);
usr.sbin/ldapd/btree.c
1852
if ((mp->page = malloc(bt->head.psize)) == NULL) {
usr.sbin/ldapd/btree.c
1859
mp->page->upper = bt->head.psize;
usr.sbin/ldapd/btree.c
1880
if (data->size >= bt->head.psize / BT_MINKEYS) {
usr.sbin/ldapd/btree.c
1894
if (sz >= bt->head.psize / BT_MINKEYS) {
usr.sbin/ldapd/btree.c
1912
max = bt->head.psize - PAGEHDRSZ;
usr.sbin/ldapd/btree.c
1967
} else if (data->size >= bt->head.psize / BT_MINKEYS) {
usr.sbin/ldapd/btree.c
207
struct bt_head head;
usr.sbin/ldapd/btree.c
2748
if ((copy = malloc(bt->head.psize)) == NULL)
usr.sbin/ldapd/btree.c
2750
bcopy(mp->page, copy, bt->head.psize);
usr.sbin/ldapd/btree.c
2752
memset(&mp->page->ptrs, 0, bt->head.psize - PAGEHDRSZ);
usr.sbin/ldapd/btree.c
2754
mp->page->upper = bt->head.psize;
usr.sbin/ldapd/btree.c
3007
if ((p = malloc(bt->head.psize)) == NULL)
usr.sbin/ldapd/btree.c
3009
bcopy(mp->page, p, bt->head.psize);
usr.sbin/ldapd/btree.c
3049
rc = write(btc->fd, p, bt->head.psize);
usr.sbin/ldapd/btree.c
3051
if (rc != (ssize_t)bt->head.psize)
usr.sbin/ldapd/btree.c
3143
return ftruncate(bt->fd, bt->head.psize * bt->meta.root);
usr.sbin/ldapd/btree.c
3176
bt->stat.psize = bt->head.psize;
usr.sbin/ldapd/btree.c
527
if ((copy->page = malloc(bt->head.psize)) == NULL) {
usr.sbin/ldapd/btree.c
531
bcopy(mp->page, copy->page, bt->head.psize);
usr.sbin/ldapd/btree.c
611
if ((rc = pread(bt->fd, page, bt->head.psize, (off_t)pgno*bt->head.psize)) == 0) {
usr.sbin/ldapd/btree.c
615
} else if (rc != (ssize_t)bt->head.psize) {
usr.sbin/ldapd/btree.c
769
size += bt->head.psize - (size % bt->head.psize);
usr.sbin/ldapd/btree.c
789
iov[n].iov_len = bt->head.psize;
usr.sbin/ldapd/btree.c
802
if (rc != (ssize_t)bt->head.psize*n) {
usr.sbin/ldapd/btree.c
864
bcopy(h, &bt->head, sizeof(*h));
usr.sbin/ldapd/btree.c
866
rc = write(fd, p, bt->head.psize);
usr.sbin/ldapd/btree.c
868
if (rc != (ssize_t)bt->head.psize) {
usr.sbin/ldapd/btree.c
917
bt->head.version, BT_VERSION);
usr.sbin/ldapd/btree.c
92
#define PAGEFILL(bt, mp) (1000 * ((bt)->head.psize - PAGEHDRSZ - SIZELEFT(mp)) / \
usr.sbin/ldapd/btree.c
922
bcopy(h, &bt->head, sizeof(*h));
usr.sbin/ldapd/btree.c
93
((bt)->head.psize - PAGEHDRSZ))
usr.sbin/ldapd/btree.c
952
rc = write(bt->fd, mp->page, bt->head.psize);
usr.sbin/ldapd/btree.c
955
if (rc != (ssize_t)bt->head.psize) {
usr.sbin/makefs/cd9660.c
1193
struct cd9660_children_head *head = &root->cn_children;
usr.sbin/makefs/cd9660.c
1196
TAILQ_FOREACH(cn, head, cn_next_child) {
usr.sbin/makefs/cd9660.c
838
struct cd9660_children_head *head = &parent->cn_children;
usr.sbin/makefs/cd9660.c
849
TAILQ_FOREACH(cn, head, cn_next_child) {
usr.sbin/makefs/cd9660.c
868
TAILQ_INSERT_TAIL(head, cn_new, cn_next_child);
usr.sbin/makefs/cd9660.h
186
TAILQ_HEAD(susp_linked_list, ISO_SUSP_ATTRIBUTES) head;
usr.sbin/makefs/cd9660/cd9660_debug.c
60
TAILQ_FOREACH(t, &node->head, rr_ll) {
usr.sbin/makefs/cd9660/cd9660_debug.c
71
TAILQ_FOREACH(t, &n->head, rr_ll) {
usr.sbin/makefs/cd9660/cd9660_eltorito.c
343
*valid_entry, *default_entry, *temp, *head, **headp, *next;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
430
head =
usr.sbin/makefs/cd9660/cd9660_eltorito.c
432
if (head == NULL) {
usr.sbin/makefs/cd9660/cd9660_eltorito.c
437
LIST_INSERT_AFTER(default_entry, head, ll_struct);
usr.sbin/makefs/cd9660/cd9660_eltorito.c
438
*headp = head;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
440
head = *headp;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
442
head->entry_data.SH.num_section_entries[0]++;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
451
while ((next = LIST_NEXT(head, ll_struct)) != NULL &&
usr.sbin/makefs/cd9660/cd9660_eltorito.c
453
head = next;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
455
LIST_INSERT_AFTER(head, temp, ll_struct);
usr.sbin/makefs/cd9660/cd9660_write.c
442
TAILQ_FOREACH(myattr, &writenode->head, rr_ll) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
144
TAILQ_FOREACH(t, &node->head, rr_ll) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
171
TAILQ_FOREACH(t, &node->head, rr_ll) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
215
TAILQ_FOREACH(temp, &node->head, rr_ll) {
usr.sbin/makefs/cd9660/iso9660_rrip.c
244
TAILQ_INSERT_AFTER(&node->head, pre_ce, CE, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
246
TAILQ_INSERT_HEAD(&node->head, CE, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
262
TAILQ_INSERT_AFTER(&node->head, last, ST, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
264
TAILQ_INSERT_HEAD(&node->head, ST, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
315
TAILQ_INSERT_HEAD(&node->head, temp, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
338
TAILQ_INSERT_TAIL(&node->head, attr, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
344
TAILQ_INSERT_TAIL(&node->head, attr, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
362
TAILQ_INSERT_TAIL(&node->head, attr, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
390
TAILQ_INSERT_TAIL(&node->head, current, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
399
TAILQ_INSERT_TAIL(&node->head, current, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
406
TAILQ_INSERT_TAIL(&node->head, current, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
438
TAILQ_INSERT_TAIL(&node->head, current, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
446
TAILQ_INSERT_TAIL(&node->head, current, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
580
TAILQ_INSERT_TAIL(&node->head, current, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
619
TAILQ_INSERT_TAIL(&node->head, current, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
62
TAILQ_INIT(&(node->head));
usr.sbin/makefs/cd9660/iso9660_rrip.c
64
TAILQ_INIT(&(node->dot_record->head));
usr.sbin/makefs/cd9660/iso9660_rrip.c
66
TAILQ_INIT(&(node->dot_dot_record->head));
usr.sbin/makefs/cd9660/iso9660_rrip.c
776
TAILQ_INSERT_TAIL(&node->head, r, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
828
TAILQ_INSERT_TAIL(&node->head, r, rr_ll);
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
195
struct nentry *tail, *head, *e;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
209
tail = head = NULL;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
218
if (head == NULL)
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
221
key.data = (u_char *) head->n_name;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
222
key.size = strlen(head->n_name) + 1;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
223
data.data = (u_char *) & head;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
224
data.size = sizeof(head);
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
232
head->n_name);
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
252
head = tail = e;
usr.sbin/npppd/common/radish.c
108
head->rdh_slen = slen;
usr.sbin/npppd/common/radish.c
109
head->rdh_offset = off;
usr.sbin/npppd/common/radish.c
110
head->rdh_alen = alen;
usr.sbin/npppd/common/radish.c
111
head->rdh_masks = masks;
usr.sbin/npppd/common/radish.c
112
head->rdh_match = match;
usr.sbin/npppd/common/radish.c
113
head->rdh_top = new;
usr.sbin/npppd/common/radish.c
124
rd_mask(struct sockaddr *m_arg, struct radish_head *head, int *maskp)
usr.sbin/npppd/common/radish.c
126
u_char *mp, *masks = (u_char *)head->rdh_masks;
usr.sbin/npppd/common/radish.c
127
int off = head->rdh_offset;
usr.sbin/npppd/common/radish.c
128
int slen = head->rdh_slen;
usr.sbin/npppd/common/radish.c
129
int alen = head->rdh_alen;
usr.sbin/npppd/common/radish.c
159
struct radish_head *head, void *rt)
usr.sbin/npppd/common/radish.c
161
struct radish *cur = head->rdh_top, *parent, *new;
usr.sbin/npppd/common/radish.c
162
int off = head->rdh_offset;
usr.sbin/npppd/common/radish.c
163
int slen = head->rdh_slen;
usr.sbin/npppd/common/radish.c
164
int alen = head->rdh_alen;
usr.sbin/npppd/common/radish.c
169
mask = rd_mask(m_arg, head, &masklen);
usr.sbin/npppd/common/radish.c
214
return rd_glue(cur, new, i, head);
usr.sbin/npppd/common/radish.c
244
return rd_glue(cur, new, i, head);
usr.sbin/npppd/common/radish.c
252
return rd_glue(cur, new, lim, head);
usr.sbin/npppd/common/radish.c
293
return rd_glue(cur, new, i, head);
usr.sbin/npppd/common/radish.c
301
return rd_glue(cur, new, lim, head);
usr.sbin/npppd/common/radish.c
335
struct radish_head *head)
usr.sbin/npppd/common/radish.c
341
int off = head->rdh_offset, slen = head->rdh_slen;
usr.sbin/npppd/common/radish.c
370
((u_char *)head->rdh_masks + slen * glue->rd_masklen);
usr.sbin/npppd/common/radish.c
413
rd_match(struct sockaddr *d_arg, struct radish_head *head, struct radish **rdp)
usr.sbin/npppd/common/radish.c
415
return rd_match_next(d_arg, head, rdp, NULL);
usr.sbin/npppd/common/radish.c
419
rd_match_next(struct sockaddr *d_arg, struct radish_head *head,
usr.sbin/npppd/common/radish.c
423
int off = head->rdh_offset, i, lim;
usr.sbin/npppd/common/radish.c
427
cur = head->rdh_top;
usr.sbin/npppd/common/radish.c
481
struct radish_head *head)
usr.sbin/npppd/common/radish.c
483
struct radish *cur = head->rdh_top;
usr.sbin/npppd/common/radish.c
484
int off = head->rdh_offset, i, lim, olim = 0, masklen;
usr.sbin/npppd/common/radish.c
487
rd_mask(m_arg, head, &masklen);
usr.sbin/npppd/common/radish.c
525
struct radish_head *head, void **item)
usr.sbin/npppd/common/radish.c
527
struct radish *cur = head->rdh_top;
usr.sbin/npppd/common/radish.c
528
int off = head->rdh_offset, i, lim, masklen;
usr.sbin/npppd/common/radish.c
531
rd_mask(m_arg, head, &masklen);
usr.sbin/npppd/common/radish.c
557
lim = head->rdh_alen;
usr.sbin/npppd/common/radish.c
589
rd_unlink(cur, head->rdh_top);
usr.sbin/npppd/common/radish.c
78
struct radish_head *head;
usr.sbin/npppd/common/radish.c
83
int len = sizeof(*head) + sizeof(*new) + slen * num;
usr.sbin/npppd/common/radish.c
86
R_Malloc(head, struct radish_head *, len);
usr.sbin/npppd/common/radish.c
87
if (head == NULL)
usr.sbin/npppd/common/radish.c
89
Bzero(head, len);
usr.sbin/npppd/common/radish.c
90
new = (struct radish *)(head + 1);
usr.sbin/npppd/common/radish.c
92
*headp = head;
usr.sbin/npppd/npppd/npppd.c
817
npppd_get_ipcp_stat(struct ipcpstat_head *head , const char *ipcp_name)
usr.sbin/npppd/npppd/npppd.c
821
LIST_FOREACH(ipcpstat, head, entry) {
usr.sbin/npppd/npppd/npppd.c
831
npppd_destroy_ipcp_stats(struct ipcpstat_head *head)
usr.sbin/npppd/npppd/npppd.c
836
LIST_FOREACH_SAFE(ipcpstat, head, entry, tipcpstat) {
usr.sbin/nsd/simdzone/include/zone.h
368
struct { const char **head, **tail, *tape[ZONE_TAPE_SIZE + 2]; } fields;
usr.sbin/nsd/simdzone/include/zone.h
369
struct { const char **head, **tail, *tape[ZONE_TAPE_SIZE + 1]; } delimiters;
usr.sbin/nsd/simdzone/include/zone.h
370
struct { uint16_t *head, *tail, tape[ZONE_TAPE_SIZE + 1]; } newlines;
usr.sbin/nsd/simdzone/src/generic/parser.h
278
if (*parser->file->fields.head[0] != '\0')
usr.sbin/nsd/simdzone/src/generic/parser.h
279
data = (char *)parser->file->fields.head[0];
usr.sbin/nsd/simdzone/src/generic/parser.h
281
*parser->file->fields.head = parser->file->buffer.data;
usr.sbin/nsd/simdzone/src/generic/parser.h
305
parser->file->fields.head[0] = data;
usr.sbin/nsd/simdzone/src/generic/parser.h
338
parser->file->newlines.head = parser->file->newlines.tape;
usr.sbin/nsd/simdzone/src/generic/parser.h
342
parser->file->fields.head = parser->file->fields.tape;
usr.sbin/nsd/simdzone/src/generic/parser.h
346
parser->file->delimiters.head = parser->file->delimiters.tape;
usr.sbin/nsd/simdzone/src/generic/parser.h
375
if (*parser->file->fields.head != parser->file->buffer.data)
usr.sbin/nsd/simdzone/src/generic/parser.h
442
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
443
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
445
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
446
token->length = (uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
447
(uintptr_t)*parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
448
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
449
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
453
parser->file->span += *parser->file->newlines.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
455
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
462
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
464
token->length = ((uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
465
(uintptr_t)*parser->file->fields.head) - 1;
usr.sbin/nsd/simdzone/src/generic/parser.h
466
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
467
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
484
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
490
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
499
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
500
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
502
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
503
token->length = (uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
504
(uintptr_t)*parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
505
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
506
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
510
parser->file->span += *parser->file->newlines.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
512
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
519
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
521
token->length = ((uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
522
(uintptr_t)*parser->file->fields.head) - 1;
usr.sbin/nsd/simdzone/src/generic/parser.h
523
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
524
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
598
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
599
token->length = (uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
600
(uintptr_t)*parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
601
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
602
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
615
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
620
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
623
parser->file->span += *parser->file->newlines.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
627
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
629
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
630
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
642
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
643
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
646
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
647
token->length = (uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
648
(uintptr_t)*parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
649
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
650
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
698
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
700
token->length = ((uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
701
(uintptr_t)*parser->file->fields.head) - 1;
usr.sbin/nsd/simdzone/src/generic/parser.h
702
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
703
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
716
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
721
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
724
parser->file->span += *parser->file->newlines.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
728
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
733
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
734
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
746
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
747
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
750
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
752
token->length = ((uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
753
(uintptr_t)*parser->file->fields.head) - 1;
usr.sbin/nsd/simdzone/src/generic/parser.h
754
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
755
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
798
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
799
token->length = (uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
800
(uintptr_t)*parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
801
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
802
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
805
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
807
token->length = ((uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
808
(uintptr_t)*parser->file->fields.head) - 1;
usr.sbin/nsd/simdzone/src/generic/parser.h
809
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
810
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
821
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
826
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
829
parser->file->span += *parser->file->newlines.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
833
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
835
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
836
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
848
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
849
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
851
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
852
token->length = (uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
853
(uintptr_t)*parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
854
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
855
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
870
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
871
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
873
assert(*parser->file->delimiters.head > *parser->file->fields.head);
usr.sbin/nsd/simdzone/src/generic/parser.h
875
token->length = ((uintptr_t)*parser->file->delimiters.head -
usr.sbin/nsd/simdzone/src/generic/parser.h
876
(uintptr_t)*parser->file->fields.head) - 1;
usr.sbin/nsd/simdzone/src/generic/parser.h
877
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
878
parser->file->delimiters.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
922
parser->file->span += *parser->file->newlines.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
925
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
930
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
948
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
953
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/generic/parser.h
958
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
959
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
968
token->data = *parser->file->fields.head;
usr.sbin/nsd/simdzone/src/generic/parser.h
969
token->code = (int32_t)classify[ (uint8_t)**parser->file->fields.head ];
usr.sbin/nsd/simdzone/src/generic/parser.h
975
parser->file->start_of_line = classify[ (uint8_t)*(*parser->file->fields.head+1) ] != BLANK;
usr.sbin/nsd/simdzone/src/generic/parser.h
976
parser->file->fields.head++;
usr.sbin/nsd/simdzone/src/zone.c
185
const size_t size = offsetof(file_t, fields.head);
usr.sbin/nsd/simdzone/src/zone.c
223
file->fields.head = file->fields.tail = file->fields.tape;
usr.sbin/nsd/simdzone/src/zone.c
225
file->delimiters.head = file->delimiters.tail = file->delimiters.tape;
usr.sbin/nsd/simdzone/src/zone.c
227
file->newlines.head = file->newlines.tail = file->newlines.tape;
usr.sbin/ocspcheck/http.c
379
free(x->head);
usr.sbin/ocspcheck/http.c
48
struct httphead *head; /* parsed headers */
usr.sbin/ocspcheck/http.c
503
if (trans->head != NULL) {
usr.sbin/ocspcheck/http.c
505
return trans->head;
usr.sbin/ocspcheck/http.c
565
trans->head = h;
usr.sbin/ocspcheck/http.c
680
struct httphead *head;
usr.sbin/ocspcheck/http.c
704
if ((head = http_head_parse(h, x, &headsz)) == NULL) {
usr.sbin/ocspcheck/http.c
708
} else if ((code = http_head_status(h, head, headsz)) < 0) {
usr.sbin/ocspcheck/http.c
725
g->head = head;
usr.sbin/ocspcheck/http.h
56
struct httphead *head; /* headers */
usr.sbin/ocspcheck/ocspcheck.c
685
dspew(" [%s]=[%s]\n", hget->head[i].key, hget->head[i].val);
usr.sbin/ospf6d/lsupdate.c
579
struct lsa_cache_head *head;
usr.sbin/ospf6d/lsupdate.c
602
head = &lsacache.hashtbl[lsa_hash_hdr(&ref->hdr) & lsacache.hashmask];
usr.sbin/ospf6d/lsupdate.c
603
LIST_INSERT_HEAD(head, ref, entry);
usr.sbin/ospf6d/lsupdate.c
637
struct lsa_cache_head *head;
usr.sbin/ospf6d/lsupdate.c
640
head = &lsacache.hashtbl[lsa_hash_hdr(lsa_hdr) & lsacache.hashmask];
usr.sbin/ospf6d/lsupdate.c
642
LIST_FOREACH(ref, head, entry) {
usr.sbin/ospf6d/name2id.c
109
if (!TAILQ_EMPTY(head))
usr.sbin/ospf6d/name2id.c
110
for (p = TAILQ_FIRST(head); p != NULL &&
usr.sbin/ospf6d/name2id.c
131
TAILQ_INSERT_TAIL(head, label, entry);
usr.sbin/ospf6d/name2id.c
137
_id2name(struct n2id_labels *head, u_int16_t id)
usr.sbin/ospf6d/name2id.c
144
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospf6d/name2id.c
152
_id2tag(struct n2id_labels *head, u_int16_t id)
usr.sbin/ospf6d/name2id.c
159
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospf6d/name2id.c
167
_tag2id(struct n2id_labels *head, u_int32_t tag)
usr.sbin/ospf6d/name2id.c
174
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospf6d/name2id.c
182
_tag(struct n2id_labels *head, u_int16_t id, u_int32_t tag)
usr.sbin/ospf6d/name2id.c
189
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospf6d/name2id.c
195
_unref(struct n2id_labels *head, u_int16_t id)
usr.sbin/ospf6d/name2id.c
202
for (p = TAILQ_FIRST(head); p != NULL; p = next) {
usr.sbin/ospf6d/name2id.c
206
TAILQ_REMOVE(head, p, entry);
usr.sbin/ospf6d/name2id.c
216
_ref(struct n2id_labels *head, u_int16_t id)
usr.sbin/ospf6d/name2id.c
223
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospf6d/name2id.c
87
_name2id(struct n2id_labels *head, const char *name)
usr.sbin/ospf6d/name2id.c
97
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospf6d/neighbor.c
241
struct nbr_head *head;
usr.sbin/ospf6d/neighbor.c
263
head = NBR_HASH(nbr->peerid);
usr.sbin/ospf6d/neighbor.c
264
LIST_INSERT_HEAD(head, nbr, hash);
usr.sbin/ospf6d/neighbor.c
275
struct nbr_head *head;
usr.sbin/ospf6d/neighbor.c
291
head = NBR_HASH(nbr->peerid);
usr.sbin/ospf6d/neighbor.c
292
LIST_INSERT_HEAD(head, nbr, hash);
usr.sbin/ospf6d/neighbor.c
363
struct nbr_head *head;
usr.sbin/ospf6d/neighbor.c
366
head = NBR_HASH(peerid);
usr.sbin/ospf6d/neighbor.c
368
LIST_FOREACH(nbr, head, hash) {
usr.sbin/ospf6d/rde.c
1000
LIST_INSERT_HEAD(head, nbrself, hash);
usr.sbin/ospf6d/rde.c
1013
struct rde_nbr_head *head;
usr.sbin/ospf6d/rde.c
1016
head = RDE_NBR_HASH(peerid);
usr.sbin/ospf6d/rde.c
1018
LIST_FOREACH(nbr, head, hash) {
usr.sbin/ospf6d/rde.c
1029
struct rde_nbr_head *head;
usr.sbin/ospf6d/rde.c
1052
head = RDE_NBR_HASH(peerid);
usr.sbin/ospf6d/rde.c
1053
LIST_INSERT_HEAD(head, nbr, hash);
usr.sbin/ospf6d/rde.c
978
struct rde_nbr_head *head;
usr.sbin/ospf6d/rde.c
999
head = RDE_NBR_HASH(NBR_IDSELF);
usr.sbin/ospfctl/ospfctl.c
222
output->head(res);
usr.sbin/ospfctl/ospfctl.h
22
void (*head)(struct parse_result *);
usr.sbin/ospfctl/output.c
657
.head = show_head,
usr.sbin/ospfd/auth.c
213
md_list_add(struct auth_md_head *head, u_int8_t keyid, char *key)
usr.sbin/ospfd/auth.c
217
if ((md = md_list_find(head, keyid)) != NULL) {
usr.sbin/ospfd/auth.c
228
TAILQ_INSERT_TAIL(head, md, entry);
usr.sbin/ospfd/auth.c
249
md_list_clr(struct auth_md_head *head)
usr.sbin/ospfd/auth.c
253
while ((m = TAILQ_FIRST(head)) != NULL) {
usr.sbin/ospfd/auth.c
254
TAILQ_REMOVE(head, m, entry);
usr.sbin/ospfd/auth.c
260
md_list_find(struct auth_md_head *head, u_int8_t keyid)
usr.sbin/ospfd/auth.c
264
TAILQ_FOREACH(m, head, entry)
usr.sbin/ospfd/auth.c
272
md_list_send(struct auth_md_head *head, struct imsgev *to)
usr.sbin/ospfd/auth.c
276
TAILQ_FOREACH(m, head, entry)
usr.sbin/ospfd/lsupdate.c
568
struct lsa_cache_head *head;
usr.sbin/ospfd/lsupdate.c
591
head = &lsacache.hashtbl[lsa_hash_hdr(&ref->hdr) & lsacache.hashmask];
usr.sbin/ospfd/lsupdate.c
592
LIST_INSERT_HEAD(head, ref, entry);
usr.sbin/ospfd/lsupdate.c
626
struct lsa_cache_head *head;
usr.sbin/ospfd/lsupdate.c
629
head = &lsacache.hashtbl[lsa_hash_hdr(lsa_hdr) & lsacache.hashmask];
usr.sbin/ospfd/lsupdate.c
631
LIST_FOREACH(ref, head, entry) {
usr.sbin/ospfd/name2id.c
109
if (!TAILQ_EMPTY(head))
usr.sbin/ospfd/name2id.c
110
for (p = TAILQ_FIRST(head); p != NULL &&
usr.sbin/ospfd/name2id.c
131
TAILQ_INSERT_TAIL(head, label, entry);
usr.sbin/ospfd/name2id.c
137
_id2name(struct n2id_labels *head, u_int16_t id)
usr.sbin/ospfd/name2id.c
144
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospfd/name2id.c
152
_id2tag(struct n2id_labels *head, u_int16_t id)
usr.sbin/ospfd/name2id.c
159
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospfd/name2id.c
167
_tag2id(struct n2id_labels *head, u_int32_t tag)
usr.sbin/ospfd/name2id.c
174
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospfd/name2id.c
182
_tag(struct n2id_labels *head, u_int16_t id, u_int32_t tag)
usr.sbin/ospfd/name2id.c
189
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospfd/name2id.c
195
_unref(struct n2id_labels *head, u_int16_t id)
usr.sbin/ospfd/name2id.c
202
for (p = TAILQ_FIRST(head); p != NULL; p = next) {
usr.sbin/ospfd/name2id.c
206
TAILQ_REMOVE(head, p, entry);
usr.sbin/ospfd/name2id.c
216
_ref(struct n2id_labels *head, u_int16_t id)
usr.sbin/ospfd/name2id.c
223
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospfd/name2id.c
87
_name2id(struct n2id_labels *head, const char *name)
usr.sbin/ospfd/name2id.c
97
TAILQ_FOREACH(label, head, entry)
usr.sbin/ospfd/neighbor.c
240
struct nbr_head *head;
usr.sbin/ospfd/neighbor.c
262
head = NBR_HASH(nbr->peerid);
usr.sbin/ospfd/neighbor.c
263
LIST_INSERT_HEAD(head, nbr, hash);
usr.sbin/ospfd/neighbor.c
273
struct nbr_head *head;
usr.sbin/ospfd/neighbor.c
289
head = NBR_HASH(nbr->peerid);
usr.sbin/ospfd/neighbor.c
290
LIST_INSERT_HEAD(head, nbr, hash);
usr.sbin/ospfd/neighbor.c
359
struct nbr_head *head;
usr.sbin/ospfd/neighbor.c
362
head = NBR_HASH(peerid);
usr.sbin/ospfd/neighbor.c
364
LIST_FOREACH(nbr, head, hash) {
usr.sbin/ospfd/rde.c
1000
LIST_INSERT_HEAD(head, nbr, hash);
usr.sbin/ospfd/rde.c
1009
struct rde_nbr_head *head;
usr.sbin/ospfd/rde.c
1014
head = &rdenbrtable.hashtbl[i];
usr.sbin/ospfd/rde.c
1015
LIST_FOREACH_SAFE(nbr, head, hash, xnbr) {
usr.sbin/ospfd/rde.c
921
struct rde_nbr_head *head;
usr.sbin/ospfd/rde.c
942
head = RDE_NBR_HASH(NBR_IDSELF);
usr.sbin/ospfd/rde.c
943
LIST_INSERT_HEAD(head, nbrself, hash);
usr.sbin/ospfd/rde.c
956
struct rde_nbr_head *head;
usr.sbin/ospfd/rde.c
959
head = RDE_NBR_HASH(peerid);
usr.sbin/ospfd/rde.c
961
LIST_FOREACH(nbr, head, hash) {
usr.sbin/ospfd/rde.c
972
struct rde_nbr_head *head;
usr.sbin/ospfd/rde.c
999
head = RDE_NBR_HASH(peerid);
usr.sbin/rad/frontend.c
1105
find_ra_prefix_conf(struct ra_prefix_conf_head* head, struct in6_addr *prefix,
usr.sbin/rad/frontend.c
1110
SIMPLEQ_FOREACH(ra_prefix_conf, head, entry) {
usr.sbin/rad/frontend.c
745
find_ra_iface_conf(struct ra_iface_conf_head *head, char *if_name)
usr.sbin/rad/frontend.c
749
SIMPLEQ_FOREACH(ra_iface_conf, head, entry) {
usr.sbin/relayd/check_tcp.c
347
char *head;
usr.sbin/relayd/check_tcp.c
359
head = ibuf_data(cte->buf);
usr.sbin/relayd/check_tcp.c
364
if (strncmp(head, "HTTP/1.1 ", strlen("HTTP/1.1 ")) &&
usr.sbin/relayd/check_tcp.c
365
strncmp(head, "HTTP/1.0 ", strlen("HTTP/1.0 "))) {
usr.sbin/relayd/check_tcp.c
371
head += strlen("HTTP/1.1 ");
usr.sbin/relayd/check_tcp.c
372
if (strlen(head) < 5) /* code + \r\n */ {
usr.sbin/relayd/check_tcp.c
376
(void)strlcpy(scode, head, sizeof(scode));
usr.sbin/relayd/check_tcp.c
400
char *head;
usr.sbin/relayd/check_tcp.c
410
head = ibuf_data(cte->buf);
usr.sbin/relayd/check_tcp.c
414
if ((head = strstr(head, "\r\n\r\n")) == NULL) {
usr.sbin/relayd/check_tcp.c
420
head += strlen("\r\n\r\n");
usr.sbin/relayd/check_tcp.c
422
digeststr(cte->table->conf.digest_type, head, strlen(head), digest);
usr.sbin/relayd/name2id.c
106
TAILQ_FOREACH(label, head, entry)
usr.sbin/relayd/name2id.c
118
if (!TAILQ_EMPTY(head))
usr.sbin/relayd/name2id.c
119
for (p = TAILQ_FIRST(head); p != NULL &&
usr.sbin/relayd/name2id.c
140
TAILQ_INSERT_TAIL(head, label, entry);
usr.sbin/relayd/name2id.c
146
_id2name(struct n2id_labels *head, u_int16_t id)
usr.sbin/relayd/name2id.c
153
TAILQ_FOREACH(label, head, entry)
usr.sbin/relayd/name2id.c
161
_unref(struct n2id_labels *head, u_int16_t id)
usr.sbin/relayd/name2id.c
168
for (p = TAILQ_FIRST(head); p != NULL; p = next) {
usr.sbin/relayd/name2id.c
172
TAILQ_REMOVE(head, p, entry);
usr.sbin/relayd/name2id.c
182
_ref(struct n2id_labels *head, u_int16_t id)
usr.sbin/relayd/name2id.c
189
TAILQ_FOREACH(label, head, entry)
usr.sbin/relayd/name2id.c
96
_name2id(struct n2id_labels *head, const char *name)
usr.sbin/relayd/relay_http.c
1944
while (head[i] != cur) { \
usr.sbin/relayd/relay_http.c
1945
head[i]->rule_skip[i] = cur; \
usr.sbin/relayd/relay_http.c
1946
head[i] = TAILQ_NEXT(head[i], rule_entry); \
usr.sbin/relayd/relay_http.c
1954
struct relay_rule *head[RULE_SKIP_COUNT], *cur, *prev;
usr.sbin/relayd/relay_http.c
1960
head[i] = cur;
usr.sbin/relayd/relayd.c
532
purge_table(struct relayd *env, struct tablelist *head, struct table *table)
usr.sbin/relayd/relayd.c
551
if (head != NULL)
usr.sbin/relayd/relayd.c
552
TAILQ_REMOVE(head, table, entry);
usr.sbin/ripd/auth.c
272
md_list_add(struct auth_md_head *head, u_int8_t keyid, char *key)
usr.sbin/ripd/auth.c
279
if ((md = md_list_find(head, keyid)) != NULL) {
usr.sbin/ripd/auth.c
292
TAILQ_INSERT_TAIL(head, md, entry);
usr.sbin/ripd/auth.c
316
md_list_clr(struct auth_md_head *head)
usr.sbin/ripd/auth.c
320
while ((m = TAILQ_FIRST(head)) != NULL) {
usr.sbin/ripd/auth.c
321
TAILQ_REMOVE(head, m, entry);
usr.sbin/ripd/auth.c
327
md_list_find(struct auth_md_head *head, u_int8_t keyid)
usr.sbin/ripd/auth.c
331
TAILQ_FOREACH(m, head, entry)
usr.sbin/ripd/name2id.c
119
TAILQ_INSERT_TAIL(head, label, entry);
usr.sbin/ripd/name2id.c
125
_id2name(struct n2id_labels *head, u_int16_t id)
usr.sbin/ripd/name2id.c
132
TAILQ_FOREACH(label, head, entry)
usr.sbin/ripd/name2id.c
140
_unref(struct n2id_labels *head, u_int16_t id)
usr.sbin/ripd/name2id.c
147
for (p = TAILQ_FIRST(head); p != NULL; p = next) {
usr.sbin/ripd/name2id.c
151
TAILQ_REMOVE(head, p, entry);
usr.sbin/ripd/name2id.c
161
_ref(struct n2id_labels *head, u_int16_t id)
usr.sbin/ripd/name2id.c
168
TAILQ_FOREACH(label, head, entry)
usr.sbin/ripd/name2id.c
75
_name2id(struct n2id_labels *head, const char *name)
usr.sbin/ripd/name2id.c
85
TAILQ_FOREACH(label, head, entry)
usr.sbin/ripd/name2id.c
97
if (!TAILQ_EMPTY(head))
usr.sbin/ripd/name2id.c
98
for (p = TAILQ_FIRST(head); p != NULL &&
usr.sbin/ripd/neighbor.c
173
struct nbr_head *head;
usr.sbin/ripd/neighbor.c
186
head = NBR_HASH(nbr->peerid);
usr.sbin/ripd/neighbor.c
187
LIST_INSERT_HEAD(head, nbr, hash);
usr.sbin/ripd/neighbor.c
243
struct nbr_head *head;
usr.sbin/ripd/neighbor.c
246
head = NBR_HASH(peerid);
usr.sbin/ripd/neighbor.c
248
LIST_FOREACH(nbr, head, hash) {
usr.sbin/tcpdump/print-tcp.c
410
struct pf_osfp_enlist *head = NULL;
usr.sbin/tcpdump/print-tcp.c
416
head = pf_osfp_fingerprint_hdr(ip, ip6, tp);
usr.sbin/tcpdump/print-tcp.c
417
if (head) {
usr.sbin/tcpdump/print-tcp.c
420
SLIST_FOREACH(fp, head, fp_entry) {
usr.sbin/unbound/daemon/acl_list.c
313
check_data(const char* data, const struct config_strlist* head)
usr.sbin/unbound/daemon/acl_list.c
327
if(res == 0 && head) {
usr.sbin/unbound/daemon/acl_list.c
334
snprintf(buf, sizeof(buf), "%s %s", ".", head->str);
usr.sbin/unbound/daemon/acl_list.c
346
err_data = head->str;
usr.sbin/unbound/dnscrypt/dnscrypt.c
579
struct config_strlist *head, *head2;
usr.sbin/unbound/dnscrypt/dnscrypt.c
586
for (head = cfg->dnscrypt_provider_cert; head; head = head->next) {
usr.sbin/unbound/dnscrypt/dnscrypt.c
589
for (head = cfg->dnscrypt_provider_cert_rotated; head; head = head->next) {
usr.sbin/unbound/dnscrypt/dnscrypt.c
599
for(head = cfg->dnscrypt_provider_cert; head; head = head->next, signed_cert_id++) {
usr.sbin/unbound/dnscrypt/dnscrypt.c
600
nm = dnsc_chroot_path(cfg, head->str);
usr.sbin/unbound/dnscrypt/dnscrypt.c
605
fatal_exit("dnsc_parse_certs: failed to load %s: %s", head->str, strerror(errno));
usr.sbin/unbound/dnscrypt/dnscrypt.c
608
if(strcmp(head->str, head2->str) == 0) {
usr.sbin/unbound/dnscrypt/dnscrypt.c
611
verbose(VERB_OPS, "Cert %s is rotated and will not be distributed via DNS", head->str);
usr.sbin/unbound/dnscrypt/dnscrypt.c
615
verbose(VERB_OPS, "Loaded cert %s", head->str);
usr.sbin/unbound/dnscrypt/dnscrypt.c
793
struct config_strlist *head;
usr.sbin/unbound/dnscrypt/dnscrypt.c
799
for (head = cfg->dnscrypt_secret_key; head; head = head->next) {
usr.sbin/unbound/dnscrypt/dnscrypt.c
810
for(head = cfg->dnscrypt_secret_key; head; head = head->next, keypair_id++) {
usr.sbin/unbound/dnscrypt/dnscrypt.c
814
nm = dnsc_chroot_path(cfg, head->str);
usr.sbin/unbound/dnscrypt/dnscrypt.c
819
fatal_exit("dnsc_parse_keys: failed to load %s: %s", head->str, strerror(errno));
usr.sbin/unbound/dnscrypt/dnscrypt.c
821
verbose(VERB_OPS, "Loaded key %s", head->str);
usr.sbin/unbound/dnscrypt/dnscrypt.c
824
fatal_exit("dnsc_parse_keys: could not generate public key from %s", head->str);
usr.sbin/unbound/dnscrypt/dnscrypt.c
827
verbose(VERB_OPS, "Crypt public key fingerprint for %s: %s", head->str, fingerprint);
usr.sbin/unbound/dnscrypt/dnscrypt.c
846
head->str, fingerprint);
usr.sbin/unbound/dnscrypt/dnscrypt.c
860
head->str);
usr.sbin/unbound/smallapp/unbound-anchor.c
564
struct ip_list** head)
usr.sbin/unbound/smallapp/unbound-anchor.c
590
ip->next = *head;
usr.sbin/unbound/smallapp/unbound-anchor.c
591
*head = ip;
usr.sbin/unbound/util/config_file.c
2099
struct config_strlist** head, char* item)
usr.sbin/unbound/util/config_file.c
2102
if(!item || !head)
usr.sbin/unbound/util/config_file.c
2109
s->next = *head;
usr.sbin/unbound/util/config_file.c
2110
*head = s;
usr.sbin/unbound/util/config_file.c
2115
cfg_strlist_find(struct config_strlist* head, const char *item)
usr.sbin/unbound/util/config_file.c
2117
struct config_strlist *s = head;
usr.sbin/unbound/util/config_file.c
2118
if(!head){
usr.sbin/unbound/util/config_file.c
2131
cfg_strlist_insert(struct config_strlist** head, char* item)
usr.sbin/unbound/util/config_file.c
2134
if(!item || !head) {
usr.sbin/unbound/util/config_file.c
2144
s->next = *head;
usr.sbin/unbound/util/config_file.c
2145
*head = s;
usr.sbin/unbound/util/config_file.c
2150
cfg_strlist_append_ex(struct config_strlist** head, char* item)
usr.sbin/unbound/util/config_file.c
2153
if(!item || !head)
usr.sbin/unbound/util/config_file.c
2161
if (*head==NULL) {
usr.sbin/unbound/util/config_file.c
2162
*head = s;
usr.sbin/unbound/util/config_file.c
2164
struct config_strlist *last = *head;
usr.sbin/unbound/util/config_file.c
2175
cfg_str2list_insert(struct config_str2list** head, char* item, char* i2)
usr.sbin/unbound/util/config_file.c
2178
if(!item || !i2 || !head) {
usr.sbin/unbound/util/config_file.c
2191
s->next = *head;
usr.sbin/unbound/util/config_file.c
2192
*head = s;
usr.sbin/unbound/util/config_file.c
2197
cfg_str3list_insert(struct config_str3list** head, char* item, char* i2,
usr.sbin/unbound/util/config_file.c
2201
if(!item || !i2 || !i3 || !head)
usr.sbin/unbound/util/config_file.c
2209
s->next = *head;
usr.sbin/unbound/util/config_file.c
2210
*head = s;
usr.sbin/unbound/util/config_file.c
2215
cfg_strbytelist_insert(struct config_strbytelist** head, char* item,
usr.sbin/unbound/util/config_file.c
2219
if(!item || !i2 || !head)
usr.sbin/unbound/util/config_file.c
2227
s->next = *head;
usr.sbin/unbound/util/config_file.c
2228
*head = s;
usr.sbin/unbound/util/config_file.h
1095
int cfg_strlist_append_ex(struct config_strlist** head, char* item);
usr.sbin/unbound/util/config_file.h
1103
struct config_strlist* cfg_strlist_find(struct config_strlist* head,
usr.sbin/unbound/util/config_file.h
1113
int cfg_strlist_insert(struct config_strlist** head, char* item);
usr.sbin/unbound/util/config_file.h
1117
struct config_strlist** head, char* item);
usr.sbin/unbound/util/config_file.h
1127
int cfg_str2list_insert(struct config_str2list** head, char* item, char* i2);
usr.sbin/unbound/util/config_file.h
1137
int cfg_str3list_insert(struct config_str3list** head, char* item, char* i2,
usr.sbin/unbound/util/config_file.h
1148
int cfg_strbytelist_insert(struct config_strbytelist** head, char* item,
usr.sbin/unwindctl/unwindctl.c
325
const char head[] = "histograms: lifetime[ms], decaying[ms]";
usr.sbin/unwindctl/unwindctl.c
330
(int)(72/2 + (sizeof(head)-1)/2), head, 6, "");