Symbol: last
bin/mined/mined1.c
1330
char *last = NIL_PTR;
bin/mined/mined1.c
1334
last = ptr;
bin/mined/mined1.c
1337
if (last == NIL_PTR)
bin/mined/mined1.c
1339
if (*(last + 1) == '\0') { /* E.g. /usr/tmp/pipo/ */
bin/mined/mined1.c
1340
*last = '\0';
bin/mined/mined1.c
1343
return last + 1;
bin/mined/mined1.c
1418
static char *last = NIL_PTR;
bin/mined/mined1.c
1425
if (cur_pos == last) {
bin/mined/mined1.c
1428
last = &screen[read_chars];
bin/mkdir/mkdir.c
133
int first, last, retval;
bin/mkdir/mkdir.c
141
for (first = 1, last = 0; !last ; ++p) {
bin/mkdir/mkdir.c
143
last = 1;
bin/mkdir/mkdir.c
147
if (!last && p[1] == '\0')
bin/mkdir/mkdir.c
148
last = 1;
bin/mkdir/mkdir.c
167
if (last)
bin/mkdir/mkdir.c
171
mkdir_race(path, last ? omode :
bin/mkdir/mkdir.c
180
if (last)
bin/mkdir/mkdir.c
188
if (!last)
bin/mkdir/mkdir.c
191
if (!first && !last)
bin/pax/cpio.c
156
ARCHD last;
bin/pax/cpio.c
161
memset(&last, 0, sizeof(last));
bin/pax/cpio.c
162
last.nlen = sizeof(TRAILER) - 1;
bin/pax/cpio.c
163
last.type = PAX_REG;
bin/pax/cpio.c
164
last.sb.st_nlink = 1;
bin/pax/cpio.c
165
strcpy(last.name, TRAILER);
bin/pax/cpio.c
166
return((*frmt->wr)(&last));
bin/sh/histedit.c
192
int first, last, direction;
bin/sh/histedit.c
293
last = str_to_event(laststr, 1);
bin/sh/histedit.c
296
i = last;
bin/sh/histedit.c
297
last = first;
bin/sh/histedit.c
305
direction = first < last ? H_PREV : H_NEXT;
bin/sh/histedit.c
370
if (he.num == last)
bin/sh/histedit.c
425
str_to_event(const char *str, int last)
bin/sh/histedit.c
455
retval = history(hist, &he, last ? H_FIRST : H_LAST);
crypto/libressl/apps/openssl/ca.c
1741
int ok = -1, i, j, last, nid;
crypto/libressl/apps/openssl/ca.c
1853
last = -1;
crypto/libressl/apps/openssl/ca.c
1856
j = X509_NAME_get_index_by_OBJ(name, obj, last);
crypto/libressl/apps/openssl/ca.c
1858
if (last != -1)
crypto/libressl/apps/openssl/ca.c
1866
last = j;
crypto/libressl/apps/openssl/certhash.c
403
struct hashinfo *last, *entry;
crypto/libressl/apps/openssl/certhash.c
406
last = NULL;
crypto/libressl/apps/openssl/certhash.c
408
if (last != NULL) {
crypto/libressl/apps/openssl/certhash.c
409
if (entry->hash == last->hash) {
crypto/libressl/apps/openssl/certhash.c
411
last->fingerprint,
crypto/libressl/apps/openssl/certhash.c
416
last->filename);
crypto/libressl/apps/openssl/certhash.c
426
last = entry;
crypto/libressl/crypto/bio/bio_lib.c
658
BIO *b, *last;
crypto/libressl/crypto/bio/bio_lib.c
660
b = last = bio;
crypto/libressl/crypto/bio/bio_lib.c
664
last = b;
crypto/libressl/crypto/bio/bio_lib.c
670
*reason = last->retry_reason;
crypto/libressl/crypto/bio/bio_lib.c
671
return (last);
crypto/libressl/crypto/ocsp/ocsp_cl.c
289
OCSP_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last)
crypto/libressl/crypto/ocsp/ocsp_cl.c
297
if (last < 0)
crypto/libressl/crypto/ocsp/ocsp_cl.c
298
last = 0;
crypto/libressl/crypto/ocsp/ocsp_cl.c
300
last++;
crypto/libressl/crypto/ocsp/ocsp_cl.c
302
for (i = last; i < sk_OCSP_SINGLERESP_num(sresp); i++) {
crypto/libressl/crypto/x509/pcy_tree.c
295
X509_POLICY_LEVEL *last = curr - 1;
crypto/libressl/crypto/x509/pcy_tree.c
300
for (i = 0; i < sk_X509_POLICY_NODE_num(last->nodes); i++) {
crypto/libressl/crypto/x509/pcy_tree.c
301
node = sk_X509_POLICY_NODE_value(last->nodes, i);
crypto/libressl/crypto/x509/pcy_tree.c
302
if (policy_node_match(last, node, data->valid_policy)) {
crypto/libressl/crypto/x509/pcy_tree.c
308
if (!matched && last->anyPolicy) {
crypto/libressl/crypto/x509/pcy_tree.c
309
if (!level_add_node(curr, data, last->anyPolicy, NULL, NULL))
crypto/libressl/crypto/x509/pcy_tree.c
370
const X509_POLICY_LEVEL *last = curr - 1;
crypto/libressl/crypto/x509/pcy_tree.c
373
if ((last->flags & X509_V_FLAG_INHIBIT_MAP) ||
crypto/libressl/crypto/x509/pcy_tree.c
405
X509_POLICY_LEVEL *last = curr - 1;
crypto/libressl/crypto/x509/pcy_tree.c
407
for (i = 0; i < sk_X509_POLICY_NODE_num(last->nodes); i++) {
crypto/libressl/crypto/x509/pcy_tree.c
408
node = sk_X509_POLICY_NODE_value(last->nodes, i);
crypto/libressl/crypto/x509/pcy_tree.c
414
if (last->anyPolicy) {
crypto/libressl/crypto/x509/pcy_tree.c
416
last->anyPolicy, NULL, NULL))
crypto/libressl/crypto/x509/x509_verify.c
198
int last;
crypto/libressl/crypto/x509/x509_verify.c
202
if ((last = sk_X509_num(chain->certs) - 1) < 0)
crypto/libressl/crypto/x509/x509_verify.c
204
return sk_X509_value(chain->certs, last);
crypto/libressl/crypto/x509/x509_verify.c
478
X509 *last = x509_verify_chain_last(chain);
crypto/libressl/crypto/x509/x509_verify.c
486
return x509_verify_cert_error(ctx, last, depth,
crypto/libressl/crypto/x509/x509_verify.c
517
return x509_verify_cert_error(ctx, last, depth,
crypto/libressl/crypto/x509/x509_vfy.c
1004
last = 0;
crypto/libressl/crypto/x509/x509_vfy.c
1006
for (i = 0; i <= last; i++) {
crypto/libressl/crypto/x509/x509_vfy.c
994
int i, last, ok;
crypto/libressl/crypto/x509/x509_vfy.c
999
last = sk_X509_num(ctx->chain) - 1;
crypto/libressl/include/openssl/ocsp.h
236
int OCSP_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last);
crypto/libressl/ssl/ssl_ciph.c
799
CIPHER_ORDER *head, *tail, *curr, *next, *last;
crypto/libressl/ssl/ssl_ciph.c
811
last = head;
crypto/libressl/ssl/ssl_ciph.c
814
last = tail;
crypto/libressl/ssl/ssl_ciph.c
819
if (curr == last)
crypto/openssh/krl.c
576
u_int64_t i, contig, gap, last = 0, bitmap_start = 0;
crypto/openssh/krl.c
613
state == 0 ? 0 : rs->lo - last, gap, &force_new_sect);
crypto/openssh/krl.c
689
last = rs->hi;
crypto/openssh/loginrec.c
1539
struct lastlog last;
crypto/openssh/loginrec.c
1545
memset(&last, '\0', sizeof(last));
crypto/openssh/loginrec.c
1546
line_stripname(last.ll_line, li->line, sizeof(last.ll_line));
crypto/openssh/loginrec.c
1547
strlcpy(last.ll_host, li->hostname,
crypto/openssh/loginrec.c
1548
MIN_SIZEOF(last.ll_host, li->hostname));
crypto/openssh/loginrec.c
1549
last.ll_time = li->tv_sec;
crypto/openssh/loginrec.c
1555
if (atomicio(vwrite, fd, &last, sizeof(last)) != sizeof(last)) {
crypto/openssh/loginrec.c
1592
struct lastlog last;
crypto/openssh/loginrec.c
1598
ret = atomicio(read, fd, &last, sizeof(last));
crypto/openssh/loginrec.c
1603
memset(&last, '\0', sizeof(last));
crypto/openssh/loginrec.c
1605
case sizeof(last):
crypto/openssh/loginrec.c
1606
line_fullname(li->line, last.ll_line, sizeof(li->line));
crypto/openssh/loginrec.c
1607
strlcpy(li->hostname, last.ll_host,
crypto/openssh/loginrec.c
1608
MIN_SIZEOF(li->hostname, last.ll_host));
crypto/openssh/loginrec.c
1609
li->tv_sec = last.ll_time;
crypto/openssh/loginrec.c
1617
__func__, LASTLOG_FILE, (int)sizeof(last), ret);
crypto/openssh/misc.c
2381
u_char c, last = '\0';
crypto/openssh/misc.c
2397
if (last == '.' && c == '.') {
crypto/openssh/misc.c
2408
last = c;
crypto/openssh/scp.c
1399
char *last, *name, buf[PATH_MAX + 128], encname[PATH_MAX];
crypto/openssh/scp.c
1436
if ((last = strrchr(name, '/')) == NULL)
crypto/openssh/scp.c
1437
last = name;
crypto/openssh/scp.c
1439
++last;
crypto/openssh/scp.c
1440
curfile = last;
crypto/openssh/scp.c
1448
(long long)stb.st_size, last);
crypto/openssh/scp.c
1507
char *last, *vect[1], path[PATH_MAX];
crypto/openssh/scp.c
1513
last = strrchr(name, '/');
crypto/openssh/scp.c
1514
if (last == NULL)
crypto/openssh/scp.c
1515
last = name;
crypto/openssh/scp.c
1517
last++;
crypto/openssh/scp.c
1525
(u_int) (statp->st_mode & FILEMODEMASK), 0, last);
crypto/openssh/sshconnect2.c
123
char *oavail = NULL, *avail = NULL, *first = NULL, *last = NULL;
crypto/openssh/sshconnect2.c
167
last = xmalloc(maxlen);
crypto/openssh/sshconnect2.c
168
*first = *last = '\0';
crypto/openssh/sshconnect2.c
197
ALG_APPEND(last, alg);
crypto/openssh/sshconnect2.c
201
(*first == '\0' || *last == '\0') ? "" : ",", last);
crypto/openssh/sshconnect2.c
209
free(last);
crypto/openssh/sshkey.c
2879
u_char last;
crypto/openssh/sshkey.c
2910
last = *cp;
crypto/openssh/sshkey.c
2913
if (last == '\n') {
games/backgammon/common_source/one.c
36
static int last(void);
games/backgammon/common_source/one.c
46
max = (*offptr < 0 ? 7 : last());
games/cribbage/crib.c
438
bool myturn, mego, ugo, last, played;
games/cribbage/crib.c
451
last = true; /* enable last flag */
games/cribbage/crib.c
556
last = false; /* disable last flag */
games/cribbage/crib.c
564
if (last) {
games/fortune/fortune/fortune.c
877
FILEDESC *fp, *last = NULL;
games/fortune/fortune/fortune.c
892
last = fp;
games/fortune/fortune/fortune.c
917
for (fp = File_tail; fp != last; fp = fp->prev)
games/fortune/fortune/fortune.c
923
last->percent = percent;
games/hack/hack.o_init.c
100
&& objects[last].oc_name != NULL)
games/hack/hack.o_init.c
101
last++;
games/hack/hack.o_init.c
111
for (j = first; j < last; j++)
games/hack/hack.o_init.c
114
for (j = first; j < last; j++)
games/hack/hack.o_init.c
115
objects[j].oc_prob = (100 + j - first) / (last - first);
games/hack/hack.o_init.c
123
while (last < end && objects[last].oc_olet == let)
games/hack/hack.o_init.c
124
last++;
games/hack/hack.o_init.c
125
j = last;
games/hack/hack.o_init.c
133
first = last;
games/hack/hack.o_init.c
87
int i, j, first, last, sum, end;
games/hack/hack.o_init.c
98
last = first + 1;
games/hack/hack.o_init.c
99
while (last < end && objects[last].oc_olet == let
games/rogue/message.c
357
r_index(const char *str, int ch, boolean last)
games/rogue/message.c
361
if (last) {
games/sail/pl_5.c
101
last = 'b';
games/sail/pl_5.c
114
if (last == '0') {
games/sail/pl_5.c
118
last = '0';
games/sail/pl_5.c
62
char buf[60], last = '\0';
games/sail/pl_5.c
87
if (last == 't') {
games/sail/pl_5.c
91
last = 't';
games/worms/worms.c
179
int CO, LI, last, bottom, ch, length, number, trail;
games/worms/worms.c
227
last = CO - 1;
games/worms/worms.c
298
op = &(!x ? (!y ? upleft : (y == bottom ? lowleft : left)) : (x == last ? (!y ? upright : (y == bottom ? lowright : right)) : (!y ? upper : (y == bottom ? lower : normal))))[w->orientation];
lib/libalias/alias_proxy.c
107
struct proxy_entry *last;
lib/libalias/alias_proxy.c
209
entry->last = NULL;
lib/libalias/alias_proxy.c
224
entry->last = NULL;
lib/libalias/alias_proxy.c
225
proxyList->last = entry;
lib/libalias/alias_proxy.c
231
ptr->last = entry;
lib/libalias/alias_proxy.c
232
entry->last = ptr->last;
lib/libalias/alias_proxy.c
241
entry->last = ptr_last;
lib/libalias/alias_proxy.c
248
if (entry->last != NULL)
lib/libalias/alias_proxy.c
249
entry->last->next = entry->next;
lib/libalias/alias_proxy.c
254
entry->next->last = entry->last;
lib/libc/db/btree/bt_overflow.c
131
PAGE *h, *last;
lib/libc/db/btree/bt_overflow.c
142
for (last = NULL, p = dbt->data, sz = dbt->size;;
lib/libc/db/btree/bt_overflow.c
143
p = (char *)p + plen, last = h) {
lib/libc/db/btree/bt_overflow.c
155
if (last) {
lib/libc/db/btree/bt_overflow.c
156
last->nextpg = h->pgno;
lib/libc/db/btree/bt_overflow.c
157
mpool_put(t->bt_mp, last, MPOOL_DIRTY);
lib/libc/db/test/btree.tests/main.c
185
int argc, i, last;
lib/libc/db/test/btree.tests/main.c
193
for (last = 0;;) {
lib/libc/db/test/btree.tests/main.c
199
i = last;
lib/libc/db/test/btree.tests/main.c
232
uselast: last = i;
lib/libc/db/test/btree.tests/main.c
71
void last(DB *, char **);
lib/libc/db/test/btree.tests/main.c
97
"la", 0, 0, last, "last", "move cursor to last record",
lib/libc/gen/popen.c
181
struct pid *cur, *last = NULL;
lib/libc/gen/popen.c
192
last = cur;
lib/libc/gen/popen.c
198
if (last == NULL)
lib/libc/gen/popen.c
201
SLIST_REMOVE_AFTER(last, next);
lib/libc/isc/eventlib_p.h
164
evWait * last;
lib/libc/stdlib/merge.c
102
u_char *list2, *list1, *p2, *p, *last, **p1;
lib/libc/stdlib/merge.c
125
last = list2 + nmemb * size;
lib/libc/stdlib/merge.c
127
while (*EVAL(list2) != last) {
lib/libc/stdlib/merge.c
130
for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) {
lib/libc/stdlib/merge.c
134
if (p2 != last)
lib/libc/stdlib/merge.c
220
last = list2 + nmemb*size;
lib/libc/stdlib/merge.c
260
u_char *f1, *f2, *s, *l2, *last, *p2;
lib/libc/stdlib/merge.c
274
last = list1 + size * (n - i);
lib/libc/stdlib/merge.c
275
*EVAL(list2 + (last - list1)) = list2 + n * size;
lib/libc/stdlib/merge.c
281
for (; f1 < last; sense = !sense) {
lib/libc/stdlib/merge.c
284
for (f2 = f1 + size2; f2 < last; f2 += size2) {
lib/libc/stdlib/merge.c
308
if (f2 < last || cmp(f2 - size, f2) > 0)
lib/libc/stdlib/merge.c
315
for (f1 = list1, p2 = list2; f1 < last; f1 += size2) {
lib/libc/stdlib/merge.c
63
#define ICOPY_LIST(src, dst, last) \
lib/libc/stdlib/merge.c
66
while(src < last)
lib/libc/stdlib/merge.c
72
#define CCOPY_LIST(src, dst, last) \
lib/libc/stdlib/merge.c
75
while (src < last)
lib/libc/string/memmem.c
40
char *cur, *last;
lib/libc/string/memmem.c
57
last = (char *)cl + l_len - s_len;
lib/libc/string/memmem.c
59
for (cur = (char *)cl; cur <= last; cur++)
lib/libc/string/strtok.c
111
static __thread char *last TLS_ATTRIBUTE;
lib/libc/string/strtok.c
113
return (__strtok_r(s, delim, &last));
lib/libc/string/strtok.c
55
char ** __restrict last)
lib/libc/string/strtok.c
60
if (s == NULL && (s = *last) == NULL)
lib/libc/string/strtok.c
74
*last = NULL;
lib/libc/string/strtok.c
92
*last = s;
lib/libc/string/wcsrchr.c
34
const wchar_t *last;
lib/libc/string/wcsrchr.c
36
last = NULL;
lib/libc/string/wcsrchr.c
39
last = s;
lib/libc/string/wcsrchr.c
45
return ((wchar_t *)last);
lib/libc/string/wcstok.c
41
wchar_t ** __restrict last)
lib/libc/string/wcstok.c
47
if (s == NULL && (s = *last) == NULL)
lib/libc/string/wcstok.c
61
*last = NULL;
lib/libc/string/wcstok.c
79
*last = s;
lib/libc/sysvipc/msg.c
354
msqpptr->ds.last.msg_last_index;
lib/libc/sysvipc/msg.c
568
msqptr->last.msg_last_index = _index;
lib/libc/sysvipc/msg.c
570
msqpptr->msghdrs[msqptr->last.msg_last_index].msg_next = _index;
lib/libc/sysvipc/msg.c
571
msqptr->last.msg_last_index = _index;
lib/libc/sysvipc/msg.c
573
msqpptr->msghdrs[msqptr->last.msg_last_index].msg_next = -1;
lib/libc/sysvipc/msg.c
642
if (msqptr->first.msg_first_index == msqptr->last.msg_last_index) {
lib/libc/sysvipc/msg.c
644
msqptr->last.msg_last_index = -1;
lib/libc/sysvipc/msg.c
681
if (msghdr_index == msqptr->last.msg_last_index) {
lib/libc/sysvipc/msg.c
684
msqptr->last.msg_last_index = -1;
lib/libc/sysvipc/msg.c
686
msqptr->last.msg_last_index = previous;
lib/libc/sysvipc/sysvipc_msg.h
51
} last;
lib/libc/uuid/uuid_name_lookup.c
196
char *last;
lib/libc/uuid/uuid_name_lookup.c
205
uuid = strtok_r(line, " \t\r", &last);
lib/libc/uuid/uuid_name_lookup.c
208
name = strtok_r(NULL, "", &last);
lib/libfetch/http.c
927
off_t first, last, len;
lib/libfetch/http.c
933
first = last = -1;
lib/libfetch/http.c
940
for (last = 0, ++p; *p && isdigit((unsigned char)*p); ++p)
lib/libfetch/http.c
941
last = last * 10 + *p - '0';
lib/libfetch/http.c
943
if (first > last || *p != '/')
lib/libfetch/http.c
947
if (*p || len < last - first + 1)
lib/libfetch/http.c
954
(long long)first, (long long)last, (long long)len);
lib/libfetch/http.c
955
*length = last - first + 1;
lib/libvgl/bitmap.c
113
for (last = width; ; ) {
lib/libvgl/bitmap.c
114
len = min(VGLAdpInfo.va_window_size - offset, last);
lib/libvgl/bitmap.c
115
bcopy(&VGLPlane[i][width - last], dst->Bitmap + offset, len);
lib/libvgl/bitmap.c
117
last -= len;
lib/libvgl/bitmap.c
118
if (last <= 0)
lib/libvgl/bitmap.c
48
int i, pos, last, planepos, start_offset, end_offset, offset;
lib/libvgl/bitmap.c
68
last = 8 - start_offset;
lib/libvgl/bitmap.c
71
while (pos < last && pos < width)
lib/libvgl/bitmap.c
78
last += 8;
libexec/diff3prog/diff3prog.c
119
int last[4];
libexec/diff3prog/diff3prog.c
413
last[i] = rold->to;
libexec/diff3prog/diff3prog.c
449
delta = last[3] - last[i];
libexec/talkd/table.c
165
ptr->next->last = ptr;
libexec/talkd/table.c
166
ptr->last = NULL;
libexec/talkd/table.c
220
else if (ptr->last != NULL)
libexec/talkd/table.c
221
ptr->last->next = ptr->next;
libexec/talkd/table.c
223
ptr->next->last = ptr->last;
libexec/talkd/table.c
64
TABLE_ENTRY *last;
libexec/telnetd/state.c
1298
int last = -1; /* invalid value */
libexec/telnetd/state.c
1320
if (last < 0 || last == OLD_ENV_VAR
libexec/telnetd/state.c
1321
|| (empty && (last == OLD_ENV_VALUE)))
libexec/telnetd/state.c
1324
last = OLD_ENV_VAR;
libexec/telnetd/state.c
1327
if (last < 0 || last == OLD_ENV_VALUE
libexec/telnetd/state.c
1328
|| (empty && (last == OLD_ENV_VAR)))
libexec/telnetd/state.c
1331
last = OLD_ENV_VALUE;
libexec/telnetd/state.c
1335
if (last != ENV_USERVAR)
libexec/telnetd/state.c
1338
if (last == OLD_ENV_VALUE)
libexec/telnetd/state.c
1340
if (last == OLD_ENV_VAR)
libexec/telnetd/state.c
1343
last = ENV_USERVAR;
libexec/telnetd/state.c
1356
if (last == OLD_ENV_VALUE)
libexec/telnetd/state.c
1358
if (last == OLD_ENV_VAR)
libexec/telnetd/telnetd.c
542
char first[256], last[256];
libexec/telnetd/telnetd.c
558
(void) strncpy(last, terminaltype, sizeof(last)-1);
libexec/telnetd/telnetd.c
559
last[sizeof(last)-1] = '\0';
libexec/telnetd/telnetd.c
563
if ((strncmp(last, terminaltype, sizeof(last)) == 0) ||
sbin/gpt/create.c
123
if (last > 0xffffffff)
sbin/gpt/create.c
126
mbr->mbr_part[0].dp_size = htole32((uint32_t)last);
sbin/gpt/create.c
146
if ((blocks + 1LL) > ((last + 1LL) >> 1))
sbin/gpt/create.c
147
blocks = ((last + 1LL) >> 1) - 1LL;
sbin/gpt/create.c
163
hdr->hdr_lba_alt = htole64(last);
sbin/gpt/create.c
165
hdr->hdr_lba_end = htole64(last - blocks - 1LL);
sbin/gpt/create.c
191
tpg = map_add(last, 1LL, MAP_TYPE_GPT_SEC_HDR,
sbin/gpt/create.c
193
lbt = map_add(last - blocks, blocks, MAP_TYPE_GPT_SEC_TBL,
sbin/gpt/create.c
76
off_t blocks, last;
sbin/gpt/create.c
85
last = mediasz / secsz - 1LL;
sbin/gpt/expand.c
140
if (last - blocks <= last_data) {
sbin/gpt/expand.c
152
new_size = last - blocks - le64toh(last_ent->ent_lba_start);
sbin/gpt/expand.c
180
delta = last - hdr->hdr_lba_alt;
sbin/gpt/expand.c
187
hdr->hdr_lba_alt = htole64(last);
sbin/gpt/expand.c
201
tpg = map_add(last, 1LL, MAP_TYPE_GPT_SEC_HDR,
sbin/gpt/expand.c
207
lbt = map_add(last - blocks, blocks, MAP_TYPE_GPT_SEC_TBL,
sbin/gpt/expand.c
226
if (last > 0xffffffff)
sbin/gpt/expand.c
229
mbr->mbr_part[0].dp_size = htole32((uint32_t)last);
sbin/gpt/expand.c
85
off_t last;
sbin/gpt/expand.c
94
last = mediasz / secsz - 1LL;
sbin/gpt/migrate.c
236
off_t blocks, last;
sbin/gpt/migrate.c
246
last = mediasz / secsz - 1LL;
sbin/gpt/migrate.c
282
if ((blocks + 1LL) > ((last + 1LL) >> 1))
sbin/gpt/migrate.c
283
blocks = ((last + 1LL) >> 1) - 1LL;
sbin/gpt/migrate.c
315
lbt = map_add(last - blocks, blocks, MAP_TYPE_GPT_SEC_TBL,
sbin/gpt/migrate.c
317
tpg = map_add(last, 1LL, MAP_TYPE_GPT_SEC_HDR, calloc(1, secsz));
sbin/gpt/migrate.c
453
if (last > 0xffffffff)
sbin/gpt/migrate.c
456
mbr->mbr_part[0].dp_size = htole32((uint32_t)last);
sbin/gpt/recover.c
103
tpg = map_add(last, 1LL, MAP_TYPE_GPT_SEC_HDR,
sbin/gpt/recover.c
166
if (last > 0xffffffff)
sbin/gpt/recover.c
169
mbr->mbr_part[0].dp_size = htole32((uint32_t)last);
sbin/gpt/recover.c
50
off_t last;
sbin/gpt/recover.c
76
last = mediasz / secsz - 1LL;
sbin/gpt/recover.c
79
lbt = map_add(last - tbl->map_size, tbl->map_size,
sbin/hammer2/cmd_destroy.c
40
const char *last;
sbin/hammer2/cmd_destroy.c
50
fd = pathdir(av[i], &last);
sbin/hammer2/cmd_destroy.c
53
"%s", last);
sbin/hammer2/cmd_recover.c
1556
int64_t last;
sbin/hammer2/cmd_recover.c
1612
sdc->last = ++SDCLast;
sbin/hammer2/cmd_recover.c
1615
if (sdc_worst == NULL || sdc_worst->last > sdc->last)
sbin/hammer2/cmd_recover.c
1628
sdc->last = ++SDCLast;
sbin/hammer2/cmd_recover.c
1634
sdc->last = 0;
sbin/hammer2/zlib/hammer2_zlib_deflate.c
945
#define FLUSH_BLOCK_ONLY(s, last) { \
sbin/hammer2/zlib/hammer2_zlib_deflate.c
950
(last)); \
sbin/hammer2/zlib/hammer2_zlib_deflate.c
957
#define FLUSH_BLOCK(s, last) { \
sbin/hammer2/zlib/hammer2_zlib_deflate.c
958
FLUSH_BLOCK_ONLY(s, last); \
sbin/hammer2/zlib/hammer2_zlib_deflate.c
959
if (s->strm->avail_out == 0) return (last) ? finish_started : need_more; \
sbin/hammer2/zlib/hammer2_zlib_deflate.h
290
ulg stored_len, int last);
sbin/hammer2/zlib/hammer2_zlib_deflate.h
294
ulg stored_len, int last);
sbin/hammer2/zlib/hammer2_zlib_inffast.c
100
last = in + (strm->avail_in - 5);
sbin/hammer2/zlib/hammer2_zlib_inffast.c
307
} while (in < last && out < end);
sbin/hammer2/zlib/hammer2_zlib_inffast.c
318
strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last));
sbin/hammer2/zlib/hammer2_zlib_inffast.c
73
z_const unsigned char FAR *last; /* have enough input while in < last */
sbin/hammer2/zlib/hammer2_zlib_inflate.c
1041
strm->data_type = state->bits + (state->last ? 64 : 0) +
sbin/hammer2/zlib/hammer2_zlib_inflate.c
121
state->last = 0;
sbin/hammer2/zlib/hammer2_zlib_inflate.c
563
code last; /* parent table entry */
sbin/hammer2/zlib/hammer2_zlib_inflate.c
631
if (state->last) {
sbin/hammer2/zlib/hammer2_zlib_inflate.c
637
state->last = BITS(1);
sbin/hammer2/zlib/hammer2_zlib_inflate.c
642
state->last ? " (last)" : ""));
sbin/hammer2/zlib/hammer2_zlib_inflate.c
648
state->last ? " (last)" : ""));
sbin/hammer2/zlib/hammer2_zlib_inflate.c
657
state->last ? " (last)" : ""));
sbin/hammer2/zlib/hammer2_zlib_inflate.c
845
last = here;
sbin/hammer2/zlib/hammer2_zlib_inflate.c
847
here = state->lencode[last.val +
sbin/hammer2/zlib/hammer2_zlib_inflate.c
848
(BITS(last.bits + last.op) >> last.bits)];
sbin/hammer2/zlib/hammer2_zlib_inflate.c
849
if ((unsigned)(last.bits + here.bits) <= bits) break;
sbin/hammer2/zlib/hammer2_zlib_inflate.c
852
DROPBITS(last.bits);
sbin/hammer2/zlib/hammer2_zlib_inflate.c
853
state->back += last.bits;
sbin/hammer2/zlib/hammer2_zlib_inflate.c
897
last = here;
sbin/hammer2/zlib/hammer2_zlib_inflate.c
899
here = state->distcode[last.val +
sbin/hammer2/zlib/hammer2_zlib_inflate.c
900
(BITS(last.bits + last.op) >> last.bits)];
sbin/hammer2/zlib/hammer2_zlib_inflate.c
901
if ((unsigned)(last.bits + here.bits) <= bits) break;
sbin/hammer2/zlib/hammer2_zlib_inflate.c
904
DROPBITS(last.bits);
sbin/hammer2/zlib/hammer2_zlib_inflate.c
905
state->back += last.bits;
sbin/hammer2/zlib/hammer2_zlib_inflate.h
75
int last; /* true if processing last block */
sbin/hammer2/zlib/hammer2_zlib_trees.c
1003
if (last) {
sbin/hammer2/zlib/hammer2_zlib_trees.c
1010
s->compressed_len-7*last));
sbin/hammer2/zlib/hammer2_zlib_trees.c
325
# define SEPARATOR(i, last, width) \
sbin/hammer2/zlib/hammer2_zlib_trees.c
326
((i) == (last)? "\n};\n\n" : \
sbin/hammer2/zlib/hammer2_zlib_trees.c
875
ulg stored_len, int last) /* one if this is the last block for a file */
sbin/hammer2/zlib/hammer2_zlib_trees.c
877
send_bits(s, (STORED_BLOCK<<1)+last, 3); /* send block type */
sbin/hammer2/zlib/hammer2_zlib_trees.c
918
ulg stored_len, int last)
sbin/hammer2/zlib/hammer2_zlib_trees.c
974
_tr_stored_block(s, buf, stored_len, last);
sbin/hammer2/zlib/hammer2_zlib_trees.c
981
send_bits(s, (STATIC_TREES<<1)+last, 3);
sbin/hammer2/zlib/hammer2_zlib_trees.c
988
send_bits(s, (DYN_TREES<<1)+last, 3);
sbin/ifconfig/ifconfig.c
240
struct ifaddrs *right, *temp, *last, *result, *next, *tail;
sbin/ifconfig/ifconfig.c
242
right = temp = last = list;
sbin/ifconfig/ifconfig.c
249
last = right;
sbin/ifconfig/ifconfig.c
254
last->ifa_next = NULL;
sbin/ifconfig/ifieee80211.c
1089
int first, last, f, c;
sbin/ifconfig/ifieee80211.c
1094
switch (sscanf(cp, "%u-%u", &first, &last)) {
sbin/ifconfig/ifieee80211.c
1105
if (last > IEEE80211_CHAN_MAX)
sbin/ifconfig/ifieee80211.c
1107
last, IEEE80211_CHAN_MAX);
sbin/ifconfig/ifieee80211.c
1108
if (first > last)
sbin/ifconfig/ifieee80211.c
1110
first, last);
sbin/ifconfig/ifieee80211.c
1111
for (f = first; f <= last; f++)
sbin/ping/ping.c
1206
} last;
sbin/ping/ping.c
1225
last.uc[0] = *(u_char *)w;
sbin/ping/ping.c
1226
last.uc[1] = 0;
sbin/ping/ping.c
1227
sum += last.us;
sbin/ping/ping.c
202
struct timeval last, intvl;
sbin/ping/ping.c
727
gettimeofday(&last, NULL);
sbin/ping/ping.c
749
timeout.tv_sec = last.tv_sec + intvl.tv_sec - now.tv_sec;
sbin/ping/ping.c
750
timeout.tv_usec = last.tv_usec + intvl.tv_usec - now.tv_usec;
sbin/ping/ping.c
822
gettimeofday(&last, NULL);
sbin/rcorder/rcorder.c
115
filenode *next, *last;
sbin/rcorder/rcorder.c
253
temp->next->last = temp;
sbin/rcorder/rcorder.c
254
temp->last = fn_head;
sbin/rcorder/rcorder.c
299
head->last = head->next = NULL;
sbin/rcorder/rcorder.c
347
pnode->last = head;
sbin/rcorder/rcorder.c
351
pnode->next->last = pnode;
sbin/rcorder/rcorder.c
534
head->last = head->next = NULL;
sbin/rcorder/rcorder.c
542
pnode->last = head;
sbin/rcorder/rcorder.c
546
pnode->next->last = pnode;
sbin/rcorder/rcorder.c
751
pnode->next->last = pnode->last;
sbin/rcorder/rcorder.c
753
if (pnode->last != NULL) {
sbin/rcorder/rcorder.c
754
pnode->last->next = pnode->next;
sbin/rcorder/rcorder.c
770
fnode->next->last = fnode->last;
sbin/rcorder/rcorder.c
772
if (fnode->last != NULL) {
sbin/rcorder/rcorder.c
773
fnode->last->next = fnode->next;
sbin/rcorder/rcorder.c
92
provnode *next, *last;
sbin/restore/restore.c
663
ufs1_ino_t first, next, last;
sbin/restore/restore.c
673
last = upperbnd(maxino - 1);
sbin/restore/restore.c
677
last = upperbnd(last);
sbin/restore/restore.c
681
if (first > last)
sbin/restore/restore.c
690
if (curfile.ino > last && curfile.ino < maxino && volno > 1) {
sbin/restore/restore.c
741
if (next == curfile.ino && next <= last) {
stand/boot/efi/loader/bootinfo.c
117
vm_offset_t addr, last;
stand/boot/efi/loader/bootinfo.c
120
addr = last = start;
stand/boot/efi/loader/bootinfo.c
139
last = ++addr;
stand/boot/efi/loader/bootinfo.c
142
if (archsw.arch_copyin("", last++, 1) != 1)
stand/boot/efi/loader/bootinfo.c
143
last = start;
stand/boot/efi/loader/bootinfo.c
144
return(last);
stand/boot/efi/loader/copy.c
143
uint64_t *src, *dst, *last;
stand/boot/efi/loader/copy.c
147
last = (uint64_t *)staging_end;
stand/boot/efi/loader/copy.c
149
while (src < last)
stand/lib/environment.c
113
if (last == NULL) {
stand/lib/environment.c
116
last->ev_next = ev;
stand/lib/environment.c
117
ev->ev_prev = last;
stand/lib/environment.c
71
struct env_var *ev, *curr, *last;
stand/lib/environment.c
96
for (last = NULL, curr = environ;
stand/lib/environment.c
98
last = curr, curr = curr->ev_next) {
sys/bus/iicbus/iic.c
344
error = iicbus_read(parent, buf, s->count, &count, s->last, 10);
sys/bus/iicbus/iic.h
50
int last;
sys/bus/iicbus/iicbb.c
308
iicbb_readbyte(device_t dev, int last, int timeout)
sys/bus/iicbus/iicbb.c
322
if (last) {
sys/bus/iicbus/iicbb.c
327
I2C_DEBUG(kprintf("r%02x%c ",(int)data,last?'-':'+'));
sys/bus/iicbus/iicbb.c
409
iicbb_read(device_t dev, char * buf, int len, int *read, int last, int delay)
sys/bus/iicbus/iicbb.c
416
*buf++ = (char)iicbb_readbyte(dev, (len == 1) ? last : 0, delay);
sys/bus/iicbus/iiconf.c
254
iicbus_read(device_t bus, char *buf, int len, int *read, int last, int delay)
sys/bus/iicbus/iiconf.c
262
return (IICBUS_READ(device_get_parent(bus), buf, len, read, last, delay));
sys/bus/iicbus/pcf/pcf.c
586
pcf_read(device_t pcfdev, char *buf, int len, int *read, int last,
sys/bus/iicbus/pcf/pcf.c
598
if (len == 1 && last)
sys/bus/iicbus/pcf/pcf.c
616
if (len == 1 && last)
sys/bus/iicbus/pcf/pcf.c
621
else if (len == 2 && last)
sys/bus/ppbus/ppb_1284.c
327
byte_peripheral_outbyte(device_t bus, char *buffer, int last)
sys/bus/ppbus/ppb_1284.c
359
if (!last) {
sys/bus/smbus/ichiic/ig4_iic.c
330
uint32_t last;
sys/bus/smbus/ichiic/ig4_iic.c
347
last = IG4_DATA_RESTART;
sys/bus/smbus/ichiic/ig4_iic.c
359
last |= (u_char)cmd;
sys/bus/smbus/ichiic/ig4_iic.c
361
last |= IG4_DATA_STOP;
sys/bus/smbus/ichiic/ig4_iic.c
362
reg_write(sc, IG4_REG_DATA_CMD, last);
sys/bus/smbus/ichiic/ig4_iic.c
363
last = 0;
sys/bus/smbus/ichiic/ig4_iic.c
385
last |= (u_char)cmd;
sys/bus/smbus/ichiic/ig4_iic.c
386
reg_write(sc, IG4_REG_DATA_CMD, last);
sys/bus/smbus/ichiic/ig4_iic.c
387
last = 0;
sys/bus/smbus/ichiic/ig4_iic.c
397
last |= (u_char)*wbuf;
sys/bus/smbus/ichiic/ig4_iic.c
399
last |= IG4_DATA_STOP;
sys/bus/smbus/ichiic/ig4_iic.c
400
reg_write(sc, IG4_REG_DATA_CMD, last);
sys/bus/smbus/ichiic/ig4_iic.c
403
last = 0;
sys/bus/smbus/ichiic/ig4_iic.c
422
last = IG4_DATA_RESTART | IG4_DATA_COMMAND_RD;
sys/bus/smbus/ichiic/ig4_iic.c
426
last |= IG4_DATA_STOP;
sys/bus/smbus/ichiic/ig4_iic.c
428
reg_write(sc, IG4_REG_DATA_CMD, last);
sys/bus/smbus/ichiic/ig4_iic.c
429
last = IG4_DATA_COMMAND_RD;
sys/bus/smbus/ichiic/ig4_iic.c
442
last = (rcount == 2) ? IG4_DATA_STOP : 0;
sys/bus/smbus/ichiic/ig4_iic.c
444
last = 0;
sys/bus/smbus/ichiic/ig4_iic.c
446
last);
sys/bus/smbus/ichiic/ig4_iic.c
457
last = data_read(sc);
sys/bus/smbus/ichiic/ig4_iic.c
460
*rbuf = (u_char)last;
sys/bus/smbus/ichiic/ig4_iic.c
474
if (rcount > (u_char)last)
sys/bus/smbus/ichiic/ig4_iic.c
475
rcount = (u_char)last;
sys/bus/smbus/ichiic/ig4_iic.c
483
last = reg_read(sc, IG4_REG_TX_ABRT_SOURCE);
sys/bus/u4b/controller/ehci.c
1000
#define EHCI_APPEND_QH(sqh,last) (last) = _ehci_append_qh(sqh,last)
sys/bus/u4b/controller/ehci.c
1002
_ehci_append_qh(ehci_qh_t *sqh, ehci_qh_t *last)
sys/bus/u4b/controller/ehci.c
1004
DPRINTFN(11, "%p to %p\n", sqh, last);
sys/bus/u4b/controller/ehci.c
1009
return (last);
sys/bus/u4b/controller/ehci.c
1013
sqh->next = last->next;
sys/bus/u4b/controller/ehci.c
1014
sqh->qh_link = last->qh_link;
sys/bus/u4b/controller/ehci.c
1016
sqh->prev = last;
sys/bus/u4b/controller/ehci.c
1024
last->next = sqh;
sys/bus/u4b/controller/ehci.c
1025
last->qh_link = sqh->qh_self;
sys/bus/u4b/controller/ehci.c
1027
usb_pc_cpu_flush(last->page_cache);
sys/bus/u4b/controller/ehci.c
1032
#define EHCI_REMOVE_FS_TD(std,last) (last) = _ehci_remove_fs_td(std,last)
sys/bus/u4b/controller/ehci.c
1034
_ehci_remove_fs_td(ehci_sitd_t *std, ehci_sitd_t *last)
sys/bus/u4b/controller/ehci.c
1036
DPRINTFN(11, "%p from %p\n", std, last);
sys/bus/u4b/controller/ehci.c
1049
return ((last == std) ? std->prev : last);
sys/bus/u4b/controller/ehci.c
1052
#define EHCI_REMOVE_HS_TD(std,last) (last) = _ehci_remove_hs_td(std,last)
sys/bus/u4b/controller/ehci.c
1054
_ehci_remove_hs_td(ehci_itd_t *std, ehci_itd_t *last)
sys/bus/u4b/controller/ehci.c
1056
DPRINTFN(11, "%p from %p\n", std, last);
sys/bus/u4b/controller/ehci.c
1069
return ((last == std) ? std->prev : last);
sys/bus/u4b/controller/ehci.c
1072
#define EHCI_REMOVE_QH(sqh,last) (last) = _ehci_remove_qh(sqh,last)
sys/bus/u4b/controller/ehci.c
1074
_ehci_remove_qh(ehci_qh_t *sqh, ehci_qh_t *last)
sys/bus/u4b/controller/ehci.c
1076
DPRINTFN(11, "%p from %p\n", sqh, last);
sys/bus/u4b/controller/ehci.c
1092
last = ((last == sqh) ? sqh->prev : last);
sys/bus/u4b/controller/ehci.c
1098
return (last);
sys/bus/u4b/controller/ehci.c
948
#define EHCI_APPEND_FS_TD(std,last) (last) = _ehci_append_fs_td(std,last)
sys/bus/u4b/controller/ehci.c
950
_ehci_append_fs_td(ehci_sitd_t *std, ehci_sitd_t *last)
sys/bus/u4b/controller/ehci.c
952
DPRINTFN(11, "%p to %p\n", std, last);
sys/bus/u4b/controller/ehci.c
956
std->next = last->next;
sys/bus/u4b/controller/ehci.c
957
std->sitd_next = last->sitd_next;
sys/bus/u4b/controller/ehci.c
959
std->prev = last;
sys/bus/u4b/controller/ehci.c
966
last->next = std;
sys/bus/u4b/controller/ehci.c
967
last->sitd_next = std->sitd_self;
sys/bus/u4b/controller/ehci.c
969
usb_pc_cpu_flush(last->page_cache);
sys/bus/u4b/controller/ehci.c
974
#define EHCI_APPEND_HS_TD(std,last) (last) = _ehci_append_hs_td(std,last)
sys/bus/u4b/controller/ehci.c
976
_ehci_append_hs_td(ehci_itd_t *std, ehci_itd_t *last)
sys/bus/u4b/controller/ehci.c
978
DPRINTFN(11, "%p to %p\n", std, last);
sys/bus/u4b/controller/ehci.c
982
std->next = last->next;
sys/bus/u4b/controller/ehci.c
983
std->itd_next = last->itd_next;
sys/bus/u4b/controller/ehci.c
985
std->prev = last;
sys/bus/u4b/controller/ehci.c
992
last->next = std;
sys/bus/u4b/controller/ehci.c
993
last->itd_next = std->itd_self;
sys/bus/u4b/controller/ehci.c
995
usb_pc_cpu_flush(last->page_cache);
sys/bus/u4b/controller/ohci.c
649
#define OHCI_APPEND_QH(sed,last) (last) = _ohci_append_qh(sed,last)
sys/bus/u4b/controller/ohci.c
651
_ohci_append_qh(ohci_ed_t *sed, ohci_ed_t *last)
sys/bus/u4b/controller/ohci.c
653
DPRINTFN(11, "%p to %p\n", sed, last);
sys/bus/u4b/controller/ohci.c
658
return (last);
sys/bus/u4b/controller/ohci.c
662
sed->next = last->next;
sys/bus/u4b/controller/ohci.c
663
sed->ed_next = last->ed_next;
sys/bus/u4b/controller/ohci.c
666
sed->prev = last;
sys/bus/u4b/controller/ohci.c
674
last->next = sed;
sys/bus/u4b/controller/ohci.c
675
last->ed_next = sed->ed_self;
sys/bus/u4b/controller/ohci.c
677
usb_pc_cpu_flush(last->page_cache);
sys/bus/u4b/controller/ohci.c
682
#define OHCI_REMOVE_QH(sed,last) (last) = _ohci_remove_qh(sed,last)
sys/bus/u4b/controller/ohci.c
684
_ohci_remove_qh(ohci_ed_t *sed, ohci_ed_t *last)
sys/bus/u4b/controller/ohci.c
686
DPRINTFN(11, "%p from %p\n", sed, last);
sys/bus/u4b/controller/ohci.c
702
last = ((last == sed) ? sed->prev : last);
sys/bus/u4b/controller/ohci.c
708
return (last);
sys/bus/u4b/controller/uhci.c
890
#define UHCI_APPEND_TD(std,last) (last) = _uhci_append_td(std,last)
sys/bus/u4b/controller/uhci.c
892
_uhci_append_td(uhci_td_t *std, uhci_td_t *last)
sys/bus/u4b/controller/uhci.c
894
DPRINTFN(11, "%p to %p\n", std, last);
sys/bus/u4b/controller/uhci.c
898
std->next = last->next;
sys/bus/u4b/controller/uhci.c
899
std->td_next = last->td_next;
sys/bus/u4b/controller/uhci.c
901
std->prev = last;
sys/bus/u4b/controller/uhci.c
908
last->next = std;
sys/bus/u4b/controller/uhci.c
909
last->td_next = std->td_self;
sys/bus/u4b/controller/uhci.c
911
usb_pc_cpu_flush(last->page_cache);
sys/bus/u4b/controller/uhci.c
916
#define UHCI_APPEND_QH(sqh,last) (last) = _uhci_append_qh(sqh,last)
sys/bus/u4b/controller/uhci.c
918
_uhci_append_qh(uhci_qh_t *sqh, uhci_qh_t *last)
sys/bus/u4b/controller/uhci.c
920
DPRINTFN(11, "%p to %p\n", sqh, last);
sys/bus/u4b/controller/uhci.c
925
return (last);
sys/bus/u4b/controller/uhci.c
929
sqh->h_next = last->h_next;
sys/bus/u4b/controller/uhci.c
930
sqh->qh_h_next = last->qh_h_next;
sys/bus/u4b/controller/uhci.c
932
sqh->h_prev = last;
sys/bus/u4b/controller/uhci.c
942
last->h_next = sqh;
sys/bus/u4b/controller/uhci.c
943
last->qh_h_next = sqh->qh_self;
sys/bus/u4b/controller/uhci.c
945
usb_pc_cpu_flush(last->page_cache);
sys/bus/u4b/controller/uhci.c
952
#define UHCI_REMOVE_TD(std,last) (last) = _uhci_remove_td(std,last)
sys/bus/u4b/controller/uhci.c
954
_uhci_remove_td(uhci_td_t *std, uhci_td_t *last)
sys/bus/u4b/controller/uhci.c
956
DPRINTFN(11, "%p from %p\n", std, last);
sys/bus/u4b/controller/uhci.c
969
return ((last == std) ? std->prev : last);
sys/bus/u4b/controller/uhci.c
972
#define UHCI_REMOVE_QH(sqh,last) (last) = _uhci_remove_qh(sqh,last)
sys/bus/u4b/controller/uhci.c
974
_uhci_remove_qh(uhci_qh_t *sqh, uhci_qh_t *last)
sys/bus/u4b/controller/uhci.c
976
DPRINTFN(11, "%p from %p\n", sqh, last);
sys/bus/u4b/controller/uhci.c
992
last = ((last == sqh) ? sqh->h_prev : last);
sys/bus/u4b/controller/uhci.c
998
return (last);
sys/cpu/x86_64/include/stdarg.h
55
#define __va_start(ap, last) \
sys/cpu/x86_64/include/stdarg.h
56
__builtin_va_start(ap, last)
sys/cpu/x86_64/include/stdarg.h
69
#define __va_start(ap, last) \
sys/cpu/x86_64/include/stdarg.h
70
((ap) = (__va_list)&(last) + __va_size(last))
sys/dev/acpica/acpi_timer.c
357
uint32_t last, this;
sys/dev/acpica/acpi_timer.c
371
AcpiGetTimer(&last);
sys/dev/acpica/acpi_timer.c
374
delta = acpi_TimerDelta(this, last);
sys/dev/acpica/acpi_timer.c
383
last = this;
sys/dev/disk/iscsi/initiator/iscsi_subr.c
251
u_int i, n, last;
sys/dev/disk/iscsi/initiator/iscsi_subr.c
254
last = -1;
sys/dev/disk/iscsi/initiator/iscsi_subr.c
261
if(last > n)
sys/dev/disk/iscsi/initiator/iscsi_subr.c
262
last = n;
sys/dev/disk/iscsi/initiator/iscsi_subr.c
263
sdebug(2, "last=%x n=%x", last, n);
sys/dev/disk/iscsi/initiator/iscsi_subr.c
267
return i? last: sp->sn.cmd;
sys/dev/disk/isp/isp_freebsd.c
3103
int i, more = 0, last;
sys/dev/disk/isp/isp_freebsd.c
3194
if (isptarg_rwparm(cdb, disk_data, disk_size, atio->ccb_h.ccb_data_offset, &data_ptr, &data_len, &last)) {
sys/dev/disk/isp/isp_freebsd.c
3214
if (last && data_len) {
sys/dev/disk/isp/isp_freebsd.c
3215
last = 0;
sys/dev/disk/isp/isp_freebsd.c
3218
if (last == 0) {
sys/dev/disk/isp/isp_freebsd.c
3233
if (isptarg_rwparm(cdb, disk_data, disk_size, atio->ccb_h.ccb_data_offset, &data_ptr, &data_len, &last)) {
sys/dev/disk/isp/isp_freebsd.c
3253
if (last && data_len) {
sys/dev/disk/isp/isp_freebsd.c
3254
last = 0;
sys/dev/disk/isp/isp_freebsd.c
3257
if (last == 0) {
sys/dev/disk/sym/sym_hipd.c
182
struct sym_quehead *last = list->blink;
sys/dev/disk/sym/sym_hipd.c
188
last->flink = at;
sys/dev/disk/sym/sym_hipd.c
189
at->blink = last;
sys/dev/drm/amd/amdgpu/amdgpu_atombios.c
1630
reg_table->last = i;
sys/dev/drm/amd/amdgpu/amdgpu_atombios.c
1639
for (i = 0, j = 1; i < reg_table->last; i++) {
sys/dev/drm/amd/amdgpu/amdgpu_atombios.h
113
u8 last;
sys/dev/drm/amd/amdgpu/amdgpu_cs.c
861
(m->last + 1) * AMDGPU_GPU_PAGE_SIZE) {
sys/dev/drm/amd/amdgpu/amdgpu_mn.c
473
end = max(it->last, end);
sys/dev/drm/amd/amdgpu/amdgpu_mn.c
485
node->it.last = end;
sys/dev/drm/amd/amdgpu/amdgpu_object.h
53
uint64_t last;
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
820
end = (mapping->last + 1 - mapping->start);
sys/dev/drm/amd/amdgpu/amdgpu_vce.c
646
(mapping->last + 1) * AMDGPU_GPU_PAGE_SIZE) {
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
1801
uint64_t start, uint64_t last,
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
1835
return amdgpu_vm_update_ptes(&params, start, last + 1,
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
1841
nptes = last - start + 1;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
1915
r = amdgpu_vm_update_ptes(&params, start, last + 1, addr, flags);
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
1999
uint64_t addr, last;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2037
last = min((uint64_t)mapping->last, start + max_entries - 1);
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2039
start, last, flags, addr,
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2044
pfn += (last - start + 1) / AMDGPU_GPU_PAGES_IN_CPU_PAGE;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2049
start = last + 1;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2051
} while (unlikely(start != mapping->last + 1));
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2334
mapping->start, mapping->last,
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2522
tmp->start, tmp->last + 1);
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2531
mapping->last = eaddr;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2594
mapping->last = eaddr;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2702
before->last = saddr - 1;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2710
if (tmp->last > eaddr) {
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2712
after->last = tmp->last;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2733
if (tmp->last > eaddr)
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
2734
tmp->last = eaddr;
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
63
#define LAST(node) ((node)->last)
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
72
uint64_t last)
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
79
if (LAST(node) >= start && START(node) <= last)
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
87
uint64_t last)
sys/dev/drm/amd/amdgpu/amdgpu_vm.c
94
if (LAST(node) >= start && START(node) <= last)
sys/dev/drm/amd/amdgpu/ci_dpm.c
4496
for (i = 0, j = table->last; i < table->last; i++) {
sys/dev/drm/amd/amdgpu/ci_dpm.c
4551
table->last = j;
sys/dev/drm/amd/amdgpu/ci_dpm.c
4633
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/amdgpu/ci_dpm.c
4649
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/amdgpu/ci_dpm.c
4661
if (table->last > SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE)
sys/dev/drm/amd/amdgpu/ci_dpm.c
4666
for (i = 0; i < table->last; i++)
sys/dev/drm/amd/amdgpu/ci_dpm.c
4669
ci_table->last = table->last;
sys/dev/drm/amd/amdgpu/ci_dpm.c
4674
for (j = 0; j < table->last; j++)
sys/dev/drm/amd/amdgpu/ci_dpm.c
4696
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/amdgpu/ci_dpm.c
4697
if (table->last >= SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE)
sys/dev/drm/amd/amdgpu/ci_dpm.c
4838
for (i = 0, j = 0; j < pi->mc_reg_table.last; j++) {
sys/dev/drm/amd/amdgpu/ci_dpm.c
4848
mc_reg_table->last = (u8)i;
sys/dev/drm/amd/amdgpu/ci_dpm.c
4883
mc_reg_table_data, pi->mc_reg_table.last,
sys/dev/drm/amd/amdgpu/ci_dpm.h
83
u8 last;
sys/dev/drm/amd/amdgpu/si_dpm.c
5821
for (i = 0, j = table->last; i < table->last; i++) {
sys/dev/drm/amd/amdgpu/si_dpm.c
5875
table->last = j;
sys/dev/drm/amd/amdgpu/si_dpm.c
5938
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/amdgpu/si_dpm.c
5953
for (i = 0; i < table->last; i++)
sys/dev/drm/amd/amdgpu/si_dpm.c
5964
if (table->last > SMC_SISLANDS_MC_REGISTER_ARRAY_SIZE)
sys/dev/drm/amd/amdgpu/si_dpm.c
5969
for (i = 0; i < table->last; i++)
sys/dev/drm/amd/amdgpu/si_dpm.c
5971
si_table->last = table->last;
sys/dev/drm/amd/amdgpu/si_dpm.c
5976
for (j = 0; j < table->last; j++) {
sys/dev/drm/amd/amdgpu/si_dpm.c
6042
for (i = 0, j = 0; j < si_pi->mc_reg_table.last; j++) {
sys/dev/drm/amd/amdgpu/si_dpm.c
6053
mc_reg_table->last = (u8)i;
sys/dev/drm/amd/amdgpu/si_dpm.c
6086
mc_reg_table_data, si_pi->mc_reg_table.last,
sys/dev/drm/amd/amdgpu/si_dpm.c
6123
si_pi->mc_reg_table.last,
sys/dev/drm/amd/amdgpu/si_dpm.c
6132
si_pi->mc_reg_table.last,
sys/dev/drm/amd/amdgpu/si_dpm.h
275
u8 last;
sys/dev/drm/amd/amdgpu/si_dpm.h
291
uint8_t last;
sys/dev/drm/amd/amdgpu/si_dpm.h
321
uint8_t last;
sys/dev/drm/amd/amdgpu/si_dpm.h
621
u8 last;
sys/dev/drm/amd/amdgpu/si_dpm.h
929
u8 last;
sys/dev/drm/amd/amdgpu/sislands_smc.h
320
uint8_t last;
sys/dev/drm/amd/lib/chash.c
162
#define CHASH_IN_RANGE(table, slot, first, last) \
sys/dev/drm/amd/lib/chash.c
163
(CHASH_SUB(table, slot, first) <= CHASH_SUB(table, last, first))
sys/dev/drm/amd/powerplay/hwmgr/ppatomctrl.c
129
table->last = i;
sys/dev/drm/amd/powerplay/hwmgr/ppatomctrl.c
69
for (i = 0, j = 1; i < table->last; i++) {
sys/dev/drm/amd/powerplay/hwmgr/ppatomctrl.h
248
uint8_t last; /* number of registers */
sys/dev/drm/amd/powerplay/inc/smu71_discrete.h
367
uint8_t last;
sys/dev/drm/amd/powerplay/inc/smu72_discrete.h
370
uint8_t last;
sys/dev/drm/amd/powerplay/inc/smu7_discrete.h
427
uint8_t last;
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
1728
for (i = 0, j = 0; j < smu_data->mc_reg_table.last; j++) {
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
1740
mc_reg_table->last = (uint8_t)i;
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
1780
mc_reg_table_data, smu_data->mc_reg_table.last,
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2541
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2554
PP_ASSERT_WITH_CODE((table->last <= SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE),
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2559
for (i = 0; i < table->last; i++)
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2562
ni_table->last = table->last;
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2567
for (j = 0; j < table->last; j++) {
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2585
for (i = 0, j = table->last; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2649
table->last = j;
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2658
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.h
54
uint8_t last;
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
1695
for (i = 0, j = 0; j < smu_data->mc_reg_table.last; j++) {
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
1707
mc_reg_table->last = (uint8_t)i;
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
1747
mc_reg_table_data, smu_data->mc_reg_table.last,
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2471
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2484
PP_ASSERT_WITH_CODE((table->last <= SMU71_DISCRETE_MC_REGISTER_ARRAY_SIZE),
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2489
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2492
ni_table->last = table->last;
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2497
for (j = 0; j < table->last; j++) {
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2515
for (i = 0, j = table->last; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2580
table->last = j;
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2588
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.h
53
uint8_t last; /* number of registers*/
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2070
for (i = 0, j = 0; j < smu_data->mc_reg_table.last; j++) {
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2085
mc_reg_table->last = (uint8_t)i;
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2126
mc_reg_table_data, smu_data->mc_reg_table.last,
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2931
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2946
PP_ASSERT_WITH_CODE((table->last <= SMU72_DISCRETE_MC_REGISTER_ARRAY_SIZE),
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2951
for (i = 0; i < table->last; i++)
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2954
ni_table->last = table->last;
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2959
for (j = 0; j < table->last; j++) {
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2977
for (i = 0, j = table->last; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
3041
table->last = j;
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
3050
for (i = 0; i < table->last; i++) {
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.h
55
uint8_t last; /* number of registers*/
sys/dev/drm/drm_mm.c
172
__drm_mm_interval_first(const struct drm_mm *mm, u64 start, u64 last)
sys/dev/drm/drm_mm.c
175
start, last) ?: (struct drm_mm_node *)&mm->head_node;
sys/dev/drm/drm_vblank.c
100
vblank->last = last;
sys/dev/drm/drm_vblank.c
1069
u64 last;
sys/dev/drm/drm_vblank.c
1078
last = drm_vblank_count(dev, pipe);
sys/dev/drm/drm_vblank.c
1081
last != drm_vblank_count(dev, pipe),
sys/dev/drm/drm_vblank.c
1293
diff, diff_ns, framedur_ns, cur_vblank - vblank->last);
sys/dev/drm/drm_vblank.c
221
diff = (cur_vblank - vblank->last) & dev->max_vblank_count;
sys/dev/drm/drm_vblank.c
258
pipe, vblank->count, diff, cur_vblank, vblank->last);
sys/dev/drm/drm_vblank.c
261
WARN_ON_ONCE(cur_vblank != vblank->last);
sys/dev/drm/drm_vblank.c
94
ktime_t t_vblank, u32 last)
sys/dev/drm/i915/i915_gem_execbuffer.c
652
struct list_head last;
sys/dev/drm/i915/i915_gem_execbuffer.c
684
INIT_LIST_HEAD(&last);
sys/dev/drm/i915/i915_gem_execbuffer.c
703
list_add(&vma->exec_link, &last);
sys/dev/drm/i915/i915_gem_execbuffer.c
705
list_add_tail(&vma->exec_link, &last);
sys/dev/drm/i915/i915_gem_execbuffer.c
707
list_splice_tail(&last, &eb->unbound);
sys/dev/drm/i915/i915_gem_userptr.c
275
mo->it.last = obj->userptr.ptr + obj->base.size - 1;
sys/dev/drm/i915/intel_engine_cs.c
1450
struct i915_request *rq, *last;
sys/dev/drm/i915/intel_engine_cs.c
1519
last = NULL;
sys/dev/drm/i915/intel_engine_cs.c
1525
last = rq;
sys/dev/drm/i915/intel_engine_cs.c
1527
if (last) {
sys/dev/drm/i915/intel_engine_cs.c
1533
print_request(m, last, "\t\tE ");
sys/dev/drm/i915/intel_engine_cs.c
1536
last = NULL;
sys/dev/drm/i915/intel_engine_cs.c
1547
last = rq;
sys/dev/drm/i915/intel_engine_cs.c
1550
if (last) {
sys/dev/drm/i915/intel_engine_cs.c
1556
print_request(m, last, "\t\tQ ");
sys/dev/drm/i915/intel_guc_submission.c
717
struct i915_request *last = NULL;
sys/dev/drm/i915/intel_guc_submission.c
751
if (last && rq->hw_context != last->hw_context) {
sys/dev/drm/i915/intel_guc_submission.c
759
port_assign(port, last);
sys/dev/drm/i915/intel_guc_submission.c
767
last = rq;
sys/dev/drm/i915/intel_guc_submission.c
779
port_assign(port, last);
sys/dev/drm/i915/intel_guc_submission.c
780
if (last)
sys/dev/drm/i915/intel_lrc.c
1179
struct intel_engine_cs *engine, *last;
sys/dev/drm/i915/intel_lrc.c
1252
last = NULL;
sys/dev/drm/i915/intel_lrc.c
1269
if (last != engine) {
sys/dev/drm/i915/intel_lrc.c
1271
last = engine;
sys/dev/drm/i915/intel_lrc.c
186
const struct i915_request *last,
sys/dev/drm/i915/intel_lrc.c
190
__execlists_need_preempt(prio, rq_prio(last)) &&
sys/dev/drm/i915/intel_lrc.c
191
!i915_request_completed(last));
sys/dev/drm/i915/intel_lrc.c
603
struct i915_request *last = port_request(port);
sys/dev/drm/i915/intel_lrc.c
629
if (last) {
sys/dev/drm/i915/intel_lrc.c
650
if (need_preempt(engine, last, execlists->queue_priority)) {
sys/dev/drm/i915/intel_lrc.c
687
last->tail = last->wa_tail;
sys/dev/drm/i915/intel_lrc.c
706
if (last &&
sys/dev/drm/i915/intel_lrc.c
707
!can_merge_ctx(rq->hw_context, last->hw_context)) {
sys/dev/drm/i915/intel_lrc.c
726
if (ctx_single_port_submission(last->hw_context) ||
sys/dev/drm/i915/intel_lrc.c
733
GEM_BUG_ON(last->hw_context == rq->hw_context);
sys/dev/drm/i915/intel_lrc.c
736
port_assign(port, last);
sys/dev/drm/i915/intel_lrc.c
745
last = rq;
sys/dev/drm/i915/intel_lrc.c
773
port != execlists->port ? rq_prio(last) : INT_MIN;
sys/dev/drm/i915/intel_lrc.c
776
port_assign(port, last);
sys/dev/drm/i915/intel_lrc.c
785
if (last)
sys/dev/drm/i915/intel_ringbuffer.h
1150
ktime_t last;
sys/dev/drm/i915/intel_ringbuffer.h
1157
last = ktime_sub(ktime_get(), engine->stats.start);
sys/dev/drm/i915/intel_ringbuffer.h
1160
last);
sys/dev/drm/i915/intel_ringbuffer.h
1167
last = ktime_sub(ktime_get(), engine->stats.enabled_at);
sys/dev/drm/i915/intel_ringbuffer.h
1170
last);
sys/dev/drm/i915/intel_ringbuffer.h
668
static inline bool __execlists_need_preempt(int prio, int last)
sys/dev/drm/i915/intel_ringbuffer.h
670
return prio > max(0, last);
sys/dev/drm/include/drm/drm_mm.h
480
__drm_mm_interval_first(const struct drm_mm *mm, u64 start, u64 last);
sys/dev/drm/include/drm/drm_vblank.h
130
u32 last;
sys/dev/drm/include/drm/ttm/ttm_bo_driver.h
503
struct ttm_buffer_object *last;
sys/dev/drm/include/linux/interval_tree.h
37
unsigned long last; /* Last location _in_ interval, inclusive */
sys/dev/drm/include/linux/interval_tree.h
48
unsigned long start, unsigned long last);
sys/dev/drm/include/linux/interval_tree.h
52
unsigned long start, unsigned long last);
sys/dev/drm/include/linux/interval_tree_generic.h
41
name##_iter_from(struct rb_node *rb, valtype start, valtype last) \
sys/dev/drm/include/linux/interval_tree_generic.h
47
if (LAST(node) >= start && START(node) <= last) \
sys/dev/drm/include/linux/interval_tree_generic.h
49
else if (START(node) > last) \
sys/dev/drm/include/linux/interval_tree_generic.h
58
name##_iter_first(struct rb_root_cached *root, valtype start, valtype last) \
sys/dev/drm/include/linux/interval_tree_generic.h
60
return (name##_iter_from(rb_first_cached(root), start, last)); \
sys/dev/drm/include/linux/interval_tree_generic.h
65
name##_iter_next(type *node, valtype start, valtype last) \
sys/dev/drm/include/linux/interval_tree_generic.h
67
return (name##_iter_from(rb_next(&node->field), start, last)); \
sys/dev/drm/include/linux/list.h
240
struct list_head *last)
sys/dev/drm/include/linux/list.h
242
first->prev->next = last->next;
sys/dev/drm/include/linux/list.h
243
last->next->prev = first->prev;
sys/dev/drm/include/linux/list.h
246
last->next = head;
sys/dev/drm/include/linux/list.h
247
head->prev = last;
sys/dev/drm/include/linux/list.h
255
struct list_head *last;
sys/dev/drm/include/linux/list.h
260
last = list->prev;
sys/dev/drm/include/linux/list.h
263
last->next = next;
sys/dev/drm/include/linux/list.h
264
next->prev = last;
sys/dev/drm/linux_interval_tree.c
100
unsigned long start, unsigned long last)
sys/dev/drm/linux_interval_tree.c
106
if (start <= scan->last &&
sys/dev/drm/linux_interval_tree.c
107
last >= scan->start) {
sys/dev/drm/linux_interval_tree.c
80
unsigned long start, unsigned long last)
sys/dev/drm/linux_interval_tree.c
87
if (start <= scan->last &&
sys/dev/drm/linux_interval_tree.c
88
last >= scan->start) {
sys/dev/drm/radeon/btc_dpm.c
1902
for (i = 0; i < table->last; i++) {
sys/dev/drm/radeon/btc_dpm.c
1920
for (i = 0, j = table->last; i < table->last; i++) {
sys/dev/drm/radeon/btc_dpm.c
1970
table->last = j;
sys/dev/drm/radeon/btc_dpm.c
1980
for (i = 0; i < table->last; i++) {
sys/dev/drm/radeon/btc_dpm.c
1992
if (table->last > SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE)
sys/dev/drm/radeon/btc_dpm.c
1998
for (i = 0; i < table->last; i++)
sys/dev/drm/radeon/btc_dpm.c
2000
eg_table->last = table->last;
sys/dev/drm/radeon/btc_dpm.c
2005
for(j = 0; j < table->last; j++)
sys/dev/drm/radeon/ci_dpm.c
4377
for (i = 0, j = table->last; i < table->last; i++) {
sys/dev/drm/radeon/ci_dpm.c
4436
table->last = j;
sys/dev/drm/radeon/ci_dpm.c
4518
for (i = 0; i < table->last; i++) {
sys/dev/drm/radeon/ci_dpm.c
4534
for (i = 0; i < table->last; i++) {
sys/dev/drm/radeon/ci_dpm.c
4546
if (table->last > SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE)
sys/dev/drm/radeon/ci_dpm.c
4551
for (i = 0; i < table->last; i++)
sys/dev/drm/radeon/ci_dpm.c
4554
ci_table->last = table->last;
sys/dev/drm/radeon/ci_dpm.c
4559
for (j = 0; j < table->last; j++)
sys/dev/drm/radeon/ci_dpm.c
4581
for (i = 0; i < table->last; i++) {
sys/dev/drm/radeon/ci_dpm.c
4582
if (table->last >= SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE)
sys/dev/drm/radeon/ci_dpm.c
4723
for (i = 0, j = 0; j < pi->mc_reg_table.last; j++) {
sys/dev/drm/radeon/ci_dpm.c
4733
mc_reg_table->last = (u8)i;
sys/dev/drm/radeon/ci_dpm.c
4768
mc_reg_table_data, pi->mc_reg_table.last,
sys/dev/drm/radeon/ci_dpm.h
82
u8 last;
sys/dev/drm/radeon/cypress_dpm.c
1031
eg_pi->mc_reg_table.last = (u8)i;
sys/dev/drm/radeon/cypress_dpm.c
1040
for (i = 0; i < eg_pi->mc_reg_table.last; i++)
sys/dev/drm/radeon/cypress_dpm.c
1063
for (i = 0; i < eg_pi->mc_reg_table.last; i++) {
sys/dev/drm/radeon/cypress_dpm.c
1175
for (i = 0; i < eg_pi->mc_reg_table.last; i++) {
sys/dev/drm/radeon/cypress_dpm.c
1685
&mc_reg_table.data[1], eg_pi->mc_reg_table.last,
sys/dev/drm/radeon/cypress_dpm.c
849
eg_pi->mc_reg_table.last,
sys/dev/drm/radeon/cypress_dpm.c
957
for (i = 0, j = 0; j < eg_pi->mc_reg_table.last; j++) {
sys/dev/drm/radeon/cypress_dpm.c
967
mc_reg_table->last = (u8)i;
sys/dev/drm/radeon/cypress_dpm.h
35
u8 last;
sys/dev/drm/radeon/evergreen_smc.h
50
uint8_t last;
sys/dev/drm/radeon/ni_dpm.c
2718
for (i = 0, j = table->last; i < table->last; i++) {
sys/dev/drm/radeon/ni_dpm.c
2763
table->last = j;
sys/dev/drm/radeon/ni_dpm.c
2824
for (i = 0; i < table->last; i++) {
sys/dev/drm/radeon/ni_dpm.c
2839
for (i = 0; i < table->last; i++)
sys/dev/drm/radeon/ni_dpm.c
2850
if (table->last > SMC_NISLANDS_MC_REGISTER_ARRAY_SIZE)
sys/dev/drm/radeon/ni_dpm.c
2855
for (i = 0; i < table->last; i++)
sys/dev/drm/radeon/ni_dpm.c
2857
ni_table->last = table->last;
sys/dev/drm/radeon/ni_dpm.c
2862
for (j = 0; j < table->last; j++)
sys/dev/drm/radeon/ni_dpm.c
2928
for (i = 0, j = 0; j < ni_pi->mc_reg_table.last; j++) {
sys/dev/drm/radeon/ni_dpm.c
2939
mc_reg_table->last = (u8)i;
sys/dev/drm/radeon/ni_dpm.c
2974
ni_pi->mc_reg_table.last,
sys/dev/drm/radeon/ni_dpm.c
3012
ni_pi->mc_reg_table.last,
sys/dev/drm/radeon/ni_dpm.h
53
u8 last;
sys/dev/drm/radeon/nislands_smc.h
270
uint8_t last;
sys/dev/drm/radeon/radeon_atombios.c
4022
reg_table->last = i;
sys/dev/drm/radeon/radeon_atombios.c
4031
for (i = 0, j = 1; i < reg_table->last; i++) {
sys/dev/drm/radeon/radeon_mn.c
278
end = max(it->last, end);
sys/dev/drm/radeon/radeon_mn.c
294
node->it.last = end;
sys/dev/drm/radeon/radeon_mode.h
665
u8 last;
sys/dev/drm/radeon/radeon_ring.c
250
uint64_t last = atomic64_read(&ring->last_activity);
sys/dev/drm/radeon/radeon_ring.c
259
elapsed = jiffies_to_msecs(jiffies_64 - last);
sys/dev/drm/radeon/radeon_vm.c
1013
bo_va->it.last + 1, addr,
sys/dev/drm/radeon/radeon_vm.c
1029
radeon_vm_fence_pts(vm, bo_va->it.start, bo_va->it.last + 1, ib.fence);
sys/dev/drm/radeon/radeon_vm.c
1127
if (bo_va->it.start || bo_va->it.last)
sys/dev/drm/radeon/radeon_vm.c
1132
if (bo_va->it.start || bo_va->it.last) {
sys/dev/drm/radeon/radeon_vm.c
1161
(bo_va->it.start || bo_va->it.last))
sys/dev/drm/radeon/radeon_vm.c
332
bo_va->it.last = 0;
sys/dev/drm/radeon/radeon_vm.c
489
soffset, tmp->bo, tmp->it.start, tmp->it.last);
sys/dev/drm/radeon/radeon_vm.c
496
if (bo_va->it.start || bo_va->it.last) {
sys/dev/drm/radeon/radeon_vm.c
506
tmp->it.last = bo_va->it.last;
sys/dev/drm/radeon/radeon_vm.c
513
bo_va->it.last = 0;
sys/dev/drm/radeon/radeon_vm.c
522
bo_va->it.last = eoffset;
sys/dev/drm/radeon/radeon_vm.c
967
nptes = bo_va->it.last - bo_va->it.start + 1;
sys/dev/drm/radeon/si_dpm.c
5365
for (i = 0, j = table->last; i < table->last; i++) {
sys/dev/drm/radeon/si_dpm.c
5423
table->last = j;
sys/dev/drm/radeon/si_dpm.c
5487
for (i = 0; i < table->last; i++) {
sys/dev/drm/radeon/si_dpm.c
5502
for (i = 0; i < table->last; i++)
sys/dev/drm/radeon/si_dpm.c
5513
if (table->last > SMC_SISLANDS_MC_REGISTER_ARRAY_SIZE)
sys/dev/drm/radeon/si_dpm.c
5518
for (i = 0; i < table->last; i++)
sys/dev/drm/radeon/si_dpm.c
5520
si_table->last = table->last;
sys/dev/drm/radeon/si_dpm.c
5525
for (j = 0; j < table->last; j++) {
sys/dev/drm/radeon/si_dpm.c
5591
for (i = 0, j = 0; j < si_pi->mc_reg_table.last; j++) {
sys/dev/drm/radeon/si_dpm.c
5602
mc_reg_table->last = (u8)i;
sys/dev/drm/radeon/si_dpm.c
5635
mc_reg_table_data, si_pi->mc_reg_table.last,
sys/dev/drm/radeon/si_dpm.c
5672
si_pi->mc_reg_table.last,
sys/dev/drm/radeon/si_dpm.c
5681
si_pi->mc_reg_table.last,
sys/dev/drm/radeon/si_dpm.h
113
u8 last;
sys/dev/drm/radeon/sislands_smc.h
320
uint8_t last;
sys/dev/drm/radeon/smu7_discrete.h
426
uint8_t last;
sys/dev/drm/ttm/ttm_bo.c
229
pos->last = bo;
sys/dev/drm/ttm/ttm_bo.c
269
reservation_object_assert_held(pos->last->resv);
sys/dev/drm/ttm/ttm_bo.c
273
&pos->last->lru);
sys/dev/drm/ttm/ttm_bo.c
284
reservation_object_assert_held(pos->last->resv);
sys/dev/drm/ttm/ttm_bo.c
288
&pos->last->lru);
sys/dev/drm/ttm/ttm_bo.c
299
reservation_object_assert_held(pos->last->resv);
sys/dev/drm/ttm/ttm_bo.c
302
list_bulk_move_tail(lru, &pos->first->swap, &pos->last->swap);
sys/dev/misc/musycc/musycc.c
1239
sc->reg->srd = sc->last = 0x1800;
sys/dev/misc/musycc/musycc.c
1240
tsleep(&sc->last, PCATCH, "con1", hz);
sys/dev/misc/musycc/musycc.c
1241
sc->reg->srd = sc->last = 0x1820;
sys/dev/misc/musycc/musycc.c
1242
tsleep(&sc->last, PCATCH, "con2", hz);
sys/dev/misc/musycc/musycc.c
1258
sc->reg->srd = sc->last = 0x0b00 + ch;
sys/dev/misc/musycc/musycc.c
1259
tsleep(&sc->last, PCATCH, "con3", hz);
sys/dev/misc/musycc/musycc.c
1260
sc->reg->srd = sc->last = 0x0b20 + ch;
sys/dev/misc/musycc/musycc.c
1261
tsleep(&sc->last, PCATCH, "con4", hz);
sys/dev/misc/musycc/musycc.c
1303
sc->reg->srd = sc->last = 0x0800 + ch;
sys/dev/misc/musycc/musycc.c
1304
tsleep(&sc->last, PCATCH, "con4", hz);
sys/dev/misc/musycc/musycc.c
1305
sc->reg->srd = sc->last = 0x0820 + ch;
sys/dev/misc/musycc/musycc.c
1306
tsleep(&sc->last, PCATCH, "con3", hz);
sys/dev/misc/musycc/musycc.c
1328
sc->reg->srd = sc->last = 0x0900 + sch->chan;
sys/dev/misc/musycc/musycc.c
1329
tsleep(&sc->last, PCATCH, "con3", hz);
sys/dev/misc/musycc/musycc.c
1330
sc->reg->srd = sc->last = 0x0920 + sch->chan;
sys/dev/misc/musycc/musycc.c
1331
tsleep(&sc->last, PCATCH, "con4", hz);
sys/dev/misc/musycc/musycc.c
1503
sc->last = 0xffffffff;
sys/dev/misc/musycc/musycc.c
1528
sc->reg->srd = sc->last = 0x100;
sys/dev/misc/musycc/musycc.c
215
u_int32_t last;
sys/dev/misc/musycc/musycc.c
358
if (sc->serial[i].last == 0xffffffff) {
sys/dev/misc/musycc/musycc.c
360
sc->serial[i].last = 0;
sys/dev/misc/musycc/musycc.c
385
csc->reg->srd = csc->serial[0].last = 0x400;
sys/dev/misc/musycc/musycc.c
386
tsleep(&csc->serial[0].last, PCATCH, "con1", hz);
sys/dev/misc/musycc/musycc.c
433
sc->reg->srd = sc->last = 0x500;
sys/dev/misc/musycc/musycc.c
434
tsleep(&sc->last, PCATCH, "con1", hz);
sys/dev/misc/musycc/musycc.c
435
sc->reg->srd = sc->last = 0x520;
sys/dev/misc/musycc/musycc.c
436
tsleep(&sc->last, PCATCH, "con1", hz);
sys/dev/misc/musycc/musycc.c
804
kprintf(" cmd %08x (%08x) \n", sc->last, sc->reg->srd);
sys/dev/misc/musycc/musycc.c
806
sc->last = 0xffffffff;
sys/dev/misc/musycc/musycc.c
807
wakeup(&sc->last);
sys/dev/netif/ath/ath/if_ath_tx.c
5773
struct ath_tid *tid, *next, *last;
sys/dev/netif/ath/ath/if_ath_tx.c
5795
last = TAILQ_LAST(&txq->axq_tidq, axq_t_s);
sys/dev/netif/ath/ath/if_ath_tx.c
5844
if (tid == last)
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
652
int totalD,totalF, totalMin,last, i;
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
686
for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue);
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
687
last = i++);
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
688
totalD = data[i].channelValue - data[last].channelValue;
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
690
totalF = ar2316GetMaxPower(ah, &data[i]) - ar2316GetMaxPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
691
*maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
692
ar2316GetMaxPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
693
totalMin = ar2316GetMinPower(ah, &data[i]) - ar2316GetMinPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
694
*minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar2316.c
695
ar2316GetMinPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
632
int totalD,totalF, totalMin,last, i;
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
666
for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue);
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
667
last = i++);
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
668
totalD = data[i].channelValue - data[last].channelValue;
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
670
totalF = ar2317GetMaxPower(ah, &data[i]) - ar2317GetMaxPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
671
*maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
672
ar2317GetMaxPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
673
totalMin = ar2317GetMinPower(ah, &data[i]) - ar2317GetMinPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
674
*minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar2317.c
675
ar2317GetMinPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
650
int totalD,totalF, totalMin,last, i;
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
684
for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue);
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
685
last = i++);
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
686
totalD = data[i].channelValue - data[last].channelValue;
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
688
totalF = ar2413GetMaxPower(ah, &data[i]) - ar2413GetMaxPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
689
*maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
690
ar2413GetMaxPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
691
totalMin = ar2413GetMinPower(ah, &data[i]) - ar2413GetMinPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
692
*minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar2413.c
693
ar2413GetMinPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
613
int totalD,totalF, totalMin,last, i;
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
647
for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue);
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
648
last = i++);
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
649
totalD = data[i].channelValue - data[last].channelValue;
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
651
totalF = ar2425GetMaxPower(ah, &data[i]) - ar2425GetMaxPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
652
*maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
653
ar2425GetMaxPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
654
totalMin = ar2425GetMinPower(ah, &data[i]) - ar2425GetMinPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
655
*minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar2425.c
656
ar2425GetMinPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
772
int numChannels=0,i,last;
sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
814
for (last=0,i=0;
sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
816
last=i++);
sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
817
totalD = data[i].channelValue - data[last].channelValue;
sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
819
totalF = data[i].maxPower_t4 - data[last].maxPower_t4;
sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
820
*maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
822
totalMin = ar5112GetMinPower(ah,&data[i]) - ar5112GetMinPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
823
*minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) + ar5112GetMinPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
694
int totalD,totalF, totalMin,last, i;
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
730
for (last=0,i=0; (i<numChannels) && (freq > data[i].channelValue);
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
731
last = i++);
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
732
totalD = data[i].channelValue - data[last].channelValue;
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
734
totalF = ar5413GetMaxPower(ah, &data[i]) - ar5413GetMaxPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
735
*maxPow = (int8_t) ((totalF*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
736
ar5413GetMaxPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
737
totalMin = ar5413GetMinPower(ah, &data[i]) - ar5413GetMinPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
738
*minPow = (int8_t) ((totalMin*(freq-data[last].channelValue) +
sys/dev/netif/ath/ath_hal/ar5212/ar5413.c
739
ar5413GetMinPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5416/ar2133.c
369
int numChannels=0,i,last;
sys/dev/netif/ath/ath_hal/ar5416/ar2133.c
400
for (last=0,i=0;
sys/dev/netif/ath/ath_hal/ar5416/ar2133.c
402
last=i++);
sys/dev/netif/ath/ath_hal/ar5416/ar2133.c
403
totalD = data[i].channelValue - data[last].channelValue;
sys/dev/netif/ath/ath_hal/ar5416/ar2133.c
405
totalF = data[i].maxPower_t4 - data[last].maxPower_t4;
sys/dev/netif/ath/ath_hal/ar5416/ar2133.c
406
*maxPow = (int8_t) ((totalF*(chan->channel-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar5416/ar2133.c
408
totalMin = ar2133GetMinPower(ah,&data[i]) - ar2133GetMinPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar5416/ar2133.c
409
*minPow = (int8_t) ((totalMin*(chan->channel-data[last].channelValue) + ar2133GetMinPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar9002/ar9280.c
286
int numChannels=0,i,last;
sys/dev/netif/ath/ath_hal/ar9002/ar9280.c
317
for (last=0,i=0;
sys/dev/netif/ath/ath_hal/ar9002/ar9280.c
319
last=i++);
sys/dev/netif/ath/ath_hal/ar9002/ar9280.c
320
totalD = data[i].channelValue - data[last].channelValue;
sys/dev/netif/ath/ath_hal/ar9002/ar9280.c
322
totalF = data[i].maxPower_t4 - data[last].maxPower_t4;
sys/dev/netif/ath/ath_hal/ar9002/ar9280.c
323
*maxPow = (int8_t) ((totalF*(chan->channel-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar9002/ar9280.c
325
totalMin = ar9280GetMinPower(ah,&data[i]) - ar9280GetMinPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar9002/ar9280.c
326
*minPow = (int8_t) ((totalMin*(chan->channel-data[last].channelValue) + ar9280GetMinPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar9002/ar9287.c
228
int numChannels=0,i,last;
sys/dev/netif/ath/ath_hal/ar9002/ar9287.c
259
for (last=0,i=0;
sys/dev/netif/ath/ath_hal/ar9002/ar9287.c
261
last=i++);
sys/dev/netif/ath/ath_hal/ar9002/ar9287.c
262
totalD = data[i].channelValue - data[last].channelValue;
sys/dev/netif/ath/ath_hal/ar9002/ar9287.c
264
totalF = data[i].maxPower_t4 - data[last].maxPower_t4;
sys/dev/netif/ath/ath_hal/ar9002/ar9287.c
265
*maxPow = (int8_t) ((totalF*(chan->channel-data[last].channelValue) + data[last].maxPower_t4*totalD)/totalD);
sys/dev/netif/ath/ath_hal/ar9002/ar9287.c
267
totalMin = ar9287GetMinPower(ah,&data[i]) - ar9287GetMinPower(ah, &data[last]);
sys/dev/netif/ath/ath_hal/ar9002/ar9287.c
268
*minPow = (int8_t) ((totalMin*(chan->channel-data[last].channelValue) + ar9287GetMinPower(ah, &data[last])*totalD)/totalD);
sys/dev/netif/em/if_em.c
1811
int maxsegs, nsegs, i, j, first, last = 0, error;
sys/dev/netif/em/if_em.c
1909
last = i;
sys/dev/netif/em/if_em.c
1924
last = i;
sys/dev/netif/em/if_em.c
1957
adapter->tx_dd[adapter->tx_dd_tail] = last;
sys/dev/netif/emx/if_emx.c
1700
int maxsegs, nsegs, i, j, first, last = 0, error;
sys/dev/netif/emx/if_emx.c
1771
last = i;
sys/dev/netif/emx/if_emx.c
1799
tdata->tx_dd[tdata->tx_dd_tail] = last;
sys/dev/netif/igb/if_igb.h
431
#define UPDATE_VF_REG(reg, last, cur) \
sys/dev/netif/igb/if_igb.h
434
if (new < last) \
sys/dev/netif/igb/if_igb.h
436
last = new; \
sys/dev/raid/hpt27xx/list.h
91
struct list_head *last = list->prev;
sys/dev/raid/hpt27xx/list.h
97
last->next = at;
sys/dev/raid/hpt27xx/list.h
98
at->prev = last;
sys/dev/raid/hptrr/list.h
100
at->prev = last;
sys/dev/raid/hptrr/list.h
93
struct list_head *last = list->prev;
sys/dev/raid/hptrr/list.h
99
last->next = at;
sys/dev/sound/pci/maestro.c
1086
unsigned cur, last;
sys/dev/sound/pci/maestro.c
1093
last = ch->hwptr;
sys/dev/sound/pci/maestro.c
1096
if (cur < last) {
sys/dev/sound/pci/maestro.c
1097
interleave(ch->src + last, src2 + last,
sys/dev/sound/pci/maestro.c
1098
ch->sink + 2*last, ch->buflen/2 - last);
sys/dev/sound/pci/maestro.c
1101
} else if (cur > last)
sys/dev/sound/pci/maestro.c
1102
interleave(ch->src + last, src2 + last,
sys/dev/sound/pci/maestro.c
1103
ch->sink + 2*last, cur - last);
sys/dev/sound/pci/maestro.c
1126
unsigned cur, last;
sys/dev/sound/pci/maestro.c
1132
last = ch->hwptr;
sys/dev/sound/pci/maestro.c
1134
if (cur < last) {
sys/dev/sound/pci/maestro.c
1135
mixdown(ch->src + last, ch->sink + last, ch->buflen - last);
sys/dev/sound/pci/maestro.c
1137
} else if (cur > last)
sys/dev/sound/pci/maestro.c
1138
mixdown(ch->src + last, ch->sink + last, cur - last);
sys/dev/video/bktr/bktr_core.c
364
static int i2c_read_byte( bktr_ptr_t bktr, unsigned char *data, int last );
sys/dev/video/bktr/bktr_core.c
3830
static int i2c_read_byte( bktr_ptr_t bktr, unsigned char *data, int last ) {
sys/dev/video/bktr/bktr_core.c
3848
if (last) { /* send NAK - same a writing a 1 */
sys/dev/virtual/amazon/ena/ena-com/ena_eth_com.c
239
u32 last = 0;
sys/dev/virtual/amazon/ena/ena-com/ena_eth_com.c
248
last = (READ_ONCE(cdesc->status) & ENA_ETH_IO_RX_CDESC_BASE_LAST_MASK) >>
sys/dev/virtual/amazon/ena/ena-com/ena_eth_com.c
250
} while (!last);
sys/dev/virtual/amazon/ena/ena-com/ena_eth_com.c
252
if (last) {
sys/dev/virtual/virtio/block/virtio_blk.c
1072
int last;
sys/dev/virtual/virtio/block/virtio_blk.c
1074
last = 0;
sys/dev/virtual/virtio/block/virtio_blk.c
1076
while ((req = virtqueue_drain(vq, &last)) != NULL) {
sys/dev/virtual/virtio/net/if_vtnet.c
1183
int last;
sys/dev/virtual/virtio/net/if_vtnet.c
1186
last = 0;
sys/dev/virtual/virtio/net/if_vtnet.c
1188
while ((m = virtqueue_drain(vq, &last)) != NULL)
sys/dev/virtual/virtio/net/if_vtnet.c
1199
int last;
sys/dev/virtual/virtio/net/if_vtnet.c
1202
last = 0;
sys/dev/virtual/virtio/net/if_vtnet.c
1204
while ((txhdr = virtqueue_drain(vq, &last)) != NULL) {
sys/dev/virtual/virtio/scsi/virtio_scsi.c
1968
int last;
sys/dev/virtual/virtio/scsi/virtio_scsi.c
1971
last = 0;
sys/dev/virtual/virtio/scsi/virtio_scsi.c
1973
while (virtqueue_drain(vq, &last) != NULL)
sys/dev/virtual/virtio/scsi/virtio_scsi.c
2048
int last;
sys/dev/virtual/virtio/scsi/virtio_scsi.c
2050
last = 0;
sys/dev/virtual/virtio/scsi/virtio_scsi.c
2054
while ((req = virtqueue_drain(vq, &last)) != NULL)
sys/dev/virtual/virtio/virtio/virtqueue.c
585
virtqueue_drain(struct virtqueue *vq, int *last)
sys/dev/virtual/virtio/virtio/virtqueue.c
591
idx = *last;
sys/dev/virtual/virtio/virtio/virtqueue.c
602
*last = idx;
sys/dev/virtual/virtio/virtio/virtqueue.h
69
void *virtqueue_drain(struct virtqueue *vq, int *last);
sys/kern/kern_descrip.c
1879
int i, lim, last;
sys/kern/kern_descrip.c
1896
last = min(fdp->fd_nfiles, lim);
sys/kern/kern_descrip.c
1898
for (i = last - fdp->fd_freefile; --i >= 0; ++fdnode) {
sys/kern/kern_nrandom.c
461
static void NANOUP_EVENT(struct timespec *last, struct csprng_state *state);
sys/kern/kern_nrandom.c
852
struct timespec last;
sys/kern/kern_nrandom.c
855
bzero(&last, sizeof(last));
sys/kern/kern_nrandom.c
865
NANOUP_EVENT(&last, state);
sys/kern/kern_nrandom.c
934
NANOUP_EVENT(struct timespec *last, struct csprng_state *state)
sys/kern/kern_nrandom.c
943
nsec = now.tv_nsec - last->tv_nsec;
sys/kern/kern_nrandom.c
944
*last = now;
sys/kern/kern_sensors.c
156
struct ksensordev *last;
sys/kern/kern_sensors.c
163
last = TAILQ_LAST(&sensordev_list, sensordev_list);
sys/kern/kern_sensors.c
164
if (last != NULL)
sys/kern/kern_sensors.c
165
sensordev_idmax = last->num + 1;
sys/kern/subr_bus.c
1393
next_matching_driver(devclass_t dc, device_t dev, driverlink_t last)
sys/kern/subr_bus.c
1397
for (dl = TAILQ_NEXT(last, link); dl; dl = TAILQ_NEXT(dl, link))
sys/kern/subr_bus.c
1402
return(TAILQ_NEXT(last, link));
sys/kern/subr_cpu_topology.c
351
int last)
sys/kern/subr_cpu_topology.c
357
if (last) {
sys/kern/subr_unit.c
144
u_int last; /* items free at end */
sys/kern/subr_unit.c
257
uh->last = 1 + (high - low);
sys/kern/subr_unit.c
468
uh->last += upp->len;
sys/kern/subr_unit.c
500
if (up == NULL && uh->last > 0) {
sys/kern/subr_unit.c
502
uh->last--;
sys/kern/subr_unit.c
566
uh->last++;
sys/kern/subr_unit.c
712
uh, uh->low, uh->high, uh->first, uh->last, uh->busy, uh->alloc);
sys/kern/uipc_mbuf.c
2277
struct mbuf *last = NULL;
sys/kern/uipc_mbuf.c
2287
last = m;
sys/kern/uipc_mbuf.c
2293
for (last = m; last->m_next != NULL; last = last->m_next)
sys/kern/uipc_mbuf.c
2297
if (M_TRAILINGSPACE(last) < padlen) {
sys/kern/uipc_mbuf.c
2305
last->m_next = n;
sys/kern/uipc_mbuf.c
2306
last = n;
sys/kern/uipc_mbuf.c
2309
KKASSERT(M_TRAILINGSPACE(last) >= padlen);
sys/kern/uipc_mbuf.c
2310
KKASSERT(M_WRITABLE(last));
sys/kern/uipc_mbuf.c
2313
bzero(mtod(last, caddr_t) + last->m_len, padlen);
sys/kern/uipc_mbuf.c
2314
last->m_len += padlen;
sys/kern/vfs_journal.c
1041
last = (void *)jrec->stream_ptr;
sys/kern/vfs_journal.c
1042
last->rectype = rectype;
sys/kern/vfs_journal.c
1043
last->reserved = 0;
sys/kern/vfs_journal.c
1051
last->recsize = -1;
sys/kern/vfs_journal.c
1053
last->recsize = sizeof(struct journal_subrecord) + bytes;
sys/kern/vfs_journal.c
1054
jrec->last = last;
sys/kern/vfs_journal.c
1057
jrec->stream_ptr += sizeof(*last); /* current write pointer */
sys/kern/vfs_journal.c
1058
jrec->stream_residual -= sizeof(*last); /* space remaining in stream */
sys/kern/vfs_journal.c
1059
return(last);
sys/kern/vfs_journal.c
1123
jrec->last = NULL; /* no longer accessible */
sys/kern/vfs_journal.c
821
jrec->last = NULL;
sys/kern/vfs_journal.c
846
struct journal_subrecord *last;
sys/kern/vfs_journal.c
857
if ((last = jrec->last) == NULL) {
sys/kern/vfs_journal.c
859
last = jrec->last; /* reload after possible flush */
sys/kern/vfs_journal.c
861
last->rectype |= JMASK_LAST;
sys/kern/vfs_journal.c
921
jrec->last = jrec->parent;
sys/kern/vfs_journal.c
924
KKASSERT(jrec->last != NULL && last != NULL);
sys/kern/vfs_journal.c
938
jrec->last->recsize = (char *)last + last->recsize - (char *)jrec->last;
sys/kern/vfs_journal.c
941
KKASSERT(jrec->last == NULL);
sys/kern/vfs_journal.c
998
struct journal_subrecord *last;
sys/net/altq/altq_hfsc.c
1246
struct hfsc_class *p, *last;
sys/net/altq/altq_hfsc.c
1257
last = TAILQ_LAST(hif->hif_eligible, _eligible);
sys/net/altq/altq_hfsc.c
1258
KKASSERT(last != NULL);
sys/net/altq/altq_hfsc.c
1259
if (last->cl_e <= cl->cl_e) {
sys/net/altq/altq_hfsc.c
1344
struct hfsc_class *p, *last;
sys/net/altq/altq_hfsc.c
1356
last = TAILQ_LAST(cl->cl_parent->cl_actc, _active);
sys/net/altq/altq_hfsc.c
1357
KKASSERT(last != NULL);
sys/net/altq/altq_hfsc.c
1358
if (last->cl_vt <= cl->cl_vt) {
sys/net/altq/altq_rio.c
238
microtime(&prec->last);
sys/net/altq/altq_rio.c
316
t = (now.tv_sec - prec->last.tv_sec);
sys/net/altq/altq_rio.c
321
(now.tv_usec - prec->last.tv_usec);
sys/net/altq/altq_rio.c
418
microtime(&rp->rio_precstate[i].last);
sys/net/altq/altq_rio.h
68
struct timeval last; /* timestamp when queue becomes idle */
sys/net/ip_mroute/ip_mroute.c
1894
struct mbuf *m, *last;
sys/net/ip_mroute/ip_mroute.c
1903
last = NULL;
sys/net/ip_mroute/ip_mroute.c
1909
t->tbf_t = last;
sys/net/ip_mroute/ip_mroute.c
1919
last = m;
sys/net/pf/pf.c
436
threshold->last = time_second;
sys/net/pf/pf.c
442
u_int32_t t = time_second, diff = t - threshold->last;
sys/net/pf/pf.c
450
threshold->last = t;
sys/net/pf/pf_ioctl.c
2894
diff = secs - n->conn_rate.last;
sys/net/pf/pfvar.h
714
u_int32_t last;
sys/net/radix.c
1079
struct radix_node *rn, *base, *next, *last;
sys/net/radix.c
1086
last = NULL;
sys/net/radix.c
1095
last = rn;
sys/net/radix.c
1115
rn = last;
sys/net/raw_usrreq.c
111
if (last) {
sys/net/raw_usrreq.c
116
lwkt_gettoken(&last->so_rcv.ssb_token);
sys/net/raw_usrreq.c
117
if (ssb_appendaddr(&last->so_rcv, src, n,
sys/net/raw_usrreq.c
120
soroverflow(last);
sys/net/raw_usrreq.c
122
sorwakeup(last);
sys/net/raw_usrreq.c
124
lwkt_reltoken(&last->so_rcv.ssb_token);
sys/net/raw_usrreq.c
127
last = rp->rcb_socket;
sys/net/raw_usrreq.c
129
if (last) {
sys/net/raw_usrreq.c
130
lwkt_gettoken(&last->so_rcv.ssb_token);
sys/net/raw_usrreq.c
131
if (ssb_appendaddr(&last->so_rcv, src, m, NULL) == 0) {
sys/net/raw_usrreq.c
133
soroverflow(last);
sys/net/raw_usrreq.c
135
sorwakeup(last);
sys/net/raw_usrreq.c
136
lwkt_reltoken(&last->so_rcv.ssb_token);
sys/net/raw_usrreq.c
82
struct socket *last;
sys/net/raw_usrreq.c
86
last = NULL;
sys/net/zlib.c
3582
uInt last; /* true if this block is the last block */
sys/net/zlib.c
3759
s->last = t & 1;
sys/net/zlib.c
3764
s->last ? " (last)" : ""));
sys/net/zlib.c
3772
s->last ? " (last)" : ""));
sys/net/zlib.c
3792
s->last ? " (last)" : ""));
sys/net/zlib.c
3816
s->mode = s->sub.left ? STORED : (s->last ? DRY : TYPE);
sys/net/zlib.c
3833
s->mode = s->last ? DRY : TYPE;
sys/net/zlib.c
3982
if (!s->last)
sys/netgraph/ppp/ng_ppp.c
1089
frag->last = (shdr & MP_SHORT_LAST_FLAG) != 0;
sys/netgraph/ppp/ng_ppp.c
1107
frag->last = (lhdr & MP_LONG_LAST_FLAG) != 0;
sys/netgraph/ppp/ng_ppp.c
1186
while (!qent->last) {
sys/netgraph/ppp/ng_ppp.c
1228
if (qent->last)
sys/netgraph/ppp/ng_ppp.c
1264
|| qent->last || qnext->first) {
sys/netgraph/ppp/ng_ppp.c
134
u_char last; /* Last in packet? */
sys/netgraph/ppp/ng_ppp.c
1390
if (beg != NULL && qent->last) {
sys/netgraph7/netflow/netflow.c
261
fle->f.first = fle->f.last = time_uptime;
sys/netgraph7/netflow/netflow.c
480
fle->f.last = time_uptime;
sys/netgraph7/netflow/netflow.c
521
ng_netflow_flow_show(priv_p priv, uint32_t last, struct ng_mesg *resp)
sys/netgraph7/netflow/netflow.c
529
data->last = 0;
sys/netgraph7/netflow/netflow.c
533
if (last == 0) {
sys/netgraph7/netflow/netflow.c
537
if (last > NBUCKETS-1)
sys/netgraph7/netflow/netflow.c
539
hsh = priv->hash + last;
sys/netgraph7/netflow/netflow.c
540
i = last;
sys/netgraph7/netflow/netflow.c
569
data->last = i;
sys/netgraph7/netflow/netflow.c
639
rec->last = htonl(MILLIUPTIME(fle->f.last));
sys/netgraph7/netflow/netflow.c
73
#define INACTIVE(fle) (time_uptime - fle->f.last > priv->info.nfinfo_inact_t)
sys/netgraph7/netflow/netflow.h
104
uint32_t last; /* System uptime at end of a flow */
sys/netgraph7/netflow/netflow.h
82
uint32_t last; /* System uptime at end of a flow */
sys/netgraph7/netflow/ng_netflow.c
402
uint32_t *last;
sys/netgraph7/netflow/ng_netflow.c
407
last = (uint32_t *)msg->data;
sys/netgraph7/netflow/ng_netflow.c
414
error = ng_netflow_flow_show(priv, *last, resp);
sys/netgraph7/netflow/ng_netflow.h
135
long last; /* uptime on last packet */
sys/netgraph7/netflow/ng_netflow.h
151
uint32_t last;
sys/netgraph7/netflow/ng_netflow.h
272
int ng_netflow_flow_show(priv_p, uint32_t last, struct ng_mesg *);
sys/netgraph7/ppp/ng_ppp.c
1540
frag->last = (shdr & MP_SHORT_LAST_FLAG) != 0;
sys/netgraph7/ppp/ng_ppp.c
1557
frag->last = (lhdr & MP_LONG_LAST_FLAG) != 0;
sys/netgraph7/ppp/ng_ppp.c
1663
while (!qent->last) {
sys/netgraph7/ppp/ng_ppp.c
1703
if (qent->last) {
sys/netgraph7/ppp/ng_ppp.c
1741
|| qent->last || qnext->first) {
sys/netgraph7/ppp/ng_ppp.c
1888
if (beg != NULL && qent->last) {
sys/netgraph7/ppp/ng_ppp.c
190
uint8_t last; /* Last in packet? */
sys/netinet/in_pcb.c
1590
int last = grp->il_inpcnt - 1;
sys/netinet/in_pcb.c
1592
if (i == last)
sys/netinet/in_pcb.c
1593
last = grp->il_inpcnt - 2;
sys/netinet/in_pcb.c
1595
return grp->il_inp[last];
sys/netinet/in_pcb.c
167
SYSCTL_PROC(_net_inet_ip_portrange, OID_AUTO, last, CTLTYPE_INT|CTLFLAG_RW,
sys/netinet/in_pcb.c
373
u_short first, last, lport, step, first0, last0;
sys/netinet/in_pcb.c
418
last = last0;
sys/netinet/in_pcb.c
424
in_pcbportrange(&last, &first, portinfo->offset, step);
sys/netinet/in_pcb.c
425
lport = last - first;
sys/netinet/in_pcb.c
437
if (__predict_false(lport < first || lport > last)) {
sys/netinet/in_pcb.c
824
u_short first, last, lport;
sys/netinet/in_pcb.c
863
last = ipport_hilastauto;
sys/netinet/in_pcb.c
872
last = ipport_lowlastauto; /* 600 */
sys/netinet/in_pcb.c
875
last = ipport_lastauto;
sys/netinet/in_pcb.c
877
if (first > last) {
sys/netinet/in_pcb.c
878
lport = last;
sys/netinet/in_pcb.c
879
last = first;
sys/netinet/in_pcb.c
882
KKASSERT(last >= first);
sys/netinet/in_pcb.c
884
count = last - first;
sys/netinet/in_pcb.c
900
if (__predict_false(lport < first || lport > last))
sys/netinet/raw_ip.c
141
struct inpcb *last = NULL;
sys/netinet/raw_ip.c
164
if (last) {
sys/netinet/raw_ip.c
168
lwkt_gettoken(&last->inp_socket->so_rcv.ssb_token);
sys/netinet/raw_ip.c
169
if (last->inp_flags & INP_CONTROLOPTS ||
sys/netinet/raw_ip.c
170
last->inp_socket->so_options & SO_TIMESTAMP)
sys/netinet/raw_ip.c
171
ip_savecontrol(last, &opts, ip, n);
sys/netinet/raw_ip.c
172
if (ssb_appendaddr(&last->inp_socket->so_rcv,
sys/netinet/raw_ip.c
178
soroverflow(last->inp_socket);
sys/netinet/raw_ip.c
180
sorwakeup(last->inp_socket);
sys/netinet/raw_ip.c
182
lwkt_reltoken(&last->inp_socket->so_rcv.ssb_token);
sys/netinet/raw_ip.c
186
last = inp;
sys/netinet/raw_ip.c
189
if (last && ip->ip_ttl < last->inp_ip_minttl) {
sys/netinet/raw_ip.c
192
} else if (last) {
sys/netinet/raw_ip.c
193
if (last->inp_flags & INP_CONTROLOPTS ||
sys/netinet/raw_ip.c
194
last->inp_socket->so_options & SO_TIMESTAMP)
sys/netinet/raw_ip.c
195
ip_savecontrol(last, &opts, ip, m);
sys/netinet/raw_ip.c
196
lwkt_gettoken(&last->inp_socket->so_rcv.ssb_token);
sys/netinet/raw_ip.c
197
if (ssb_appendaddr(&last->inp_socket->so_rcv,
sys/netinet/raw_ip.c
202
soroverflow(last->inp_socket);
sys/netinet/raw_ip.c
204
sorwakeup(last->inp_socket);
sys/netinet/raw_ip.c
206
lwkt_reltoken(&last->inp_socket->so_rcv.ssb_token);
sys/netinet/tcp_input.c
324
const struct tseg_qent *last, *prev;
sys/netinet/tcp_input.c
326
last = TAILQ_LAST(&tp->t_segq, tsegqe_head);
sys/netinet/tcp_input.c
327
if (last == NULL)
sys/netinet/tcp_input.c
331
if (last->tqe_th->th_seq + last->tqe_len == th->th_seq) {
sys/netinet/tcp_input.c
332
if (last->tqe_th->th_flags & TH_FIN) {
sys/netinet/tcp_input.c
339
if (th->th_seq + tlen != last->tqe_th->th_seq)
sys/netinet/tcp_input.c
343
prev = TAILQ_PREV(last, tsegqe_head, tqe_q);
sys/netinet/tcp_sack.c
104
struct sackblock *cur, *last, *prev;
sys/netinet/tcp_sack.c
114
last = NULL;
sys/netinet/tcp_sack.c
120
last = NULL;
sys/netinet/tcp_sack.c
125
last = hint;
sys/netinet/tcp_sack.c
182
} while (cur != last);
sys/netinet/udp_usrreq.c
180
static void udp_append(struct inpcb *last, struct ip *ip,
sys/netinet/udp_usrreq.c
329
struct inpcb *last;
sys/netinet/udp_usrreq.c
340
struct inpcb *last = arg->last;
sys/netinet/udp_usrreq.c
347
if (last != NULL) {
sys/netinet/udp_usrreq.c
351
udp_append(last, ip, n,
sys/netinet/udp_usrreq.c
355
arg->last = last = inp;
sys/netinet/udp_usrreq.c
365
if (!(last->inp_socket->so_options &
sys/netinet/udp_usrreq.c
473
struct inpcb *last;
sys/netinet/udp_usrreq.c
502
last = NULL;
sys/netinet/udp_usrreq.c
520
arg.last = last;
sys/netinet/udp_usrreq.c
527
last = arg.last;
sys/netinet/udp_usrreq.c
558
arg.last = last;
sys/netinet/udp_usrreq.c
565
last = arg.last;
sys/netinet/udp_usrreq.c
573
if (last == NULL) {
sys/netinet/udp_usrreq.c
582
udp_append(last, ip, m,
sys/netinet/udp_usrreq.c
657
udp_append(struct inpcb *last, struct ip *ip, struct mbuf *n, int off,
sys/netinet/udp_usrreq.c
663
KASSERT(INP_ISIPV4(last), ("not inet inpcb"));
sys/netinet/udp_usrreq.c
665
if (last->inp_flags & INP_CONTROLOPTS ||
sys/netinet/udp_usrreq.c
666
last->inp_socket->so_options & SO_TIMESTAMP)
sys/netinet/udp_usrreq.c
667
ip_savecontrol(last, &opts, ip, n);
sys/netinet/udp_usrreq.c
670
lwkt_gettoken(&last->inp_socket->so_rcv.ssb_token);
sys/netinet/udp_usrreq.c
671
ret = ssb_appendaddr(&last->inp_socket->so_rcv,
sys/netinet/udp_usrreq.c
673
lwkt_reltoken(&last->inp_socket->so_rcv.ssb_token);
sys/netinet/udp_usrreq.c
680
sorwakeup(last->inp_socket);
sys/netinet6/icmp6.c
1817
struct in6pcb *last = NULL;
sys/netinet6/icmp6.c
1857
if (last) {
sys/netinet6/icmp6.c
1862
if (last->in6p_flags & IN6P_CONTROLOPTS)
sys/netinet6/icmp6.c
1863
ip6_savecontrol(last, &opts, ip6, n);
sys/netinet6/icmp6.c
1866
so = last->in6p_socket;
sys/netinet6/icmp6.c
1881
last = in6p;
sys/netinet6/icmp6.c
1883
if (last) {
sys/netinet6/icmp6.c
1886
if (last->in6p_flags & IN6P_CONTROLOPTS)
sys/netinet6/icmp6.c
1887
ip6_savecontrol(last, &opts, ip6, m);
sys/netinet6/icmp6.c
1890
so = last->in6p_socket;
sys/netinet6/in6_src.c
414
uint16_t lport, first, last, step, first0, last0;
sys/netinet6/in6_src.c
466
last = last0;
sys/netinet6/in6_src.c
472
in_pcbportrange(&last, &first, portinfo->offset, step);
sys/netinet6/in6_src.c
473
lport = last - first;
sys/netinet6/in6_src.c
485
if (__predict_false(lport < first || lport > last)) {
sys/netinet6/nd6.h
349
struct nd_opt_hdr *last; /* multiple opts */
sys/netinet6/nd6.h
363
#define nd_opts_last nd_opt_each.last
sys/netinet6/raw_ip6.c
127
struct inpcb *last = NULL;
sys/netinet6/raw_ip6.c
157
if (last) {
sys/netinet6/raw_ip6.c
164
so = last->in6p_socket;
sys/netinet6/raw_ip6.c
165
if ((last->in6p_flags & IN6P_CONTROLOPTS) ||
sys/netinet6/raw_ip6.c
167
ip6_savecontrol(last, &opts, ip6, n);
sys/netinet6/raw_ip6.c
187
last = in6p;
sys/netinet6/raw_ip6.c
189
if (last) {
sys/netinet6/raw_ip6.c
192
so = last->in6p_socket;
sys/netinet6/raw_ip6.c
193
if ((last->in6p_flags & IN6P_CONTROLOPTS) ||
sys/netinet6/raw_ip6.c
195
ip6_savecontrol(last, &opts, ip6, m);
sys/netinet6/udp6_usrreq.c
175
struct inpcb *last, *marker;
sys/netinet6/udp6_usrreq.c
216
last = NULL;
sys/netinet6/udp6_usrreq.c
247
if (last != NULL) {
sys/netinet6/udp6_usrreq.c
259
so = last->in6p_socket;
sys/netinet6/udp6_usrreq.c
260
if ((last->in6p_flags & IN6P_CONTROLOPTS) ||
sys/netinet6/udp6_usrreq.c
262
ip6_savecontrol(last, &opts,
sys/netinet6/udp6_usrreq.c
282
last = in6p;
sys/netinet6/udp6_usrreq.c
291
if ((last->in6p_socket->so_options &
sys/netinet6/udp6_usrreq.c
299
if (last == NULL) {
sys/netinet6/udp6_usrreq.c
309
if (last->in6p_flags & IN6P_CONTROLOPTS
sys/netinet6/udp6_usrreq.c
310
|| last->in6p_socket->so_options & SO_TIMESTAMP)
sys/netinet6/udp6_usrreq.c
311
ip6_savecontrol(last, &opts, ip6, m);
sys/netinet6/udp6_usrreq.c
314
so = last->in6p_socket;
sys/netproto/802_11/wlan/ieee80211_hwmp.c
1339
struct timeval *last, struct timeval *minint)
sys/netproto/802_11/wlan/ieee80211_hwmp.c
1346
if (last != NULL && minint != NULL) {
sys/netproto/802_11/wlan/ieee80211_hwmp.c
1347
if (ratecheck(last, minint) == 0)
sys/netproto/802_11/wlan/ieee80211_hwmp.c
1349
getmicrouptime(last);
sys/netproto/802_11/wlan/ieee80211_superg.c
607
ff_flush(struct mbuf *head, struct mbuf *last)
sys/netproto/802_11/wlan/ieee80211_superg.c
613
for (m = head; m != last; m = next) {
sys/platform/pc64/isa/clock.c
150
static void i8254_cputimer_construct(struct cputimer *cputimer, sysclock_t last);
sys/platform/pc64/isa/clock.c
1578
tsc_uclock_t last;
sys/platform/pc64/isa/clock.c
1584
last = rdtsc();
sys/platform/pc64/isa/clock.c
1589
last = next;
sys/platform/pc64/isa/clock.c
1593
delta = next - last;
sys/platform/pc64/isa/clock.c
1604
last = next;
sys/platform/pc64/isa/clock.c
1606
last = rdtsc();
sys/platform/pc64/isa/clock.c
1610
delta = next - last;
sys/platform/pc64/isa/clock.c
1621
last = next;
sys/platform/pc64/isa/clock.c
1640
uint64_t last;
sys/platform/pc64/isa/clock.c
1669
last = info.tsc_saved[0].v;
sys/platform/pc64/isa/clock.c
1673
xdelta = (int64_t)(info.tsc_saved[cpu].v - last);
sys/platform/pc64/isa/clock.c
1674
last = info.tsc_saved[cpu].v;
sys/sys/mountctl.h
193
struct journal_subrecord *last;
sys/sys/stdarg.h
39
#define va_start(ap, last) __va_start(ap, last)
sys/vfs/dirfs/dirfs_subr.c
379
char *last, char **pathfreep)
sys/vfs/dirfs/dirfs_subr.c
399
if (last) {
sys/vfs/dirfs/dirfs_subr.c
400
len = strlen(last);
sys/vfs/dirfs/dirfs_subr.c
403
bcopy(last, &buf[MAXPATHLEN - count], len);
sys/vfs/ext2fs/ext2_alloc.c
1276
ext2_fix_bitmap_tail(unsigned char *bitmap, int first, int last)
sys/vfs/ext2fs/ext2_alloc.c
1280
for (i = first; i <= last; i++)
sys/vfs/ext2fs/ext2_alloc.c
793
int first, last;
sys/vfs/ext2fs/ext2_alloc.c
797
last = first + EXT2_DESCS_PER_BLOCK(fs) - 1;
sys/vfs/ext2fs/ext2_alloc.c
799
if (cg == first || cg == first + 1 || cg == last)
sys/vfs/ext2fs/ext2_htree.c
547
struct ext2fs_direct_2 *ep, *last;
sys/vfs/ext2fs/ext2_htree.c
624
last = (struct ext2fs_direct_2 *)block1;
sys/vfs/ext2fs/ext2_htree.c
630
last = (struct ext2fs_direct_2 *)
sys/vfs/ext2fs/ext2_htree.c
631
((char *)last + entry_len);
sys/vfs/ext2fs/ext2_htree.c
633
memcpy((void *)last, (void *)ep, entry_len);
sys/vfs/ext2fs/ext2_htree.c
634
last->e2d_reclen = htole16(entry_len);
sys/vfs/ext2fs/ext2_htree.c
644
last->e2d_reclen = htole16(block1 + blksize - (char *)last -
sys/vfs/ext2fs/ext2_htree.c
648
ext2_append_entry(block1, blksize, last, entry, csum_size);
sys/vfs/ext2fs/ext2_inode.c
127
e2fs_lbn_t nb, nlbn, last;
sys/vfs/ext2fs/ext2_inode.c
138
last = lastbn;
sys/vfs/ext2fs/ext2_inode.c
140
last /= factor;
sys/vfs/ext2fs/ext2_inode.c
172
bzero((caddr_t)&bap[last + 1],
sys/vfs/ext2fs/ext2_inode.c
173
(NINDIR(fs) - (last + 1)) * sizeof(e2fs_daddr_t));
sys/vfs/ext2fs/ext2_inode.c
174
if (last == -1)
sys/vfs/ext2fs/ext2_inode.c
188
for (i = NINDIR(fs) - 1, nlbn = lbn + 1 - i * factor; i > last;
sys/vfs/ext2fs/ext2_inode.c
207
last = lastbn % factor;
sys/vfs/ext2fs/ext2_inode.c
211
last, level - 1, &blkcount)) != 0)
sys/vfs/hammer2/zlib/hammer2_zlib_deflate.c
950
#define FLUSH_BLOCK_ONLY(s, last) { \
sys/vfs/hammer2/zlib/hammer2_zlib_deflate.c
955
(last)); \
sys/vfs/hammer2/zlib/hammer2_zlib_deflate.c
962
#define FLUSH_BLOCK(s, last) { \
sys/vfs/hammer2/zlib/hammer2_zlib_deflate.c
963
FLUSH_BLOCK_ONLY(s, last); \
sys/vfs/hammer2/zlib/hammer2_zlib_deflate.c
964
if (s->strm->avail_out == 0) return (last) ? finish_started : need_more; \
sys/vfs/hammer2/zlib/hammer2_zlib_deflate.h
290
ulg stored_len, int last);
sys/vfs/hammer2/zlib/hammer2_zlib_deflate.h
294
ulg stored_len, int last);
sys/vfs/hammer2/zlib/hammer2_zlib_inffast.c
100
last = in + (strm->avail_in - 5);
sys/vfs/hammer2/zlib/hammer2_zlib_inffast.c
307
} while (in < last && out < end);
sys/vfs/hammer2/zlib/hammer2_zlib_inffast.c
318
strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last));
sys/vfs/hammer2/zlib/hammer2_zlib_inffast.c
73
z_const unsigned char FAR *last; /* have enough input while in < last */
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
1032
strm->data_type = state->bits + (state->last ? 64 : 0) +
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
126
state->last = 0;
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
568
code last; /* parent table entry */
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
633
if (state->last) {
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
639
state->last = BITS(1);
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
644
state->last ? " (last)" : ""));
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
650
state->last ? " (last)" : ""));
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
659
state->last ? " (last)" : ""));
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
841
last = here;
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
843
here = state->lencode[last.val +
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
844
(BITS(last.bits + last.op) >> last.bits)];
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
845
if ((unsigned)(last.bits + here.bits) <= bits) break;
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
848
DROPBITS(last.bits);
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
849
state->back += last.bits;
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
891
last = here;
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
893
here = state->distcode[last.val +
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
894
(BITS(last.bits + last.op) >> last.bits)];
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
895
if ((unsigned)(last.bits + here.bits) <= bits) break;
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
898
DROPBITS(last.bits);
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.c
899
state->back += last.bits;
sys/vfs/hammer2/zlib/hammer2_zlib_inflate.h
75
int last; /* true if processing last block */
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
1003
if (last) {
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
1010
s->compressed_len-7*last));
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
325
# define SEPARATOR(i, last, width) \
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
326
((i) == (last)? "\n};\n\n" : \
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
875
ulg stored_len, int last) /* one if this is the last block for a file */
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
877
send_bits(s, (STORED_BLOCK<<1)+last, 3); /* send block type */
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
918
ulg stored_len, int last)
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
974
_tr_stored_block(s, buf, stored_len, last);
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
981
send_bits(s, (STATIC_TREES<<1)+last, 3);
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
988
send_bits(s, (DYN_TREES<<1)+last, 3);
sys/vfs/tmpfs/tmpfs_subr.c
834
struct tmpfs_dirent *last;
sys/vfs/tmpfs/tmpfs_subr.c
837
last = NULL;
sys/vfs/tmpfs/tmpfs_subr.c
843
last = tmp;
sys/vfs/tmpfs/tmpfs_subr.c
849
return (exact ? NULL : last);
sys/vfs/ufs/ffs_inode.c
472
ufs_daddr_t *copy = NULL, nb, nlbn, last;
sys/vfs/ufs/ffs_inode.c
485
last = lastbn;
sys/vfs/ufs/ffs_inode.c
487
last /= factor;
sys/vfs/ufs/ffs_inode.c
535
bzero((caddr_t)&bap[last + 1],
sys/vfs/ufs/ffs_inode.c
536
(uint)(NINDIR(fs) - (last + 1)) * sizeof (ufs_daddr_t));
sys/vfs/ufs/ffs_inode.c
550
for (i = NINDIR(fs) - 1, nlbn = lbn + 1 - i * factor; i > last;
sys/vfs/ufs/ffs_inode.c
569
last = lastbn % factor;
sys/vfs/ufs/ffs_inode.c
573
last, level - 1, &blkcount);
sys/vm/vm_map.c
1207
vm_map_entry_t last;
sys/vm/vm_map.c
1217
last = NULL;
sys/vm/vm_map.c
1226
last = tmp;
sys/vm/vm_map.c
1232
*entry = last;
test/debug/kmapinfo.c
127
last = kmap.min_addr;
test/debug/kmapinfo.c
131
mapscan(kd, kptr, &entry, &last);
test/debug/kmapinfo.c
138
last, kmap.max_addr,
test/debug/kmapinfo.c
139
formatnum(kmap.max_addr - last));
test/debug/kmapinfo.c
140
total_empty += kmap.max_addr - last;
test/debug/kmapinfo.c
92
vm_offset_t last;
test/debug/psinfo.c
224
last = kmap.min_addr;
test/debug/psinfo.c
228
mapscan(kd, kptr, &entry, &last);
test/debug/psinfo.c
235
last, kmap.max_addr,
test/debug/psinfo.c
236
formatnum(kmap.max_addr - last));
test/debug/psinfo.c
237
total_empty += kmap.max_addr - last;
test/debug/psinfo.c
99
vm_offset_t last;
test/libpthread/mutex_d.c
173
extern char *strtok_r(char *str, const char *sep, char **last);
test/libpthread/mutex_d.c
258
char *tok, *last, *idstr, *endptr;
test/libpthread/mutex_d.c
267
for (idstr = strtok_r (tok, sep, &last);
test/libpthread/mutex_d.c
269
idstr = strtok_r (NULL, sep, &last)) {
test/stress/fsstress/fsstress.c
1525
__uint64_t last;
test/stress/fsstress/fsstress.c
1531
last = 0;
test/stress/fsstress/fsstress.c
1537
bsr.lastip=&last;
tools/tools/drm/radeon/mkregtable/mkregtable.c
280
struct list_head *last = list->prev;
tools/tools/drm/radeon/mkregtable/mkregtable.c
285
last->next = next;
tools/tools/drm/radeon/mkregtable/mkregtable.c
286
next->prev = last;
tools/tools/net80211/w00t/expand/expand.c
119
struct queue *last = NULL;
tools/tools/net80211/w00t/expand/expand.c
131
last = q;
tools/tools/net80211/w00t/expand/expand.c
146
assert(last);
tools/tools/net80211/w00t/expand/expand.c
147
last->next = q;
tools/tools/net80211/w00t/expand/expand.c
175
if (gettimeofday(&p->last, NULL) == -1)
tools/tools/net80211/w00t/expand/expand.c
383
el = elapsed(&p->last, &tv);
tools/tools/net80211/w00t/expand/expand.c
79
struct timeval last;
tools/tools/net80211/w00t/prga/prga.c
253
if (gettimeofday(&p->last, NULL) == -1)
tools/tools/net80211/w00t/prga/prga.c
261
int last = 0;
tools/tools/net80211/w00t/prga/prga.c
278
last = 1;
tools/tools/net80211/w00t/prga/prga.c
286
if (!last)
tools/tools/net80211/w00t/prga/prga.c
319
printf("Sening %sfrag [%d/%d] [len=%d]\n", last ? "last " : "",
tools/tools/net80211/w00t/prga/prga.c
322
if (last) {
tools/tools/net80211/w00t/prga/prga.c
347
el = elapsed(&p->last, &now);
tools/tools/net80211/w00t/prga/prga.c
393
if (gettimeofday(&p->last, NULL) == -1)
tools/tools/net80211/w00t/prga/prga.c
416
el = elapsed(&p->last, &now);
tools/tools/net80211/w00t/prga/prga.c
66
struct timeval last;
tools/tools/net80211/w00t/redir/redir.c
160
struct queue *last = NULL;
tools/tools/net80211/w00t/redir/redir.c
172
last = q;
tools/tools/net80211/w00t/redir/redir.c
187
assert(last);
tools/tools/net80211/w00t/redir/redir.c
188
last->next = q;
tools/tools/net80211/w00t/redir/redir.c
251
if (gettimeofday(&p->last, NULL) == -1)
tools/tools/net80211/w00t/redir/redir.c
480
struct queue *last = p->q;
tools/tools/net80211/w00t/redir/redir.c
544
while (last) {
tools/tools/net80211/w00t/redir/redir.c
545
if (!last->next) {
tools/tools/net80211/w00t/redir/redir.c
546
last->next = q;
tools/tools/net80211/w00t/redir/redir.c
550
last = last->next;
tools/tools/net80211/w00t/redir/redir.c
585
el = elapsed(&p->last, &tv);
tools/tools/net80211/w00t/redir/redir.c
88
struct timeval last;
tools/tools/net80211/wesside/wesside/wesside.c
1799
if (gettimeofday(&fragstate.last, NULL) == -1)
tools/tools/net80211/wesside/wesside/wesside.c
2498
el = now.tv_sec - fragstate.last.tv_sec;
tools/tools/net80211/wesside/wesside/wesside.c
2501
el = now.tv_usec - fragstate.last.tv_usec;
tools/tools/net80211/wesside/wesside/wesside.c
2506
el += 1000*1000 - fragstate.last.tv_usec;
tools/tools/net80211/wesside/wesside/wesside.c
95
struct timeval last;
usr.bin/column/column.c
223
wchar_t *last;
usr.bin/column/column.c
233
(cols[coloff] = wcstok(p, separator, &last));
usr.bin/diff/diffreg.c
1251
int last = lastline;
usr.bin/diff/diffreg.c
1255
while (pos > last) {
usr.bin/fetch/fetch.c
201
struct timeval last; /* time of last update */
usr.bin/fetch/fetch.c
240
elapsed = xs->last.tv_sec - xs->start.tv_sec;
usr.bin/fetch/fetch.c
275
delta = ((double)xs->last.tv_sec + (xs->last.tv_usec / 1.e6))
usr.bin/fetch/fetch.c
303
if (!force && now.tv_sec <= xs->last.tv_sec)
usr.bin/fetch/fetch.c
305
xs->last2 = xs->last;
usr.bin/fetch/fetch.c
306
xs->last = now;
usr.bin/fetch/fetch.c
329
xs->last.tv_sec >= xs->start.tv_sec + 3) ||
usr.bin/fetch/fetch.c
347
xs->last2 = xs->last = xs->start;
usr.bin/fetch/fetch.c
378
gettimeofday(&xs->last, NULL);
usr.bin/m4/gnum4.c
65
} *first, *last;
usr.bin/m4/gnum4.c
93
if (last) {
usr.bin/m4/gnum4.c
94
last->next = n;
usr.bin/m4/gnum4.c
95
last = n;
usr.bin/m4/gnum4.c
97
last = first = n;
usr.bin/mail/cmd2.c
293
int *ip, last;
usr.bin/mail/cmd2.c
295
last = 0;
usr.bin/mail/cmd2.c
301
last = *ip;
usr.bin/mail/cmd2.c
303
if (last != 0) {
usr.bin/mail/cmd2.c
304
dot = &message[last-1];
usr.bin/mail/cmd2.c
305
last = first(0, MDELETED);
usr.bin/mail/cmd2.c
306
if (last != 0) {
usr.bin/mail/cmd2.c
307
dot = &message[last-1];
usr.bin/ncal/ncal.c
781
int last; /* the first day of next month */
usr.bin/ncal/ncal.c
800
last = firstday(y + 1, 1);
usr.bin/ncal/ncal.c
802
last = firstday(y, m + 2);
usr.bin/ncal/ncal.c
829
for (j = firstm + i, k = 0; j < last; j += 7, k += dw) {
usr.bin/ncal/ncal.c
851
for (j = firstm, k = 0; j < last; k += dw, j += 7)
usr.bin/ncal/ncal.c
873
int last; /* the first day of next month */
usr.bin/ncal/ncal.c
911
last = sndaysb(&dt);
usr.bin/ncal/ncal.c
933
for (j = firsts + 7 * i, k = 0; j < last && k != dw * 7;
usr.bin/pathchk/pathchk.c
100
int last;
usr.bin/pathchk/pathchk.c
129
last = *end == '\0';
usr.bin/pathchk/pathchk.c
150
if (last)
usr.bin/rpcgen/rpc_hout.c
361
const char *last = NULL;
usr.bin/rpcgen/rpc_hout.c
369
last = l->assignment;
usr.bin/rpcgen/rpc_hout.c
372
if (last == NULL)
usr.bin/rpcgen/rpc_hout.c
375
f_print(fout, " = %s + %d", last, count++);
usr.bin/seq/seq.c
136
last = e_atof(argv[argc - 1]);
usr.bin/seq/seq.c
145
errx(1, "zero %screment", (first < last)? "in" : "de");
usr.bin/seq/seq.c
150
incr = (first < last) ? 1.0 : -1.0;
usr.bin/seq/seq.c
152
if (incr <= 0.0 && first < last)
usr.bin/seq/seq.c
155
if (incr >= 0.0 && first > last)
usr.bin/seq/seq.c
167
fmt = generate_format(first, incr, last, equalize, pad);
usr.bin/seq/seq.c
170
for (; first <= last; first += incr) {
usr.bin/seq/seq.c
175
for (; first >= last; first += incr) {
usr.bin/seq/seq.c
406
generate_format(double first, double incr, double last, int equalize, char pad)
usr.bin/seq/seq.c
416
if (first > last)
usr.bin/seq/seq.c
417
last = first - incr * floor((first - last) / incr);
usr.bin/seq/seq.c
419
last = first + incr * floor((last - first) / incr);
usr.bin/seq/seq.c
434
width2 = snprintf(buf, sizeof(buf), "%g", last);
usr.bin/seq/seq.c
81
double last = 0.0;
usr.bin/systat/extern.h
60
extern struct statinfo cur, last;
usr.bin/systat/iostat.c
107
last.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo));
usr.bin/systat/iostat.c
109
bzero(last.dinfo, sizeof(struct devinfo));
usr.bin/systat/iostat.c
115
if (dsinit(100, &cur, &last, NULL) != 1)
usr.bin/systat/iostat.c
128
tmp_dinfo = last.dinfo;
usr.bin/systat/iostat.c
129
last.dinfo = cur.dinfo;
usr.bin/systat/iostat.c
132
last.busy_time = cur.busy_time;
usr.bin/systat/iostat.c
307
busy_seconds = compute_etime(cur.busy_time, last.busy_time);
usr.bin/systat/iostat.c
309
if (compute_stats(&cur.dinfo->devices[di], &last.dinfo->devices[di],
usr.bin/systat/iostat.c
71
struct statinfo cur, last;
usr.bin/systat/vmstat.c
243
last.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo));
usr.bin/systat/vmstat.c
246
bzero(last.dinfo, sizeof(struct devinfo));
usr.bin/systat/vmstat.c
249
if (dsinit(MAXDRIVES, &cur, &last, &run) != 1)
usr.bin/systat/vmstat.c
634
dinfo(i, ++lc, &cur, &last);
usr.bin/systat/vmstat.c
952
tmp_dinfo = last.dinfo;
usr.bin/systat/vmstat.c
953
last.dinfo = cur.dinfo;
usr.bin/systat/vmstat.c
956
last.busy_time = cur.busy_time;
usr.bin/tabs/tabs.c
204
long last, stop;
usr.bin/tabs/tabs.c
206
for (last = *nstops = 0, tok = strtok(arg, ","); tok != NULL;
usr.bin/tabs/tabs.c
218
stop += last;
usr.bin/tabs/tabs.c
220
if (last > stop)
usr.bin/tabs/tabs.c
222
last = stops[(*nstops)++] = stop;
usr.bin/tail/forward.c
252
if (last != file) {
usr.bin/tail/forward.c
255
last = file;
usr.bin/tail/forward.c
330
last = file;
usr.bin/tail/forward.c
67
static const file_info_t *last;
usr.bin/top/hash.c
179
void ll_extract(llist *q, llistitem *qi, llistitem *last)
usr.bin/top/hash.c
182
if (last == NULL)
usr.bin/top/hash.c
188
last->next = qi->next;
usr.bin/vmstat/vmstat.c
102
struct statinfo cur, last;
usr.bin/vmstat/vmstat.c
343
last.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo));
usr.bin/vmstat/vmstat.c
345
bzero(last.dinfo, sizeof(struct devinfo));
usr.bin/vmstat/vmstat.c
434
tmp_dinfo = last.dinfo;
usr.bin/vmstat/vmstat.c
435
last.dinfo = cur.dinfo;
usr.bin/vmstat/vmstat.c
437
last.busy_time = cur.busy_time;
usr.bin/vmstat/vmstat.c
849
busy_seconds = compute_etime(cur.busy_time, last.busy_time);
usr.bin/vmstat/vmstat.c
861
&last.dinfo->devices[di], busy_seconds,
usr.sbin/autofs/popen.c
148
struct pid *cur, *last = NULL;
usr.sbin/autofs/popen.c
158
last = cur;
usr.sbin/autofs/popen.c
163
if (last == NULL)
usr.sbin/autofs/popen.c
166
SLIST_REMOVE_AFTER(last, next);
usr.sbin/installer/libaura/popen.c
185
struct pid *cur, *last;
usr.sbin/installer/libaura/popen.c
190
for (last = NULL, cur = pidlist; cur; last = cur, cur = cur->next) {
usr.sbin/installer/libaura/popen.c
205
if (last == NULL)
usr.sbin/installer/libaura/popen.c
208
last->next = cur->next;
usr.sbin/installer/libinstaller/diskutil.c
516
struct subpartition *last = s->subpartition_tail;
usr.sbin/installer/libinstaller/diskutil.c
522
if (last == NULL) {
usr.sbin/installer/libinstaller/diskutil.c
524
} else if (last->letter == 'b') {
usr.sbin/installer/libinstaller/diskutil.c
527
sp->letter = (char)(last->letter + 1);
usr.sbin/installer/libinstaller/diskutil.c
579
struct subpartition *last = s->subpartition_tail;
usr.sbin/installer/libinstaller/diskutil.c
585
if (last == NULL) {
usr.sbin/installer/libinstaller/diskutil.c
587
} else if (last->letter == 'b') {
usr.sbin/installer/libinstaller/diskutil.c
590
sp->letter = (char)(last->letter + 1);
usr.sbin/installer/libinstaller/diskutil.c
648
struct subpartition *last = s->subpartition_tail;
usr.sbin/installer/libinstaller/diskutil.c
655
while (last && last->letter == '@')
usr.sbin/installer/libinstaller/diskutil.c
656
last = last->prev;
usr.sbin/installer/libinstaller/diskutil.c
657
if (last == NULL) {
usr.sbin/installer/libinstaller/diskutil.c
659
} else if (last->letter == 'b') {
usr.sbin/installer/libinstaller/diskutil.c
662
sp->letter = (char)(last->letter + 1);
usr.sbin/iostat/iostat.c
113
struct statinfo cur, last;
usr.sbin/iostat/iostat.c
266
if ((last.dinfo = (struct devinfo *)malloc(sizeof(struct devinfo))) ==
usr.sbin/iostat/iostat.c
270
bzero(last.dinfo, sizeof(struct devinfo));
usr.sbin/iostat/iostat.c
404
tmp_dinfo = last.dinfo;
usr.sbin/iostat/iostat.c
405
last.dinfo = cur.dinfo;
usr.sbin/iostat/iostat.c
408
last.busy_time = cur.busy_time;
usr.sbin/iostat/iostat.c
615
busy_seconds = compute_etime(cur.busy_time, last.busy_time);
usr.sbin/iostat/iostat.c
626
&last.dinfo->devices[di], busy_seconds,
usr.sbin/iostat/iostat.c
633
&last.dinfo->devices[di], busy_seconds,
usr.sbin/iostat/iostat.c
640
&last.dinfo->devices[di], busy_seconds,
usr.sbin/lpr/chkprintcap/chkprintcap.c
219
struct dirlist *dp, *dp2, *last;
usr.sbin/lpr/chkprintcap/chkprintcap.c
233
last = NULL;
usr.sbin/lpr/chkprintcap/chkprintcap.c
237
last = dp2;
usr.sbin/lpr/chkprintcap/chkprintcap.c
240
if (last) {
usr.sbin/lpr/chkprintcap/chkprintcap.c
241
LIST_INSERT_AFTER(last, dp, link);
usr.sbin/lpr/lpd/printjob.c
867
char *cp, last[BUFSIZ];
usr.sbin/lpr/lpd/printjob.c
925
strcpy(last, line);
usr.sbin/lpr/lpd/printjob.c
927
if (strcmp(last, line) != 0)
usr.sbin/lpr/lpd/printjob.c
931
switch (sendfile(pp, '\3', last+1, *last, dfcopies)) {
usr.sbin/makefs/cd9660.c
1501
cd9660node *last = dirNode;
usr.sbin/makefs/cd9660.c
1527
if (dirNode != last) {
usr.sbin/makefs/cd9660.c
1528
last->ptnext = dirNode;
usr.sbin/makefs/cd9660.c
1529
dirNode->ptprev = last;
usr.sbin/makefs/cd9660.c
1531
last = dirNode;
usr.sbin/makefs/cd9660/iso9660_rrip.c
208
struct ISO_SUSP_ATTRIBUTES *temp, *pre_ce, *last, *CE, *ST;
usr.sbin/makefs/cd9660/iso9660_rrip.c
210
pre_ce = last = NULL;
usr.sbin/makefs/cd9660/iso9660_rrip.c
228
last = temp;
usr.sbin/makefs/cd9660/iso9660_rrip.c
236
pre_ce = last;
usr.sbin/makefs/cd9660/iso9660_rrip.c
251
last = CE;
usr.sbin/makefs/cd9660/iso9660_rrip.c
254
for (temp = TAILQ_NEXT(last, rr_ll); temp != NULL;
usr.sbin/makefs/cd9660/iso9660_rrip.c
265
if (last != NULL)
usr.sbin/makefs/cd9660/iso9660_rrip.c
266
TAILQ_INSERT_AFTER(&node->head, last, ST, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
269
last = ST;
usr.sbin/makefs/cd9660/iso9660_rrip.c
272
if (last != NULL)
usr.sbin/makefs/cd9660/iso9660_rrip.c
273
last->last_in_suf = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
834
cd9660_susp_ES(struct ISO_SUSP_ATTRIBUTES *last __unused, cd9660node *node __unused)
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_deflate.c
950
#define FLUSH_BLOCK_ONLY(s, last) { \
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_deflate.c
955
(last)); \
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_deflate.c
962
#define FLUSH_BLOCK(s, last) { \
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_deflate.c
963
FLUSH_BLOCK_ONLY(s, last); \
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_deflate.c
964
if (s->strm->avail_out == 0) return (last) ? finish_started : need_more; \
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_deflate.h
290
ulg stored_len, int last);
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_deflate.h
294
ulg stored_len, int last);
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inffast.c
100
last = in + (strm->avail_in - 5);
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inffast.c
307
} while (in < last && out < end);
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inffast.c
318
strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last));
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inffast.c
73
z_const unsigned char FAR *last; /* have enough input while in < last */
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
1032
strm->data_type = state->bits + (state->last ? 64 : 0) +
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
126
state->last = 0;
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
568
code last; /* parent table entry */
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
633
if (state->last) {
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
639
state->last = BITS(1);
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
644
state->last ? " (last)" : ""));
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
650
state->last ? " (last)" : ""));
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
659
state->last ? " (last)" : ""));
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
841
last = here;
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
843
here = state->lencode[last.val +
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
844
(BITS(last.bits + last.op) >> last.bits)];
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
845
if ((unsigned)(last.bits + here.bits) <= bits) break;
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
848
DROPBITS(last.bits);
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
849
state->back += last.bits;
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
891
last = here;
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
893
here = state->distcode[last.val +
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
894
(BITS(last.bits + last.op) >> last.bits)];
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
895
if ((unsigned)(last.bits + here.bits) <= bits) break;
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
898
DROPBITS(last.bits);
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.c
899
state->back += last.bits;
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_inflate.h
75
int last; /* true if processing last block */
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
1003
if (last) {
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
1010
s->compressed_len-7*last));
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
325
# define SEPARATOR(i, last, width) \
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
326
((i) == (last)? "\n};\n\n" : \
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
875
ulg stored_len, int last) /* one if this is the last block for a file */
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
877
send_bits(s, (STORED_BLOCK<<1)+last, 3); /* send block type */
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
918
ulg stored_len, int last)
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
974
_tr_stored_block(s, buf, stored_len, last);
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
981
send_bits(s, (STATIC_TREES<<1)+last, 3);
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
988
send_bits(s, (DYN_TREES<<1)+last, 3);
usr.sbin/makefs/mtree.c
823
fsnode *last, *node, *parent;
usr.sbin/makefs/mtree.c
889
last = NULL;
usr.sbin/makefs/mtree.c
923
last = node;
usr.sbin/makefs/mtree.c
924
node = last->next;
usr.sbin/makefs/mtree.c
943
if (last != NULL)
usr.sbin/makefs/mtree.c
944
last->next = node;
usr.sbin/makefs/mtree.c
953
last->next = NULL;
usr.sbin/makefs/walk.c
105
last = prev;
usr.sbin/makefs/walk.c
143
if (cur == last) {
usr.sbin/makefs/walk.c
78
fsnode *first, *cur, *prev, *last;
usr.sbin/mtree/spec.c
100
NODE *centry, *last, *pathparent, *cur;
usr.sbin/mtree/spec.c
107
centry = last = NULL;
usr.sbin/mtree/spec.c
148
if (last->type != F_DIR || last->flags & F_DONE) {
usr.sbin/mtree/spec.c
149
if (last == root)
usr.sbin/mtree/spec.c
151
last = last->parent;
usr.sbin/mtree/spec.c
153
last->flags |= F_DONE;
usr.sbin/mtree/spec.c
219
last = root = centry;
usr.sbin/mtree/spec.c
227
last = centry;
usr.sbin/mtree/spec.c
233
} else if (last->type == F_DIR && !(last->flags & F_DONE)) {
usr.sbin/mtree/spec.c
238
centry->parent = last;
usr.sbin/mtree/spec.c
239
addchild(last, centry);
usr.sbin/mtree/spec.c
240
last = centry;
usr.sbin/mtree/spec.c
247
centry->parent = last->parent;
usr.sbin/mtree/spec.c
248
addchild(last->parent, centry);
usr.sbin/mtree/spec.c
249
last = centry;
usr.sbin/mtree/spec.c
715
NODE *last; /* the last node in the list */
usr.sbin/mtree/spec.c
721
last = NULL;
usr.sbin/mtree/spec.c
738
for (; cur != NULL; last = cur, cur = cur->next) {
usr.sbin/mtree/spec.c
757
insertpos = last;
usr.sbin/pfctl/pfctl_altq.c
1075
struct segment *s, *last, *end;
usr.sbin/pfctl/pfctl_altq.c
1094
last = NULL;
usr.sbin/pfctl/pfctl_altq.c
1098
last = s;
usr.sbin/pfctl/pfctl_altq.c
1101
if (last == NULL)
usr.sbin/pfctl/pfctl_altq.c
1103
if (last->m > sc->m2)
usr.sbin/pfctl/pfctl_altq.c
1105
if (last->x < sc->d && last->m > sc->m1) {
usr.sbin/pfctl/pfctl_altq.c
1106
y = last->y + (sc->d - last->x) * last->m;
usr.sbin/ppp/async.c
189
struct mbuf *nbp, **last;
usr.sbin/ppp/async.c
199
last = &nbp;
usr.sbin/ppp/async.c
205
*last = async_Decode(&p->async, *ch++);
usr.sbin/ppp/async.c
206
if (*last != NULL)
usr.sbin/ppp/async.c
207
last = &(*last)->m_nextpkt;
usr.sbin/ppp/chat.c
238
int last;
usr.sbin/ppp/chat.c
240
for (last = c->abort.num; last > i; last--) {
usr.sbin/ppp/chat.c
241
c->abort.string[last].data = c->abort.string[last-1].data;
usr.sbin/ppp/chat.c
242
c->abort.string[last].len = c->abort.string[last-1].len;
usr.sbin/ppp/hdlc.c
144
struct mbuf *last;
usr.sbin/ppp/hdlc.c
152
for (last = bp; last->m_next; last = last->m_next)
usr.sbin/ppp/hdlc.c
155
if (last->m_size - last->m_offset - last->m_len >= 2) {
usr.sbin/ppp/hdlc.c
156
cp = MBUF_CTOP(last) + last->m_len;
usr.sbin/ppp/hdlc.c
157
last->m_len += 2;
usr.sbin/ppp/hdlc.c
160
last->m_next = tail;
usr.sbin/ppp/mbuf.c
354
q->last = q->top;
usr.sbin/ppp/mbuf.c
369
if (queue->last) {
usr.sbin/ppp/mbuf.c
370
queue->last->m_nextpkt = bp;
usr.sbin/ppp/mbuf.c
371
queue->last = bp;
usr.sbin/ppp/mbuf.c
373
queue->last = queue->top = bp;
usr.sbin/ppp/mbuf.h
43
struct mbuf *last;
usr.sbin/ppp/mp.c
419
struct mbuf *q, *last;
usr.sbin/ppp/mp.c
460
last = NULL;
usr.sbin/ppp/mp.c
465
if (last)
usr.sbin/ppp/mp.c
466
last->m_nextpkt = m;
usr.sbin/ppp/mp.c
477
if (last)
usr.sbin/ppp/mp.c
478
last->m_nextpkt = m;
usr.sbin/ppp/mp.c
530
last = NULL;
usr.sbin/ppp/mp.c
585
last = NULL;
usr.sbin/ppp/mp.c
590
last = q;
usr.sbin/ppp/mp.c
597
last = NULL;
usr.sbin/ppp/mp.c
598
for (q = mp->inbufs; q; last = q, q = q->m_nextpkt) {
usr.sbin/ppp/mp.c
604
if (last)
usr.sbin/ppp/mp.c
605
last->m_nextpkt = m;
usr.sbin/ppp/mp.c
845
unsigned long first, last;
usr.sbin/ppp/mp.c
848
last = mp_ReadHeader(mp, lm, &mh) ? mh.seq : 0;
usr.sbin/ppp/mp.c
850
first, last, (unsigned long)mp->seq.next_in,
usr.sbin/ppp/nat_cmd.c
496
struct mbuf **last;
usr.sbin/ppp/nat_cmd.c
531
last = &bp->m_nextpkt;
usr.sbin/ppp/nat_cmd.c
537
*last = m_get(len, MB_NATIN);
usr.sbin/ppp/nat_cmd.c
538
memcpy(MBUF_CTOP(*last), fptr, len);
usr.sbin/ppp/nat_cmd.c
540
last = &(*last)->m_nextpkt;
usr.sbin/ppp/throughput.c
286
char *time_buf, *last;
usr.sbin/ppp/throughput.c
289
last = time_buf + strlen(time_buf);
usr.sbin/ppp/throughput.c
290
if (last > time_buf && *--last == '\n')
usr.sbin/ppp/throughput.c
291
*last = '\0';
usr.sbin/pppctl/pppctl.c
108
last = Buffer+len-1;
usr.sbin/pppctl/pppctl.c
110
last = prompt;
usr.sbin/pppctl/pppctl.c
111
if (last) {
usr.sbin/pppctl/pppctl.c
112
last++;
usr.sbin/pppctl/pppctl.c
113
write(1, Buffer, last-Buffer);
usr.sbin/pppctl/pppctl.c
117
for (last = Buffer+len-2; last > Buffer && *last != ' '; last--)
usr.sbin/pppctl/pppctl.c
119
if (last > Buffer+3 && !strncmp(last-3, " on", 3)) {
usr.sbin/pppctl/pppctl.c
140
if ((last = strrchr(Buffer, '\n')) == NULL)
usr.sbin/pppctl/pppctl.c
144
flush = last - Buffer + 1;
usr.sbin/pppctl/pppctl.c
93
char *last;
usr.sbin/quot/quot.c
103
static ino_t last;
usr.sbin/quot/quot.c
113
if (!ip || ino < last || ino >= last + INOCNT(super)) {
usr.sbin/quot/quot.c
117
last = rounddown(ino, INOCNT(super));
usr.sbin/quot/quot.c
118
if (lseek(fd, (off_t)ino_to_fsba(super, last) << super->fs_fshift, 0) < (off_t)0
usr.sbin/rpc.statd/procs.c
144
MonList *last = NULL;
usr.sbin/rpc.statd/procs.c
156
if (last) last->next = next;
usr.sbin/rpc.statd/procs.c
164
last = lp;
usr.sbin/sysvipcd/shmd.c
202
msgq->ds.last.msg_last_index = -1;
usr.sbin/zic/zic.c
2391
zic_t last = 0;
usr.sbin/zic/zic.c
2397
trans[i] = tadd(trans[i], last);
usr.sbin/zic/zic.c
2398
last = corr[i] += last;