Symbol: tail
common/dist/zlib/examples/gznorm.c
127
size_t tail; // number of trailer bytes read (0..8)
common/dist/zlib/examples/gznorm.c
382
tail = 0;
common/dist/zlib/examples/gznorm.c
393
tail++;
common/dist/zlib/examples/gznorm.c
394
if (tail == 4) {
common/dist/zlib/examples/gznorm.c
402
else if (tail == 8) {
dist/pf/sbin/pfctl/parse.y
100
struct node_port *tail;
dist/pf/sbin/pfctl/parse.y
107
struct node_uid *tail;
dist/pf/sbin/pfctl/parse.y
1134
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
1135
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
114
struct node_gid *tail;
dist/pf/sbin/pfctl/parse.y
122
struct node_icmp *tail;
dist/pf/sbin/pfctl/parse.y
156
struct node_state_opt *tail;
dist/pf/sbin/pfctl/parse.y
1637
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
1638
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
1657
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
170
struct node_queue *tail;
dist/pf/sbin/pfctl/parse.y
2042
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2068
$2->tail->next = filter_opts.uid;
dist/pf/sbin/pfctl/parse.y
2073
$2->tail->next = filter_opts.gid;
dist/pf/sbin/pfctl/parse.y
2307
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
2308
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
2336
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2352
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
2353
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
2390
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2418
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2424
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
2425
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
2477
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
2478
$1->tail = $3->tail;
dist/pf/sbin/pfctl/parse.y
2498
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2507
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2559
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2578
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2646
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2656
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
2657
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
2673
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2688
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2703
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2739
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
2740
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
2753
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2768
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2783
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2821
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
2822
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
2835
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2850
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2865
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2923
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
2924
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
2931
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
2932
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
2945
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2974
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
2986
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3016
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3133
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
3134
$1->tail = $3;
dist/pf/sbin/pfctl/parse.y
3146
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3154
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3163
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3172
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3182
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3200
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3209
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3218
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3227
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3253
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3316
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
3317
$1->tail = $3->tail;
dist/pf/sbin/pfctl/parse.y
3857
$$->tail = $$;
dist/pf/sbin/pfctl/parse.y
3874
$1->tail->next = $3;
dist/pf/sbin/pfctl/parse.y
3875
$1->tail = $3->tail;
dist/pf/sbin/pfctl/parse.y
4427
if (nqueues && nqueues->tail) {
dist/pf/sbin/pfctl/parse.y
4484
n->tail = n;
dist/pf/sbin/pfctl/parse.y
4488
queues->tail->next = n;
dist/pf/sbin/pfctl/parse.y
4489
queues->tail = n;
dist/pf/sbin/pfctl/parse.y
4602
n->tail = n;
dist/pf/sbin/pfctl/parse.y
4606
queues->tail->next = n;
dist/pf/sbin/pfctl/parse.y
4607
queues->tail = n;
dist/pf/sbin/pfctl/parse.y
4616
if (nqueues && nqueues->tail) {
dist/pf/sbin/pfctl/parse.y
5383
if (n == (*nh)->tail)
dist/pf/sbin/pfctl/parse.y
5384
(*nh)->tail = prev;
dist/pf/sbin/pfctl/parse.y
93
struct node_proto *tail;
dist/pf/sbin/pfctl/pfctl_parser.c
1208
n->tail = n;
dist/pf/sbin/pfctl/pfctl_parser.c
1212
h->tail->next = n;
dist/pf/sbin/pfctl/pfctl_parser.c
1213
h->tail = n;
dist/pf/sbin/pfctl/pfctl_parser.c
1296
h->tail->next = n;
dist/pf/sbin/pfctl/pfctl_parser.c
1297
h->tail = n->tail;
dist/pf/sbin/pfctl/pfctl_parser.c
1377
n->tail = n;
dist/pf/sbin/pfctl/pfctl_parser.c
1381
h->tail->next = n;
dist/pf/sbin/pfctl/pfctl_parser.c
1382
h->tail = n;
dist/pf/sbin/pfctl/pfctl_parser.c
1529
h->tail = h;
dist/pf/sbin/pfctl/pfctl_parser.c
1558
h->tail = h;
dist/pf/sbin/pfctl/pfctl_parser.c
1625
n->tail = n;
dist/pf/sbin/pfctl/pfctl_parser.c
1629
h->tail->next = n;
dist/pf/sbin/pfctl/pfctl_parser.c
1630
h->tail = n;
dist/pf/sbin/pfctl/pfctl_parser.h
110
struct node_if *tail;
dist/pf/sbin/pfctl/pfctl_parser.h
123
struct node_host *tail;
dist/pf/sbin/pfctl/pfctl_parser.h
130
struct node_os *tail;
games/atc/list.c
109
if (l->head == p && l->tail == p)
games/atc/list.c
110
l->head = l->tail = NULL;
games/atc/list.c
114
} else if (l->tail == p) {
games/atc/list.c
115
l->tail = p->prev;
games/atc/list.c
116
l->tail->next = NULL;
games/atc/list.c
73
l->head = l->tail = p;
games/atc/list.c
95
l->tail->next = p;
games/atc/list.c
97
p->prev = l->tail;
games/atc/list.c
98
l->tail = p;
games/atc/struct.h
103
PLANE *head, *tail;
games/fortune/fortune/fortune.c
447
FILEDESC **head, FILEDESC **tail, FILEDESC *parent)
games/fortune/fortune/fortune.c
510
int n = add_file(percent, tfile, FORTDIR, head, tail,
games/fortune/fortune/fortune.c
563
*head = *tail = fp;
games/fortune/fortune/fortune.c
565
(*tail)->next = fp;
games/fortune/fortune/fortune.c
566
fp->prev = *tail;
games/fortune/fortune/fortune.c
567
*tail = fp;
games/worm/worm.c
195
tail = np;
games/worm/worm.c
196
tail->prev = NULL;
games/worm/worm.c
314
display(tail, ' ');
games/worm/worm.c
315
tail->next->prev = NULL;
games/worm/worm.c
316
nh = tail->next;
games/worm/worm.c
317
free(tail);
games/worm/worm.c
318
tail = nh;
games/worm/worm.c
74
static struct body *head, *tail, goody;
lib/libc/arch/riscv/SYS.h
42
tail _C_LABEL(__cerror) ;\
lib/libc/citrus/modules/citrus_hz.c
210
int bit, head, tail, len, ch;
lib/libc/citrus/modules/citrus_hz.c
231
bit = head = tail = 0;
lib/libc/citrus/modules/citrus_hz.c
234
_DIAGASSERT(tail < __arraycount(psenc->ch));
lib/libc/citrus/modules/citrus_hz.c
235
_DIAGASSERT(tail <= psenc->chlen);
lib/libc/citrus/modules/citrus_hz.c
237
if (psenc->chlen == tail) {
lib/libc/citrus/modules/citrus_hz.c
247
ch = (unsigned char)psenc->ch[tail++];
lib/libc/citrus/modules/citrus_hz.c
248
if (tail == 1) {
lib/libc/citrus/modules/citrus_hz.c
267
} else if (tail == 2 && psenc->ch[0] == ESCAPE_CHAR) {
lib/libc/citrus/modules/citrus_hz.c
268
if (tail < psenc->chlen)
lib/libc/citrus/modules/citrus_hz.c
275
tail = psenc->chlen = 0;
lib/libc/citrus/modules/citrus_hz.c
299
tail = psenc->chlen = 0;
lib/libc/citrus/modules/citrus_hz.c
318
if (graphic->length == (tail - head)) {
lib/libc/citrus/modules/citrus_hz.c
328
if (tail < psenc->chlen)
lib/libc/citrus/modules/citrus_ues.c
217
int ch, head, tail, num;
lib/libc/citrus/modules/citrus_ues.c
234
tail = 0;
lib/libc/citrus/modules/citrus_ues.c
238
head = tail;
lib/libc/citrus/modules/citrus_ues.c
253
tail += 6;
lib/libc/citrus/modules/citrus_ues.c
257
tail = 10;
lib/libc/citrus/modules/citrus_ues.c
262
tail = 0;
lib/libc/citrus/modules/citrus_ues.c
266
for (; head < tail; ++head) {
lib/libc/citrus/modules/citrus_ues.c
278
tail = 0;
lib/libc/citrus/modules/citrus_ues.c
284
switch (tail) {
lib/libc/gen/fts.c
645
FTSENT *cur, *tail;
lib/libc/gen/fts.c
762
for (head = tail = NULL, nitems = 0; (dp = readdir(dirp)) != NULL;) {
lib/libc/gen/fts.c
864
head = tail = p;
lib/libc/gen/fts.c
866
tail->fts_link = p;
lib/libc/gen/fts.c
867
tail = p;
lib/libc/include/isc/list.h
24
#define LIST(type) struct { type *head, *tail; }
lib/libc/include/isc/list.h
26
do { (list).head = NULL; (list).tail = NULL; } while (0)
lib/libc/include/isc/list.h
40
#define TAIL(list) ((list).tail)
lib/libc/include/isc/list.h
49
(list).tail = (elt); \
lib/libc/include/isc/list.h
58
if ((list).tail != NULL) \
lib/libc/include/isc/list.h
59
(list).tail->link.next = (elt); \
lib/libc/include/isc/list.h
62
(elt)->link.prev = (list).tail; \
lib/libc/include/isc/list.h
64
(list).tail = (elt); \
lib/libc/include/isc/list.h
73
INSIST((list).tail == (elt)); \
lib/libc/include/isc/list.h
74
(list).tail = (elt)->link.prev; \
lib/libc/locale/generic_lc_all.c
58
char head[_LOCALENAME_LEN_MAX * (_LC_LAST - 1)], *tail;
lib/libc/locale/generic_lc_all.c
68
tail = __UNCONST(strchr(tokens[1], '/'));
lib/libc/locale/generic_lc_all.c
69
if (tail == NULL) {
lib/libc/locale/generic_lc_all.c
73
*tail++ = '\0';
lib/libc/locale/generic_lc_all.c
75
tokens[i] = (const char *)tail;
lib/libc/locale/generic_lc_all.c
76
tail = __UNCONST(strchr(tokens[i], '/'));
lib/libc/locale/generic_lc_all.c
77
if (tail == NULL)
lib/libc/locale/generic_lc_all.c
79
*tail++ = '\0';
lib/libc/locale/generic_lc_all.c
81
tokens[_LC_LAST - 1] = (const char *)tail;
lib/libc/locale/generic_lc_all.c
82
tail = __UNCONST(strchr(tokens[i], '/'));
lib/libc/locale/generic_lc_all.c
83
if (tail != NULL)
lib/libc/locale/newlocale.c
47
char head[_LOCALENAME_LEN_MAX * (_LC_LAST - 1)], *tail;
lib/libc/locale/newlocale.c
65
tail = __UNCONST(strchr(tokens[0], '/'));
lib/libc/locale/newlocale.c
66
if (tail == NULL) {
lib/libc/locale/newlocale.c
75
*tail++ = '\0';
lib/libc/locale/newlocale.c
83
*tail++ = '\0';
lib/libc/locale/newlocale.c
84
tokens[i] = (const char *)tail;
lib/libc/locale/newlocale.c
85
tail = __UNCONST(strchr(tokens[i], '/'));
lib/libc/locale/newlocale.c
86
if (tail == NULL) {
lib/libc/locale/newlocale.c
91
*tail++ = '\0';
lib/libc/locale/newlocale.c
92
tokens[howmany] = tail;
lib/libc/locale/newlocale.c
93
tail = __UNCONST(strchr(tokens[howmany], '/'));
lib/libc/locale/newlocale.c
94
if (tail != NULL) {
lib/libc/regex/engine.c
445
const char *tail; /* string unmatched by rest of RE */
lib/libc/regex/engine.c
509
tail = walk(m, rest, stop, es, stopst, false);
lib/libc/regex/engine.c
510
if (tail == stop)
lib/libc/regex/engine.c
533
tail = walk(m, rest, stop, es, stopst, false);
lib/libc/regex/engine.c
534
if (tail == stop)
lib/libc/regex/engine.c
569
tail = walk(m, rest, stop, es, stopst, false);
lib/libc/regex/engine.c
570
if (tail == stop)
lib/libc/rpc/getnetconfig.c
118
struct netconfig_list *tail; /* last of the list */
lib/libc/rpc/getnetconfig.c
346
ni.head = ni.tail = list;
lib/libc/rpc/getnetconfig.c
348
ni.tail->next = list;
lib/libc/rpc/getnetconfig.c
349
ni.tail = ni.tail->next;
lib/libc/rpc/getnetconfig.c
351
ncp->nc_configs = ni.tail;
lib/libc/rpc/getnetconfig.c
352
return ni.tail->ncp;
lib/libc/rpc/getnetconfig.c
398
ni.tail = NULL;
lib/libc/stdio/fmemopen.c
110
if (p->cur >= p->tail)
lib/libc/stdio/fmemopen.c
138
if (offset >= (off_t)0 && offset <= p->tail - p->head) {
lib/libc/stdio/fmemopen.c
212
cookie->tail = cookie->head + size;
lib/libc/stdio/fmemopen.c
46
char *head, *tail, *cur, *eob;
lib/libc/stdio/fmemopen.c
61
if (p->cur == p->tail)
lib/libc/stdio/fmemopen.c
80
if (p->cur >= p->tail)
lib/libc/stdio/fmemopen.c
84
if (p->cur == p->tail - 1) {
lib/libc/stdlib/malloc.c
1000
} else if (pf->page == tail) {
lib/libc/stdlib/malloc.c
355
caddr_t result, rresult, tail;
lib/libc/stdlib/malloc.c
379
tail = rresult + (size_t)bytes;
lib/libc/stdlib/malloc.c
381
last_idx = ptr2idx(tail) - 1;
lib/libc/stdlib/malloc.c
382
malloc_brk = tail;
lib/libc/stdlib/malloc.c
923
void *tail;
lib/libc/stdlib/malloc.c
953
tail = (char *)ptr+l;
lib/libc/stdlib/malloc.c
959
px->end = tail;
lib/libc/stdlib/malloc.c
973
tail = (char *)ptr+l;
lib/libc/stdlib/malloc.c
979
if (pf->page > tail) {
lib/libpthread/pthread_mutex.c
697
struct pthread__waiter *tail, *n, *o;
lib/libpthread/pthread_mutex.c
713
for (tail = head; tail->next != NULL; tail = tail->next) {
lib/libpthread/pthread_mutex.c
719
tail->next = o;
sys/altq/altq_wfq.c
156
queue->head = queue->tail = NULL;
sys/altq/altq_wfq.c
264
if (queue->tail == NULL)
sys/altq/altq_wfq.c
267
queue->tail->m_nextpkt = mp;
sys/altq/altq_wfq.c
268
queue->tail = mp;
sys/altq/altq_wfq.c
299
drop_queue->tail = NULL;
sys/altq/altq_wfq.c
477
queue->tail = NULL;
sys/altq/altq_wfq.c
591
queue->head = queue->tail = NULL;
sys/altq/altq_wfq.h
104
struct mbuf *head, *tail;
sys/arch/acorn32/stand/nbfs/nbfs.c
120
nbfs_fileopen(struct open_file *f, char const *tail)
sys/arch/acorn32/stand/nbfs/nbfs.c
125
if (tail[0] == '$' && tail[1] == '.')
sys/arch/acorn32/stand/nbfs/nbfs.c
126
tail += 2;
sys/arch/acorn32/stand/nbfs/nbfs.c
127
file = alloc(strlen(tail) + 2);
sys/arch/acorn32/stand/nbfs/nbfs.c
129
strcat(file, tail);
sys/arch/acorn32/stand/nbfs/nbfs.c
136
if (strcmp(tail, "$") == 0)
sys/arch/acorn32/stand/nbfs/nbfs.c
153
char const *tail;
sys/arch/acorn32/stand/nbfs/nbfs.c
156
err = nbfs_devopen(f, special, path, &tail);
sys/arch/acorn32/stand/nbfs/nbfs.c
159
err = nbfs_fileopen(f, tail);
sys/arch/arm/xscale/ixp425_if_npe.c
773
struct npebuf **tail;
sys/arch/arm/xscale/ixp425_if_npe.c
782
*td->tail = sc->tx_free;
sys/arch/arm/xscale/ixp425_if_npe.c
812
q[NPE_B].tail = &q[NPE_B].head; q[NPE_B].count = 0;
sys/arch/arm/xscale/ixp425_if_npe.c
813
q[NPE_C].tail = &q[NPE_C].head; q[NPE_C].count = 0;
sys/arch/arm/xscale/ixp425_if_npe.c
826
*td->tail = npe;
sys/arch/arm/xscale/ixp425_if_npe.c
827
td->tail = &npe->ix_next;
sys/arch/evbppc/virtex/dev/if_temac.c
1127
int nseg, head, tail;
sys/arch/evbppc/virtex/dev/if_temac.c
1130
tail = 0; /* gcc */
sys/arch/evbppc/virtex/dev/if_temac.c
1196
tail = sc->sc_rxreap;
sys/arch/evbppc/virtex/dev/if_temac.c
1201
sc->sc_rxdescs[tail].desc_stat =
sys/arch/evbppc/virtex/dev/if_temac.c
1202
(TEMAC_ISINTR(tail) ? CDMAC_STAT_INTR : 0) |
sys/arch/evbppc/virtex/dev/if_temac.c
1203
(TEMAC_ISLAST(tail) ? CDMAC_STAT_STOP : 0);
sys/arch/evbppc/virtex/dev/if_temac.c
1212
if (temac_rxalloc(sc, tail, 1) != 0) {
sys/arch/evbppc/virtex/dev/if_temac.c
1229
if (TEMAC_ISLAST(tail))
sys/arch/evbppc/virtex/dev/if_temac.c
762
int tail = TEMAC_TXINC(sc->sc_txcur, -1);
sys/arch/evbppc/virtex/dev/if_temac.c
768
sc->sc_txdescs[tail].desc_stat |= CDMAC_STAT_STOP |
sys/arch/hp300/dev/dcm.c
1160
u_int head, tail, next;
sys/arch/hp300/dev/dcm.c
1199
tail = pp->t_tail & TX_MASK;
sys/arch/hp300/dev/dcm.c
1200
next = (tail + 1) & TX_MASK;
sys/arch/hp300/dev/dcm.c
1204
fifo = &dcm->dcm_tfifos[3-port][tail];
sys/arch/hp300/dev/dcm.c
1212
printf("\thead %x tail %x nch %d\n", head, tail, nch);
sys/arch/hp300/dev/dcm.c
1231
tail = next;
sys/arch/hp300/dev/dcm.c
1232
fifo = tail ? fifo+1 : &dcm->dcm_tfifos[3-port][0];
sys/arch/hp300/dev/dcm.c
1261
device_xname(sc->sc_dev), port, head, tail,
sys/arch/hp300/dev/dcm.c
1607
unsigned tail;
sys/arch/hp300/dev/dcm.c
1620
tail = pp->t_tail & TX_MASK;
sys/arch/hp300/dev/dcm.c
1621
while (tail != (pp->t_head & TX_MASK))
sys/arch/hp300/dev/dcm.c
1623
dcm_cn->dcm_tfifos[3-DCMCONSPORT][tail].data_char = c;
sys/arch/hp300/dev/dcm.c
1624
pp->t_tail = tail = (tail + 1) & TX_MASK;
sys/arch/hp300/dev/dcm.c
1629
while (tail != (pp->t_head & TX_MASK))
sys/arch/hp300/stand/common/dcm.c
145
unsigned int tail;
sys/arch/hp300/stand/common/dcm.c
150
tail = pp->t_tail & TX_MASK;
sys/arch/hp300/stand/common/dcm.c
152
while (tail != (pp->t_head & TX_MASK) && --timo)
sys/arch/hp300/stand/common/dcm.c
154
dcm->dcm_tfifos[3-port][tail].data_char = c;
sys/arch/hp300/stand/common/dcm.c
155
pp->t_tail = tail = (tail + 1) & TX_MASK;
sys/arch/hp300/stand/common/dcm.c
161
while (tail != (pp->t_head & TX_MASK) && --timo)
sys/arch/ia64/stand/common/ls.c
146
char *path, *tail;
sys/arch/ia64/stand/common/ls.c
148
tail = NULL;
sys/arch/mips/adm5120/dev/ahci.c
1226
ep->tail = td[i];
sys/arch/mips/adm5120/dev/ahci.c
911
ep->tail = td3;
sys/arch/mips/adm5120/dev/ahcireg.h
83
volatile struct admhcd_td *tail;
sys/arch/powerpc/ibm4xx/trap.c
806
size_t head, nlines, tail;
sys/arch/powerpc/ibm4xx/trap.c
825
tail = len & (CACHELINESIZE - 1);
sys/arch/powerpc/ibm4xx/trap.c
836
if (tail != 0)
sys/arch/powerpc/ibm4xx/trap.c
837
memcpy(d, s, tail);
sys/arch/sgimips/hpc/haud.c
175
int tail = hdr->tail;
sys/arch/sgimips/hpc/haud.c
177
return tail >= head ? tail - head : capacity - (head - tail);
sys/arch/sgimips/hpc/haud.c
408
int tail = hdr->tail;
sys/arch/sgimips/hpc/haud.c
411
const int page = haud_buffer_page_number(tail);
sys/arch/sgimips/hpc/haud.c
412
const int page_offset = haud_buffer_page_offset(tail);
sys/arch/sgimips/hpc/haud.c
427
tail += words;
sys/arch/sgimips/hpc/haud.c
428
if (tail == haud_buffer_word_capacity(buf)) {
sys/arch/sgimips/hpc/haud.c
429
tail = 0;
sys/arch/sgimips/hpc/haud.c
437
hdr->tail = tail;
sys/arch/sgimips/hpc/haud.c
697
haud_buffer_header(sc->sc_cmd_req)->tail = 0;
sys/arch/sgimips/hpc/haud.c
708
haud_buffer_header(sc->sc_cmd_resp)->tail = 0;
sys/arch/sgimips/hpc/haudvar.h
108
u_int32_t tail; // End of data (index in word units)
sys/arch/shark/ofw/ofw.c
1618
vsize_t tail = ((*ppvf)->start
sys/arch/shark/ofw/ofw.c
1623
if (tail != 0) {
sys/arch/shark/ofw/ofw.c
1629
pNew->size = tail;
sys/arch/vax/include/qduser.h
219
#define ISEMPTY(eq) ((eq)->header.head == (eq)->header.tail)
sys/arch/vax/include/qduser.h
238
#define ISFULL(eq) ((eq)->header.tail+1 == (eq)->header.head || \
sys/arch/vax/include/qduser.h
239
((eq)->header.tail+1 == (eq)->header.size && \
sys/arch/vax/include/qduser.h
244
#define PUTBEGIN(eq) (&(eq)->header.events[(eq)->header.tail])
sys/arch/vax/include/qduser.h
254
#define PUTEND(eq) (++(eq)->header.tail >= (eq)->header.size ? \
sys/arch/vax/include/qduser.h
255
(eq)->header.tail = 0 : 0)
sys/arch/vax/include/qevent.h
96
int tail; /* index into events */
sys/dev/acpi/qcompas.c
848
uint32_t head, tail;
sys/dev/acpi/qcompas.c
852
tail = *sc->sc_rx_tail + sc->sc_rx_off;
sys/dev/acpi/qcompas.c
853
if (tail >= sc->sc_rx_fifolen)
sys/dev/acpi/qcompas.c
854
tail -= sc->sc_rx_fifolen;
sys/dev/acpi/qcompas.c
857
KASSERT(head != tail);
sys/dev/acpi/qcompas.c
859
if (head >= tail)
sys/dev/acpi/qcompas.c
860
avail = head - tail;
sys/dev/acpi/qcompas.c
862
avail = (sc->sc_rx_fifolen - tail) + head;
sys/dev/acpi/qcompas.c
868
*buf = sc->sc_rx_fifo[tail];
sys/dev/acpi/qcompas.c
869
tail++;
sys/dev/acpi/qcompas.c
870
if (tail >= sc->sc_rx_fifolen)
sys/dev/acpi/qcompas.c
871
tail -= sc->sc_rx_fifolen;
sys/dev/acpi/qcompas.c
881
uint32_t tail;
sys/dev/acpi/qcompas.c
883
tail = *sc->sc_rx_tail + roundup(sc->sc_rx_off, 8);
sys/dev/acpi/qcompas.c
884
if (tail >= sc->sc_rx_fifolen)
sys/dev/acpi/qcompas.c
885
tail -= sc->sc_rx_fifolen;
sys/dev/acpi/qcompas.c
888
*sc->sc_rx_tail = tail;
sys/dev/acpi/qcompas.c
895
uint32_t head, tail;
sys/dev/acpi/qcompas.c
901
tail = *sc->sc_tx_tail;
sys/dev/acpi/qcompas.c
903
if (head < tail)
sys/dev/acpi/qcompas.c
904
avail = tail - head;
sys/dev/acpi/qcompas.c
906
avail = (sc->sc_rx_fifolen - head) + tail;
sys/dev/audio/audio.c
2989
int tail = auring_tail(usrbuf);
sys/dev/audio/audio.c
2990
int len = uimin(bytes, usrbuf->capacity - tail);
sys/dev/audio/audio.c
2991
error = uiomove((uint8_t *)usrbuf->mem + tail, len,
sys/dev/ic/nvme.c
1344
uint32_t tail;
sys/dev/ic/nvme.c
1346
tail = ++q->q_sq_tail;
sys/dev/ic/nvme.c
1347
if (tail >= q->q_entries)
sys/dev/ic/nvme.c
1348
tail = 0;
sys/dev/ic/nvme.c
1349
q->q_sq_tail = tail;
sys/dev/ic/nvme.c
1350
nvme_write4(sc, q->q_sqtdbl, tail);
sys/dev/ic/nvme.c
1367
uint32_t tail;
sys/dev/ic/nvme.c
1369
tail = sc->sc_ops->op_sq_enter(sc, q, ccb);
sys/dev/ic/nvme.c
1371
sqe += tail;
sys/dev/ic/nvme.c
1374
sizeof(*sqe) * tail, sizeof(*sqe), BUS_DMASYNC_POSTWRITE);
sys/dev/ic/nvme.c
1379
sizeof(*sqe) * tail, sizeof(*sqe), BUS_DMASYNC_PREWRITE);
sys/dev/pci/cxgb/cxgb_adapter.h
170
struct mbuf *tail;
sys/dev/pci/cxgb/cxgb_mbuf.h
37
struct mbuf *tail;
sys/dev/pci/cxgb/cxgb_mbuf.h
45
l->head = l->tail = NULL;
sys/dev/pci/cxgb/cxgb_mbuf.h
65
l->tail->m_nextpkt = m;
sys/dev/pci/cxgb/cxgb_mbuf.h
66
l->tail = m;
sys/dev/pci/cxgb/cxgb_mbuf.h
76
if (m == l->tail)
sys/dev/pci/cxgb/cxgb_mbuf.h
77
l->tail = NULL;
sys/dev/pci/if_aq.c
6031
u_int tail = AQ_READ_REG(sc,
sys/dev/pci/if_aq.c
6035
__func__, txring->txr_index, head, tail);
sys/dev/pci/if_iwm.c
6005
struct iwm_scan_req_umac_tail_v2 *tail;
sys/dev/pci/if_iwm.c
6069
tail = (struct iwm_scan_req_umac_tail_v2 *)tail_data;
sys/dev/pci/if_iwm.c
6093
err = iwm_fill_probe_req(sc, &tail->preq);
sys/dev/pci/if_msk.c
2122
unsigned cur, prod, tail, total_len = len;
sys/dev/pci/if_msk.c
2135
tail = cur;
sys/dev/pci/if_msk.c
2139
m = sc_if->sk_cdata.sk_rx_chain[tail].sk_mbuf;
sys/dev/pci/if_msk.c
2140
sc_if->sk_cdata.sk_rx_chain[tail].sk_mbuf = NULL;
sys/dev/pci/if_msk.c
2151
dmamap = sc_if->sk_cdata.sk_rx_chain[tail].sk_dmamap;
sys/dev/pci/if_wpi.c
1485
struct wpi_rx_tail *tail;
sys/dev/pci/if_wpi.c
1503
tail = (struct wpi_rx_tail *)((char *)(head + 1) + le16toh(head->len));
sys/dev/pci/if_wpi.c
1508
le64toh(tail->tstamp)));
sys/dev/pci/if_wpi.c
1514
if ((le32toh(tail->flags) & WPI_RX_NOERROR) != WPI_RX_NOERROR) {
sys/dev/pci/if_wpi.c
1516
le32toh(tail->flags)));
sys/dev/pci/if_wpi.c
1590
tap->wr_tsft = tail->tstamp;
sys/dev/pci/ixgbe/ix_txrx.c
1414
IXGBE_WRITE_REG(&sc->hw, rxr->tail, rxr->next_to_refresh);
sys/dev/pci/ixgbe/ix_txrx.c
561
IXGBE_WRITE_REG(&sc->hw, txr->tail, i);
sys/dev/pci/ixgbe/ixgbe.c
633
rxr->tail = IXGBE_RDT(rxr->me);
sys/dev/pci/ixgbe/ixgbe.c
709
txr->tail = IXGBE_TDT(j);
sys/dev/pci/ixgbe/ixgbe.h
361
u32 tail;
sys/dev/pci/ixgbe/ixgbe.h
411
u32 tail;
sys/dev/pci/ixgbe/ixgbe_netmap.c
305
IXGBE_WRITE_REG(&sc->hw, txr->tail, nic_i);
sys/dev/pci/ixgbe/ixgbe_netmap.c
493
IXGBE_WRITE_REG(&sc->hw, rxr->tail, nic_i);
sys/dev/pci/ixgbe/ixv.c
1744
txr->tail = IXGBE_VFTDT(j);
sys/dev/pci/ixgbe/ixv.c
1937
rxr->tail = IXGBE_VFRDT(rxr->me);
sys/dev/pci/virtio.c
978
uint16_t head, tail;
sys/dev/pci/virtio.c
983
head = tail = virtio_rw16(sc, vq->vq_free_idx);
sys/dev/pci/virtio.c
985
if (tail == VRING_DESC_CHAIN_END)
sys/dev/pci/virtio.c
988
vd = &vq->vq_desc[tail];
sys/dev/pci/virtio.c
990
tail = virtio_rw16(sc, vd->next);
sys/dev/pci/virtio.c
993
if (tail == VRING_DESC_CHAIN_END)
sys/dev/pci/virtio.c
996
vd = &vq->vq_desc[tail];
sys/dev/qbus/if_dmc.c
196
#define QUEUE_AT_HEAD(qp, head, tail) \
sys/dev/qbus/if_dmc.c
199
if ((tail) == (struct dmc_command *) 0) \
sys/dev/qbus/if_dmc.c
200
(tail) = (head)
sys/dev/qbus/if_dmc.c
202
#define QUEUE_AT_TAIL(qp, head, tail) \
sys/dev/qbus/if_dmc.c
203
if ((tail)) \
sys/dev/qbus/if_dmc.c
204
(tail)->qp_next = (qp); \
sys/dev/qbus/if_dmc.c
208
(tail) = (qp)
sys/dev/qbus/if_dmc.c
210
#define DEQUEUE(head, tail) \
sys/dev/qbus/if_dmc.c
213
(tail) = (head)
sys/dev/qbus/qd.c
783
eq_header[unit]->header.tail = 0;
sys/dev/qbus/qduser.h
212
#define ISEMPTY(eq) ((eq)->header.head == (eq)->header.tail)
sys/dev/qbus/qduser.h
231
#define ISFULL(eq) ((eq)->header.tail+1 == (eq)->header.head || \
sys/dev/qbus/qduser.h
232
((eq)->header.tail+1 == (eq)->header.size && \
sys/dev/qbus/qduser.h
237
#define PUTBEGIN(eq) (&(eq)->header.events[(eq)->header.tail])
sys/dev/qbus/qduser.h
247
#define PUTEND(eq) (++(eq)->header.tail >= (eq)->header.size ? \
sys/dev/qbus/qduser.h
248
(eq)->header.tail = 0 : 0)
sys/dev/qbus/qevent.h
96
int tail; /* index into events */
sys/dev/raidframe/rf_paritylog.c
151
RF_ParityLogData_t ** tail)
sys/dev/raidframe/rf_paritylog.c
167
RF_ASSERT((*tail)->next == NULL);
sys/dev/raidframe/rf_paritylog.c
174
RF_ASSERT(*tail == NULL);
sys/dev/raidframe/rf_paritylog.c
176
*tail = data;
sys/dev/raidframe/rf_paritylog.c
179
RF_ASSERT((*tail)->next == NULL);
sys/dev/raidframe/rf_paritylog.c
187
RF_ParityLogData_t ** tail,
sys/dev/raidframe/rf_paritylog.c
198
data = *tail;
sys/dev/raidframe/rf_paritylog.c
200
if (*head == *tail) {
sys/dev/raidframe/rf_paritylog.c
203
*tail = NULL;
sys/dev/raidframe/rf_paritylog.c
205
*tail = (*tail)->prev;
sys/dev/raidframe/rf_paritylog.c
206
(*tail)->next = NULL;
sys/dev/raidframe/rf_paritylog.c
208
RF_ASSERT((*tail)->next == NULL);
sys/dev/raidframe/rf_paritylog.c
217
RF_ASSERT((*tail)->next == NULL);
sys/dev/raidframe/rf_paritylog.c
229
RF_ParityLogData_t ** tail)
sys/dev/raidframe/rf_paritylog.c
241
if (*tail) {
sys/dev/raidframe/rf_paritylog.c
243
data->prev = *tail;
sys/dev/raidframe/rf_paritylog.c
245
(*tail)->next = data;
sys/dev/raidframe/rf_paritylog.c
246
*tail = data;
sys/dev/raidframe/rf_paritylog.c
250
*tail = data;
sys/dev/raidframe/rf_paritylog.c
252
(*tail)->next = NULL;
sys/dev/raidframe/rf_paritylog.c
255
RF_ASSERT((*tail)->next == NULL);
sys/dev/raidframe/rf_paritylog.c
340
RF_ParityLogData_t ** tail,
sys/dev/raidframe/rf_paritylog.c
354
w = (*tail);
sys/dev/raidframe/rf_paritylog.c
358
if (w == *tail) {
sys/dev/raidframe/rf_paritylog.c
359
if (*head == *tail) {
sys/dev/raidframe/rf_paritylog.c
362
*tail = NULL;
sys/dev/raidframe/rf_paritylog.c
365
*tail = (*tail)->prev;
sys/dev/raidframe/rf_paritylog.c
366
(*tail)->next = NULL;
sys/dev/raidframe/rf_paritylog.c
368
RF_ASSERT((*tail)->next == NULL);
sys/dev/raidframe/rf_paritylog.c
376
RF_ASSERT((*tail)->next == NULL);
sys/dev/raidframe/rf_paritylog.c
383
RF_ASSERT((*tail)->next == NULL);
sys/dev/raidframe/rf_paritylog.c
403
RF_ParityLogData_t ** tail)
sys/dev/raidframe/rf_paritylog.c
414
logDataList = DequeueParityLogData(raidPtr, head, tail, RF_TRUE);
sys/dev/raidframe/rf_paritylog.c
418
logData->next = rf_SearchAndDequeueParityLogData(raidPtr, regionID, head, tail, RF_TRUE);
sys/dev/raidframe/rf_paritylog.c
421
logData->next = rf_SearchAndDequeueParityLogData(raidPtr, regionID, head, tail, RF_TRUE);
sys/dev/raidframe/rf_paritylog.h
173
RF_ParityLogData_t ** tail, int ignoreLocks);
sys/dev/sysmon/sysmon_envsys.c
836
int tail = 1;
sys/dev/sysmon/sysmon_envsys.c
847
if (tail != 0)
sys/dev/sysmon/sysmon_envsys.c
852
tail = 0;
sys/dev/usb/if_otus.c
1714
struct ar_rx_tail *tail;
sys/dev/usb/if_otus.c
1739
if (__predict_false(len < AR_PLCP_HDR_LEN + sizeof(*tail))) {
sys/dev/usb/if_otus.c
1744
tail = (void *)(plcp + len - sizeof(*tail));
sys/dev/usb/if_otus.c
1748
if (__predict_false((tail->error & sc->sc_rx_error_msk) != 0)) {
sys/dev/usb/if_otus.c
1749
DPRINTFN(DBG_RX, sc, "error frame 0x%02x\n", tail->error);
sys/dev/usb/if_otus.c
1750
if (tail->error & AR_RX_ERROR_FCS) {
sys/dev/usb/if_otus.c
1752
} else if (tail->error & AR_RX_ERROR_MMIC) {
sys/dev/usb/if_otus.c
1760
mlen = len - AR_PLCP_HDR_LEN - sizeof(*tail);
sys/dev/usb/if_otus.c
1807
tap->wr_antsignal = tail->rssi;
sys/dev/usb/if_otus.c
1809
switch (tail->status & AR_RX_STATUS_MT_MASK) {
sys/dev/usb/if_otus.c
1817
if (tail->status & AR_RX_STATUS_SHPREAMBLE)
sys/dev/usb/if_otus.c
1839
ieee80211_input(ic, m, ni, tail->rssi, 0);
sys/dev/usb/if_upgtvar.h
192
uint8_t tail;
sys/dev/usb/ohci.c
2127
opipe->tail.itd = sitd;
sys/dev/usb/ohci.c
2128
sitd->held = &opipe->tail.itd;
sys/dev/usb/ohci.c
2140
opipe->tail.td = std;
sys/dev/usb/ohci.c
2141
std->held = &opipe->tail.td;
sys/dev/usb/ohci.c
265
} tail;
sys/dev/usb/ohci.c
2761
if (ox->ox_setup != opipe->tail.td) {
sys/dev/usb/ohci.c
2795
ohci_soft_td_t *setup, *stat, *next, *tail;
sys/dev/usb/ohci.c
2822
setup = opipe->tail.td;
sys/dev/usb/ohci.c
2823
opipe->tail.td = ox->ox_setup;
sys/dev/usb/ohci.c
2833
tail = opipe->tail.td;
sys/dev/usb/ohci.c
2834
tail->held = &opipe->tail.td;
sys/dev/usb/ohci.c
2838
(uintptr_t)tail, (uintptr_t)tail->held, 0);
sys/dev/usb/ohci.c
2881
(uintptr_t)tail);
sys/dev/usb/ohci.c
2882
KASSERT(opipe->tail.td == tail);
sys/dev/usb/ohci.c
2913
stat->td->td_nexttd = HTOO32(tail->physaddr);
sys/dev/usb/ohci.c
2915
stat->nexttd = tail;
sys/dev/usb/ohci.c
2924
memset(tail->td, 0, sizeof(*tail->td));
sys/dev/usb/ohci.c
2925
tail->nexttd = NULL;
sys/dev/usb/ohci.c
2926
tail->xfer = NULL;
sys/dev/usb/ohci.c
2928
usb_syncmem(&tail->dma, tail->offs, sizeof(*tail->td),
sys/dev/usb/ohci.c
2941
sed->ed->ed_tailp = HTOO32(tail->physaddr);
sys/dev/usb/ohci.c
2980
ohci_free_std_locked(sc, opipe->tail.td);
sys/dev/usb/ohci.c
3050
if (std != opipe->tail.td)
sys/dev/usb/ohci.c
3076
ohci_soft_td_t *data, *tail, *tdp;
sys/dev/usb/ohci.c
3102
data = opipe->tail.td;
sys/dev/usb/ohci.c
3103
opipe->tail.td = ox->ox_stds[0];
sys/dev/usb/ohci.c
3111
tail = opipe->tail.td;
sys/dev/usb/ohci.c
3112
memset(tail->td, 0, sizeof(*tail->td));
sys/dev/usb/ohci.c
3113
tail->held = &opipe->tail.td;
sys/dev/usb/ohci.c
3114
tail->nexttd = NULL;
sys/dev/usb/ohci.c
3115
tail->xfer = NULL;
sys/dev/usb/ohci.c
3117
(uintptr_t)ox, (uintptr_t)tail, (uintptr_t)tail->held, 0);
sys/dev/usb/ohci.c
3118
usb_syncmem(&tail->dma, tail->offs, sizeof(*tail->td),
sys/dev/usb/ohci.c
3123
(uintptr_t)ox->ox_stds[0], (uintptr_t)tail, 0);
sys/dev/usb/ohci.c
3124
KASSERT(opipe->tail.td == tail);
sys/dev/usb/ohci.c
3129
last->td->td_nexttd = HTOO32(tail->physaddr);
sys/dev/usb/ohci.c
3130
last->nexttd = tail;
sys/dev/usb/ohci.c
3152
for (tdp = data; tdp != tail; tdp = tdp->nexttd) {
sys/dev/usb/ohci.c
3157
sed->ed->ed_tailp = HTOO32(tail->physaddr);
sys/dev/usb/ohci.c
3196
ohci_free_std_locked(sc, opipe->tail.td);
sys/dev/usb/ohci.c
3245
if (std != opipe->tail.td)
sys/dev/usb/ohci.c
3271
ohci_soft_td_t *data, *last, *tail;
sys/dev/usb/ohci.c
3294
data = opipe->tail.td;
sys/dev/usb/ohci.c
3295
opipe->tail.td = ox->ox_stds[0];
sys/dev/usb/ohci.c
3303
tail = opipe->tail.td;
sys/dev/usb/ohci.c
3304
memset(tail->td, 0, sizeof(*tail->td));
sys/dev/usb/ohci.c
3305
tail->held = &opipe->tail.td;
sys/dev/usb/ohci.c
3306
tail->nexttd = NULL;
sys/dev/usb/ohci.c
3307
tail->xfer = NULL;
sys/dev/usb/ohci.c
3309
(uintptr_t)ox, (uintptr_t)tail, (uintptr_t)tail->held, 0);
sys/dev/usb/ohci.c
3310
usb_syncmem(&tail->dma, tail->offs, sizeof(*tail->td),
sys/dev/usb/ohci.c
3315
(uintptr_t)tail, 0, 0);
sys/dev/usb/ohci.c
3316
KASSERT(opipe->tail.td == tail);
sys/dev/usb/ohci.c
3322
last->td->td_nexttd = HTOO32(tail->physaddr);
sys/dev/usb/ohci.c
3323
last->nexttd = tail;
sys/dev/usb/ohci.c
3340
sed->ed->ed_tailp = HTOO32(tail->physaddr);
sys/dev/usb/ohci.c
3400
ohci_free_std_locked(sc, opipe->tail.td);
sys/dev/usb/ohci.c
3538
if (ox->ox_sitds[i] != opipe->tail.itd) {
sys/dev/usb/ohci.c
3572
ohci_soft_itd_t *sitd, *nsitd, *tail;
sys/dev/usb/ohci.c
3607
sitd = opipe->tail.itd;
sys/dev/usb/ohci.c
3608
opipe->tail.itd = ox->ox_sitds[0];
sys/dev/usb/ohci.c
3687
tail = opipe->tail.itd;
sys/dev/usb/ohci.c
3688
memset(tail->itd, 0, sizeof(*tail->itd));
sys/dev/usb/ohci.c
3689
tail->held = &opipe->tail.itd;
sys/dev/usb/ohci.c
3690
tail->nextitd = NULL;
sys/dev/usb/ohci.c
3691
tail->xfer = NULL;
sys/dev/usb/ohci.c
3692
usb_syncmem(&tail->dma, tail->offs, sizeof(*tail->itd),
sys/dev/usb/ohci.c
3703
sitd->itd->itd_nextitd = HTOO32(tail->physaddr);
sys/dev/usb/ohci.c
3705
sitd->nextitd = tail;
sys/dev/usb/ohci.c
3737
sed->ed->ed_tailp = HTOO32(tail->physaddr);
sys/dev/usb/ohci.c
3844
opipe->tail.itd->isdone = true;
sys/dev/usb/ohci.c
3846
ohci_free_sitd_locked(sc, opipe->tail.itd);
sys/dist/pf/net/pf.c
3022
pf_attach_state(struct pf_state_key *sk, struct pf_state *s, int tail)
sys/dist/pf/net/pf.c
3028
if (tail)
sys/dist/pf/net/pf_ioctl.c
1410
struct pf_rule *rule, *tail;
sys/dist/pf/net/pf_ioctl.c
1470
tail = TAILQ_LAST(ruleset->rules[rs_num].inactive.ptr,
sys/dist/pf/net/pf_ioctl.c
1472
if (tail)
sys/dist/pf/net/pf_ioctl.c
1473
rule->nr = tail->nr + 1;
sys/dist/pf/net/pf_ioctl.c
1569
struct pf_rule *tail;
sys/dist/pf/net/pf_ioctl.c
1583
tail = TAILQ_LAST(ruleset->rules[rs_num].active.ptr,
sys/dist/pf/net/pf_ioctl.c
1585
if (tail)
sys/dist/pf/net/pf_ioctl.c
1586
pr->nr = tail->nr + 1;
sys/kern/vfs_wapbl.c
1412
wapbl_space_used(size_t avail, off_t head, off_t tail)
sys/kern/vfs_wapbl.c
1415
if (tail == 0) {
sys/kern/vfs_wapbl.c
1419
return ((head + (avail - 1) - tail) % avail) + 1;
sys/kern/vfs_wapbl.c
1465
wapbl_space_free(size_t avail, off_t head, off_t tail)
sys/kern/vfs_wapbl.c
1468
return avail - wapbl_space_used(avail, head, tail);
sys/kern/vfs_wapbl.c
1484
off_t tail = *tailp;
sys/kern/vfs_wapbl.c
1486
KASSERT(delta <= wapbl_space_free(size, head, tail));
sys/kern/vfs_wapbl.c
1488
if (tail == 0 && head != 0)
sys/kern/vfs_wapbl.c
1489
tail = off;
sys/kern/vfs_wapbl.c
1491
*tailp = tail;
sys/kern/vfs_wapbl.c
1507
off_t tail = *tailp;
sys/kern/vfs_wapbl.c
1509
KASSERT(delta <= wapbl_space_used(size, head, tail));
sys/kern/vfs_wapbl.c
1510
tail = wapbl_advance(size, off, tail, delta);
sys/kern/vfs_wapbl.c
1511
if (head == tail) {
sys/kern/vfs_wapbl.c
1512
head = tail = 0;
sys/kern/vfs_wapbl.c
1515
*tailp = tail;
sys/kern/vfs_wapbl.c
1538
off_t tail;
sys/kern/vfs_wapbl.c
1571
tail = wl->wl_tail;
sys/kern/vfs_wapbl.c
1582
&tail);
sys/kern/vfs_wapbl.c
1584
wapbl_space_used(wl->wl_circ_size, head, tail));
sys/kern/vfs_wapbl.c
1598
error = wapbl_write_commit(wl, head, tail);
sys/kern/vfs_wapbl.c
1603
wl->wl_tail = tail;
sys/kern/vfs_wapbl.c
1767
off_t tail;
sys/kern/vfs_wapbl.c
1861
tail = wl->wl_tail;
sys/kern/vfs_wapbl.c
1864
&head, &tail);
sys/kern/vfs_wapbl.c
1869
(intmax_t)head, (intmax_t)tail, (intmax_t)off,
sys/kern/vfs_wapbl.c
1877
&head, &tail);
sys/kern/vfs_wapbl.c
1879
error = wapbl_write_commit(wl, head, tail);
sys/kern/vfs_wapbl.c
1892
wapbl_space_used(wl->wl_circ_size, head, tail),
sys/kern/vfs_wapbl.c
1902
wapbl_space_used(wl->wl_circ_size, head, tail),
sys/kern/vfs_wapbl.c
1913
wl->wl_tail = tail;
sys/kern/vfs_wapbl.c
2466
wapbl_write_commit(struct wapbl *wl, off_t head, off_t tail)
sys/kern/vfs_wapbl.c
2487
wc->wc_tail = tail;
sys/kern/vfs_wapbl.c
2496
(intmax_t)head, (intmax_t)tail));
sys/kern/vfs_wapbl.c
2530
error = wapbl_write_commit(wl, head, tail);
sys/kern/vfs_wapbl.c
3213
wapbl_replay_process(struct wapbl_replay *wr, off_t head, off_t tail)
sys/kern/vfs_wapbl.c
3222
off = tail;
sys/netipsec/xform_esp.c
688
unsigned char *tail;
sys/netipsec/xform_esp.c
802
tail = m_pad(m, tlen);
sys/netipsec/xform_esp.c
803
if (tail == NULL) {
sys/netipsec/xform_esp.c
818
tail[i] = i + 1;
sys/netipsec/xform_esp.c
821
(void)cprng_fast(tail, padlen);
sys/netipsec/xform_esp.c
825
memset(tail, 0, padlen);
sys/netipsec/xform_esp.c
830
esptail = (struct esptail *)&tail[padlen];
sys/ufs/lfs/lfs_alloc.c
126
ino_t oldhead, maxino, tail;
sys/ufs/lfs/lfs_alloc.c
176
LFS_GET_TAILFREE(fs, cip, cbp, &tail);
sys/ufs/lfs/lfs_alloc.c
179
(intmax_t)tail));
sys/ufs/lfs/lfs_alloc.c
180
if (tail == LFS_UNUSED_INUM) {
sys/ufs/lfs/lfs_alloc.c
181
tail = xmax - 1;
sys/ufs/lfs/lfs_alloc.c
182
LFS_PUT_TAILFREE(fs, cip, cbp, tail);
sys/ufs/lfs/lfs_alloc.c
224
(intmax_t)xmax - lfs_sb_getifpb(fs), (intmax_t)tail));
tests/fs/vfs/t_vnops.c
59
md(char *buf, size_t buflen, const char *base, const char *tail)
tests/fs/vfs/t_vnops.c
62
snprintf(buf, buflen, "%s/%s", base, tail);
tests/lib/libc/locale/t_wcstod.c
434
wchar_t *tail;
tests/lib/libc/locale/t_wcstod.c
439
d = wcstod(t->wcs, &tail);
tests/lib/libc/locale/t_wcstod.c
445
n = (size_t)(tail - t->wcs);
tests/lib/librumphijack/h_cwd.c
46
makepath(const char *tail)
tests/lib/librumphijack/h_cwd.c
52
strcat(buf, tail);
tests/net/bpfilter/t_bpfilter.c
154
pingtest(const char *dst, unsigned int wirelen, const char tail[7])
tests/net/bpfilter/t_bpfilter.c
194
memcpy(pkt + pktsize - 7, tail, 7);
usr.bin/config/files.c
124
tail = strrchr(path, '/');
usr.bin/config/files.c
125
if (tail == NULL) {
usr.bin/config/files.c
127
tail = path;
usr.bin/config/files.c
129
dirlen = (size_t)(tail - path);
usr.bin/config/files.c
130
tail++;
usr.bin/config/files.c
135
dotp = strrchr(tail, '.');
usr.bin/config/files.c
137
(baselen = (size_t)(dotp - tail)) >= sizeof(base)) {
usr.bin/config/files.c
170
memcpy(base, tail, baselen);
usr.bin/config/files.c
176
fi->fi_tail = tail;
usr.bin/config/files.c
99
const char *dotp, *tail;
usr.bin/diff/diff.c
559
char *tail, *buf;
usr.bin/diff/diff.c
565
if ((tail = strrchr(path, '/')) == NULL)
usr.bin/diff/diff.c
566
tail = path;
usr.bin/diff/diff.c
568
tail++;
usr.bin/diff/diff.c
569
xasprintf(&buf, "%.*s/%s", (int)dirlen, dir, tail);
usr.bin/find/find.c
106
tail = plan = new;
usr.bin/find/find.c
112
tail->next = new;
usr.bin/find/find.c
113
tail = new;
usr.bin/find/find.c
115
tail->next = new;
usr.bin/find/find.c
116
tail = new;
usr.bin/find/find.c
69
PLAN *plan, *tail, *new;
usr.bin/find/find.c
87
for (plan = tail = NULL; *argv;) {
usr.bin/find/find.c
91
tail = plan = new;
usr.bin/find/find.c
93
tail->next = new;
usr.bin/find/find.c
94
tail = new;
usr.bin/find/operator.c
115
tail = subplan = next;
usr.bin/find/operator.c
117
tail->next = next;
usr.bin/find/operator.c
118
tail = next;
usr.bin/find/operator.c
120
tail->next = NULL;
usr.bin/find/operator.c
134
PLAN *tail; /* pointer to tail of result plan */
usr.bin/find/operator.c
137
result = tail = NULL;
usr.bin/find/operator.c
153
tail = result = expr;
usr.bin/find/operator.c
155
tail->next = expr;
usr.bin/find/operator.c
156
tail = expr;
usr.bin/find/operator.c
158
tail->next = NULL;
usr.bin/find/operator.c
172
PLAN *tail; /* pointer to tail of result plan */
usr.bin/find/operator.c
175
tail = result = next = NULL;
usr.bin/find/operator.c
212
tail = result = next;
usr.bin/find/operator.c
214
tail->next = next;
usr.bin/find/operator.c
215
tail = next;
usr.bin/find/operator.c
217
tail->next = NULL;
usr.bin/find/operator.c
230
PLAN *tail; /* pointer to tail of result plan */
usr.bin/find/operator.c
233
tail = result = next = NULL;
usr.bin/find/operator.c
264
tail = result = next;
usr.bin/find/operator.c
266
tail->next = next;
usr.bin/find/operator.c
267
tail = next;
usr.bin/find/operator.c
269
tail->next = NULL;
usr.bin/find/operator.c
82
PLAN *tail; /* pointer to tail of subplan */
usr.bin/find/operator.c
96
for (tail = subplan = NULL;;) {
usr.bin/grep/grep.c
149
int tail; /* lines left to print */
usr.bin/grep/grep.h
128
extern int tail;
usr.bin/grep/util.c
226
tail = 0;
usr.bin/grep/util.c
365
if ((tail || c) && !cflag && !qflag && !lflag && !Lflag) {
usr.bin/grep/util.c
370
tail = Aflag;
usr.bin/grep/util.c
376
tail--;
usr.bin/kdump/kdump.c
224
tail = 1;
usr.bin/kdump/kdump.c
358
if (tail)
usr.bin/kdump/kdump.c
425
while ((i = fread(buf, size, num, stdin)) == 0 && tail) {
usr.bin/kdump/kdump.c
88
static int timestamp, decimal, plain, tail, maxdata = -1, numeric;
usr.bin/ktrace/ktrace.c
143
tail = 1;
usr.bin/ktrace/ktrace.c
76
extern int timestamp, decimal, fancy, tail, maxdata;
usr.bin/ktruss/dump.c
322
if (tail)
usr.bin/ktruss/dump.c
337
while ((i = fread(buf, size, num, fp)) == 0 && tail) {
usr.bin/ktruss/dump.c
70
int timestamp, decimal, fancy = 1, tail, maxdata;
usr.bin/mail/format.c
564
char *tail;
usr.bin/mail/format.c
575
if ((tail = strptime(date, " %a,", &tmp_tm)) == NULL)
usr.bin/mail/format.c
576
tail = date;
usr.bin/mail/format.c
581
if ((tail = strptime(tail, " %d %b", &tmp_tm)) == NULL)
usr.bin/mail/format.c
591
if ((p = strptime(tail, " %y", &tmp_tm)) != NULL && is_WSP(*p))
usr.bin/mail/format.c
592
tail = p;
usr.bin/mail/format.c
593
else if ((tail = strptime(tail, " %Y", &tmp_tm)) == NULL)
usr.bin/mail/format.c
599
if ((tail = strptime(tail, " %H:%M", &tmp_tm)) == NULL)
usr.bin/mail/format.c
606
if ((p = strptime(tail, ":%S", &tmp_tm)) != NULL) {
usr.bin/mail/format.c
607
tail = p;
usr.bin/mail/format.c
611
tail = skip_WSP(tail);
usr.bin/mail/format.c
619
if ((p = strchr(tail, '(')) != NULL)
usr.bin/mail/format.c
625
tail = skin(tail);
usr.bin/mail/format.c
626
return convert_obs_zone(tail);
usr.bin/mail/format.c
650
char *tail;
usr.bin/mail/format.c
657
if ((tail = strptime(buf, " %a %b %d %H:%M", &tmp_tm)) == NULL)
usr.bin/mail/format.c
667
if ((p = strptime(tail, ":%S", &tmp_tm)) != NULL) {
usr.bin/mail/format.c
668
tail = p;
usr.bin/mail/format.c
676
if (sscanf(tail, " %3[A-Z] %n", zone, &len) == 1) {
usr.bin/mail/format.c
679
tail += len;
usr.bin/mail/format.c
683
tail = strptime(tail, " %Y ", &tmp_tm);
usr.bin/mail/format.c
686
return tail;
usr.bin/mail/names.c
506
struct name *tail;
usr.bin/mail/names.c
512
tail = tailof(n1);
usr.bin/mail/names.c
513
tail->n_flink = n2;
usr.bin/mail/names.c
514
n2->n_blink = tail;
usr.bin/mklocale/mklocaledb.c
100
if (head == tail || value > 0xFF)
usr.bin/mklocale/mklocaledb.c
95
char *tail;
usr.bin/mklocale/mklocaledb.c
99
value = _bcs_strtoul(head, &tail, 0);
usr.bin/msgc/msgdb.c
55
static struct id_rec *head = NULL, *tail = NULL;
usr.bin/msgc/msgdb.c
69
if (tail == NULL)
usr.bin/msgc/msgdb.c
70
head = tail = tmp;
usr.bin/msgc/msgdb.c
72
tail->next = tmp;
usr.bin/msgc/msgdb.c
73
tail = tmp;
usr.bin/rdist/expand.c
156
char *tail;
usr.bin/rdist/expand.c
172
if ((tail = strchr(cp, RC)) == NULL) {
usr.bin/rdist/expand.c
176
*tail++ = savec = '\0';
usr.bin/rdist/expand.c
182
tail = cp + 1;
usr.bin/rdist/expand.c
183
savec = *tail;
usr.bin/rdist/expand.c
184
*tail = '\0';
usr.bin/rdist/expand.c
188
*tail = savec;
usr.bin/rdist/expand.c
192
tp->n_name, tail);
usr.bin/rdist/expand.c
197
snprintf(expbuf, sizeof(expbuf), "%s%s", s, tail);
usr.bin/tftp/main.c
117
static char *tail(char *);
usr.bin/tftp/main.c
437
char *cp = argc == 2 ? tail(targ) : argv[1];
usr.bin/tftp/main.c
454
(void)strcpy(p, tail(argv[n]));
usr.bin/tftp/main.c
518
char *cp = argc == 3 ? argv[2] : tail(src);
usr.bin/tftp/main.c
530
p = tail(src); /* new .. jdg */
usr.bin/xlint/lint1/decl.c
1221
qual_ptr *tail = p2;
usr.bin/xlint/lint1/decl.c
1222
while (tail->p_next != NULL)
usr.bin/xlint/lint1/decl.c
1223
tail = tail->p_next;
usr.bin/xlint/lint1/decl.c
1224
tail->p_next = p1;
usr.sbin/dumpfs/dumpfs.c
768
off_t boff, head, tail, len;
usr.sbin/dumpfs/dumpfs.c
775
head = tail = 0;
usr.sbin/dumpfs/dumpfs.c
795
bno = tail/blklen + (seq - 2);
usr.sbin/dumpfs/dumpfs.c
804
((head >= tail && (boff < tail || boff >= head)) ||
usr.sbin/dumpfs/dumpfs.c
805
(head < tail && (boff >= head && boff < tail))))
usr.sbin/dumpfs/dumpfs.c
826
tail = awh.wc_tail;
usr.sbin/edquota/edquota.c
113
struct quotause *tail;
usr.sbin/edquota/edquota.c
256
qlist->tail = NULL;
usr.sbin/edquota/edquota.c
295
qlist->tail->next = qup;
usr.sbin/edquota/edquota.c
297
qlist->tail = qup;
usr.sbin/inetd/inetd.c
664
size_t i, tail;
usr.sbin/inetd/inetd.c
675
tail = sep->se_accept_count - i;
usr.sbin/inetd/inetd.c
679
tail * sizeof(pid_t));
usr.sbin/inetd/parse_v2.c
786
char *tail;
usr.sbin/inetd/parse_v2.c
789
count = (int)strtoi(arg, &tail, 10, 0, INT_MAX, &rstatus);
usr.sbin/inetd/parse_v2.c
796
switch(tail[0]) {
usr.sbin/mtree/verify.c
179
miss(NODE *p, char *tail)
usr.sbin/mtree/verify.c
191
strcpy(tail, p->name);
usr.sbin/mtree/verify.c
280
for (tp = tail; *tp; ++tp)
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
206
struct nentry *tail, *head, *e;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
221
tail = head = NULL;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
261
if (tail == NULL)
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
262
head = tail = e;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
264
tail->n_next = e;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
265
tail = e;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
270
if (tail == NULL) {
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
281
tail->n_next = e;
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
282
tail = e;
usr.sbin/rpcbind/rpcb_svc_4.c
326
rpcb_entry_list_ptr rp, tail;
usr.sbin/rpcbind/rpcb_svc_4.c
335
tail = NULL;
usr.sbin/rpcbind/rpcb_svc_4.c
402
tail = rp;
usr.sbin/rpcbind/rpcb_svc_4.c
403
} else if (tail) {
usr.sbin/rpcbind/rpcb_svc_4.c
404
tail->rpcb_entry_next = rp;
usr.sbin/rpcbind/rpcb_svc_4.c
405
tail = rp;
usr.sbin/sysinst/gpt.c
177
gpt_md_init(bool is_boot_disk, size_t *max_parts, size_t *head, size_t *tail)
usr.sbin/sysinst/gpt.c
195
*tail = 1 + num/GPT_PARTS_PER_SEC;
usr.sbin/sysinst/label.c
2078
space_prompt[1024], *head, *hint_part, *hint_space, *tail;
usr.sbin/sysinst/label.c
2154
tail = str_arg_subst(msg_string(MSG_label_offset_tail),
usr.sbin/sysinst/label.c
2159
head, hint_part, hint_space, space_prompt, tail);
usr.sbin/sysinst/label.c
2162
head, hint_part, tail);
usr.sbin/sysinst/label.c
2165
head, hint_space, space_prompt, tail);
usr.sbin/sysinst/label.c
2168
head, tail);
usr.sbin/sysinst/label.c
2169
free(head); free(hint_part); free(hint_space); free(tail);
usr.sbin/sysinst/label.c
2242
*label_msg, *prompt, *head, *hint, *tail;
usr.sbin/sysinst/label.c
2284
tail = str_arg_subst(msg_string(MSG_label_size_tail),
usr.sbin/sysinst/label.c
2288
asprintf(&label_msg, "%s\n%s\n\n%s", head, hint, tail);
usr.sbin/sysinst/label.c
2290
asprintf(&label_msg, "%s\n\n%s", head, tail);
usr.sbin/sysinst/label.c
2291
free(head); free(hint); free(tail);
usr.sbin/timed/timed/readmsg.c
126
if (ptr == tail)
usr.sbin/timed/timed/readmsg.c
127
tail = prev;
usr.sbin/timed/timed/readmsg.c
329
tail = head;
usr.sbin/timed/timed/readmsg.c
331
tail->p = malloc(sizeof(struct tsplist));
usr.sbin/timed/timed/readmsg.c
332
tail = tail->p;
usr.sbin/timed/timed/readmsg.c
333
tail->p = NULL;
usr.sbin/timed/timed/readmsg.c
334
tail->info = msgin;
usr.sbin/timed/timed/readmsg.c
335
tail->addr = from;
usr.sbin/timed/timed/readmsg.c
337
tail->when = from_when;
usr.sbin/timed/timed/readmsg.c
82
static struct tsplist *tail = &msgslist;
usr.sbin/timed/timed/readmsg.c
98
if (ptr == tail) {
usr.sbin/tpctl/data.c
67
char *res, *tail;
usr.sbin/tpctl/data.c
69
tail = &s[strlen(s) - 1];
usr.sbin/tpctl/data.c
70
while (s <= tail && strchr(" \t", *tail) != NULL)
usr.sbin/tpctl/data.c
71
tail--;
usr.sbin/tpctl/data.c
73
res = alloc(tail - s + 2);
usr.sbin/tpctl/data.c
74
memcpy(res, s, tail - s + 1);
usr.sbin/tpctl/data.c
75
res[tail - s + 1] = '\0';