bin/chio/chio.c
525
u_int16_t base, count, chet, schet, echet;
bin/chio/chio.c
535
count = 0;
bin/chio/chio.c
603
count = 1;
bin/chio/chio.c
606
count = (u_int16_t)atol(argv[2]) - base + 1;
bin/chio/chio.c
611
if (count == 0)
bin/chio/chio.c
612
count = cp.cp_npickers;
bin/chio/chio.c
613
else if (count > cp.cp_npickers)
bin/chio/chio.c
619
if (count == 0)
bin/chio/chio.c
620
count = cp.cp_nslots;
bin/chio/chio.c
621
else if (count > cp.cp_nslots)
bin/chio/chio.c
627
if (count == 0)
bin/chio/chio.c
628
count = cp.cp_nportals;
bin/chio/chio.c
629
else if (count > cp.cp_nportals)
bin/chio/chio.c
635
if (count == 0)
bin/chio/chio.c
636
count = cp.cp_ndrives;
bin/chio/chio.c
637
else if (count > cp.cp_ndrives)
bin/chio/chio.c
644
count = 0;
bin/chio/chio.c
648
if (count == 0) {
bin/chio/chio.c
661
cesr.cesr_element_count = count;
bin/chio/chio.c
665
calloc((size_t)count, sizeof(struct changer_element_status));
bin/chio/chio.c
679
for (i = 0; i < count; ++i) {
bin/chio/chio.c
729
count = 0;
bin/ps/ps.c
1033
if (inf->count >= inf->maxcount)
bin/ps/ps.c
1035
inf->l.uids[(inf->count)++] = pwd->pw_uid;
bin/ps/ps.c
119
int count;
bin/ps/ps.c
1227
inf->count = inf->elemsize = inf->maxcount = 0;
bin/ps/ps.c
1240
inf->count = inf->maxcount = 0;
bin/ps/ps.c
537
uidlist.l.uids[uidlist.count++] = geteuid();
bin/ps/ps.c
551
if (gidlist.count == 1) {
bin/ps/ps.c
555
} else if (pgrplist.count == 1) {
bin/ps/ps.c
559
} else if (pidlist.count == 1 && directions == NONE) {
bin/ps/ps.c
563
} else if (ruidlist.count == 1) {
bin/ps/ps.c
567
} else if (sesslist.count == 1) {
bin/ps/ps.c
571
} else if (ttylist.count == 1) {
bin/ps/ps.c
575
} else if (uidlist.count == 1) {
bin/ps/ps.c
594
pid_count.initial = pidlist.count;
bin/ps/ps.c
596
for (elem = 0; elem < pidlist.count; elem++)
bin/ps/ps.c
601
if (pidlist.count >= pidlist.maxcount)
bin/ps/ps.c
603
pidlist.l.pids[pidlist.count++] = kp[i].ki_pid;
bin/ps/ps.c
606
pid_count.traversed = pidlist.count;
bin/ps/ps.c
608
for (elem = 0; elem < pidlist.count; elem++) {
bin/ps/ps.c
615
if (pidlist.count >= pidlist.maxcount)
bin/ps/ps.c
617
pidlist.l.pids[pidlist.count++] = kp[i].ki_ppid;
bin/ps/ps.c
630
if (pidlist.count > 0) {
bin/ps/ps.c
631
for (elem = 0; elem < pidlist.count; elem++)
bin/ps/ps.c
647
if (gidlist.count > 0) {
bin/ps/ps.c
648
for (elem = 0; elem < gidlist.count; elem++)
bin/ps/ps.c
652
if (jidlist.count > 0) {
bin/ps/ps.c
653
for (elem = 0; elem < jidlist.count; elem++)
bin/ps/ps.c
657
if (pgrplist.count > 0) {
bin/ps/ps.c
658
for (elem = 0; elem < pgrplist.count; elem++)
bin/ps/ps.c
663
if (ruidlist.count > 0) {
bin/ps/ps.c
664
for (elem = 0; elem < ruidlist.count; elem++)
bin/ps/ps.c
669
if (sesslist.count > 0) {
bin/ps/ps.c
670
for (elem = 0; elem < sesslist.count; elem++)
bin/ps/ps.c
674
if (ttylist.count > 0) {
bin/ps/ps.c
675
for (elem = 0; elem < ttylist.count; elem++)
bin/ps/ps.c
679
if (uidlist.count > 0) {
bin/ps/ps.c
680
for (elem = 0; elem < uidlist.count; elem++)
bin/ps/ps.c
852
if (inf->count >= inf->maxcount)
bin/ps/ps.c
854
inf->l.gids[(inf->count)++] = grp->gr_gid;
bin/ps/ps.c
876
if (inf->count >= inf->maxcount)
bin/ps/ps.c
878
inf->l.jids[(inf->count)++] = tempid;
bin/ps/ps.c
907
if (inf->count >= inf->maxcount)
bin/ps/ps.c
909
inf->l.pids[(inf->count)++] = tempid;
bin/ps/ps.c
988
if (inf->count >= inf->maxcount)
bin/ps/ps.c
990
inf->l.ttys[(inf->count)++] = sb.st_rdev;
bin/sh/bltin/echo.c
52
int count;
bin/sh/bltin/echo.c
88
count = 3;
bin/sh/bltin/echo.c
89
while (--count >= 0 && (unsigned)(*p - '0') < 8)
bin/sh/eval.c
1035
varlist.count == 0 &&
bin/sh/eval.c
1099
for (i = 0; i < varlist.count; i++)
bin/sh/eval.c
1197
for (i = 0; i < varlist.count; i++)
bin/sh/eval.c
1393
for (i = 0; i < cmdenviron->count; i++)
bin/sh/eval.c
360
for (i = 0; i < arglist.count; i++) {
bin/sh/eval.c
760
for (i = 0; i < varlist->count; i++) {
bin/sh/eval.c
905
argc = arglist.count - 2;
bin/sh/eval.c
931
for (i = 0; i < varlist.count; i++)
bin/sh/expand.c
1036
firstmatch = dstlist->count;
bin/sh/expand.c
1047
if (dstlist->count == firstmatch) {
bin/sh/expand.c
1055
dstlist->count - firstmatch,
bin/sh/expand.c
115
list->count = 0;
bin/sh/expand.c
125
if (list->count >= list->capacity) {
bin/sh/expand.c
132
memcpy(newargs, list->args, list->count * sizeof(newargs[0]));
bin/sh/expand.c
136
list->args[list->count++] = str;
bin/sh/expand.c
1541
for (i = 0, len = 0; i < arglist.count; i++)
bin/sh/expand.c
1543
out1fmt("%016x %016zx", arglist.count, len);
bin/sh/expand.c
1544
for (i = 0; i < arglist.count; i++)
bin/sh/expand.c
182
dst->list->count--;
bin/sh/expand.h
37
int count;
bin/sh/var.c
408
for (i = 0; i < list->count; i++)
bin/sh/var.c
446
if (cmdenviron) for (i = 0; i < cmdenviron->count; i++) {
bin/sh/var.c
471
if (cmdenviron) for (i = 0; i < cmdenviron->count; i++) {
bin/sh/var.c
508
if (cmdenviron) for (i = 0; i < cmdenviron->count; i++) {
bin/uuidgen/uuidgen.c
111
int ch, count, i, iterate, status, version;
bin/uuidgen/uuidgen.c
114
count = -1; /* no count yet */
bin/uuidgen/uuidgen.c
130
if (count > 0)
bin/uuidgen/uuidgen.c
132
count = strtol(optarg, &p, 10);
bin/uuidgen/uuidgen.c
133
if (*p != 0 || count < 1)
bin/uuidgen/uuidgen.c
158
if (count == -1)
bin/uuidgen/uuidgen.c
159
count = 1;
bin/uuidgen/uuidgen.c
161
store = calloc(MIN(count, UUIDGEN_BATCH_MAX), sizeof(uuid_t));
bin/uuidgen/uuidgen.c
165
while (count > 0) {
bin/uuidgen/uuidgen.c
166
int batch = (count > UUIDGEN_BATCH_MAX) ? UUIDGEN_BATCH_MAX : count;
bin/uuidgen/uuidgen.c
202
count -= batch;
bin/uuidgen/uuidgen.c
74
uuidgen_v4(struct uuid *store, int count)
bin/uuidgen/uuidgen.c
79
if (count < 1) {
bin/uuidgen/uuidgen.c
83
size = sizeof(struct uuid) * count;
bin/uuidgen/uuidgen.c
86
for (int i = 0; i < count; ++i) {
crypto/heimdal/appl/ftp/ftp/domacro.c
145
if (loopflg && ++count < argc) {
crypto/heimdal/appl/ftp/ftp/domacro.c
40
int i, j, count = 2, loopflg = 0;
crypto/heimdal/appl/ftp/ftp/domacro.c
93
if (count < argc) {
crypto/heimdal/appl/ftp/ftp/domacro.c
95
if (strlcpy(cp2, argv[count], len) >= len)
crypto/heimdal/appl/ftp/ftp/domacro.c
97
cp2 += strlen(argv[count]);
crypto/heimdal/appl/ftp/ftp/ftp.c
1729
int d, count = 0;
crypto/heimdal/appl/ftp/ftp/ftp.c
1745
if (++count == 100) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3504
size_t count;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3517
count = 0;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3520
count++;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3521
count++;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3525
reply(213, "%lu", (unsigned long)count);
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1451
size_t count;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1464
count = 0;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1467
count++;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1468
count++;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1472
reply(213, "%lu", (unsigned long)count);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2147
int count;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2159
for (count = 1; count < 100; count++) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2160
snprintf (new, sizeof(new), "%s.%d", local, count);
crypto/heimdal/appl/push/push.c
221
unsigned count = 0, bytes;
crypto/heimdal/appl/push/push.c
299
count, asked_for, retrieved, asked_deleted);
crypto/heimdal/appl/push/push.c
302
&& asked_for < count)
crypto/heimdal/appl/push/push.c
304
|| (state == DELE && asked_deleted < count))
crypto/heimdal/appl/push/push.c
355
if (++retrieved == count) {
crypto/heimdal/appl/push/push.c
373
if (++retrieved == count) {
crypto/heimdal/appl/push/push.c
432
if (++deleted == count) {
crypto/heimdal/appl/push/push.c
440
if(sscanf (beg + 4, "%u %u", &count, &bytes) != 2)
crypto/heimdal/appl/push/push.c
445
count, bytes);
crypto/heimdal/appl/push/push.c
450
count, bytes);
crypto/heimdal/appl/push/push.c
452
if (count == 0) {
crypto/heimdal/appl/push/push.c
488
"XDELE %u %u\r\n", 1, count);
crypto/heimdal/appl/rcp/rcp.c
421
int amt, count, exists, first, mask, mode, ofd, omode;
crypto/heimdal/appl/rcp/rcp.c
575
for (count = i = 0; i < size; i += BUFSIZ) {
crypto/heimdal/appl/rcp/rcp.c
579
count += amt;
crypto/heimdal/appl/rcp/rcp.c
587
if (count == bp->cnt) {
crypto/heimdal/appl/rcp/rcp.c
590
j = write(ofd, bp->buf, (size_t)count);
crypto/heimdal/appl/rcp/rcp.c
591
if (j != count) {
crypto/heimdal/appl/rcp/rcp.c
596
count = 0;
crypto/heimdal/appl/rcp/rcp.c
600
if (count != 0 && wrerr == NO &&
crypto/heimdal/appl/rcp/rcp.c
601
(j = write(ofd, bp->buf, (size_t)count)) != count) {
crypto/heimdal/appl/rsh/rsh.c
121
if (--count == 0)
crypto/heimdal/appl/rsh/rsh.c
133
if (--count == 0)
crypto/heimdal/appl/rsh/rsh.c
82
int count = 1;
crypto/heimdal/appl/rsh/rsh.c
96
++count;
crypto/heimdal/appl/rsh/rshd.c
413
int count = 2;
crypto/heimdal/appl/rsh/rshd.c
464
if (--count == 0)
crypto/heimdal/appl/rsh/rshd.c
477
if (--count == 0)
crypto/heimdal/appl/telnet/telnet/commands.c
241
int count; /* how many bytes we are going to need to send */
crypto/heimdal/appl/telnet/telnet/commands.c
258
count = 0;
crypto/heimdal/appl/telnet/telnet/commands.c
276
count += s->nbyte;
crypto/heimdal/appl/telnet/telnet/commands.c
291
if (NETROOM() < count) {
crypto/heimdal/appl/telnet/telnet/commands.c
299
count = 0;
crypto/heimdal/appl/telnet/telnet/commands.c
307
count++;
crypto/heimdal/appl/telnet/telnet/commands.c
316
return (count == success);
crypto/heimdal/appl/telnet/telnet/ring.c
140
ring_supplied(Ring *ring, int count)
crypto/heimdal/appl/telnet/telnet/ring.c
142
ring->supply = ring_increment(ring, ring->supply, count);
crypto/heimdal/appl/telnet/telnet/ring.c
150
ring_consumed(Ring *ring, int count)
crypto/heimdal/appl/telnet/telnet/ring.c
152
if (count == 0) /* don't update anything */
crypto/heimdal/appl/telnet/telnet/ring.c
156
(ring_subtract(ring, ring->mark, ring->consume) < count)) {
crypto/heimdal/appl/telnet/telnet/ring.c
161
ring->clearto <= ring->consume + count)
crypto/heimdal/appl/telnet/telnet/ring.c
163
else if (ring->consume + count > ring->top &&
crypto/heimdal/appl/telnet/telnet/ring.c
165
ring->bottom + ((ring->consume + count) - ring->top))
crypto/heimdal/appl/telnet/telnet/ring.c
168
ring->consume = ring_increment(ring, ring->consume, count);
crypto/heimdal/appl/telnet/telnet/ring.c
256
ring_supply_data(Ring *ring, unsigned char *buffer, int count)
crypto/heimdal/appl/telnet/telnet/ring.c
260
while (count) {
crypto/heimdal/appl/telnet/telnet/ring.c
261
i = min(count, ring_empty_consecutive(ring));
crypto/heimdal/appl/telnet/telnet/ring.c
264
count -= i;
crypto/heimdal/appl/telnet/telnet/ring.c
275
ring_consume_data(Ring *ring, unsigned char *buffer, int count)
crypto/heimdal/appl/telnet/telnet/ring.c
279
while (count) {
crypto/heimdal/appl/telnet/telnet/ring.c
280
i = min(count, ring_full_consecutive(ring));
crypto/heimdal/appl/telnet/telnet/ring.c
283
count -= i;
crypto/heimdal/appl/telnet/telnet/ring.c
83
ring_init(Ring *ring, unsigned char *buffer, int count)
crypto/heimdal/appl/telnet/telnet/ring.c
87
ring->size = count;
crypto/heimdal/appl/telnet/telnet/ring.h
67
ring_init (Ring *ring, unsigned char *buffer, int count);
crypto/heimdal/appl/telnet/telnet/ring.h
71
ring_supply_data (Ring *ring, unsigned char *buffer, int count);
crypto/heimdal/appl/telnet/telnet/ring.h
74
ring_consume_data (Ring *ring, unsigned char *buffer, int count);
crypto/heimdal/appl/telnet/telnet/ring.h
79
ring_supplied (Ring *ring, int count),
crypto/heimdal/appl/telnet/telnet/ring.h
80
ring_consumed (Ring *ring, int count);
crypto/heimdal/appl/telnet/telnet/telnet.c
1590
int count;
crypto/heimdal/appl/telnet/telnet/telnet.c
1594
count = 0;
crypto/heimdal/appl/telnet/telnet/telnet.c
1597
if (count) {
crypto/heimdal/appl/telnet/telnet/telnet.c
1598
ring_consumed(&netiring, count);
crypto/heimdal/appl/telnet/telnet/telnet.c
1600
count = 0;
crypto/heimdal/appl/telnet/telnet/telnet.c
1610
c = *sbp++ & 0xff, scc--; count++;
crypto/heimdal/appl/telnet/telnet/telnet.c
1649
sbp++, scc--; count++;
crypto/heimdal/appl/telnet/telnet/telnet.c
1654
sbp++, scc--; count++;
crypto/heimdal/appl/telnet/telnet/telnet.c
1809
if (count)
crypto/heimdal/appl/telnet/telnet/telnet.c
1810
ring_consumed(&netiring, count);
crypto/heimdal/appl/telnet/telnet/telnet.c
1811
return returnValue||count;
crypto/heimdal/appl/telnet/telnet/telnet.c
1832
int count;
crypto/heimdal/appl/telnet/telnet/telnet.c
1837
count = 0;
crypto/heimdal/appl/telnet/telnet/telnet.c
1843
if (count) {
crypto/heimdal/appl/telnet/telnet/telnet.c
1844
ring_consumed(&ttyiring, count);
crypto/heimdal/appl/telnet/telnet/telnet.c
1846
count = 0;
crypto/heimdal/appl/telnet/telnet/telnet.c
1854
c = *tbp++ & 0xff, sc = strip(c), tcc--; count++;
crypto/heimdal/appl/telnet/telnet/telnet.c
1877
count += tcc;
crypto/heimdal/appl/telnet/telnet/telnet.c
1885
--count;
crypto/heimdal/appl/telnet/telnet/telnet.c
1898
count++;
crypto/heimdal/appl/telnet/telnet/telnet.c
1903
count += tcc;
crypto/heimdal/appl/telnet/telnet/telnet.c
1913
tcc--; tbp++; count++;
crypto/heimdal/appl/telnet/telnet/telnet.c
1964
if (count)
crypto/heimdal/appl/telnet/telnet/telnet.c
1965
ring_consumed(&ttyiring, count);
crypto/heimdal/appl/telnet/telnet/telnet.c
1966
return returnValue||count; /* Non-zero if we did anything */
crypto/heimdal/kadmin/rpc.c
497
size_t count = 0;
crypto/heimdal/kadmin/rpc.c
513
count++;
crypto/heimdal/kadmin/rpc.c
515
INSIST((size_t)ent->n_tl_data == count);
crypto/heimdal/lib/asn1/gen_template.c
289
unsigned int count = 0;
crypto/heimdal/lib/asn1/gen_template.c
293
count++;
crypto/heimdal/lib/asn1/gen_template.c
295
return count;
crypto/heimdal/lib/asn1/gen_template.c
555
size_t count = 0, i;
crypto/heimdal/lib/asn1/gen_template.c
573
count++;
crypto/heimdal/lib/asn1/gen_template.c
579
basetype, (unsigned long)count);
crypto/heimdal/lib/asn1/gen_template.c
690
size_t count = 0, i;
crypto/heimdal/lib/asn1/gen_template.c
747
count++;
crypto/heimdal/lib/asn1/gen_template.c
752
e ? e : "0", isstruct ? "struct " : "", basetype, (unsigned long)count);
crypto/heimdal/lib/com_err/com_err.c
65
init_error_table(const char **msgs, long base, int count)
crypto/heimdal/lib/com_err/com_err.c
67
initialize_error_table_r(&_et_list, msgs, count, base);
crypto/heimdal/lib/gssapi/gssapi/gssapi.h
107
size_t count;
crypto/heimdal/lib/gssapi/gssapi/gssapi.h
135
size_t count;
crypto/heimdal/lib/gssapi/gsstool.c
153
for (n = 0; n < set->count; n++) {
crypto/heimdal/lib/gssapi/gsstool.c
98
for (i = 0; i < mechs->count; i++) {
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred.c
100
for (i = 0; i < mechs->count; i++) {
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred.c
66
for (i = 0; i < mechs->count; i++) {
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred.c
73
if (i == mechs->count) {
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred.c
98
set.count = 1;
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred_ext.c
138
set.count = 1;
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred_ext.c
152
for (i = 0; i < mechs->count; i++) {
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred_ext.c
59
set2.count = 1;
crypto/heimdal/lib/gssapi/mech/gss_acquire_cred_with_password.c
70
for (i = 0; i < desired_mechs->count; i++) {
crypto/heimdal/lib/gssapi/mech/gss_add_oid_set_member.c
73
n = (*oid_set)->count + 1;
crypto/heimdal/lib/gssapi/mech/gss_add_oid_set_member.c
80
(*oid_set)->count = n;
crypto/heimdal/lib/gssapi/mech/gss_buffer_set.c
111
for (i = 0; i < (*buffer_set)->count; i++)
crypto/heimdal/lib/gssapi/mech/gss_buffer_set.c
117
(*buffer_set)->count = 0;
crypto/heimdal/lib/gssapi/mech/gss_buffer_set.c
48
set->count = 0;
crypto/heimdal/lib/gssapi/mech/gss_buffer_set.c
77
(set->count + 1) * sizeof(set->elements[0]));
crypto/heimdal/lib/gssapi/mech/gss_buffer_set.c
83
p = &set->elements[set->count];
crypto/heimdal/lib/gssapi/mech/gss_buffer_set.c
93
set->count++;
crypto/heimdal/lib/gssapi/mech/gss_create_empty_oid_set.c
46
set->count = 0;
crypto/heimdal/lib/gssapi/mech/gss_indicate_mechs.c
52
for (i = 0; i < set->count; i++)
crypto/heimdal/lib/gssapi/mech/gss_inquire_cred_by_oid.c
72
for (i = 0; i < rset->count; i++) {
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
290
if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
54
if (data_set == GSS_C_NO_BUFFER_SET || data_set->count < 1) {
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
575
if (data_set->count != 1) {
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
677
if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
733
if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
854
data_set->count != 1 ||
crypto/heimdal/lib/gssapi/mech/gss_mo.c
411
for (n = 0; n < against_attrs->count; n++) {
crypto/heimdal/lib/gssapi/mech/gss_mo.c
419
for (m = 0; m < mech_attrs->count; m++) {
crypto/heimdal/lib/gssapi/mech/gss_test_oid_set_member.c
40
for (i = 0; i < set->count; i++)
crypto/heimdal/lib/gssapi/mech/mech_locl.h
80
(oid_set)->count = 0; \
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
352
for (i = 0; i < mechs->count; i++)
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
356
if (i == mechs->count) {
crypto/heimdal/lib/gssapi/spnego/compat.c
264
if (supported_mechs->count == 0) {
crypto/heimdal/lib/gssapi/spnego/compat.c
280
for (i = 0; i < supported_mechs->count; i++) {
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
52
for (i = 0; i < m->count; i++) {
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
580
for (i = 0; i < mechs->count; i++) {
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
587
for (j = 0; j < n->count; j++)
crypto/heimdal/lib/gssapi/spnego/cred_stubs.c
100
for (i = 0, j = 0; i < mechs->count; i++) {
crypto/heimdal/lib/gssapi/spnego/cred_stubs.c
107
actual_desired_mechs.count = j;
crypto/heimdal/lib/gssapi/spnego/cred_stubs.c
91
actual_desired_mechs.count = mechs->count;
crypto/heimdal/lib/gssapi/spnego/cred_stubs.c
92
actual_desired_mechs.elements = malloc(actual_desired_mechs.count *
crypto/heimdal/lib/hx509/hxtool.c
827
int count;
crypto/heimdal/lib/hx509/hxtool.c
843
v->count++;
crypto/heimdal/lib/hx509/hxtool.c
976
if (v.count == 0) {
crypto/heimdal/lib/hx509/ks_keychain.c
495
attrInfo.count = 1;
crypto/heimdal/lib/hx509/ks_keychain.c
521
attrList.count = 1;
crypto/heimdal/lib/hx509/ks_keychain.c
60
attrInfo.count = 1;
crypto/heimdal/lib/hx509/ref/pkcs11.h
734
unsigned long *count));
crypto/heimdal/lib/hx509/ref/pkcs11.h
744
unsigned long *count));
crypto/heimdal/lib/hx509/ref/pkcs11.h
786
unsigned long count, ck_object_handle_t *object));
crypto/heimdal/lib/hx509/ref/pkcs11.h
789
struct ck_attribute *templ, unsigned long count,
crypto/heimdal/lib/hx509/ref/pkcs11.h
802
unsigned long count));
crypto/heimdal/lib/hx509/ref/pkcs11.h
807
unsigned long count));
crypto/heimdal/lib/hx509/ref/pkcs11.h
811
unsigned long count));
crypto/heimdal/lib/hx509/ref/pkcs11.h
956
unsigned long count,
crypto/heimdal/lib/kadm5/ad.c
1021
int *count)
crypto/heimdal/lib/kadm5/admin.h
251
char ***pols, int *count);
crypto/heimdal/lib/kadm5/common_glue.c
124
int *count)
crypto/heimdal/lib/kadm5/common_glue.c
126
return __CALL(get_principals, (server_handle, expression, princs, count));
crypto/heimdal/lib/kadm5/free.c
84
int *count)
crypto/heimdal/lib/kadm5/free.c
87
for(i = 0; i < *count; i++)
crypto/heimdal/lib/kadm5/free.c
90
*count = 0;
crypto/heimdal/lib/kadm5/get_princs_c.c
42
int *count)
crypto/heimdal/lib/kadm5/get_princs_c.c
86
*count = tmp;
crypto/heimdal/lib/kadm5/get_princs_s.c
102
d.count = 0;
crypto/heimdal/lib/kadm5/get_princs_s.c
109
*count = d.count - 1;
crypto/heimdal/lib/kadm5/get_princs_s.c
111
kadm5_free_name_list(context, d.princs, &d.count);
crypto/heimdal/lib/kadm5/get_princs_s.c
42
int count;
crypto/heimdal/lib/kadm5/get_princs_s.c
49
tmp = realloc(d->princs, (d->count + 1) * sizeof(*tmp));
crypto/heimdal/lib/kadm5/get_princs_s.c
53
d->princs[d->count++] = princ;
crypto/heimdal/lib/kadm5/get_princs_s.c
83
int *count)
crypto/heimdal/lib/krb5/krbhst.c
142
*count = num_srv;
crypto/heimdal/lib/krb5/krbhst.c
445
int count, i;
crypto/heimdal/lib/krb5/krbhst.c
447
ret = srv_find_realm(context, &res, &count, kd->realm, "SRV", proto, service,
crypto/heimdal/lib/krb5/krbhst.c
453
for(i = 0; i < count; i++)
crypto/heimdal/lib/krb5/krbhst.c
57
srv_find_realm(krb5_context context, krb5_krbhst_info ***res, int *count,
crypto/heimdal/lib/krb5/krbhst.c
69
*count = 0;
crypto/heimdal/lib/krb5/net_write.c
101
count = write (fd, cbuf, rem);
crypto/heimdal/lib/krb5/net_write.c
103
if (count < 0) {
crypto/heimdal/lib/krb5/net_write.c
107
return count;
crypto/heimdal/lib/krb5/net_write.c
112
cbuf += count;
crypto/heimdal/lib/krb5/net_write.c
113
rem -= count;
crypto/heimdal/lib/krb5/net_write.c
58
ssize_t count;
crypto/heimdal/lib/krb5/net_write.c
85
count = send (fd, cbuf, rem, 0);
crypto/heimdal/lib/krb5/net_write.c
87
if (rk_IS_SOCKET_ERROR(count)) {
crypto/heimdal/lib/krb5/store.c
147
size_too_large_num(krb5_storage *sp, size_t count, size_t size)
crypto/heimdal/lib/krb5/store.c
152
if (size < count)
crypto/heimdal/lib/roken/getarg.c
305
size_t count = 0;
crypto/heimdal/lib/roken/getarg.c
308
count += fprintf (stderr, "-%c", args[i].short_name);
crypto/heimdal/lib/roken/getarg.c
310
count += fprintf(stderr, "%s", buf);
crypto/heimdal/lib/roken/getarg.c
313
count += fprintf (stderr, ", ");
crypto/heimdal/lib/roken/getarg.c
315
count += fprintf (stderr, "--");
crypto/heimdal/lib/roken/getarg.c
317
count += fprintf (stderr, "no-");
crypto/heimdal/lib/roken/getarg.c
318
count += fprintf (stderr, "%s", args[i].long_name);
crypto/heimdal/lib/roken/getarg.c
320
count += fprintf(stderr, "%s", buf);
crypto/heimdal/lib/roken/getarg.c
322
while(count++ <= max_len)
crypto/heimdal/lib/roken/net_read.c
108
return count;
crypto/heimdal/lib/roken/net_read.c
109
} else if (count == 0) {
crypto/heimdal/lib/roken/net_read.c
110
return count;
crypto/heimdal/lib/roken/net_read.c
112
cbuf += count;
crypto/heimdal/lib/roken/net_read.c
113
rem -= count;
crypto/heimdal/lib/roken/net_read.c
48
ssize_t count;
crypto/heimdal/lib/roken/net_read.c
52
count = read (fd, cbuf, rem);
crypto/heimdal/lib/roken/net_read.c
53
if (count < 0) {
crypto/heimdal/lib/roken/net_read.c
57
return count;
crypto/heimdal/lib/roken/net_read.c
58
} else if (count == 0) {
crypto/heimdal/lib/roken/net_read.c
59
return count;
crypto/heimdal/lib/roken/net_read.c
61
cbuf += count;
crypto/heimdal/lib/roken/net_read.c
62
rem -= count;
crypto/heimdal/lib/roken/net_read.c
73
ssize_t count;
crypto/heimdal/lib/roken/net_read.c
83
count = _read (sock, cbuf, rem);
crypto/heimdal/lib/roken/net_read.c
85
count = recv (sock, cbuf, rem, 0);
crypto/heimdal/lib/roken/net_read.c
88
rk_IS_SOCKET_ERROR(count) &&
crypto/heimdal/lib/roken/net_read.c
93
count = _read (sock, cbuf, rem);
crypto/heimdal/lib/roken/net_read.c
96
count = recv (sock, cbuf, rem, 0);
crypto/heimdal/lib/roken/net_read.c
98
if (count < 0) {
crypto/heimdal/lib/roken/net_write.c
101
cbuf += count;
crypto/heimdal/lib/roken/net_write.c
102
rem -= count;
crypto/heimdal/lib/roken/net_write.c
48
ssize_t count;
crypto/heimdal/lib/roken/net_write.c
52
count = write (fd, cbuf, rem);
crypto/heimdal/lib/roken/net_write.c
53
if (count < 0) {
crypto/heimdal/lib/roken/net_write.c
57
return count;
crypto/heimdal/lib/roken/net_write.c
59
cbuf += count;
crypto/heimdal/lib/roken/net_write.c
60
rem -= count;
crypto/heimdal/lib/roken/net_write.c
71
ssize_t count;
crypto/heimdal/lib/roken/net_write.c
80
count = _write (sock, cbuf, rem);
crypto/heimdal/lib/roken/net_write.c
82
count = send (sock, cbuf, rem, 0);
crypto/heimdal/lib/roken/net_write.c
85
rk_IS_SOCKET_ERROR(count) &&
crypto/heimdal/lib/roken/net_write.c
90
count = _write (sock, cbuf, rem);
crypto/heimdal/lib/roken/net_write.c
93
count = send (sock, cbuf, rem, 0);
crypto/heimdal/lib/roken/net_write.c
95
if (count < 0) {
crypto/heimdal/lib/roken/net_write.c
99
return count;
crypto/heimdal/lib/roken/resolve.c
663
int sum, rnd, count;
crypto/heimdal/lib/roken/resolve.c
678
for(count = 0, tt = ss; ; tt++) {
crypto/heimdal/lib/roken/resolve.c
681
count += (*tt)->u.srv->weight;
crypto/heimdal/lib/roken/resolve.c
682
if(count >= rnd)
crypto/heimdal/lib/roken/test-readenv.c
101
count = read_environment(fn, &env);
crypto/heimdal/lib/roken/test-readenv.c
102
if(count != 0) {
crypto/heimdal/lib/roken/test-readenv.c
103
warnx("test 3: variable count %d != 0", count);
crypto/heimdal/lib/roken/test-readenv.c
106
for(count = 0; env && env[count]; count++);
crypto/heimdal/lib/roken/test-readenv.c
107
if(count != 3) {
crypto/heimdal/lib/roken/test-readenv.c
108
warnx("total variable count %d != 3", count);
crypto/heimdal/lib/roken/test-readenv.c
80
int count = 0;
crypto/heimdal/lib/roken/test-readenv.c
87
count = read_environment(fn, &env);
crypto/heimdal/lib/roken/test-readenv.c
88
if(count != 3) {
crypto/heimdal/lib/roken/test-readenv.c
89
warnx("test 1: variable count %d != 3", count);
crypto/heimdal/lib/roken/test-readenv.c
94
count = read_environment(fn, &env);
crypto/heimdal/lib/roken/test-readenv.c
95
if(count != 1) {
crypto/heimdal/lib/roken/test-readenv.c
96
warnx("test 2: variable count %d != 1", count);
crypto/krb5/src/appl/gss-sample/gss-client.c
198
mechs.count = 1;
crypto/krb5/src/appl/gss-sample/gss-client.c
202
mechs.count = 1;
crypto/krb5/src/appl/gss-sample/gss-client.c
206
mechs.count = 0;
crypto/krb5/src/appl/gss-sample/gss-client.c
241
neg_mechs.count = 1;
crypto/krb5/src/appl/gss-sample/gss-client.c
332
int fd, count;
crypto/krb5/src/appl/gss-sample/gss-client.c
360
count = read(fd, in_buf->value, in_buf->length);
crypto/krb5/src/appl/gss-sample/gss-client.c
361
if (count < 0) {
crypto/krb5/src/appl/gss-sample/gss-client.c
365
if (count < (int)in_buf->length)
crypto/krb5/src/appl/gss-sample/gss-client.c
367
count, (int) in_buf->length);
crypto/krb5/src/appl/gss-sample/gss-client.c
490
(int) mech_names->count);
crypto/krb5/src/appl/gss-sample/gss-client.c
493
for (i = 0; i < mech_names->count; i++) {
crypto/krb5/src/appl/gss-sample/gss-server.c
135
mechlist.count = 1;
crypto/krb5/src/appl/gss-sample/gss-server.c
888
for (i = 0; i < attrs->count; i++)
crypto/krb5/src/ccapi/common/cci_array_internal.c
139
for (i = 0; i < io_array->count; i++) {
crypto/krb5/src/ccapi/common/cci_array_internal.c
154
return in_array ? in_array->count : 0;
crypto/krb5/src/ccapi/common/cci_array_internal.c
162
if (io_array && in_position < io_array->count) {
crypto/krb5/src/ccapi/common/cci_array_internal.c
169
in_position, io_array->count);
crypto/krb5/src/ccapi/common/cci_array_internal.c
192
if (in_position > io_array->count || io_array->count == UINT64_MAX) {
crypto/krb5/src/ccapi/common/cci_array_internal.c
198
err = cci_array_resize (io_array, io_array->count + 1);
crypto/krb5/src/ccapi/common/cci_array_internal.c
202
cc_uint64 move_count = io_array->count - in_position;
crypto/krb5/src/ccapi/common/cci_array_internal.c
210
io_array->count++;
crypto/krb5/src/ccapi/common/cci_array_internal.c
225
if (!err && in_position >= io_array->count) {
crypto/krb5/src/ccapi/common/cci_array_internal.c
230
cc_uint64 move_count = io_array->count - in_position - 1;
crypto/krb5/src/ccapi/common/cci_array_internal.c
237
io_array->count--;
crypto/krb5/src/ccapi/common/cci_array_internal.c
241
cci_array_resize (io_array, io_array->count);
crypto/krb5/src/ccapi/common/cci_array_internal.c
259
if (!err && in_position >= io_array->count) {
crypto/krb5/src/ccapi/common/cci_array_internal.c
263
if (!err && in_new_position > io_array->count) {
crypto/krb5/src/ccapi/common/cci_array_internal.c
37
cc_uint64 count;
crypto/krb5/src/ccapi/common/cci_cred_union.c
159
cc_uint32 count = 0;
crypto/krb5/src/ccapi/common/cci_cred_union.c
167
err = krb5int_ipc_stream_read_uint32 (io_stream, &count);
crypto/krb5/src/ccapi/common/cci_cred_union.c
170
if (!err && count > 0) {
crypto/krb5/src/ccapi/common/cci_cred_union.c
171
array = malloc ((count + 1) * sizeof (*array));
crypto/krb5/src/ccapi/common/cci_cred_union.c
173
for (i = 0; i <= count; i++) { array[i] = NULL; }
crypto/krb5/src/ccapi/common/cci_cred_union.c
180
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/common/cci_cred_union.c
206
cc_uint32 count = 0;
crypto/krb5/src/ccapi/common/cci_cred_union.c
212
for (count = 0; in_ccdata_array && in_ccdata_array[count]; count++);
crypto/krb5/src/ccapi/common/cci_cred_union.c
214
err = krb5int_ipc_stream_write_uint32 (io_stream, count);
crypto/krb5/src/ccapi/common/cci_cred_union.c
220
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/common/cci_cred_union.c
586
cc_uint32 count = 0;
crypto/krb5/src/ccapi/common/cci_cred_union.c
593
for (count = 0; in_ccdata_array && in_ccdata_array[count]; count++);
crypto/krb5/src/ccapi/common/cci_cred_union.c
596
if (!err && count > 0) {
crypto/krb5/src/ccapi/common/cci_cred_union.c
597
array = malloc ((count + 1) * sizeof (*array));
crypto/krb5/src/ccapi/common/cci_cred_union.c
599
for (i = 0; i <= count; i++) { array[i] = NULL; }
crypto/krb5/src/ccapi/common/cci_cred_union.c
606
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/lib/ccapi_v2.c
178
size_t count = 0; /* Preflight the size */
crypto/krb5/src/ccapi/lib/ccapi_v2.c
194
if (!err) { count++; }
crypto/krb5/src/ccapi/lib/ccapi_v2.c
206
info = malloc (sizeof (*info) * (count + 1));
crypto/krb5/src/ccapi/lib/ccapi_v2.c
208
for (i = 0; i < count + 1; i++) { info[i] = NULL; }
crypto/krb5/src/ccapi/lib/ccapi_v2.c
219
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/lib/win/OldCC/ccapi.h
106
CC_UINT32 count;
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
164
cc_uint64 count = ccs_callback_array_count (io_cache_collection->change_callbacks);
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
166
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
202
cc_uint64 count = ccs_callback_array_count (cache_collection->change_callbacks);
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
204
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
433
cc_uint64 count = 0;
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
440
err = ccs_cache_collection_list_count (io_cache_collection->ccaches, &count);
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
444
if (count > 0) {
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
482
cc_uint64 count = 0;
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
488
err = ccs_ccache_list_count (in_cache_collection->ccaches, &count);
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
492
if (count > 0) {
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
672
cc_uint64 count = 0;
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
679
err = ccs_cache_collection_list_count (io_cache_collection->ccaches, &count);
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
683
if (count > 0) {
crypto/krb5/src/ccapi/server/ccs_ccache.c
107
cc_uint64 count = 0;
crypto/krb5/src/ccapi/server/ccs_ccache.c
109
err = ccs_ccache_list_count (io_ccache_list, &count);
crypto/krb5/src/ccapi/server/ccs_ccache.c
113
ccache->last_default_time = (count == 0) ? now : 0;
crypto/krb5/src/ccapi/server/ccs_ccache.c
327
cc_uint64 count = ccs_callback_array_count (io_ccache->change_callbacks);
crypto/krb5/src/ccapi/server/ccs_ccache.c
329
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/server/ccs_ccache.c
366
cc_uint64 count = ccs_callback_array_count (ccache->change_callbacks);
crypto/krb5/src/ccapi/server/ccs_ccache.c
368
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/server/ccs_lock_state.c
335
cc_uint64 count = ccs_lock_array_count (io_lock_state->locks);
crypto/krb5/src/ccapi/server/ccs_lock_state.c
338
for (i = io_lock_state->first_pending_lock_index; !err && i < count; i++) {
crypto/krb5/src/ccapi/server/ccs_lock_state.c
508
cc_uint64 count = ccs_lock_array_count (io_lock_state->locks);
crypto/krb5/src/ccapi/server/ccs_lock_state.c
510
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/server/ccs_server.c
117
cc_uint64 count = ccs_client_array_count (g_client_array);
crypto/krb5/src/ccapi/server/ccs_server.c
120
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/ccapi/server/ccs_server.c
154
cc_uint64 count = ccs_client_array_count (g_client_array);
crypto/krb5/src/ccapi/server/ccs_server.c
156
for (i = 0; !err && i < count; i++) {
crypto/krb5/src/clients/kcpytkt/kcpytkt.c
115
for (i = 1; i < count; i++) {
crypto/krb5/src/clients/kcpytkt/kcpytkt.c
63
do_kcpytkt(int count, char *names[], const char *fromccachestr, char *etypestr,
crypto/krb5/src/clients/kdeltkt/kdeltkt.c
110
for (i = 0; i < count; i++) {
crypto/krb5/src/clients/kdeltkt/kdeltkt.c
62
do_kdeltkt(int count, char *names[], const char *ccachestr, char *etypestr,
crypto/krb5/src/clients/ksu/ccache.c
188
int count = 0;
crypto/krb5/src/clients/ksu/ccache.c
217
retval = krb5_copy_creds(context, &creds, &temp_creds[count]);
crypto/krb5/src/clients/ksu/ccache.c
219
temp_creds[count+1] = NULL;
crypto/krb5/src/clients/ksu/ccache.c
222
count ++;
crypto/krb5/src/clients/ksu/ccache.c
224
if (count == (chunk_count * CHUNK -1)){
crypto/krb5/src/clients/ksu/ccache.c
235
temp_creds[count] = NULL;
crypto/krb5/src/clients/ksu/heuristic.c
50
int count = 0, chunk_count = 1;
crypto/krb5/src/clients/ksu/heuristic.c
522
int count =0;
crypto/krb5/src/clients/ksu/heuristic.c
620
princ_trials[count ++].p = cc_def_princ;
crypto/krb5/src/clients/ksu/heuristic.c
622
princ_trials[count ++].p = NULL;
crypto/krb5/src/clients/ksu/heuristic.c
624
princ_trials[count ++].p = target_client;
crypto/krb5/src/clients/ksu/heuristic.c
625
princ_trials[count ++].p = source_client;
crypto/krb5/src/clients/ksu/heuristic.c
627
for (i= 0; i < count; i ++)
crypto/krb5/src/clients/ksu/heuristic.c
63
temp_list[count] = xstrdup(fprinc);
crypto/krb5/src/clients/ksu/heuristic.c
630
for (i= 0; i < count; i ++){
crypto/krb5/src/clients/ksu/heuristic.c
64
count ++;
crypto/krb5/src/clients/ksu/heuristic.c
67
if(count == (chunk_count * CHUNK -1)){
crypto/krb5/src/clients/ksu/heuristic.c
688
for (i=0; i < count; i ++){
crypto/krb5/src/clients/ksu/heuristic.c
699
for (i=0; i < count; i ++){
crypto/krb5/src/clients/ksu/heuristic.c
82
temp_list[count] = NULL;
crypto/krb5/src/clients/kvno/kvno.c
453
do_v5_kvno(int count, char *names[], char * ccachestr, char *etypestr,
crypto/krb5/src/clients/kvno/kvno.c
562
for (i = 0; i < count; i++) {
crypto/krb5/src/clients/kvno/kvno.c
575
if (count == 1)
crypto/krb5/src/include/kdb.h
668
int count,
crypto/krb5/src/include/kdb.h
850
krb5_dbe_free_strings(krb5_context, krb5_string_attr *, int count);
crypto/krb5/src/kadmin/cli/kadmin.c
1578
int i, count;
crypto/krb5/src/kadmin/cli/kadmin.c
1585
retval = kadm5_get_principals(handle, expr, &names, &count);
crypto/krb5/src/kadmin/cli/kadmin.c
1590
for (i = 0; i < count; i++)
crypto/krb5/src/kadmin/cli/kadmin.c
1592
kadm5_free_name_list(handle, names, count);
crypto/krb5/src/kadmin/cli/kadmin.c
1829
int i, count;
crypto/krb5/src/kadmin/cli/kadmin.c
1836
retval = kadm5_get_policies(handle, expr, &names, &count);
crypto/krb5/src/kadmin/cli/kadmin.c
1841
for (i = 0; i < count; i++)
crypto/krb5/src/kadmin/cli/kadmin.c
1843
kadm5_free_name_list(handle, names, count);
crypto/krb5/src/kadmin/cli/kadmin.c
1930
int count, i;
crypto/krb5/src/kadmin/cli/kadmin.c
1950
retval = kadm5_get_strings(handle, princ, &strings, &count);
crypto/krb5/src/kadmin/cli/kadmin.c
1957
if (count == 0)
crypto/krb5/src/kadmin/cli/kadmin.c
1959
for (i = 0; i < count; i++)
crypto/krb5/src/kadmin/cli/kadmin.c
1961
kadm5_free_strings(handle, strings, count);
crypto/krb5/src/kadmin/server/auth.c
115
handles[count++] = h;
crypto/krb5/src/kadmin/server/auth.c
116
handles[count] = NULL;
crypto/krb5/src/kadmin/server/auth.c
67
size_t count;
crypto/krb5/src/kadmin/server/auth.c
82
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/kadmin/server/auth.c
83
handles = k5calloc(count + 1, sizeof(*handles), &ret);
crypto/krb5/src/kadmin/server/auth.c
89
count = 0;
crypto/krb5/src/kadmin/server/server_stubs.c
1450
&ret->count);
crypto/krb5/src/kadmin/server/server_stubs.c
1558
&ret->count);
crypto/krb5/src/kadmin/server/server_stubs.c
821
&ret->count);
crypto/krb5/src/kdc/authind.c
104
list = realloc(list, (count + scount + 1) * sizeof(*list));
crypto/krb5/src/kdc/authind.c
112
memcpy(list + count, strings, scount * sizeof(*strings));
crypto/krb5/src/kdc/authind.c
113
count += scount;
crypto/krb5/src/kdc/authind.c
114
list[count] = NULL;
crypto/krb5/src/kdc/authind.c
51
size_t count;
crypto/krb5/src/kdc/authind.c
55
for (count = 0; list != NULL && list[count] != NULL; count++) {
crypto/krb5/src/kdc/authind.c
56
if (data_eq_string(*list[count], ind))
crypto/krb5/src/kdc/authind.c
61
list = realloc(list, (count + 2) * sizeof(*list));
crypto/krb5/src/kdc/authind.c
70
list[count++] = dptr;
crypto/krb5/src/kdc/authind.c
71
list[count] = NULL;
crypto/krb5/src/kdc/authind.c
82
size_t count, scount;
crypto/krb5/src/kdc/authind.c
86
for (count = 0; list != NULL && list[count] != NULL; count++);
crypto/krb5/src/kdc/do_as_req.c
781
size_t count;
crypto/krb5/src/kdc/do_as_req.c
788
for (count = 0; e_data_in[count] != NULL; count++);
crypto/krb5/src/kdc/do_as_req.c
789
e_data = calloc(count + 2, sizeof(*e_data));
crypto/krb5/src/kdc/do_as_req.c
792
memcpy(e_data, e_data_in, count * sizeof(*e_data));
crypto/krb5/src/kdc/do_as_req.c
795
e_data[count] = cookie;
crypto/krb5/src/kdc/fast_util.c
638
size_t count;
crypto/krb5/src/kdc/fast_util.c
640
for (count = 0; list != NULL && list[count] != NULL; count++) {
crypto/krb5/src/kdc/fast_util.c
641
if (list[count]->pa_type == pa_type)
crypto/krb5/src/kdc/fast_util.c
645
list = realloc(list, (count + 2) * sizeof(*list));
crypto/krb5/src/kdc/fast_util.c
649
list[count] = list[count + 1] = NULL;
crypto/krb5/src/kdc/fast_util.c
650
return make_padata(pa_type, data->data, data->length, &list[count]);
crypto/krb5/src/kdc/kdc_audit.c
116
list[count++] = hdl;
crypto/krb5/src/kdc/kdc_audit.c
117
list[count] = NULL;
crypto/krb5/src/kdc/kdc_audit.c
120
list[count] = NULL;
crypto/krb5/src/kdc/kdc_audit.c
78
int count = 0;
crypto/krb5/src/kdc/kdc_audit.c
89
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/kdc/kdc_audit.c
90
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/kdc/kdc_audit.c
93
count = 0;
crypto/krb5/src/kdc/kdc_authdata.c
116
unsigned int i, count = 0;
crypto/krb5/src/kdc/kdc_authdata.c
120
if (krb5int_get_authdata_containee_types(NULL, authdata, &count,
crypto/krb5/src/kdc/kdc_authdata.c
126
count = 1;
crypto/krb5/src/kdc/kdc_authdata.c
130
for (i = 0; i < count; i++) {
crypto/krb5/src/kdc/kdc_authdata.c
172
size_t count = 0, ncount = 0;
crypto/krb5/src/kdc/kdc_authdata.c
178
for (count = 0; list != NULL && list[count] != NULL; count++);
crypto/krb5/src/kdc/kdc_authdata.c
181
list = realloc(list, (count + ncount + 1) * sizeof(*list));
crypto/krb5/src/kdc/kdc_authdata.c
185
memcpy(list + count, nlist, ncount * sizeof(*nlist));
crypto/krb5/src/kdc/kdc_authdata.c
186
list[count + ncount] = NULL;
crypto/krb5/src/kdc/kdc_authdata.c
53
size_t count;
crypto/krb5/src/kdc/kdc_authdata.c
60
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/kdc/kdc_authdata.c
61
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/kdc/kdc_authdata.c
68
count = 0;
crypto/krb5/src/kdc/kdc_authdata.c
70
h = &list[count];
crypto/krb5/src/kdc/kdc_authdata.c
83
count++;
crypto/krb5/src/kdc/kdc_authdata.c
87
n_authdata_modules = count;
crypto/krb5/src/kdc/kdc_preauth.c
124
size_t count, n_tables, n_systems, i;
crypto/krb5/src/kdc/kdc_preauth.c
145
for (count = 0; plugins[count]; count++);
crypto/krb5/src/kdc/kdc_preauth.c
146
vtables = calloc(count + 1, sizeof(*vtables));
crypto/krb5/src/kdc/kdc_preauth.c
154
for (count = 0; vtables[i].pa_type_list[count] != 0; count++);
crypto/krb5/src/kdc/kdc_preauth.c
155
n_systems += count;
crypto/krb5/src/kdc/policy.c
199
size_t count;
crypto/krb5/src/kdc/policy.c
205
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/kdc/policy.c
206
handles = k5calloc(count + 1, sizeof(*handles), &ret);
crypto/krb5/src/kdc/policy.c
210
count = 0;
crypto/krb5/src/kdc/policy.c
236
handles[count++] = h;
crypto/krb5/src/kdc/policy.c
66
size_t i, count;
crypto/krb5/src/kdc/policy.c
70
for (count = 0; inds != NULL && inds[count] != NULL; count++);
crypto/krb5/src/kdc/policy.c
71
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/kdc/policy.c
75
for (i = 0; i < count; i++) {
crypto/krb5/src/kprop/kpropd.c
1544
int error_ret, child_pid, count;
crypto/krb5/src/kprop/kpropd.c
1564
count = 1;
crypto/krb5/src/kprop/kpropd.c
1566
edit_av[count++] = "-r";
crypto/krb5/src/kprop/kpropd.c
1567
edit_av[count++] = realm;
crypto/krb5/src/kprop/kpropd.c
1569
edit_av[count++] = "load";
crypto/krb5/src/kprop/kpropd.c
1571
edit_av[count++] = "-d";
crypto/krb5/src/kprop/kpropd.c
1572
edit_av[count++] = kerb_database;
crypto/krb5/src/kprop/kpropd.c
1575
edit_av[count++] = "-i";
crypto/krb5/src/kprop/kpropd.c
1576
edit_av[count++] = database_file_name;
crypto/krb5/src/kprop/kpropd.c
1577
edit_av[count++] = NULL;
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
101
const krb5_data *salt, unsigned long count, int i)
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
126
for (j = 2; j <= count; j++) {
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
141
const krb5_data *salt, unsigned long count, const krb5_data *output)
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
174
err = F(out, utmp1, utmp2, hash, hlen, pass, salt, count, i);
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
192
const krb5_data *out, unsigned long count,
crypto/krb5/src/lib/crypto/builtin/pbkdf2.c
217
err = pbkdf2(hash, &keyblock, salt, count, out);
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
246
void shsUpdate(SHS_INFO *shsInfo, const SHS_BYTE *buffer, unsigned int count)
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
255
shsInfo->countLo = tmp + (((SHS_LONG) count) << 3 );
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
258
shsInfo->countHi += count >> 29;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
267
canfill = (count >= dataCount);
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
273
while (dataCount % 4 && count > 0) {
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
275
count--;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
280
if (count < 4) {
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
282
switch (count % 4) {
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
290
count = 0;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
295
count -= 4;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
303
while (count >= SHS_DATASIZE) {
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
310
count -= SHS_DATASIZE;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
313
if (count > 0) {
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
315
while (count > 4) {
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
318
count -= 4;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
321
switch (count % 4) {
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
339
int count;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
343
count = (int) shsInfo->countLo;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
344
count = (count >> 3) & 0x3F;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
348
lp = shsInfo->data + count / 4;
crypto/krb5/src/lib/crypto/builtin/sha1/shs.c
349
switch (count % 4) {
crypto/krb5/src/lib/crypto/builtin/sha1/shs.h
31
void shsUpdate(SHS_INFO *shsInfo, const SHS_BYTE *buffer, unsigned int count);
crypto/krb5/src/lib/crypto/crypto_tests/t_mddriver.c
131
MDHash(char *bytes, size_t len, size_t count, unsigned char *out)
crypto/krb5/src/lib/crypto/crypto_tests/t_mddriver.c
137
iov = malloc (count * sizeof(*iov));
crypto/krb5/src/lib/crypto/crypto_tests/t_mddriver.c
140
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/crypto/crypto_tests/t_mddriver.c
144
MDProvider.hash(iov, count, &outdata);
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
52
unsigned int count;
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
73
t[i].count, t[i].len * 8, t[i].len, t[i].pass);
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
80
err = krb5int_pbkdf2_hmac_sha1 (&d, t[i].count, &pass, &salt);
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
377
int count;
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
409
test[j].count, test[j].pass);
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
425
err = krb5int_pbkdf2_hmac_sha1 (&d, test[j].count, &pass, &salt);
crypto/krb5/src/lib/crypto/crypto_tests/vectors.c
435
err = krb5int_pbkdf2_hmac_sha1 (&d, test[j].count, &pass, &salt);
crypto/krb5/src/lib/crypto/krb/aead.c
156
size_t count, size_t block_size, krb5_boolean signing)
crypto/krb5/src/lib/crypto/krb/aead.c
159
cursor->iov_count = count;
crypto/krb5/src/lib/crypto/krb/crypto_int.h
459
size_t count, size_t block_size, krb5_boolean signing);
crypto/krb5/src/lib/crypto/krb/crypto_int.h
515
const krb5_data *out, unsigned long count,
crypto/krb5/src/lib/crypto/krb/keyed_checksum_types.c
41
unsigned int *count, krb5_cksumtype **cksumtypes)
crypto/krb5/src/lib/crypto/krb/keyed_checksum_types.c
48
*count = 0;
crypto/krb5/src/lib/crypto/krb/keyed_checksum_types.c
73
*count = nctypes;
crypto/krb5/src/lib/crypto/krb/prng.c
75
ssize_t count;
crypto/krb5/src/lib/crypto/krb/prng.c
86
count = read(fd, bp, left);
crypto/krb5/src/lib/crypto/krb/prng.c
87
if (count <= 0)
crypto/krb5/src/lib/crypto/krb/prng.c
89
left -= count;
crypto/krb5/src/lib/crypto/krb/prng.c
90
bp += count;
crypto/krb5/src/lib/crypto/openssl/pbkdf2.c
37
const krb5_data *out, unsigned long count,
crypto/krb5/src/lib/crypto/openssl/pbkdf2.c
54
(unsigned char *)salt->data, salt->length, count,
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
106
gssalloc_calloc(size_t count, size_t size)
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
108
return calloc(count, size);
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
31
gssalloc_calloc(size_t count, size_t size)
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
33
return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, count * size);
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
72
gssalloc_calloc(size_t count, size_t size)
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
74
return gssalloc_malloc(count * size);
crypto/krb5/src/lib/gssapi/generic/gssapi_ext.h
135
size_t count;
crypto/krb5/src/lib/gssapi/generic/gssapi_ext.h
544
OM_uint32 count;
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
171
if (((*oid_set)->elements = (gss_OID) gssalloc_malloc(((*oid_set)->count+1) *
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
177
((*oid_set)->count * sizeof(gss_OID_desc)));
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
180
lastel = &(*oid_set)->elements[(*oid_set)->count];
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
190
(*oid_set)->count++;
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
223
for (i=0; i<set->count; i++) {
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
525
gssalloc_calloc(oidset->count, sizeof (*copy->elements))) == NULL) {
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
529
copy->count = oidset->count;
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
531
for (i = 0; i < copy->count; i++) {
crypto/krb5/src/lib/gssapi/generic/rel_oid_set.c
52
for (i=0; i<(*set)->count; i++)
crypto/krb5/src/lib/gssapi/generic/util_buffer_set.c
111
for (i = 0; i < (*buffer_set)->count; i++) {
crypto/krb5/src/lib/gssapi/generic/util_buffer_set.c
120
(*buffer_set)->count = 0;
crypto/krb5/src/lib/gssapi/generic/util_buffer_set.c
47
set->count = 0;
crypto/krb5/src/lib/gssapi/generic/util_buffer_set.c
75
(set->count + 1) *
crypto/krb5/src/lib/gssapi/generic/util_buffer_set.c
82
p = &set->elements[set->count];
crypto/krb5/src/lib/gssapi/generic/util_buffer_set.c
92
set->count++;
crypto/krb5/src/lib/gssapi/krb5/cred_store.c
41
for (i = 0; i < cred_store->count; i++) {
crypto/krb5/src/lib/gssapi/krb5/iakerb.c
324
ctx->count++;
crypto/krb5/src/lib/gssapi/krb5/iakerb.c
394
if (ctx->count >= IAKERB_MAX_HOPS) {
crypto/krb5/src/lib/gssapi/krb5/iakerb.c
49
unsigned int count; /* number of round trips */
crypto/krb5/src/lib/gssapi/krb5/iakerb.c
791
ctx->count = 0;
crypto/krb5/src/lib/gssapi/krb5/inq_context.c
219
if ((*data_set)->count != 0) {
crypto/krb5/src/lib/gssapi/krb5/krb5_gss_glue.c
188
data_set->count != 1 ||
crypto/krb5/src/lib/gssapi/krb5/krb5_gss_glue.c
371
data_set->count != 1) {
crypto/krb5/src/lib/gssapi/krb5/krb5_gss_glue.c
381
data_set->count = 0;
crypto/krb5/src/lib/gssapi/krb5/krb5_gss_glue.c
432
data_set->count != 1 ||
crypto/krb5/src/lib/gssapi/krb5/krb5_gss_glue.c
79
data_set->count != 1 ||
crypto/krb5/src/lib/gssapi/krb5/naming_exts.c
223
set->count = i;
crypto/krb5/src/lib/gssapi/krb5/naming_exts.c
236
for (i = set->count; i > 0; i--) {
crypto/krb5/src/lib/gssapi/mechglue/g_accept_sec_context.c
193
for (i = 0; i < uc->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_accept_sec_context.c
322
d_u_cred->count = 1;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
133
except_attrs.count = 2;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
143
if (mechs->count == 0) {
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
156
creds->count = 0;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
160
for (i = 0, major = GSS_S_UNAVAILABLE; i < mechs->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
195
if (creds->count < 1) {
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
208
creds->count, actual_mechs);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
311
oidset.count = 1;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
336
ncred->mechs_array = calloc(cred->count, sizeof (*ncred->mechs_array));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
337
ncred->cred_array = calloc(cred->count, sizeof (*ncred->cred_array));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
340
ncred->count = cred->count;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
342
for (i = 0; i < cred->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
482
target_mechs.count = 1;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
514
(union_cred->count + 1) * sizeof (gss_OID_desc));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
522
(union_cred->count + 1) * sizeof (gss_cred_id_t));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
539
union_cred->mechs_array[union_cred->count].elements = oidbuf;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
540
g_OID_copy(&union_cred->mechs_array[union_cred->count], selected_mech);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
545
union_cred->count + 1,
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
551
union_cred->cred_array[union_cred->count] = cred;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred.c
552
union_cred->count++;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
161
default_OID_set.count = 1;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
168
if (mechs->count == 0)
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
181
for (i = 0; i < mechs->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
217
if (creds->count < 1) {
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
229
oids.count = creds->count;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
437
malloc(sizeof (gss_OID_desc) * (union_cred->count+1));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
440
malloc(sizeof (gss_cred_id_t) * (union_cred->count+1));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
458
sizeof (gss_OID_desc) * union_cred->count);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
460
sizeof (gss_cred_id_t) * union_cred->count);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
462
new_cred_array[union_cred->count] = cred;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
463
if ((new_mechs_array[union_cred->count].elements =
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
467
g_OID_copy(&new_mechs_array[union_cred->count], selected_mech);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
471
union_cred->count + 1,
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
474
free(new_mechs_array[union_cred->count].elements);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
486
free(new_mechs_array[union_cred->count].elements);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_imp_name.c
495
new_union_cred->count++;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
144
default_OID_set.count = 1;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
151
if (mechs->count == 0)
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
164
for (i = 0; i < mechs->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
195
if (creds->count < 1) {
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
206
creds->count, actual_mechs);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
413
malloc(sizeof (gss_OID_desc) * (union_cred->count+1));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
416
malloc(sizeof (gss_cred_id_t) * (union_cred->count+1));
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
434
sizeof (gss_OID_desc) * union_cred->count);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
436
sizeof (gss_cred_id_t) * union_cred->count);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
438
new_cred_array[union_cred->count] = cred;
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
439
if ((new_mechs_array[union_cred->count].elements =
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
443
g_OID_copy(&new_mechs_array[union_cred->count], selected_mech);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
447
union_cred->count + 1,
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
450
free(new_mechs_array[union_cred->count].elements);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
462
free(new_mechs_array[union_cred->count].elements);
crypto/krb5/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
471
new_union_cred->count++;
crypto/krb5/src/lib/gssapi/mechglue/g_export_cred.c
78
for (i = 0; i < cred->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_glue.c
115
for (i = 0; i < attrs->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_glue.c
452
for (i=0; i < union_cred->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
108
for (tok = *token, count = 0; tok.length > 0; count++) {
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
119
cred->count = 0;
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
120
cred->mechs_array = calloc(count, sizeof(*cred->mechs_array));
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
123
cred->cred_array = calloc(count, sizeof(*cred->cred_array));
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
163
cred->mechs_array[cred->count].length = selected_mech->length;
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
164
cred->mechs_array[cred->count].elements = elemcopy;
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
165
cred->cred_array[cred->count++] = mech_cred;
crypto/krb5/src/lib/gssapi/mechglue/g_imp_cred.c
94
OM_uint32 status, tmpmin, count;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1084
gssint_make_public_oid_set(OM_uint32 *minor_status, gss_OID oids, int count,
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
1098
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
248
for (i = 0; i < mech_set->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
254
mech_set->count = j;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
312
if (g_mechSet.count != 0) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
313
for (i = 0; i < g_mechSet.count; i++)
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
317
g_mechSet.count = 0;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
326
size_t count;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
351
count = 0;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
353
count++;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
358
if (count > 0) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
360
(gss_OID) calloc(count, sizeof (gss_OID_desc));
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
368
count * sizeof (gss_OID_desc));
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
371
count = 0;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
376
curItem = &(g_mechSet.elements[count]);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
384
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
389
g_mechSet.count = 0;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
396
count++;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
398
g_mechSet.count = count;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
960
for (i = 0; i < list->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_inq_cred.c
122
union_cred->count, &mechs);
crypto/krb5/src/lib/gssapi/mechglue/g_inq_cred.c
75
if (union_cred->count <= 0)
crypto/krb5/src/lib/gssapi/mechglue/g_inq_cred_oid.c
117
if (union_cred->count == 1) {
crypto/krb5/src/lib/gssapi/mechglue/g_inq_cred_oid.c
53
for (i = 0; i < src->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_inq_cred_oid.c
96
for (i = 0; i < union_cred->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_inq_names.c
147
for (i = 0; i < all_mechs->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_mechattr.c
120
for (i = 0; i < allMechs->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_mechattr.c
56
for (i = 0; i < desired->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_mechattr.c
63
for (i = 0; i < except->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_mechattr.c
82
for (i = 0; i < critical->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_rel_cred.c
65
for(j=0; j < union_cred->count; j++) {
crypto/krb5/src/lib/gssapi/mechglue/g_saslname.c
192
for (i = 0, status = GSS_S_BAD_MECH; i < mechSet->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_set_cred_option.c
149
for (i = 0; i < union_cred->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_set_cred_option.c
56
cred->count = 1;
crypto/krb5/src/lib/gssapi/mechglue/g_set_cred_option.c
58
cred->cred_array = calloc(cred->count, sizeof(gss_cred_id_t));
crypto/krb5/src/lib/gssapi/mechglue/g_set_neg_mechs.c
49
for (i = 0; i < union_cred->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_store_cred.c
183
for (i = 0; i < union_cred->count; i++) {
crypto/krb5/src/lib/gssapi/mechglue/g_store_cred.c
85
if (cred_store != NULL && cred_store->count == 0) {
crypto/krb5/src/lib/gssapi/mechglue/mglueP.h
62
int count;
crypto/krb5/src/lib/gssapi/mechglue/mglueP.h
761
int count, gss_OID_set *public_set);
crypto/krb5/src/lib/gssapi/spnego/negoex_ctx.c
62
for (i = 0; i < buffers->count; i++)
crypto/krb5/src/lib/gssapi/spnego/negoex_ctx.c
79
if (buffers->count != 2 || buffers->elements[1].length != 4) {
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
166
vector_base(size_t offset, size_t count, size_t width,
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
169
if (offset > msg_len || count > (msg_len - offset) / width)
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
233
size_t offset, count, i;
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
245
count = k5_input_get_uint16_le(in);
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
246
msg->schemes = vector_base(offset, count, GUID_LENGTH, msg_base, msg_len);
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
247
msg->nschemes = count;
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
254
count = k5_input_get_uint16_le(in);
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
255
p = vector_base(offset, count, EXTENSION_LENGTH, msg_base, msg_len);
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
260
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
463
size_t count = 0;
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
473
newptr = realloc(messages, (count + 1) * sizeof(*newptr));
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
481
major = parse_message(minor, ctx, &in, token->value, &messages[count]);
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
485
count++;
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
498
*count_out = count;
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
1925
if ((*mechanisms)->count == 0) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3095
except_attrs.count = sizeof(attr_oids) / sizeof(attr_oids[0]);
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3107
if (mechs->count > 0 && major_status == GSS_S_COMPLETE &&
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3125
if (mechs->count > 0 && major_status == GSS_S_COMPLETE) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3198
for (i = 0; i < mechs->count; i++) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3245
if (ret != GSS_S_COMPLETE || sc->mech_set->count == 0) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3369
for (i = 0; i < mechSet->count; i++)
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3379
for (i = 0; i < mechSet->count; i++) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3559
for (i = 0; i < received->count; i++) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3569
for (j = 0; j < ctx->mech_set->count; j++) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
487
result = (bufs != NULL && bufs->count == 1 &&
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
848
for (i = 0; i < sc->mech_set->count; i++) {
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
852
if (i == sc->mech_set->count)
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
955
--sc->mech_set->count * sizeof(*sc->mech_set->elements));
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
956
if (sc->mech_set->count == 0)
crypto/krb5/src/lib/kadm5/admin.h
454
int *count);
crypto/krb5/src/lib/kadm5/admin.h
458
int *count);
crypto/krb5/src/lib/kadm5/admin.h
465
int count);
crypto/krb5/src/lib/kadm5/admin.h
493
int count);
crypto/krb5/src/lib/kadm5/clnt/client_principal.c
183
char *exp, char ***princs, int *count)
crypto/krb5/src/lib/kadm5/clnt/client_principal.c
191
if(princs == NULL || count == NULL)
crypto/krb5/src/lib/kadm5/clnt/client_principal.c
199
*count = r.count;
crypto/krb5/src/lib/kadm5/clnt/client_principal.c
202
*count = 0;
crypto/krb5/src/lib/kadm5/clnt/client_principal.c
477
*count_out = r.count;
crypto/krb5/src/lib/kadm5/clnt/clnt_policy.c
106
char *exp, char ***pols, int *count)
crypto/krb5/src/lib/kadm5/clnt/clnt_policy.c
114
if(pols == NULL || count == NULL)
crypto/krb5/src/lib/kadm5/clnt/clnt_policy.c
122
*count = r.count;
crypto/krb5/src/lib/kadm5/clnt/clnt_policy.c
125
*count = 0;
crypto/krb5/src/lib/kadm5/kadm_rpc.h
194
int count;
crypto/krb5/src/lib/kadm5/kadm_rpc.h
222
int count;
crypto/krb5/src/lib/kadm5/kadm_rpc.h
64
int count;
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
1031
if (!xdr_int(xdrs, &objp->count)) {
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
1035
(unsigned int *) &objp->count, ~0,
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
667
if (!xdr_int(xdrs, &objp->count)) {
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
671
(unsigned int *) &objp->count, ~0,
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
967
if (!xdr_int(xdrs, &objp->count)) {
crypto/krb5/src/lib/kadm5/kadm_rpc_xdr.c
971
(unsigned int *) &objp->count, ~0,
crypto/krb5/src/lib/kadm5/misc_free.c
105
int count)
crypto/krb5/src/lib/kadm5/misc_free.c
114
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/kadm5/misc_free.c
33
kadm5_free_name_list(void *server_handle, char **names, int count)
crypto/krb5/src/lib/kadm5/misc_free.c
37
while (count--)
crypto/krb5/src/lib/kadm5/misc_free.c
38
free(names[count]);
crypto/krb5/src/lib/kadm5/srv/kadm5_hook.c
45
size_t count;
crypto/krb5/src/lib/kadm5/srv/kadm5_hook.c
55
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/lib/kadm5/srv/kadm5_hook.c
56
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/lib/kadm5/srv/kadm5_hook.c
62
count = 0;
crypto/krb5/src/lib/kadm5/srv/kadm5_hook.c
79
list[count++] = handle;
crypto/krb5/src/lib/kadm5/srv/kadm5_hook.c
80
list[count] = NULL;
crypto/krb5/src/lib/kadm5/srv/kadm5_hook.c
83
list[count] = NULL;
crypto/krb5/src/lib/kadm5/srv/pwqual.c
47
size_t count;
crypto/krb5/src/lib/kadm5/srv/pwqual.c
57
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/lib/kadm5/srv/pwqual.c
58
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/lib/kadm5/srv/pwqual.c
64
count = 0;
crypto/krb5/src/lib/kadm5/srv/pwqual.c
81
list[count++] = handle;
crypto/krb5/src/lib/kadm5/srv/pwqual.c
82
list[count] = NULL;
crypto/krb5/src/lib/kadm5/srv/pwqual.c
85
list[count] = NULL;
crypto/krb5/src/lib/kadm5/srv/server_init.c
24
size_t count = 0;
crypto/krb5/src/lib/kadm5/srv/server_init.c
27
for (count=0; db_args && db_args[count]; count++);
crypto/krb5/src/lib/kadm5/srv/server_init.c
28
if (count == 0) {
crypto/krb5/src/lib/kadm5/srv/server_init.c
33
handle->db_args = calloc(sizeof(char*), count+1);
crypto/krb5/src/lib/kadm5/srv/server_init.c
39
for (count=0; db_args[count]; count++) {
crypto/krb5/src/lib/kadm5/srv/server_init.c
40
handle->db_args[count] = strdup(db_args[count]);
crypto/krb5/src/lib/kadm5/srv/server_init.c
41
if (handle->db_args[count] == NULL) {
crypto/krb5/src/lib/kadm5/srv/server_init.c
49
for (count=0; handle->db_args[count]; count++)
crypto/krb5/src/lib/kadm5/srv/server_init.c
50
free(handle->db_args[count]);
crypto/krb5/src/lib/kadm5/srv/server_init.c
60
size_t count;
crypto/krb5/src/lib/kadm5/srv/server_init.c
63
for (count=0; handle->db_args[count]; count++)
crypto/krb5/src/lib/kadm5/srv/server_init.c
64
free(handle->db_args[count]);
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
157
int *count)
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
165
*count = 0;
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
209
*count = data.n_names;
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
216
int *count)
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
218
return kadm5_get_either(1, server_handle, exp, princs, count);
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
224
int *count)
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
226
return kadm5_get_either(0, server_handle, exp, pols, count);
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
79
cleanup_key_data(krb5_context context, int count, krb5_key_data *data)
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
83
for (i = 0; i < count; i++)
crypto/krb5/src/lib/kdb/kdb5.c
184
int count)
crypto/krb5/src/lib/kdb/kdb5.c
190
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/kdb/kdb5.c
2141
int count = 0;
crypto/krb5/src/lib/kdb/kdb5.c
2151
newstrings = realloc(strings, (count + 1) * sizeof(*strings));
crypto/krb5/src/lib/kdb/kdb5.c
2159
strings[count].key = key;
crypto/krb5/src/lib/kdb/kdb5.c
2160
strings[count].value = val;
crypto/krb5/src/lib/kdb/kdb5.c
2161
count++;
crypto/krb5/src/lib/kdb/kdb5.c
2165
*count_out = count;
crypto/krb5/src/lib/kdb/kdb5.c
2171
krb5_dbe_free_strings(context, strings, count);
crypto/krb5/src/lib/kdb/kdb5.c
894
krb5_int16 *count, char ***db_argsp)
crypto/krb5/src/lib/kdb/kdb5.c
938
(*count)--;
crypto/krb5/src/lib/kdb/kdb_cpw.c
58
krb5_db_get_key_data_kvno(krb5_context context, int count, krb5_key_data *data)
crypto/krb5/src/lib/kdb/kdb_cpw.c
62
for (kvno = i = 0; i < count; i++) {
crypto/krb5/src/lib/kdb/kdb_cpw.c
71
cleanup_key_data(krb5_context context, int count, krb5_key_data *data)
crypto/krb5/src/lib/kdb/kdb_cpw.c
78
for (i = 0; i < count; i++)
crypto/krb5/src/lib/kdb/kdb_log.c
587
unsigned int indx, count;
crypto/krb5/src/lib/kdb/kdb_log.c
611
count = ulog->kdb_last_sno - sno;
crypto/krb5/src/lib/kdb/kdb_log.c
612
upd = calloc(count, sizeof(kdb_incr_update_t));
crypto/krb5/src/lib/kdb/kdb_log.c
639
ulog_handle->updates.kdb_ulog_t_len = count;
crypto/krb5/src/lib/kdb/t_stringattr.c
47
int count;
crypto/krb5/src/lib/kdb/t_stringattr.c
59
assert(krb5_dbe_get_strings(context, ent, &strings, &count) == 0);
crypto/krb5/src/lib/kdb/t_stringattr.c
60
assert(strings == NULL && count == 0);
crypto/krb5/src/lib/kdb/t_stringattr.c
61
krb5_dbe_free_strings(context, strings, count);
crypto/krb5/src/lib/kdb/t_stringattr.c
84
assert(krb5_dbe_get_strings(context, ent, &strings, &count) == 0);
crypto/krb5/src/lib/kdb/t_stringattr.c
85
assert(count == 2);
crypto/krb5/src/lib/kdb/t_stringattr.c
90
krb5_dbe_free_strings(context, strings, count);
crypto/krb5/src/lib/krad/client.c
135
rqst->count++;
crypto/krb5/src/lib/krad/client.c
141
rqst->timeout = timeout / rqst->count;
crypto/krb5/src/lib/krad/client.c
150
rqst->remotes = calloc(rqst->count + 1, sizeof(remote_state));
crypto/krb5/src/lib/krad/client.c
178
if (req->count < 0)
crypto/krb5/src/lib/krad/client.c
192
req->count = -1;
crypto/krb5/src/lib/krad/client.c
62
ssize_t count;
crypto/krb5/src/lib/krad/t_client.c
107
insist(record.count == EVENT_COUNT);
crypto/krb5/src/lib/krad/t_client.c
36
int count;
crypto/krb5/src/lib/krad/t_client.c
48
evt = &record.events[record.count++];
crypto/krb5/src/lib/krad/t_remote.c
151
insist(record.count == EVENT_COUNT);
crypto/krb5/src/lib/krad/t_remote.c
36
int count;
crypto/krb5/src/lib/krad/t_remote.c
50
evt = &record.events[record.count++];
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1002
if (count < choice->n_options) {
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1003
free_atype(choice->options[count], val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1004
free_atype_ptr(choice->options[count], val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1025
free_sequence_of(const struct atype_info *eltinfo, void *val, size_t count)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1030
while (count-- > 0) {
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1031
eltptr = (char *)val + count * eltinfo->size;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1177
size_t count;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1179
ret = decode_cntype(t, asn1, len, counted->basetype, dataptr, &count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1182
return store_count(count, counted, val);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1305
null_terminate(const struct atype_info *eltinfo, void *ptr, size_t count,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1312
ptr = realloc(ptr, (count + 1) * eltinfo->size);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1315
endptr = (char *)ptr + count * eltinfo->size;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1327
size_t count;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1333
ret = decode_sequence_of(asn1, len, a->tinfo, &ptr, &count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1336
ret = null_terminate(a->tinfo, ptr, count, &ptr);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1338
free_sequence_of(a->tinfo, ptr, count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1465
size_t clen, count = 0;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1478
newseq = realloc(seq, (count + 1) * elemtype->size);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1484
elem = (char *)seq + count * elemtype->size;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1489
count++;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1492
*count_out = count;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1496
free_sequence_of(elemtype, seq, count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1534
buf.count = 0;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1540
bytes = malloc(buf.count + 1);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1543
bytes[buf.count] = 0;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1547
buf.ptr = bytes + buf.count;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1548
buf.count = 0;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1562
**code_out = make_data(bytes, buf.count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
31
size_t count; /* Count of bytes written so far */
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
328
oldcount = buf->count;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
331
insert_byte(buf, 0x80 | ((buf->count - oldcount) & 0x7F));
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
44
buf->count++;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
56
buf->count += len;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
581
store_count(size_t count, const struct counted_info *counted, void *val)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
586
if (count == SIZE_MAX)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
588
else if ((intmax_t)count < 0)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
591
return store_int(count, counted->lensize, countptr);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
593
return store_uint(count, counted->lensize, countptr);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
691
size_t count;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
693
ret = load_count(val, counted, &count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
696
return encode_cntype(buf, dataptr, count, counted->basetype, tag_out);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
712
size_t oldcount = buf->count;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
717
ret = make_tag(buf, tag_out, buf->count - oldcount);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
766
size_t oldcount = buf->count;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
771
ret = make_tag(buf, &t, buf->count - oldcount);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
783
encode_cntype(asn1buf *buf, const void *val, size_t count,
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
792
ret = string->enc(buf, val, count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
801
return split_der(buf, val, count, tag_out);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
807
ret = encode_sequence_of(buf, count, val, ptr->basetype);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
817
if (count >= choice->n_options)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
819
return encode_atype(buf, val, choice->options[count], tag_out);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
870
size_t count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
871
static void free_cntype(const struct cntype_info *a, void *val, size_t count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
914
size_t count;
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
915
if (load_count(val, counted, &count) == 0)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
916
free_cntype(counted->basetype, dataptr, count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
921
size_t count = get_nullterm_sequence_len(val, a->tinfo);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
922
free_sequence_of(a->tinfo, val, count);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
983
free_cntype(const struct cntype_info *c, void *val, size_t count)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
995
free_sequence_of(ptrinfo->basetype, seqptr, count);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
206
uint32_t count;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
208
ret = read32(context, fp, version, buf, &count);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
211
if (count > maxsize)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
213
return load_bytes(context, fp, count, buf);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
223
uint32_t count;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
230
ret = read32(context, fp, version, buf, &count);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
235
count++;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
236
while (count-- > 0) {
crypto/krb5/src/lib/krb5/ccache/cc_file.c
251
uint32_t count, i;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
276
ret = read32(context, fp, version, buf, &count);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
279
while (count-- > 0) {
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1016
if (uuids->pos >= uuids->count)
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1041
if (list->pos >= list->count)
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1234
while (uuids->pos < uuids->count) {
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
524
uuids->count = req->reply.len / KCM_UUID_LEN;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
561
for (i = list->pos; i < list->count; i++)
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
574
size_t count, len, i;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
579
count = k5_input_get_uint32_be(&req->reply);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
580
if (count > req->reply.len / 4)
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
588
list->count = count;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
590
list->creds = k5calloc(count, sizeof(*list->creds), &ret);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
596
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
60
size_t count;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
605
if (i < count) {
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
66
size_t count;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
245
int count;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
249
count = --d->refcount;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
251
if (count == 0) {
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
100
for (count = 0; list[count]; count++);
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
101
authdata = k5calloc(count + 1, sizeof(*authdata), &ret);
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
105
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
131
size_t count, i;
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
138
for (count = 0; addrs[count]; count++);
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
139
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
143
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
168
size_t count, i;
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
175
for (count = 0; authdata[count]; count++);
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
176
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
180
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
55
size_t count, i;
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
62
for (count = 0; list[count]; count++);
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
63
addrs = k5calloc(count + 1, sizeof(*addrs), &ret);
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
67
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/ccache/ccapi_util.c
93
size_t count, i;
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
229
size_t i, count;
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
231
count = get32(in, version);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
232
if (count > in->len) { /* Sanity check to avoid large allocations */
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
236
addrs = calloc(count + 1, sizeof(*addrs));
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
241
for (i = 0; i < count; i++)
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
267
size_t i, count;
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
269
count = get32(in, version);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
270
if (count > in->len) { /* Sanity check to avoid large allocations */
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
274
authdata = calloc(count + 1, sizeof(*authdata));
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
279
for (i = 0; i < count; i++)
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
403
size_t i, count;
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
405
for (count = 0; addrs != NULL && addrs[count] != NULL; count++);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
406
put32(buf, version, count);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
407
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
416
size_t i, count;
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
418
for (count = 0; authdata != NULL && authdata[count] != NULL; count++);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
419
put32(buf, version, count);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
420
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/ccache/ccselect.c
108
list[count++] = handle;
crypto/krb5/src/lib/krb5/ccache/ccselect.c
109
list[count] = NULL;
crypto/krb5/src/lib/krb5/ccache/ccselect.c
111
list[count] = NULL;
crypto/krb5/src/lib/krb5/ccache/ccselect.c
60
size_t count;
crypto/krb5/src/lib/krb5/ccache/ccselect.c
84
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/lib/krb5/ccache/ccselect.c
85
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/lib/krb5/ccache/ccselect.c
90
count = 0;
crypto/krb5/src/lib/krb5/ccache/t_cc.c
214
int count = 0;
crypto/krb5/src/lib/krb5/ccache/t_cc.c
228
count++;
crypto/krb5/src/lib/krb5/ccache/t_cc.c
236
if (count != expected) {
crypto/krb5/src/lib/krb5/ccache/t_cc.c
239
linenum, expected, count);
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
100
for (i = 0; i < count; i++)
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
116
size_t count, i;
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
119
get_collection_names(&list, &count);
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
122
assert(count == others + 1);
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
124
assert(count == others);
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
129
assert(in_list(list, count, name));
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
132
free_list(list, count);
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
62
size_t count = 0;
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
72
list = realloc(list, (count + 1) * sizeof(*list));
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
74
list[count++] = name;
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
78
*count_out = count;
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
83
in_list(char **list, size_t count, const char *name)
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
87
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
96
free_list(char **list, size_t count)
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1059
if (!fread(&count, sizeof(count), 1, KTFILEP(id))) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1064
count = ntohs(count);
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1065
if (!count || (count < 0)) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1070
u_count = count;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1078
if (!fread(ret_entry->key.contents, sizeof(krb5_octet), count,
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1131
krb5_int16 count, size, enctype;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1156
count = (krb5_int16)entry->principal->length + 1;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1158
count = htons((u_short)entry->principal->length);
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1161
if (!fwrite(&count, sizeof(count), 1, KTFILEP(id))) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1176
count = (krb5_int16)entry->principal->length;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1177
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1278
krb5_int16 count;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1282
count = (krb5_int16)entry->principal->length;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1284
total_size = sizeof(count);
crypto/krb5/src/lib/krb5/keytab/kt_file.c
1287
for (i = 0; i < count; i++)
crypto/krb5/src/lib/krb5/keytab/kt_file.c
893
krb5_int16 count;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
942
if (!fread(&count, sizeof(count), 1, KTFILEP(id)))
crypto/krb5/src/lib/krb5/keytab/kt_file.c
945
count -= 1; /* V1 includes the realm in the count */
crypto/krb5/src/lib/krb5/keytab/kt_file.c
947
count = ntohs(count);
crypto/krb5/src/lib/krb5/keytab/kt_file.c
949
if (!count || (count < 0))
crypto/krb5/src/lib/krb5/keytab/kt_file.c
955
u_count = count;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
995
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
227
size_t i, count;
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
233
for (count = 0; aictx->indicators[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
234
ret = krb5_ser_pack_int32(count, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
262
int32_t count, len, i;
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
268
ret = krb5_ser_unpack_int32(&count, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
272
if (count < 0 || (size_t)count > remain)
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
275
if (count > 0) {
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
276
inds = k5calloc(count + 1, sizeof(*inds), &ret);
crypto/krb5/src/lib/krb5/krb/ai_authdata.c
281
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/krb/authdata.c
317
krb5_int32 i, count;
crypto/krb5/src/lib/krb5/krb/authdata.c
324
code = krb5_ser_unpack_int32(&count, &bp, &remain);
crypto/krb5/src/lib/krb5/krb/authdata.c
328
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/krb/authdata.c
550
size_t i, n_elements, count = 0;
crypto/krb5/src/lib/krb5/krb/authdata.c
564
new_list = realloc(list, (count + n_elements + 1) * sizeof(*list));
crypto/krb5/src/lib/krb5/krb/authdata.c
570
memcpy(list + count, elements, n_elements * sizeof(*list));
crypto/krb5/src/lib/krb5/krb/authdata.c
571
count += n_elements;
crypto/krb5/src/lib/krb5/krb/authdata.c
572
list[count] = NULL;
crypto/krb5/src/lib/krb5/krb/authdata_dec.c
264
size_t count, scount;
crypto/krb5/src/lib/krb5/krb/authdata_dec.c
270
for (count = 0; ai_list != NULL && ai_list[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/authdata_dec.c
280
ai_list = realloc(ai_list, (count + scount + 1) * sizeof(*ai_list));
crypto/krb5/src/lib/krb5/krb/authdata_dec.c
288
memcpy(ai_list + count, strdata, scount * sizeof(*strdata));
crypto/krb5/src/lib/krb5/krb/authdata_dec.c
289
ai_list[count + scount] = NULL;
crypto/krb5/src/lib/krb5/krb/bld_pr_ext.c
42
int i, count = 0;
crypto/krb5/src/lib/krb5/krb/bld_pr_ext.c
51
count++;
crypto/krb5/src/lib/krb5/krb/bld_pr_ext.c
58
princ_data = (krb5_data *) malloc(sizeof(krb5_data) * count);
crypto/krb5/src/lib/krb5/krb/bld_pr_ext.c
67
princ_ret->length = count;
crypto/krb5/src/lib/krb5/krb/bld_pr_ext.c
78
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/krb/bld_princ.c
52
krb5_int32 count = 0;
crypto/krb5/src/lib/krb5/krb/bld_princ.c
63
if (count == size) {
crypto/krb5/src/lib/krb5/krb/bld_princ.c
76
data[count].length = strlen(component);
crypto/krb5/src/lib/krb5/krb/bld_princ.c
77
data[count].data = strdup(component);
crypto/krb5/src/lib/krb5/krb/bld_princ.c
78
if (!data[count].data) { retval = ENOMEM; }
crypto/krb5/src/lib/krb5/krb/bld_princ.c
79
count++;
crypto/krb5/src/lib/krb5/krb/bld_princ.c
87
princ->length = count;
crypto/krb5/src/lib/krb5/krb/bld_princ.c
94
while (--count >= 0) {
crypto/krb5/src/lib/krb5/krb/bld_princ.c
95
free(data[count].data);
crypto/krb5/src/lib/krb5/krb/etype_list.c
38
size_t count;
crypto/krb5/src/lib/krb5/krb/etype_list.c
40
for (count = 0; list[count]; count++);
crypto/krb5/src/lib/krb5/krb/etype_list.c
41
return count;
crypto/krb5/src/lib/krb5/krb/etype_list.c
48
size_t count;
crypto/krb5/src/lib/krb5/krb/etype_list.c
54
count = k5_count_etypes(old_list);
crypto/krb5/src/lib/krb5/krb/etype_list.c
55
list = malloc(sizeof(krb5_enctype) * (count + 1));
crypto/krb5/src/lib/krb5/krb/etype_list.c
58
memcpy(list, old_list, sizeof(krb5_enctype) * (count + 1));
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
120
count = 0;
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
124
p = realloc(etypes, (count + 3) * sizeof(*etypes));
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
130
etypes[count++] = etype;
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
131
etypes[count] = 0;
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
94
size_t count = 0;
crypto/krb5/src/lib/krb5/krb/mk_req_ext.c
337
int count;
crypto/krb5/src/lib/krb5/krb/mk_req_ext.c
347
for (count = 0; desired_enctypes[count] != ENCTYPE_NULL; count++) {
crypto/krb5/src/lib/krb5/krb/mk_req_ext.c
348
if (count > 0 && desired_enctypes[count - 1] == tkt_enctype)
crypto/krb5/src/lib/krb5/krb/mk_req_ext.c
353
etlist.length = count;
crypto/krb5/src/lib/krb5/krb/mk_req_ext.c
367
size_t count = 0;
crypto/krb5/src/lib/krb5/krb/mk_req_ext.c
382
list[count++] = &etypes_ad;
crypto/krb5/src/lib/krb5/krb/mk_req_ext.c
392
list[count++] = &flags_ad;
crypto/krb5/src/lib/krb5/krb/mk_req_ext.c
395
if (count > 0) {
crypto/krb5/src/lib/krb5/krb/mk_req_ext.c
396
list[count] = NULL;
crypto/krb5/src/lib/krb5/krb/pac_sign.c
378
size_t count;
crypto/krb5/src/lib/krb5/krb/pac_sign.c
382
for (count = 0; list != NULL && list[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/pac_sign.c
383
list = realloc(enc_tkt->authorization_data, (count + 2) * sizeof(*list));
crypto/krb5/src/lib/krb5/krb/pac_sign.c
386
list[count] = NULL;
crypto/krb5/src/lib/krb5/krb/pac_sign.c
393
memmove(list + 1, list, (count + 1) * sizeof(*list));
crypto/krb5/src/lib/krb5/krb/padata.c
85
size_t count;
crypto/krb5/src/lib/krb5/krb/padata.c
88
for (count = 0; *list != NULL && (*list)[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/padata.c
90
newlist = realloc(*list, (count + 2) * sizeof(*newlist));
crypto/krb5/src/lib/krb5/krb/padata.c
93
newlist[count] = *pa;
crypto/krb5/src/lib/krb5/krb/padata.c
94
newlist[count + 1] = NULL;
crypto/krb5/src/lib/krb5/krb/plugin.c
140
size_t count;
crypto/krb5/src/lib/krb5/krb/plugin.c
144
for (count = 0; list != NULL && list[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/plugin.c
145
list = realloc(interface->modules, (count + 2) * sizeof(*list));
crypto/krb5/src/lib/krb5/krb/plugin.c
148
list[count] = list[count + 1] = NULL;
crypto/krb5/src/lib/krb5/krb/plugin.c
153
module, &list[count]);
crypto/krb5/src/lib/krb5/krb/plugin.c
212
size_t count, pos, i, j;
crypto/krb5/src/lib/krb5/krb/plugin.c
217
for (count = 0; modstrs[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/plugin.c
218
for (mp = *list_inout; mp != NULL && *mp != NULL; mp++, count++);
crypto/krb5/src/lib/krb5/krb/plugin.c
219
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/lib/krb5/krb/plugin.c
235
assert(pos == count);
crypto/krb5/src/lib/krb5/krb/plugin.c
238
for (i = 0, pos = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/krb/plugin.c
276
size_t count, i, pos = 0;
crypto/krb5/src/lib/krb5/krb/plugin.c
280
for (count = 0; list[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/plugin.c
284
for (i = pos; i < count; i++) {
crypto/krb5/src/lib/krb5/krb/plugin.c
296
for (i = pos; i < count; i++)
crypto/krb5/src/lib/krb5/krb/plugin.c
429
size_t count;
crypto/krb5/src/lib/krb5/krb/plugin.c
439
for (count = 0; mp != NULL && mp[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/plugin.c
440
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/lib/krb5/krb/plugin.c
445
count = 0;
crypto/krb5/src/lib/krb5/krb/plugin.c
450
list[count++] = map->module;
crypto/krb5/src/lib/krb5/krb/preauth2.c
125
size_t count;
crypto/krb5/src/lib/krb5/krb/preauth2.c
153
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/preauth2.c
154
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/lib/krb5/krb/preauth2.c
159
count = 0;
crypto/krb5/src/lib/krb5/krb/preauth2.c
189
list[count++] = h;
crypto/krb5/src/lib/krb5/krb/preauth2.c
190
list[count] = NULL;
crypto/krb5/src/lib/krb5/krb/preauth2.c
192
list[count] = NULL;
crypto/krb5/src/lib/krb5/krb/preauth2.c
248
size_t count, i;
crypto/krb5/src/lib/krb5/krb/preauth2.c
264
for (count = 0; pctx->handles[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/preauth2.c
265
reqctx->modreqs = calloc(count, sizeof(*reqctx->modreqs));
crypto/krb5/src/lib/krb5/krb/preauth2.c
270
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/krb/preauth2.c
901
int count;
crypto/krb5/src/lib/krb5/krb/preauth2.c
925
for (count = 0; mod_pa[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/preauth2.c
926
ret = copy_cookie(context, err_padata, &mod_pa, &count);
crypto/krb5/src/lib/krb5/krb/rd_cred.c
83
size_t i, count;
crypto/krb5/src/lib/krb5/krb/rd_cred.c
88
for (count = 0; krbcred->tickets[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/rd_cred.c
89
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/lib/krb5/krb/rd_cred.c
95
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/krb/response_items.c
117
size = sizeof(char *) * (ri->count + 2);
crypto/krb5/src/lib/krb5/krb/response_items.c
122
ri->questions[ri->count] = NULL;
crypto/krb5/src/lib/krb5/krb/response_items.c
123
ri->questions[ri->count + 1] = NULL;
crypto/krb5/src/lib/krb5/krb/response_items.c
129
ri->challenges[ri->count] = NULL;
crypto/krb5/src/lib/krb5/krb/response_items.c
130
ri->challenges[ri->count + 1] = NULL;
crypto/krb5/src/lib/krb5/krb/response_items.c
136
ri->answers[ri->count] = NULL;
crypto/krb5/src/lib/krb5/krb/response_items.c
137
ri->answers[ri->count + 1] = NULL;
crypto/krb5/src/lib/krb5/krb/response_items.c
139
ri->questions[ri->count] = strdup(question);
crypto/krb5/src/lib/krb5/krb/response_items.c
140
if (ri->questions[ri->count] == NULL)
crypto/krb5/src/lib/krb5/krb/response_items.c
144
ri->challenges[ri->count] = strdup(challenge);
crypto/krb5/src/lib/krb5/krb/response_items.c
145
if (ri->challenges[ri->count] == NULL) {
crypto/krb5/src/lib/krb5/krb/response_items.c
146
free(ri->questions[ri->count]);
crypto/krb5/src/lib/krb5/krb/response_items.c
147
ri->questions[ri->count] = NULL;
crypto/krb5/src/lib/krb5/krb/response_items.c
152
ri->count++;
crypto/krb5/src/lib/krb5/krb/response_items.c
31
size_t count;
crypto/krb5/src/lib/krb5/krb/response_items.c
59
for (i = 0; i < ri->count; i++)
crypto/krb5/src/lib/krb5/krb/response_items.c
64
for (i = 0; i < ri->count; i++)
crypto/krb5/src/lib/krb5/krb/response_items.c
69
for (i = 0; i < ri->count; i++)
crypto/krb5/src/lib/krb5/krb/response_items.c
74
ri->count = 0;
crypto/krb5/src/lib/krb5/krb/response_items.c
80
return ri == NULL ? TRUE : ri->count == 0;
crypto/krb5/src/lib/krb5/krb/response_items.c
99
for (i = 0; i < ri->count; i++) {
crypto/krb5/src/lib/krb5/krb/send_tgs.c
138
size_t count, i;
crypto/krb5/src/lib/krb5/krb/send_tgs.c
209
for (count = 0; defenctypes[count]; count++);
crypto/krb5/src/lib/krb5/krb/send_tgs.c
211
req.nktypes = count;
crypto/krb5/src/lib/krb5/krb/send_tgs.c
239
for (count = 0; in_padata != NULL && in_padata[count] != NULL; count++);
crypto/krb5/src/lib/krb5/krb/send_tgs.c
242
padata = k5calloc(count + 2, sizeof(krb5_pa_data *), &ret);
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
215
unsigned int i, count;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
254
count = ibuf;
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
255
if (count > 0) {
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
256
context->tgs_etypes = calloc(count + 1, sizeof(krb5_enctype));
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
261
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/krb/ser_ctx.c
266
context->tgs_etypes[count] = 0;
crypto/krb5/src/lib/krb5/os/hostrealm.c
103
size_t count;
crypto/krb5/src/lib/krb5/os/hostrealm.c
110
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/lib/krb5/os/hostrealm.c
111
list = k5alloc((count + 1) * sizeof(*list), &ret);
crypto/krb5/src/lib/krb5/os/hostrealm.c
116
count = 0;
crypto/krb5/src/lib/krb5/os/hostrealm.c
137
list[count++] = handle;
crypto/krb5/src/lib/krb5/os/hostrealm.c
138
list[count] = NULL;
crypto/krb5/src/lib/krb5/os/hostrealm.c
140
list[count] = NULL;
crypto/krb5/src/lib/krb5/os/hostrealm.c
194
size_t count, i;
crypto/krb5/src/lib/krb5/os/hostrealm.c
198
for (count = 0; in[count] != NULL; count++);
crypto/krb5/src/lib/krb5/os/hostrealm.c
199
list = calloc(count + 1, sizeof(*list));
crypto/krb5/src/lib/krb5/os/hostrealm.c
202
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
343
size_t count = 0;
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
350
for (count = 0; (*pfiles)[count]; count++)
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
352
count += 2;
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
353
newfiles = malloc(count * sizeof(*newfiles));
crypto/krb5/src/lib/krb5/os/init_os_ctx.c
356
memcpy(newfiles + 1, *pfiles, (count-1) * sizeof(*newfiles));
crypto/krb5/src/lib/krb5/os/localaddr.c
1104
size_t count, cur_idx, cur_size;
crypto/krb5/src/lib/krb5/os/localaddr.c
1120
data->count++;
crypto/krb5/src/lib/krb5/os/localaddr.c
1137
(1 + data->count + data->cur_idx) * sizeof (krb5_address *));
crypto/krb5/src/lib/krb5/os/localaddr.c
1143
data->cur_size = 1 + data->count + data->cur_idx;
crypto/krb5/src/lib/krb5/os/localaddr.c
1144
for (i = data->cur_idx; i <= data->count + data->cur_idx; i++)
crypto/krb5/src/lib/krb5/os/localaddr.c
1258
size_t i, count;
crypto/krb5/src/lib/krb5/os/localaddr.c
1296
count = i;
crypto/krb5/src/lib/krb5/os/localaddr.c
1298
fprintf (stderr, " %d addresses\n", count);
crypto/krb5/src/lib/krb5/os/localaddr.c
1300
if (datap->cur_idx + count >= datap->cur_size) {
crypto/krb5/src/lib/krb5/os/localaddr.c
1303
sizeof (krb5_address *) * (datap->cur_idx + count));
crypto/krb5/src/lib/krb5/os/localaddr.c
1306
datap->cur_size = datap->cur_idx + count;
crypto/krb5/src/lib/krb5/os/localaddr.c
1309
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/os/localaddr.c
1341
for (i = 0; i < data.count; i++)
crypto/krb5/src/lib/krb5/os/localaddr.c
1354
else if (data.cur_idx == data.count)
crypto/krb5/src/lib/krb5/os/localaddr.c
1475
size_t count, i;
crypto/krb5/src/lib/krb5/os/localaddr.c
1502
for (count = 0; hostrec->h_addr_list[count]; count++);
crypto/krb5/src/lib/krb5/os/localaddr.c
1505
paddr = (krb5_address **)calloc(count+1, sizeof(krb5_address *));
crypto/krb5/src/lib/krb5/os/localaddr.c
1511
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/krb5/os/localaddr.c
1534
for (i = 0; i < count; i++)
crypto/krb5/src/lib/krb5/os/localauth.c
150
size_t count;
crypto/krb5/src/lib/krb5/os/localauth.c
157
for (count = 0; modules[count] != NULL; count++);
crypto/krb5/src/lib/krb5/os/localauth.c
158
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/lib/krb5/os/localauth.c
163
count = 0;
crypto/krb5/src/lib/krb5/os/localauth.c
187
list[count++] = handle;
crypto/krb5/src/lib/krb5/os/localauth.c
188
list[count] = NULL;
crypto/krb5/src/lib/krb5/os/localauth.c
190
list[count] = NULL;
crypto/krb5/src/lib/krb5/os/localauth_names.c
45
size_t count;
crypto/krb5/src/lib/krb5/os/localauth_names.c
74
for (count = 0; mapping_values[count] != NULL; count++);
crypto/krb5/src/lib/krb5/os/localauth_names.c
75
*lname_out = strdup(mapping_values[count - 1]);
crypto/krb5/src/lib/krb5/os/locate_kdc.c
1019
for (i = 0; i < kdcs->count; i++) {
crypto/krb5/src/lib/krb5/os/locate_kdc.c
47
size_t count;
crypto/krb5/src/lib/krb5/os/locate_kdc.c
901
kdcs->count = 0;
crypto/krb5/src/lib/krb5/os/locate_kdc.c
914
newptr = realloc(kdcs->list, (kdcs->count + 1) * sizeof(*kdcs->list));
crypto/krb5/src/lib/krb5/os/locate_kdc.c
918
ent = &kdcs->list[kdcs->count];
crypto/krb5/src/lib/krb5/os/locate_kdc.c
925
kdcs->count++;
crypto/krb5/src/lib/krb5/os/locate_kdc.c
957
for (i = start + 1; i < kdcs->count; i++) {
crypto/krb5/src/lib/krb5/os/locate_kdc.c
981
for (i = 0; i < kdcs->count; i++) {
crypto/krb5/src/lib/krb5/os/locate_kdc.c
986
for (i = 0; i < kdcs->count; i++) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1248
comps[cu].count = 2;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
145
krb5_ui_4 count;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1504
(unsigned long) comps[i].comp, (unsigned long) comps[i].count,
crypto/krb5/src/lib/rpc/unit-test/client.c
110
count = atoi(argv[3]);
crypto/krb5/src/lib/rpc/unit-test/client.c
111
if (count > BIG_BUF-1) {
crypto/krb5/src/lib/rpc/unit-test/client.c
249
memset(buf, 0, count+1);
crypto/krb5/src/lib/rpc/unit-test/client.c
250
for (i = 0; i < count; i++) {
crypto/krb5/src/lib/rpc/unit-test/client.c
60
unsigned int count, i;
crypto/krb5/src/lib/rpc/unit-test/client.c
73
count = 1026;
crypto/krb5/src/plugins/hostrealm/test/main.c
60
size_t count = 0;
crypto/krb5/src/plugins/hostrealm/test/main.c
71
newptr = realloc(list, (count + 2) * sizeof(*list));
crypto/krb5/src/plugins/hostrealm/test/main.c
75
list[count++] = word;
crypto/krb5/src/plugins/hostrealm/test/main.c
76
list[count] = NULL;
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c
104
int count = 0;
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c
115
for (count = 1; ((token != NULL) && (count < MAX_LIST_ENTRIES));
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_list.c
116
plist++, count++) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1004
mods[count] = calloc(1, sizeof(LDAPMod));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1005
if (mods[count] == NULL)
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1007
mods[count + 1] = NULL;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1008
*mod_out = mods[count];
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1018
size_t count, i;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1033
for (count = 0; values[count] != NULL; count++);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1034
mod->mod_values = calloc(count + 1, sizeof(char *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1038
for (i = 0; i < count; i++) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1053
size_t count, i;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1064
for (count = 0; ber_values[count] != NULL; count++);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1065
mod->mod_bvalues = calloc(count + 1, sizeof(struct berval *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1069
for (i = 0; i < count; i++) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1155
int *count, LDAP *ld)
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1196
for (i = 0, *count = 0; i < ntrees; i++) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1212
*count += n;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1324
size_t ilen, jlen, i, j, count = *subtcount;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1326
for (i = 0; i < count && list[i] != NULL; i++) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1328
for (j = i + 1; j < count && list[j] != NULL; j++) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1335
list[j--] = list[count - 1];
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1336
list[--count] = NULL;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1340
list[i--] = list[count - 1];
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1341
list[--count] = NULL;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1346
*subtcount = count;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
176
size_t count = 0;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
180
count++;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
181
list = realloc(ctx->server_info_list, (count + 2) * sizeof(*list));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
195
list[count] = server;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
196
list[count + 1] = NULL;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
524
size_t subtreecount, count = 0;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
541
while (count < subtreecount && subtree[count] != NULL) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
542
subtarr[count] = strdup(subtree[count]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
543
if (subtarr[count++] == NULL) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
549
subtarr[count] = strdup(realm_cont_dn);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
550
if (subtarr[count++] == NULL) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
556
subtarr[count] = strdup(containerref);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
557
if (subtarr[count++] == NULL) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
563
remove_overlapping_subtrees(subtarr, &count, search_scope);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
564
*ntree = count;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
567
count = 0;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
570
while (count > 0)
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
571
free(subtarr[--count]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
993
size_t count;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
998
for (count = 0; mods != NULL && mods[count] != NULL; count++);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
999
mods = realloc(mods, (count + 2) * sizeof(*mods));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1330
size_t count = 0;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1351
count++;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1353
if (count != 0) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1355
ber_tl_data = (struct berval **) calloc (count + 1,
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1378
ber_tl_data[count] = NULL;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
121
int count = 0;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
151
count = ldap_count_entries (ld, result);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
152
if (count == -1) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
158
*realms = calloc((unsigned int) count+1, sizeof (char *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
161
for (ent = ldap_first_entry(ld, result), count = 0; ent != NULL;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
166
(*realms)[count] = strdup(values[0]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
167
CHECK_NULL((*realms)[count]);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
168
count += 1;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
77
size_t count;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
83
count = strcspn(in, special);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
84
k5_buf_add_len(&buf, in, count);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
85
in += count;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
358
size_t i, j, count;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
375
count = i;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
377
*policy = (char **) calloc ((unsigned) count + 1, sizeof(char *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
434
int count=0, filterlen=0;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
463
count = ldap_count_entries(ld, result);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
464
if (count == -1) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
469
*list = (char **) calloc ((unsigned) count+1, sizeof(char *));
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
475
for (ent=ldap_first_entry(ld, result), count=0; ent != NULL; ent=ldap_next_entry(ld, ent), ++count) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_tkt_policy.c
478
if (((*list)[count] = strdup(dn)) == NULL) {
crypto/krb5/src/plugins/kdb/lmdb/marshal.c
141
get_tl_data(struct k5input *in, size_t count, krb5_tl_data **tl)
crypto/krb5/src/plugins/kdb/lmdb/marshal.c
147
for (i = 0; i < count; i++) {
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
732
unsigned long *count));
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
742
unsigned long *count));
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
784
unsigned long count, ck_object_handle_t *object));
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
787
struct ck_attribute *templ, unsigned long count,
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
800
unsigned long count));
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
805
unsigned long count));
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
809
unsigned long count));
crypto/krb5/src/plugins/preauth/pkinit/pkcs11.h
954
unsigned long count,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3513
CK_ULONG count = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3537
rv = cctx->p11->C_GetSlotList(TRUE, NULL, &count);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3542
if (count == 0) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3547
slotlist = k5calloc(count, sizeof(CK_SLOT_ID), &ret);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3550
rv = cctx->p11->C_GetSlotList(TRUE, slotlist, &count);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3557
for (i = 0; i < count; i++) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3593
if (i >= count) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3600
i + 1, (int) count);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3670
CK_ULONG count;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3708
&count);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3712
if (count < 1) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4419
CK_ULONG count;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4426
rv = p11->C_FindObjects(session, &obj, 1, &count);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4427
if (rv != CKR_OK || count <= 0)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4800
size_t count;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4806
for (count = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4807
count <= MAX_CREDS_ALLOWED && id_cryptoctx->creds[count] != NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4808
count++);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4809
*cert_count = count;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4901
size_t count, i;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4903
ret = crypto_cert_get_count(id_cryptoctx, &count);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4907
md_list = calloc(count + 1, sizeof(*md_list));
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4913
for (i = 0; i < count; i++) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5355
size_t i, count;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5360
for (count = 0; supported_cms_algs[count] != NULL; count++);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5361
algs = k5calloc(count + 1, sizeof(*algs), &ret);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
5366
for (i = 0; i < count; i++) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1283
size_t count;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1306
for (count = 0; modules[count]; count++);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1307
list = k5calloc(count + 1, sizeof(*list), &ret);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1312
count = 0;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1334
list[count++] = h;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1335
list[count] = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
1337
list[count] = NULL;
crypto/krb5/src/plugins/preauth/pkinit/pkinit_trace.h
176
#define TRACE_PKINIT_NO_DEFAULT_CERT(c, count) \
crypto/krb5/src/plugins/preauth/pkinit/pkinit_trace.h
178
"be exactly one.", count)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_trace.h
200
#define TRACE_PKINIT_SAN_CERT_COUNT(c, count, princ, upns, dns, cert) \
crypto/krb5/src/plugins/preauth/pkinit/pkinit_trace.h
202
"UPNs, {int} DNS names) in certificate {str}", count, princ, \
crypto/krb5/src/plugins/preauth/spake/groups.c
127
in_grouplist(const int32_t *list, size_t count, int32_t group)
crypto/krb5/src/plugins/preauth/spake/groups.c
131
for (i = 0; i < count; i++) {
crypto/krb5/src/plugins/preauth/spake/groups.c
184
size_t count = 0;
crypto/krb5/src/plugins/preauth/spake/groups.c
197
if (in_grouplist(list, count, group))
crypto/krb5/src/plugins/preauth/spake/groups.c
199
newptr = realloc(list, (count + 1) * sizeof(*list));
crypto/krb5/src/plugins/preauth/spake/groups.c
205
list[count++] = group;
crypto/krb5/src/plugins/preauth/spake/groups.c
209
*count_out = count;
crypto/krb5/src/plugins/pwqual/test/main.c
55
size_t count, len, i;
crypto/krb5/src/plugins/pwqual/test/main.c
80
count = 0;
crypto/krb5/src/plugins/pwqual/test/main.c
85
count++;
crypto/krb5/src/plugins/pwqual/test/main.c
87
dict->word_list = calloc(count + 1, sizeof(char *));
crypto/krb5/src/plugins/pwqual/test/main.c
91
for (i = 0; i < count; i++) {
crypto/krb5/src/plugins/tls/k5tls/openssl.c
298
size_t count;
crypto/krb5/src/plugins/tls/k5tls/openssl.c
321
count = BIO_get_mem_data(bio, &cert);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
323
TRACE_TLS_CERT_ERROR(context, depth, count, cert, err, errstr);
crypto/krb5/src/util/profile/test_vtable.c
101
int count;
crypto/krb5/src/util/profile/test_vtable.c
114
iter->count = 0;
crypto/krb5/src/util/profile/test_vtable.c
125
assert(iter->count >= 0 && iter->count <= 2);
crypto/krb5/src/util/profile/test_vtable.c
126
if (iter->count == 0) {
crypto/krb5/src/util/profile/test_vtable.c
129
} else if (iter->count == 1) {
crypto/krb5/src/util/profile/test_vtable.c
136
iter->count++;
crypto/krb5/src/util/profile/test_vtable.c
146
assert(iter->count == 3);
crypto/krb5/src/util/support/fake-addrinfo.c
443
int count = 0;
crypto/krb5/src/util/support/fake-addrinfo.c
457
count++;
crypto/krb5/src/util/support/plugins.c
272
krb5int_plugin_file_handle_array_add (struct plugin_file_handle ***harray, size_t *count,
crypto/krb5/src/util/support/plugins.c
277
size_t newcount = *count + 1;
crypto/krb5/src/util/support/plugins.c
285
*count = newcount;
crypto/krb5/src/util/support/plugins.c
385
size_t count = 0;
crypto/krb5/src/util/support/plugins.c
410
err = krb5int_plugin_file_handle_array_add (&h, &count, handle);
crypto/krb5/src/util/support/plugins.c
434
err = krb5int_plugin_file_handle_array_add(&h, &count,
crypto/krb5/src/util/support/plugins.c
493
size_t count = 0;
crypto/krb5/src/util/support/plugins.c
514
count++;
crypto/krb5/src/util/support/plugins.c
515
newp = realloc (p, ((count + 1) * sizeof (*p))); /* +1 for NULL */
crypto/krb5/src/util/support/plugins.c
520
p[count - 1] = sym;
crypto/krb5/src/util/support/plugins.c
521
p[count] = NULL;
crypto/krb5/src/util/support/plugins.c
552
size_t count = 0;
crypto/krb5/src/util/support/plugins.c
573
count++;
crypto/krb5/src/util/support/plugins.c
574
newp = realloc (p, ((count + 1) * sizeof (*p))); /* +1 for NULL */
crypto/krb5/src/util/support/plugins.c
579
p[count - 1] = sym;
crypto/krb5/src/util/support/plugins.c
580
p[count] = NULL;
crypto/krb5/src/util/verto/ev.c
1066
ecb_inline ecb_const uint8_t ecb_rotl8 (uint8_t x, unsigned int count);
crypto/krb5/src/util/verto/ev.c
1067
ecb_inline ecb_const uint8_t ecb_rotr8 (uint8_t x, unsigned int count);
crypto/krb5/src/util/verto/ev.c
1068
ecb_inline ecb_const uint16_t ecb_rotl16 (uint16_t x, unsigned int count);
crypto/krb5/src/util/verto/ev.c
1069
ecb_inline ecb_const uint16_t ecb_rotr16 (uint16_t x, unsigned int count);
crypto/krb5/src/util/verto/ev.c
1070
ecb_inline ecb_const uint32_t ecb_rotl32 (uint32_t x, unsigned int count);
crypto/krb5/src/util/verto/ev.c
1071
ecb_inline ecb_const uint32_t ecb_rotr32 (uint32_t x, unsigned int count);
crypto/krb5/src/util/verto/ev.c
1072
ecb_inline ecb_const uint64_t ecb_rotl64 (uint64_t x, unsigned int count);
crypto/krb5/src/util/verto/ev.c
1073
ecb_inline ecb_const uint64_t ecb_rotr64 (uint64_t x, unsigned int count);
crypto/krb5/src/util/verto/ev.c
1075
ecb_inline ecb_const uint8_t ecb_rotl8 (uint8_t x, unsigned int count) { return (x >> ( 8 - count)) | (x << count); }
crypto/krb5/src/util/verto/ev.c
1076
ecb_inline ecb_const uint8_t ecb_rotr8 (uint8_t x, unsigned int count) { return (x << ( 8 - count)) | (x >> count); }
crypto/krb5/src/util/verto/ev.c
1077
ecb_inline ecb_const uint16_t ecb_rotl16 (uint16_t x, unsigned int count) { return (x >> (16 - count)) | (x << count); }
crypto/krb5/src/util/verto/ev.c
1078
ecb_inline ecb_const uint16_t ecb_rotr16 (uint16_t x, unsigned int count) { return (x << (16 - count)) | (x >> count); }
crypto/krb5/src/util/verto/ev.c
1079
ecb_inline ecb_const uint32_t ecb_rotl32 (uint32_t x, unsigned int count) { return (x >> (32 - count)) | (x << count); }
crypto/krb5/src/util/verto/ev.c
1080
ecb_inline ecb_const uint32_t ecb_rotr32 (uint32_t x, unsigned int count) { return (x << (32 - count)) | (x >> count); }
crypto/krb5/src/util/verto/ev.c
1081
ecb_inline ecb_const uint64_t ecb_rotl64 (uint64_t x, unsigned int count) { return (x >> (64 - count)) | (x << count); }
crypto/krb5/src/util/verto/ev.c
1082
ecb_inline ecb_const uint64_t ecb_rotr64 (uint64_t x, unsigned int count) { return (x << (64 - count)) | (x >> count); }
crypto/krb5/src/util/verto/ev.c
1959
#define array_init_zero(base,count) \
crypto/krb5/src/util/verto/ev.c
1960
memset ((void *)(base), 0, sizeof (*(base)) * (count))
crypto/krb5/src/util/verto/ev.c
3273
unsigned int count = 0;
crypto/krb5/src/util/verto/ev.c
3276
count += pendingcnt [pri];
crypto/krb5/src/util/verto/ev.c
3278
return count;
crypto/krb5/src/util/verto/ev_poll.c
43
pollidx_init (int *base, int count)
crypto/krb5/src/util/verto/ev_poll.c
47
while (count--)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
308
unsigned int *count, krb5_cksumtype **cksumtypes)
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1225
DWORD count, count2;
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1232
count = GetTempPath(0, NULL);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1233
if (count <= 0)
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1235
temppath = (char *) malloc(count);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1238
count2 = GetTempPath(count, temppath);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1239
if (count2 <= 0 || count2 > count)
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1242
count = GetCurrentDirectory(0, NULL);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1243
curdir = (char *)malloc(count);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1246
count2 = GetCurrentDirectory(count, curdir);
crypto/krb5/src/windows/kfwlogon/kfwcommon.c
1247
if (count2 <= 0 || count2 > count)
crypto/krb5/src/windows/kfwlogon/kfwlogon.c
289
DWORD dwSidLen = 0, dwDomainLen = 0, count;
crypto/krb5/src/windows/kfwlogon/kfwlogon.c
297
count = GetTempPath(sizeof(filename), filename);
crypto/krb5/src/windows/kfwlogon/kfwlogon.c
298
if (count == 0 || count > (sizeof(filename)-1)) {
crypto/krb5/src/windows/kfwlogon/kfwlogon.c
464
DWORD count;
crypto/krb5/src/windows/kfwlogon/kfwlogon.c
492
count = GetEnvironmentVariable("TEMP", filename, sizeof(filename));
crypto/krb5/src/windows/kfwlogon/kfwlogon.c
493
if ( count > sizeof(filename) || count == 0 ) {
crypto/krb5/src/windows/leashdll/lshfunc.c
467
int count;
crypto/krb5/src/windows/leashdll/lshfunc.c
510
count = 0;
crypto/krb5/src/windows/leashdll/lshfunc.c
515
++count;
crypto/krb5/src/windows/leashdll/lshfunc.c
517
if (count > 1)
crypto/krb5/src/windows/leashdll/lshutil.cpp
100
*ppclone = new DynEnumString(count, data);
crypto/krb5/src/windows/leashdll/lshutil.cpp
104
STDMETHODIMP Next(ULONG count, LPOLESTR *elements, ULONG *pFetched)
crypto/krb5/src/windows/leashdll/lshutil.cpp
107
while (fetched < count) {
crypto/krb5/src/windows/leashdll/lshutil.cpp
130
return fetched == count ? S_OK : S_FALSE;
crypto/krb5/src/windows/leashdll/lshutil.cpp
139
STDMETHODIMP Skip(ULONG count)
crypto/krb5/src/windows/leashdll/lshutil.cpp
141
for (ULONG i=0; i<count; i++) {
crypto/krb5/src/windows/leashdll/lshutil.cpp
152
DynEnumString(ULONG count, LPTSTR *strings)
crypto/krb5/src/windows/leashdll/lshutil.cpp
154
m_aStrings.reserve(count + 1);
crypto/krb5/src/windows/leashdll/lshutil.cpp
155
for (ULONG i = 0; i < count; i++) {
crypto/krb5/src/windows/leashdll/lshutil.cpp
209
static void freePrincipalList(LPTSTR *princs, int count)
crypto/krb5/src/windows/leashdll/lshutil.cpp
212
if (count) {
crypto/krb5/src/windows/leashdll/lshutil.cpp
213
for (i = 0; i < count; i++)
crypto/krb5/src/windows/leashdll/lshutil.cpp
223
DWORD count = 0;
crypto/krb5/src/windows/leashdll/lshutil.cpp
270
princs[count++] = princ;
crypto/krb5/src/windows/leashdll/lshutil.cpp
273
*outPrincCount = count;
crypto/krb5/src/windows/leashdll/lshutil.cpp
274
count = 0;
crypto/krb5/src/windows/leashdll/lshutil.cpp
282
freePrincipalList(princs, count);
crypto/krb5/src/windows/leashdll/lshutil.cpp
512
int count = 0;
crypto/krb5/src/windows/leashdll/lshutil.cpp
513
getPrincipalList(&princs, &count);
crypto/krb5/src/windows/leashdll/lshutil.cpp
517
DynEnumString *pEnumString = new DynEnumString(count, princs);
crypto/krb5/src/windows/leashdll/lshutil.cpp
519
freePrincipalList(princs, count);
crypto/krb5/src/windows/leashdll/lshutil.cpp
99
ULONG count = m_aStrings.size();
crypto/openssh/moduli.c
458
unsigned long count = 0;
crypto/openssh/moduli.c
466
count++;
crypto/openssh/moduli.c
468
debug("input file has %lu lines", count);
crypto/openssh/moduli.c
469
return count;
crypto/openssh/openbsd-compat/bcrypt_pbkdf.c
123
uint32_t count;
crypto/openssh/openbsd-compat/bcrypt_pbkdf.c
143
for (count = 1; keylen > 0; count++) {
crypto/openssh/openbsd-compat/bcrypt_pbkdf.c
144
countsalt[saltlen + 0] = (count >> 24) & 0xff;
crypto/openssh/openbsd-compat/bcrypt_pbkdf.c
145
countsalt[saltlen + 1] = (count >> 16) & 0xff;
crypto/openssh/openbsd-compat/bcrypt_pbkdf.c
146
countsalt[saltlen + 2] = (count >> 8) & 0xff;
crypto/openssh/openbsd-compat/bcrypt_pbkdf.c
147
countsalt[saltlen + 3] = count & 0xff;
crypto/openssh/openbsd-compat/bcrypt_pbkdf.c
168
size_t dest = i * stride + (count - 1);
crypto/openssh/openbsd-compat/bsd-snprintf.c
865
vsnprintf (char *str, size_t count, const char *fmt, va_list args)
crypto/openssh/openbsd-compat/bsd-snprintf.c
867
return dopr(str, count, fmt, args);
crypto/openssh/openbsd-compat/bsd-snprintf.c
873
snprintf(char *str, size_t count, SNPRINTF_CONST char *fmt, ...)
crypto/openssh/openbsd-compat/bsd-snprintf.c
879
ret = vsnprintf(str, count, fmt, ap);
crypto/openssh/openbsd-compat/getrrsetbyname.c
457
parse_dns_qsection(const u_char *answer, int size, const u_char **cp, int count)
crypto/openssh/openbsd-compat/getrrsetbyname.c
469
for (i = 1, head = NULL, prev = NULL; i <= count; i++, prev = curr) {
crypto/openssh/openbsd-compat/getrrsetbyname.c
516
int count)
crypto/openssh/openbsd-compat/getrrsetbyname.c
528
for (i = 1, head = NULL, prev = NULL; i <= count; i++, prev = curr) {
crypto/openssh/openbsd-compat/md5.c
109
u_int8_t count[8];
crypto/openssh/openbsd-compat/md5.c
113
PUT_64BIT_LE(count, ctx->count);
crypto/openssh/openbsd-compat/md5.c
117
((ctx->count >> 3) & (MD5_BLOCK_LENGTH - 1));
crypto/openssh/openbsd-compat/md5.c
121
MD5Update(ctx, count, 8);
crypto/openssh/openbsd-compat/md5.c
57
ctx->count = 0;
crypto/openssh/openbsd-compat/md5.c
74
have = (size_t)((ctx->count >> 3) & (MD5_BLOCK_LENGTH - 1));
crypto/openssh/openbsd-compat/md5.c
78
ctx->count += (u_int64_t)len << 3;
crypto/openssh/openbsd-compat/md5.h
26
u_int64_t count; /* number of bits, mod 2^64 */
crypto/openssh/openbsd-compat/regress/snprintftest.c
37
int x_snprintf(char *str, size_t count, const char *fmt, ...)
crypto/openssh/openbsd-compat/regress/snprintftest.c
43
ret = vsnprintf(str, count, fmt, ap);
crypto/openssh/openbsd-compat/sha1.c
115
context->count = 0;
crypto/openssh/openbsd-compat/sha1.c
133
j = (size_t)((context->count >> 3) & 63);
crypto/openssh/openbsd-compat/sha1.c
134
context->count += ((u_int64_t)len << 3);
crypto/openssh/openbsd-compat/sha1.c
159
finalcount[i] = (u_int8_t)((context->count >>
crypto/openssh/openbsd-compat/sha1.c
163
while ((context->count & 504) != 448)
crypto/openssh/openbsd-compat/sha1.h
20
u_int64_t count;
crypto/openssh/packet.c
340
ssh_packet_set_timeout(struct ssh *ssh, int timeout, int count)
crypto/openssh/packet.c
344
if (timeout <= 0 || count <= 0) {
crypto/openssh/packet.c
348
if ((INT_MAX / 1000) / count < timeout)
crypto/openssh/packet.c
351
state->packet_timeout_ms = timeout * count * 1000;
crypto/openssh/pkcs11.h
1007
unsigned long *count));
crypto/openssh/pkcs11.h
1017
unsigned long *count));
crypto/openssh/pkcs11.h
1059
unsigned long count, ck_object_handle_t *object));
crypto/openssh/pkcs11.h
1062
struct ck_attribute *templ, unsigned long count,
crypto/openssh/pkcs11.h
1075
unsigned long count));
crypto/openssh/pkcs11.h
1080
unsigned long count));
crypto/openssh/pkcs11.h
1084
unsigned long count));
crypto/openssh/pkcs11.h
1229
unsigned long count,
crypto/openssh/pkcs11.h
1277
unsigned long *count));
crypto/openssh/readconf.c
3668
dump_cfg_strarray(OpCodes code, u_int count, char **vals)
crypto/openssh/readconf.c
3672
for (i = 0; i < count; i++)
crypto/openssh/readconf.c
3677
dump_cfg_strarray_oneline(OpCodes code, u_int count, char **vals)
crypto/openssh/readconf.c
3682
if (count == 0)
crypto/openssh/readconf.c
3684
for (i = 0; i < count; i++)
crypto/openssh/readconf.c
3690
dump_cfg_forwards(OpCodes code, u_int count, const struct Forward *fwds)
crypto/openssh/readconf.c
3696
for (i = 0; i < count; i++) {
crypto/openssh/scp.c
1661
size_t j, count;
crypto/openssh/scp.c
1894
for (count = i = 0; i < size; i += bp->cnt) {
crypto/openssh/scp.c
1898
count += amt;
crypto/openssh/scp.c
1912
if (count == bp->cnt) {
crypto/openssh/scp.c
1916
count) != count) {
crypto/openssh/scp.c
1922
count = 0;
crypto/openssh/scp.c
1927
if (count != 0 && !wrerr &&
crypto/openssh/scp.c
1928
atomicio(vwrite, ofd, bp->buf, count) != count) {
crypto/openssh/servconf.c
4109
dump_cfg_strarray(ServerOpCodes code, u_int count, char **vals)
crypto/openssh/servconf.c
4113
for (i = 0; i < count; i++)
crypto/openssh/servconf.c
4118
dump_cfg_strarray_oneline(ServerOpCodes code, u_int count, char **vals)
crypto/openssh/servconf.c
4127
if (count <= 0)
crypto/openssh/servconf.c
4133
for (i = 0; i < count; i++)
crypto/openssh/servconf.c
4135
if (code == sAuthenticationMethods && count == 0)
crypto/openssh/servconf.c
4137
else if (code == sChannelTimeout && count == 0)
crypto/openssh/sftp-client.c
1046
if ((r = sshbuf_get_u32(msg, &count)) != 0)
crypto/openssh/sftp-client.c
1048
if (count != 1)
crypto/openssh/sftp-client.c
1049
fatal("Got multiple names (%d) from %s", count, what);
crypto/openssh/sftp-client.c
1358
u_int expected_id, count, id;
crypto/openssh/sftp-client.c
1392
if ((r = sshbuf_get_u32(msg, &count)) != 0)
crypto/openssh/sftp-client.c
1394
if (count != 1)
crypto/openssh/sftp-client.c
1395
fatal("Got multiple names (%d) from SSH_FXP_READLINK", count);
crypto/openssh/sftp-client.c
692
u_int count, id, i, expected_id, ents = 0;
crypto/openssh/sftp-client.c
763
if ((r = sshbuf_get_u32(msg, &count)) != 0)
crypto/openssh/sftp-client.c
765
if (count > SSHBUF_SIZE_MAX)
crypto/openssh/sftp-client.c
767
if (count == 0)
crypto/openssh/sftp-client.c
769
debug3("Received %d SSH2_FXP_NAME responses", count);
crypto/openssh/sftp-client.c
770
for (i = 0; i < count; i++) {
crypto/openssh/sftp-client.c
994
u_int expected_id, count, id;
crypto/openssh/sftp-common.c
134
u_int i, count;
crypto/openssh/sftp-common.c
136
if ((r = sshbuf_get_u32(b, &count)) != 0)
crypto/openssh/sftp-common.c
138
if (count > 0x100000)
crypto/openssh/sftp-common.c
140
for (i = 0; i < count; i++) {
crypto/openssh/sftp-server.c
1141
int nstats = 10, count = 0, i;
crypto/openssh/sftp-server.c
1145
if (count >= nstats) {
crypto/openssh/sftp-server.c
1155
stat_to_attrib(&st, &(stats[count].attrib));
crypto/openssh/sftp-server.c
1156
stats[count].name = xstrdup(dp->d_name);
crypto/openssh/sftp-server.c
1157
stats[count].long_name = ls_file(dp->d_name, &st,
crypto/openssh/sftp-server.c
1159
count++;
crypto/openssh/sftp-server.c
1162
if (count == 100)
crypto/openssh/sftp-server.c
1165
if (count > 0) {
crypto/openssh/sftp-server.c
1166
send_names(id, count, stats);
crypto/openssh/sftp-server.c
1167
for (i = 0; i < count; i++) {
crypto/openssh/sftp-server.c
608
send_names(uint32_t id, int count, const Stat *stats)
crypto/openssh/sftp-server.c
617
(r = sshbuf_put_u32(msg, count)) != 0)
crypto/openssh/sftp-server.c
619
debug("request %u: sent names count %d", id, count);
crypto/openssh/sftp-server.c
620
for (i = 0; i < count; i++) {
crypto/openssh/sftp.c
1877
complete_ambiguous(const char *word, char **list, size_t count)
crypto/openssh/sftp.c
1886
if (count == 0)
crypto/openssh/sftp.c
1891
for (i = 1; i < count && list[i] != NULL; i++) {
crypto/openssh/sftp.c
1927
u_int y, count = 0, cmdlen, tmplen;
crypto/openssh/sftp.c
1936
list[count++] = xstrdup(cmds[y].c);
crypto/openssh/sftp.c
1938
list[count] = NULL;
crypto/openssh/sftp.c
1944
return count;
crypto/openssh/sftp.c
1951
list[count++] = xstrdup(cmds[y].c);
crypto/openssh/sftp.c
1953
list[count] = NULL;
crypto/openssh/sftp.c
1955
if (count == 0) {
crypto/openssh/sftp.c
1961
tmp = complete_ambiguous(cmd, list, count);
crypto/openssh/sftp.c
1962
if (count > 1)
crypto/openssh/sftp.c
1978
if (count == 1) {
crypto/openssh/sftp.c
1991
return count;
crypto/openssh/sftp.c
2341
int count = 0;
crypto/openssh/sftp.c
2343
if ((line = el_gets(el, &count)) == NULL ||
crypto/openssh/sftp.c
2344
count <= 0) {
crypto/openssh/srclimit.c
133
int i, bits, first_unused, count = 0;
crypto/openssh/srclimit.c
153
count++;
crypto/openssh/srclimit.c
161
__func__, xas, bits, count, max_persource);
crypto/openssh/srclimit.c
171
if (count >= max_persource)
crypto/openssh/ssh-add.c
1026
int count = 0;
crypto/openssh/ssh-add.c
1045
count++;
crypto/openssh/ssh-add.c
1047
if (count == 0)
crypto/openssh/ssh-agent.c
1577
int r, i, count = 0, success = 0, confirm = 0;
crypto/openssh/ssh-agent.c
1618
count = pkcs11_add_provider(canonical_provider, pin, &keys, &comments);
crypto/openssh/ssh-agent.c
1619
for (i = 0; i < count; i++) {
crypto/openssh/sshconnect2.c
773
while (authctxt->mech_tried < authctxt->gss_supported_mechs->count &&
crypto/openssl/apps/crl2pkcs7.c
203
int count = 0;
crypto/openssl/apps/crl2pkcs7.c
230
count++;
crypto/openssl/apps/crl2pkcs7.c
235
ret = count;
crypto/openssl/apps/include/cmp_mock_srv.h
40
int ossl_cmp_mock_srv_set_pollCount(OSSL_CMP_SRV_CTX *srv_ctx, int count);
crypto/openssl/apps/lib/cmp_mock_srv.c
206
int ossl_cmp_mock_srv_set_pollCount(OSSL_CMP_SRV_CTX *srv_ctx, int count)
crypto/openssl/apps/lib/cmp_mock_srv.c
214
if (count < 0) {
crypto/openssl/apps/lib/cmp_mock_srv.c
218
ctx->pollCount = count;
crypto/openssl/apps/lib/vms_decc_argv.c
48
int i, count = *argc;
crypto/openssl/apps/lib/vms_decc_argv.c
59
newargv = OPENSSL_malloc(sizeof(*newargv) * (count + 1));
crypto/openssl/apps/lib/vms_decc_argv.c
67
for (i = 0; i < count; i++)
crypto/openssl/apps/list.c
1020
if (count == 0)
crypto/openssl/apps/list.c
1044
int i, count = 0;
crypto/openssl/apps/list.c
1059
count++;
crypto/openssl/apps/list.c
1080
if (count == 0)
crypto/openssl/apps/list.c
777
int i, count = 0;
crypto/openssl/apps/list.c
793
count++;
crypto/openssl/apps/list.c
814
if (count == 0)
crypto/openssl/apps/list.c
922
int i, count = 0;
crypto/openssl/apps/list.c
937
count++;
crypto/openssl/apps/list.c
958
if (count == 0)
crypto/openssl/apps/list.c
982
int i, count = 0;
crypto/openssl/apps/list.c
999
count++;
crypto/openssl/apps/s_client.c
465
int count = 0;
crypto/openssl/apps/s_client.c
471
++count;
crypto/openssl/apps/s_client.c
473
return count > 0;
crypto/openssl/apps/s_server.c
2876
static count = 0;
crypto/openssl/apps/s_server.c
2877
if (++count == 100) {
crypto/openssl/apps/s_server.c
2878
count = 0;
crypto/openssl/apps/s_server.c
3691
static count = 0;
crypto/openssl/apps/s_server.c
3692
if (++count == 13)
crypto/openssl/apps/s_server.c
3897
unsigned int count = 0;
crypto/openssl/apps/s_server.c
3912
} while (SSL_has_matching_session_id(ssl, id, *id_len) && (++count < MAX_SESSION_ID_ATTEMPTS));
crypto/openssl/apps/s_server.c
3913
if (count >= MAX_SESSION_ID_ATTEMPTS)
crypto/openssl/apps/speed.c
1005
int outl, count, realcount = 0;
crypto/openssl/apps/speed.c
1007
for (count = 0; COND(c[D_EVP][testnum]); count++) {
crypto/openssl/apps/speed.c
1077
int outl, count, realcount = 0;
crypto/openssl/apps/speed.c
1079
for (count = 0; COND(c[D_EVP][testnum]); count++) {
crypto/openssl/apps/speed.c
1156
int ret, count;
crypto/openssl/apps/speed.c
1158
for (count = 0; COND(rsa_c[testnum][0]); count++) {
crypto/openssl/apps/speed.c
1164
count = -1;
crypto/openssl/apps/speed.c
1168
return count;
crypto/openssl/apps/speed.c
1178
int ret, count;
crypto/openssl/apps/speed.c
1180
for (count = 0; COND(rsa_c[testnum][1]); count++) {
crypto/openssl/apps/speed.c
1185
count = -1;
crypto/openssl/apps/speed.c
1189
return count;
crypto/openssl/apps/speed.c
1199
int ret, count;
crypto/openssl/apps/speed.c
1201
for (count = 0; COND(rsa_c[testnum][2]); count++) {
crypto/openssl/apps/speed.c
1207
count = -1;
crypto/openssl/apps/speed.c
1211
return count;
crypto/openssl/apps/speed.c
1221
int ret, count;
crypto/openssl/apps/speed.c
1223
for (count = 0; COND(rsa_c[testnum][3]); count++) {
crypto/openssl/apps/speed.c
1229
count = -1;
crypto/openssl/apps/speed.c
1233
return count;
crypto/openssl/apps/speed.c
1243
int count;
crypto/openssl/apps/speed.c
1245
for (count = 0; COND(ffdh_c[testnum][0]); count++) {
crypto/openssl/apps/speed.c
1251
return count;
crypto/openssl/apps/speed.c
1263
int ret, count;
crypto/openssl/apps/speed.c
1265
for (count = 0; COND(dsa_c[testnum][0]); count++) {
crypto/openssl/apps/speed.c
127
static void print_result(int alg, int run_no, int count, double time_used);
crypto/openssl/apps/speed.c
1271
count = -1;
crypto/openssl/apps/speed.c
1275
return count;
crypto/openssl/apps/speed.c
1285
int ret, count;
crypto/openssl/apps/speed.c
1287
for (count = 0; COND(dsa_c[testnum][1]); count++) {
crypto/openssl/apps/speed.c
1292
count = -1;
crypto/openssl/apps/speed.c
1296
return count;
crypto/openssl/apps/speed.c
1307
int ret, count;
crypto/openssl/apps/speed.c
1309
for (count = 0; COND(ecdsa_c[testnum][0]); count++) {
crypto/openssl/apps/speed.c
1315
count = -1;
crypto/openssl/apps/speed.c
1319
return count;
crypto/openssl/apps/speed.c
1329
int ret, count;
crypto/openssl/apps/speed.c
1331
for (count = 0; COND(ecdsa_c[testnum][1]); count++) {
crypto/openssl/apps/speed.c
1337
count = -1;
crypto/openssl/apps/speed.c
1341
return count;
crypto/openssl/apps/speed.c
1351
int count;
crypto/openssl/apps/speed.c
1354
for (count = 0; COND(ecdh_c[testnum][0]); count++)
crypto/openssl/apps/speed.c
1357
return count;
crypto/openssl/apps/speed.c
1368
int ret, count;
crypto/openssl/apps/speed.c
1370
for (count = 0; COND(eddsa_c[testnum][0]); count++) {
crypto/openssl/apps/speed.c
1375
count = -1;
crypto/openssl/apps/speed.c
1382
count = -1;
crypto/openssl/apps/speed.c
1386
return count;
crypto/openssl/apps/speed.c
1396
int ret, count;
crypto/openssl/apps/speed.c
1398
for (count = 0; COND(eddsa_c[testnum][1]); count++) {
crypto/openssl/apps/speed.c
1403
count = -1;
crypto/openssl/apps/speed.c
1410
count = -1;
crypto/openssl/apps/speed.c
1414
return count;
crypto/openssl/apps/speed.c
1426
int ret, count;
crypto/openssl/apps/speed.c
1430
for (count = 0; COND(sm2_c[testnum][0]); count++) {
crypto/openssl/apps/speed.c
1437
count = -1;
crypto/openssl/apps/speed.c
1445
count = -1;
crypto/openssl/apps/speed.c
1452
return count;
crypto/openssl/apps/speed.c
1462
int ret, count;
crypto/openssl/apps/speed.c
1465
for (count = 0; COND(sm2_c[testnum][1]); count++) {
crypto/openssl/apps/speed.c
1470
count = -1;
crypto/openssl/apps/speed.c
1478
count = -1;
crypto/openssl/apps/speed.c
1482
return count;
crypto/openssl/apps/speed.c
1491
int count;
crypto/openssl/apps/speed.c
1493
for (count = 0; COND(kems_c[testnum][0]); count++) {
crypto/openssl/apps/speed.c
1506
return count;
crypto/openssl/apps/speed.c
1517
int count;
crypto/openssl/apps/speed.c
1519
for (count = 0; COND(kems_c[testnum][1]); count++) {
crypto/openssl/apps/speed.c
1523
return count;
crypto/openssl/apps/speed.c
1534
int count;
crypto/openssl/apps/speed.c
1536
for (count = 0; COND(kems_c[testnum][2]); count++) {
crypto/openssl/apps/speed.c
1540
return count;
crypto/openssl/apps/speed.c
1548
int count;
crypto/openssl/apps/speed.c
1550
for (count = 0; COND(kems_c[testnum][0]); count++) {
crypto/openssl/apps/speed.c
1556
return count;
crypto/openssl/apps/speed.c
1568
int count;
crypto/openssl/apps/speed.c
1570
for (count = 0; COND(kems_c[testnum][1]); count++) {
crypto/openssl/apps/speed.c
1575
BIO_printf(bio_err, "SIG sign failure at count %d\n", count);
crypto/openssl/apps/speed.c
1577
count = -1;
crypto/openssl/apps/speed.c
1582
return count;
crypto/openssl/apps/speed.c
1593
int count;
crypto/openssl/apps/speed.c
1595
for (count = 0; COND(kems_c[testnum][2]); count++) {
crypto/openssl/apps/speed.c
1599
BIO_printf(bio_err, "SIG verify failure at count %d\n", count);
crypto/openssl/apps/speed.c
1601
count = -1;
crypto/openssl/apps/speed.c
1605
return count;
crypto/openssl/apps/speed.c
1971
long count = 0;
crypto/openssl/apps/speed.c
2692
count = run_benchmark(async_jobs, EVP_Digest_MD2_loop, loopargs);
crypto/openssl/apps/speed.c
2694
print_result(D_MD2, testnum, count, d);
crypto/openssl/apps/speed.c
2695
if (count < 0)
crypto/openssl/apps/speed.c
2704
count = run_benchmark(async_jobs, EVP_Digest_MDC2_loop, loopargs);
crypto/openssl/apps/speed.c
2706
print_result(D_MDC2, testnum, count, d);
crypto/openssl/apps/speed.c
2707
if (count < 0)
crypto/openssl/apps/speed.c
2716
count = run_benchmark(async_jobs, EVP_Digest_MD4_loop, loopargs);
crypto/openssl/apps/speed.c
2718
print_result(D_MD4, testnum, count, d);
crypto/openssl/apps/speed.c
2719
if (count < 0)
crypto/openssl/apps/speed.c
2728
count = run_benchmark(async_jobs, MD5_loop, loopargs);
crypto/openssl/apps/speed.c
2730
print_result(D_MD5, testnum, count, d);
crypto/openssl/apps/speed.c
2731
if (count < 0)
crypto/openssl/apps/speed.c
2740
count = run_benchmark(async_jobs, SHA1_loop, loopargs);
crypto/openssl/apps/speed.c
2742
print_result(D_SHA1, testnum, count, d);
crypto/openssl/apps/speed.c
2743
if (count < 0)
crypto/openssl/apps/speed.c
2752
count = run_benchmark(async_jobs, SHA256_loop, loopargs);
crypto/openssl/apps/speed.c
2754
print_result(D_SHA256, testnum, count, d);
crypto/openssl/apps/speed.c
2755
if (count < 0)
crypto/openssl/apps/speed.c
2764
count = run_benchmark(async_jobs, SHA512_loop, loopargs);
crypto/openssl/apps/speed.c
2766
print_result(D_SHA512, testnum, count, d);
crypto/openssl/apps/speed.c
2767
if (count < 0)
crypto/openssl/apps/speed.c
2776
count = run_benchmark(async_jobs, WHIRLPOOL_loop, loopargs);
crypto/openssl/apps/speed.c
2778
print_result(D_WHIRLPOOL, testnum, count, d);
crypto/openssl/apps/speed.c
2779
if (count < 0)
crypto/openssl/apps/speed.c
2788
count = run_benchmark(async_jobs, EVP_Digest_RMD160_loop, loopargs);
crypto/openssl/apps/speed.c
2790
print_result(D_RMD160, testnum, count, d);
crypto/openssl/apps/speed.c
2791
if (count < 0)
crypto/openssl/apps/speed.c
2819
count = run_benchmark(async_jobs, HMAC_loop, loopargs);
crypto/openssl/apps/speed.c
2821
print_result(D_HMAC, testnum, count, d);
crypto/openssl/apps/speed.c
2822
if (count < 0)
crypto/openssl/apps/speed.c
2842
count = run_benchmark(async_jobs, EVP_Cipher_loop, loopargs);
crypto/openssl/apps/speed.c
2844
print_result(D_CBC_DES, testnum, count, d);
crypto/openssl/apps/speed.c
2864
count = run_benchmark(async_jobs, EVP_Cipher_loop, loopargs);
crypto/openssl/apps/speed.c
2866
print_result(D_EDE3_DES, testnum, count, d);
crypto/openssl/apps/speed.c
2889
count = run_benchmark(async_jobs, EVP_Cipher_loop, loopargs);
crypto/openssl/apps/speed.c
2891
print_result(algindex, testnum, count, d);
crypto/openssl/apps/speed.c
2915
count = run_benchmark(async_jobs, EVP_Cipher_loop, loopargs);
crypto/openssl/apps/speed.c
2917
print_result(algindex, testnum, count, d);
crypto/openssl/apps/speed.c
2940
count = run_benchmark(async_jobs, EVP_Cipher_loop, loopargs);
crypto/openssl/apps/speed.c
2942
print_result(algindex, testnum, count, d);
crypto/openssl/apps/speed.c
2971
count = run_benchmark(async_jobs, GHASH_loop, loopargs);
crypto/openssl/apps/speed.c
2973
print_result(D_GHASH, testnum, count, d);
crypto/openssl/apps/speed.c
2974
if (count < 0)
crypto/openssl/apps/speed.c
2984
count = run_benchmark(async_jobs, RAND_bytes_loop, loopargs);
crypto/openssl/apps/speed.c
2986
print_result(D_RAND, testnum, count, d);
crypto/openssl/apps/speed.c
3175
count = run_benchmark(async_jobs, loopfunc, loopargs);
crypto/openssl/apps/speed.c
3181
print_result(D_EVP, testnum, count, d);
crypto/openssl/apps/speed.c
3189
count = run_benchmark(async_jobs, EVP_Digest_md_loop, loopargs);
crypto/openssl/apps/speed.c
3191
print_result(D_EVP, testnum, count, d);
crypto/openssl/apps/speed.c
3192
if (count < 0)
crypto/openssl/apps/speed.c
3227
count = run_benchmark(async_jobs, CMAC_loop, loopargs);
crypto/openssl/apps/speed.c
3229
print_result(D_EVP_CMAC, testnum, count, d);
crypto/openssl/apps/speed.c
3230
if (count < 0)
crypto/openssl/apps/speed.c
3248
count = run_benchmark(async_jobs, KMAC128_loop, loopargs);
crypto/openssl/apps/speed.c
3250
print_result(D_KMAC128, testnum, count, d);
crypto/openssl/apps/speed.c
3251
if (count < 0)
crypto/openssl/apps/speed.c
3269
count = run_benchmark(async_jobs, KMAC256_loop, loopargs);
crypto/openssl/apps/speed.c
3271
print_result(D_KMAC256, testnum, count, d);
crypto/openssl/apps/speed.c
3272
if (count < 0)
crypto/openssl/apps/speed.c
3333
count = run_benchmark(async_jobs, RSA_sign_loop, loopargs);
crypto/openssl/apps/speed.c
3338
count, rsa_keys[testnum].bits, d);
crypto/openssl/apps/speed.c
3339
rsa_results[testnum][0] = (double)count / d;
crypto/openssl/apps/speed.c
3340
op_count = count;
crypto/openssl/apps/speed.c
3364
count = run_benchmark(async_jobs, RSA_verify_loop, loopargs);
crypto/openssl/apps/speed.c
3369
count, rsa_keys[testnum].bits, d);
crypto/openssl/apps/speed.c
3370
rsa_results[testnum][1] = (double)count / d;
crypto/openssl/apps/speed.c
3395
count = run_benchmark(async_jobs, RSA_encrypt_loop, loopargs);
crypto/openssl/apps/speed.c
3400
count, rsa_keys[testnum].bits, d);
crypto/openssl/apps/speed.c
3401
rsa_results[testnum][2] = (double)count / d;
crypto/openssl/apps/speed.c
3402
op_count = count;
crypto/openssl/apps/speed.c
3428
count = run_benchmark(async_jobs, RSA_decrypt_loop, loopargs);
crypto/openssl/apps/speed.c
3433
count, rsa_keys[testnum].bits, d);
crypto/openssl/apps/speed.c
3434
rsa_results[testnum][3] = (double)count / d;
crypto/openssl/apps/speed.c
3435
op_count = count;
crypto/openssl/apps/speed.c
3477
count = run_benchmark(async_jobs, DSA_sign_loop, loopargs);
crypto/openssl/apps/speed.c
3482
count, dsa_bits[testnum], d);
crypto/openssl/apps/speed.c
3483
dsa_results[testnum][0] = (double)count / d;
crypto/openssl/apps/speed.c
3484
op_count = count;
crypto/openssl/apps/speed.c
3508
count = run_benchmark(async_jobs, DSA_verify_loop, loopargs);
crypto/openssl/apps/speed.c
3513
count, dsa_bits[testnum], d);
crypto/openssl/apps/speed.c
3514
dsa_results[testnum][1] = (double)count / d;
crypto/openssl/apps/speed.c
3556
count = run_benchmark(async_jobs, ECDSA_sign_loop, loopargs);
crypto/openssl/apps/speed.c
3561
count, ec_curves[testnum].bits, d);
crypto/openssl/apps/speed.c
3562
ecdsa_results[testnum][0] = (double)count / d;
crypto/openssl/apps/speed.c
3563
op_count = count;
crypto/openssl/apps/speed.c
3587
count = run_benchmark(async_jobs, ECDSA_verify_loop, loopargs);
crypto/openssl/apps/speed.c
3592
count, ec_curves[testnum].bits, d);
crypto/openssl/apps/speed.c
3593
ecdsa_results[testnum][1] = (double)count / d;
crypto/openssl/apps/speed.c
3674
count = run_benchmark(async_jobs, ECDH_EVP_derive_key_loop, loopargs);
crypto/openssl/apps/speed.c
3677
mr ? "+R9:%ld:%d:%.2f\n" : "%ld %u-bits ECDH ops in %.2fs\n", count,
crypto/openssl/apps/speed.c
3679
ecdh_results[testnum][0] = (double)count / d;
crypto/openssl/apps/speed.c
3680
op_count = count;
crypto/openssl/apps/speed.c
3759
count = run_benchmark(async_jobs, EdDSA_sign_loop, loopargs);
crypto/openssl/apps/speed.c
3764
count, ed_curves[testnum].bits,
crypto/openssl/apps/speed.c
3766
eddsa_results[testnum][0] = (double)count / d;
crypto/openssl/apps/speed.c
3767
op_count = count;
crypto/openssl/apps/speed.c
3786
count = run_benchmark(async_jobs, EdDSA_verify_loop, loopargs);
crypto/openssl/apps/speed.c
3791
count, ed_curves[testnum].bits,
crypto/openssl/apps/speed.c
3793
eddsa_results[testnum][1] = (double)count / d;
crypto/openssl/apps/speed.c
3890
count = run_benchmark(async_jobs, SM2_sign_loop, loopargs);
crypto/openssl/apps/speed.c
3895
count, sm2_curves[testnum].bits,
crypto/openssl/apps/speed.c
3897
sm2_results[testnum][0] = (double)count / d;
crypto/openssl/apps/speed.c
3898
op_count = count;
crypto/openssl/apps/speed.c
3918
count = run_benchmark(async_jobs, SM2_verify_loop, loopargs);
crypto/openssl/apps/speed.c
3923
count, sm2_curves[testnum].bits,
crypto/openssl/apps/speed.c
3925
sm2_results[testnum][1] = (double)count / d;
crypto/openssl/apps/speed.c
4099
count = run_benchmark(async_jobs, FFDH_derive_key_loop, loopargs);
crypto/openssl/apps/speed.c
4102
mr ? "+R14:%ld:%d:%.2f\n" : "%ld %u-bits FFDH ops in %.2fs\n", count,
crypto/openssl/apps/speed.c
4104
ffdh_results[testnum][0] = (double)count / d;
crypto/openssl/apps/speed.c
4105
op_count = count;
crypto/openssl/apps/speed.c
4273
count = run_benchmark(async_jobs, KEM_keygen_loop, loopargs);
crypto/openssl/apps/speed.c
4276
mr ? "+R15:%ld:%s:%.2f\n" : "%ld %s KEM keygen ops in %.2fs\n", count,
crypto/openssl/apps/speed.c
4278
kems_results[testnum][0] = (double)count / d;
crypto/openssl/apps/speed.c
4279
op_count = count;
crypto/openssl/apps/speed.c
4282
count = run_benchmark(async_jobs, KEM_encaps_loop, loopargs);
crypto/openssl/apps/speed.c
4285
mr ? "+R16:%ld:%s:%.2f\n" : "%ld %s KEM encaps ops in %.2fs\n", count,
crypto/openssl/apps/speed.c
4287
kems_results[testnum][1] = (double)count / d;
crypto/openssl/apps/speed.c
4288
op_count = count;
crypto/openssl/apps/speed.c
4291
count = run_benchmark(async_jobs, KEM_decaps_loop, loopargs);
crypto/openssl/apps/speed.c
4294
mr ? "+R17:%ld:%s:%.2f\n" : "%ld %s KEM decaps ops in %.2fs\n", count,
crypto/openssl/apps/speed.c
4296
kems_results[testnum][2] = (double)count / d;
crypto/openssl/apps/speed.c
4297
op_count = count;
crypto/openssl/apps/speed.c
4484
count = run_benchmark(async_jobs, SIG_keygen_loop, loopargs);
crypto/openssl/apps/speed.c
4487
mr ? "+R18:%ld:%s:%.2f\n" : "%ld %s signature keygen ops in %.2fs\n", count,
crypto/openssl/apps/speed.c
4489
sigs_results[testnum][0] = (double)count / d;
crypto/openssl/apps/speed.c
4490
op_count = count;
crypto/openssl/apps/speed.c
4493
count = run_benchmark(async_jobs, SIG_sign_loop, loopargs);
crypto/openssl/apps/speed.c
4496
mr ? "+R19:%ld:%s:%.2f\n" : "%ld %s signature sign ops in %.2fs\n", count,
crypto/openssl/apps/speed.c
4498
sigs_results[testnum][1] = (double)count / d;
crypto/openssl/apps/speed.c
4499
op_count = count;
crypto/openssl/apps/speed.c
4503
count = run_benchmark(async_jobs, SIG_verify_loop, loopargs);
crypto/openssl/apps/speed.c
4506
mr ? "+R20:%ld:%s:%.2f\n" : "%ld %s signature verify ops in %.2fs\n", count,
crypto/openssl/apps/speed.c
4508
sigs_results[testnum][2] = (double)count / d;
crypto/openssl/apps/speed.c
4509
op_count = count;
crypto/openssl/apps/speed.c
4884
static void print_result(int alg, int run_no, int count, double time_used)
crypto/openssl/apps/speed.c
4886
if (count == -1) {
crypto/openssl/apps/speed.c
4894
count, names[alg], time_used);
crypto/openssl/apps/speed.c
4895
results[alg][run_no] = ((double)count) / time_used * lengths[run_no];
crypto/openssl/apps/speed.c
5156
int j, count, keylen, num = OSSL_NELEM(mblengths_list), ciph_success = 1;
crypto/openssl/apps/speed.c
5195
for (count = 0; run && COND(count); count++) {
crypto/openssl/apps/speed.c
5235
BIO_printf(bio_err, mr ? "+R:%d:%s:%f\n" : "%d %s ops in %.2fs\n", count, "evp", d);
crypto/openssl/apps/speed.c
5238
results[D_EVP][j] = ((double)count) / d * mblengths[j];
crypto/openssl/apps/speed.c
591
#define COND(unused_cond) (run && count < (testmode ? 1 : INT_MAX))
crypto/openssl/apps/speed.c
592
#define COUNT(d) (count)
crypto/openssl/apps/speed.c
714
int count;
crypto/openssl/apps/speed.c
723
count = -1;
crypto/openssl/apps/speed.c
727
for (count = 0; COND(c[algindex][testnum]); count++) {
crypto/openssl/apps/speed.c
731
count = -1;
crypto/openssl/apps/speed.c
736
for (count = 0; COND(c[algindex][testnum]); count++) {
crypto/openssl/apps/speed.c
739
count = -1;
crypto/openssl/apps/speed.c
747
return count;
crypto/openssl/apps/speed.c
816
int count;
crypto/openssl/apps/speed.c
818
for (count = 0; COND(c[algindex][testnum]); count++) {
crypto/openssl/apps/speed.c
826
return count;
crypto/openssl/apps/speed.c
880
int count;
crypto/openssl/apps/speed.c
884
for (count = 0; COND(c[algindex][testnum]); count++)
crypto/openssl/apps/speed.c
887
return count;
crypto/openssl/apps/speed.c
895
int count;
crypto/openssl/apps/speed.c
898
for (count = 0; COND(c[D_GHASH][testnum]); count++) {
crypto/openssl/apps/speed.c
902
return count;
crypto/openssl/apps/speed.c
949
int count;
crypto/openssl/apps/speed.c
951
for (count = 0; COND(c[D_RAND][testnum]); count++)
crypto/openssl/apps/speed.c
953
return count;
crypto/openssl/apps/speed.c
962
int outl, count, rc;
crypto/openssl/apps/speed.c
965
for (count = 0; COND(c[D_EVP][testnum]); count++) {
crypto/openssl/apps/speed.c
973
for (count = 0; COND(c[D_EVP][testnum]); count++) {
crypto/openssl/apps/speed.c
988
return count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
107
r->count -= num_bytes;
crypto/openssl/crypto/bio/bss_dgram_pair.c
109
r->count += num_bytes;
crypto/openssl/crypto/bio/bss_dgram_pair.c
117
r->idx[0] = r->idx[1] = r->count = 0;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1255
saved_count = b->rbuf.count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
1263
b->rbuf.count = saved_count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
130
if (r->count > 0 && nbytes < r->len)
crypto/openssl/crypto/bio/bss_dgram_pair.c
139
if (r->count > 0) {
crypto/openssl/crypto/bio/bss_dgram_pair.c
27
size_t count; /* number of bytes currently pushed */
crypto/openssl/crypto/bio/bss_dgram_pair.c
42
r->idx[0] = r->idx[1] = r->count = 0;
crypto/openssl/crypto/bio/bss_dgram_pair.c
51
r->count = 0;
crypto/openssl/crypto/bio/bss_dgram_pair.c
512
saved_count = readb->rbuf.count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
517
readb->rbuf.count = saved_count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
536
l = b->rbuf.len - b->rbuf.count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
66
if (idx == 0 && max_len > r->len - r->count)
crypto/openssl/crypto/bio/bss_dgram_pair.c
67
max_len = r->len - r->count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
68
if (idx == 1 && max_len > r->count)
crypto/openssl/crypto/bio/bss_dgram_pair.c
69
max_len = r->count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
924
saved_count = readb->rbuf.count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
948
readb->rbuf.count = saved_count;
crypto/openssl/crypto/bio/bss_dgram_pair.c
96
if (!ossl_assert(idx != 0 ? num_bytes <= r->count
crypto/openssl/crypto/bio/bss_dgram_pair.c
97
: num_bytes + r->count <= r->len))
crypto/openssl/crypto/bn/bn_asm.c
210
int i, count = 2;
crypto/openssl/crypto/bn/bn_asm.c
258
if (--count == 0)
crypto/openssl/crypto/bn/bn_gf2m.c
1062
count++;
crypto/openssl/crypto/bn/bn_gf2m.c
1063
} while (BN_is_zero(w) && (count < MAX_ITERATIONS));
crypto/openssl/crypto/bn/bn_gf2m.c
994
int ret = 0, count = 0, j;
crypto/openssl/crypto/bn/bn_rand.c
137
int count = 100;
crypto/openssl/crypto/bn/bn_rand.c
179
if (!--count) {
crypto/openssl/crypto/bn/bn_rand.c
192
if (!--count) {
crypto/openssl/crypto/bn/bn_rand.c
245
int count = 100;
crypto/openssl/crypto/bn/bn_rand.c
270
if (!--count) {
crypto/openssl/crypto/cms/cms_att.c
221
int count = X509_ATTRIBUTE_count(at);
crypto/openssl/crypto/cms/cms_att.c
230
&& count != 1)
crypto/openssl/crypto/cms/cms_att.c
232
|| count == 0)
crypto/openssl/crypto/comp/c_brotli.c
400
size_t count;
crypto/openssl/crypto/comp/c_brotli.c
601
ctx->encode.count = 0;
crypto/openssl/crypto/comp/c_brotli.c
610
while (ctx->encode.count > 0) {
crypto/openssl/crypto/comp/c_brotli.c
611
ret = BIO_write(next, ctx->encode.ptr, ctx->encode.count);
crypto/openssl/crypto/comp/c_brotli.c
622
ctx->encode.count -= ret;
crypto/openssl/crypto/comp/c_brotli.c
643
ctx->encode.count = ctx->encode.bufsize - ctx->encode.avail_out;
crypto/openssl/crypto/comp/c_brotli.c
657
if (ctx->encode.buf == NULL || (ctx->encode.done && ctx->encode.count == 0))
crypto/openssl/crypto/comp/c_brotli.c
666
while (ctx->encode.count > 0) {
crypto/openssl/crypto/comp/c_brotli.c
667
ret = BIO_write(next, ctx->encode.ptr, ctx->encode.count);
crypto/openssl/crypto/comp/c_brotli.c
673
ctx->encode.count -= ret;
crypto/openssl/crypto/comp/c_brotli.c
694
ctx->encode.count = ctx->encode.bufsize - ctx->encode.avail_out;
crypto/openssl/crypto/comp/c_brotli.c
712
ctx->encode.count = 0;
crypto/openssl/crypto/ebcdic.c
369
void *ebcdic2ascii(void *dest, const void *srce, size_t count)
crypto/openssl/crypto/ebcdic.c
374
while (count-- != 0) {
crypto/openssl/crypto/ebcdic.c
381
void *ascii2ebcdic(void *dest, const void *srce, size_t count)
crypto/openssl/crypto/ebcdic.c
386
while (count-- != 0) {
crypto/openssl/crypto/encode_decode/decoder_lib.c
584
size_t count; /* Calculates how many were added in each iteration */
crypto/openssl/crypto/encode_decode/decoder_lib.c
667
count = data.w_new_end - data.w_new_start;
crypto/openssl/crypto/encode_decode/decoder_lib.c
674
} while (count != 0 && depth <= 10);
crypto/openssl/crypto/engine/eng_openssl.c
335
static int test_sha1_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/openssl/crypto/engine/eng_openssl.c
340
return SHA1_Update(EVP_MD_CTX_get0_md_data(ctx), data, count);
crypto/openssl/crypto/engine/eng_openssl.c
527
static int ossl_int_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/openssl/crypto/engine/eng_openssl.c
530
if (!HMAC_Update(hctx->ctx, data, count))
crypto/openssl/crypto/err/err_mark.c
65
int count = 0, top;
crypto/openssl/crypto/err/err_mark.c
74
++count;
crypto/openssl/crypto/err/err_mark.c
78
return count;
crypto/openssl/crypto/err/err_save.c
48
size_t i, j, count;
crypto/openssl/crypto/err/err_save.c
65
for (count = 0, top = thread_es->top;
crypto/openssl/crypto/err/err_save.c
68
++count)
crypto/openssl/crypto/err/err_save.c
72
for (i = 0, j = top; i < count; ++i) {
crypto/openssl/crypto/evp/digest.c
385
int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/openssl/crypto/evp/digest.c
387
if (count == 0)
crypto/openssl/crypto/evp/digest.c
408
return EVP_DigestSignUpdate(ctx, data, count);
crypto/openssl/crypto/evp/digest.c
410
return EVP_DigestVerifyUpdate(ctx, data, count);
crypto/openssl/crypto/evp/digest.c
425
return ctx->digest->dupdate(ctx->algctx, data, count);
crypto/openssl/crypto/evp/digest.c
429
return ctx->update != NULL ? ctx->update(ctx, data, count) : 0;
crypto/openssl/crypto/evp/digest.c
726
int EVP_Digest(const void *data, size_t count,
crypto/openssl/crypto/evp/digest.c
737
&& EVP_DigestUpdate(ctx, data, count)
crypto/openssl/crypto/evp/evp_key.c
115
for (i = 1; i < (unsigned int)count; i++) {
crypto/openssl/crypto/evp/evp_key.c
82
int datal, int count, unsigned char *key,
crypto/openssl/crypto/evp/evp_lib.c
1088
const void *data, size_t count)
crypto/openssl/crypto/evp/evp_lib.c
1095
const void *data, size_t count))
crypto/openssl/crypto/evp/evp_lib.c
912
int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count))
crypto/openssl/crypto/evp/evp_lib.c
975
size_t count)
crypto/openssl/crypto/evp/evp_local.h
25
int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count);
crypto/openssl/crypto/evp/legacy_meth.h
15
static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
crypto/openssl/crypto/evp/legacy_meth.h
17
return fn##_Update(EVP_MD_CTX_get0_md_data(ctx), data, count); \
crypto/openssl/crypto/evp/legacy_meth.h
29
static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
crypto/openssl/crypto/evp/legacy_meth.h
31
return fn##_update(EVP_MD_CTX_get0_md_data(ctx), data, count); \
crypto/openssl/crypto/evp/legacy_sha.c
34
static int nm##_update(EVP_MD_CTX *ctx, const void *data, size_t count) \
crypto/openssl/crypto/evp/legacy_sha.c
36
return fn##_update(EVP_MD_CTX_get0_md_data(ctx), data, count); \
crypto/openssl/crypto/evp/m_null.c
22
static int update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/openssl/crypto/hashtable/hashtable.c
354
size_t count;
crypto/openssl/crypto/hashtable/hashtable.c
356
count = h->wpd.value_count;
crypto/openssl/crypto/hashtable/hashtable.c
357
return count;
crypto/openssl/crypto/http/http_client.c
382
size_t count)
crypto/openssl/crypto/http/http_client.c
388
rctx->max_hdr_lines = count;
crypto/openssl/crypto/md5/md5_sha1.c
27
int ossl_md5_sha1_update(MD5_SHA1_CTX *mctx, const void *data, size_t count)
crypto/openssl/crypto/md5/md5_sha1.c
29
if (!MD5_Update(&mctx->md5, data, count))
crypto/openssl/crypto/md5/md5_sha1.c
31
return SHA1_Update(&mctx->sha1, data, count);
crypto/openssl/crypto/ml_dsa/ml_dsa_vector.h
227
size_t i, count = 0;
crypto/openssl/crypto/ml_dsa/ml_dsa_vector.h
231
count += v->poly[i].coeff[j];
crypto/openssl/crypto/ml_dsa/ml_dsa_vector.h
232
return count;
crypto/openssl/crypto/pem/pem_sign.c
23
const unsigned char *data, unsigned int count)
crypto/openssl/crypto/pem/pem_sign.c
25
return EVP_DigestUpdate(ctx, data, count);
crypto/openssl/crypto/property/property.c
496
int i, count;
crypto/openssl/crypto/property/property.c
502
for (count = 0, i = sk_IMPLEMENTATION_num(alg->impls); i-- > 0;) {
crypto/openssl/crypto/property/property.c
523
count++;
crypto/openssl/crypto/property/property.c
534
if (count > 0)
crypto/openssl/crypto/provider_core.c
1161
int count;
crypto/openssl/crypto/provider_core.c
1192
if (!CRYPTO_atomic_add(&prov->activatecnt, -1, &count, prov->activatecnt_lock)) {
crypto/openssl/crypto/provider_core.c
1201
if (count >= 1 && prov->ischild && upcalls) {
crypto/openssl/crypto/provider_core.c
1212
if (count < 1)
crypto/openssl/crypto/provider_core.c
1238
if (count < 1)
crypto/openssl/crypto/provider_core.c
1248
return count;
crypto/openssl/crypto/provider_core.c
1257
int count = -1;
crypto/openssl/crypto/provider_core.c
1297
if (CRYPTO_atomic_add(&prov->activatecnt, 1, &count, prov->activatecnt_lock)) {
crypto/openssl/crypto/provider_core.c
1300
if (count == 1 && store != NULL) {
crypto/openssl/crypto/provider_core.c
1312
if (count == 1)
crypto/openssl/crypto/provider_core.c
1320
return count;
crypto/openssl/crypto/provider_core.c
1397
int count;
crypto/openssl/crypto/provider_core.c
1409
if ((count = provider_activate(prov, 1, upcalls)) > 0)
crypto/openssl/crypto/provider_core.c
1410
return count == 1 ? provider_flush_store_cache(prov) : 1;
crypto/openssl/crypto/provider_core.c
1417
int count;
crypto/openssl/crypto/provider_core.c
1420
|| (count = provider_deactivate(prov, 1, removechildren)) < 0)
crypto/openssl/crypto/provider_core.c
1422
return count == 0 ? provider_remove_store_methods(prov) : 1;
crypto/openssl/crypto/rand/rand_meth.c
43
static int drbg_bytes(unsigned char *out, int count)
crypto/openssl/crypto/rand/rand_meth.c
50
return EVP_RAND_generate(drbg, out, count, 0, 0, NULL, 0);
crypto/openssl/crypto/stack/stack.c
322
int i, count = 0;
crypto/openssl/crypto/stack/stack.c
329
pnum = &count;
crypto/openssl/crypto/threads_pthread.c
437
uint32_t count)
crypto/openssl/crypto/threads_pthread.c
439
struct rcu_qp *new = OPENSSL_zalloc(sizeof(*new) * count);
crypto/openssl/crypto/threads_pthread.c
441
lock->group_count = count;
crypto/openssl/crypto/threads_pthread.c
460
uint64_t count;
crypto/openssl/crypto/threads_pthread.c
486
count = ATOMIC_LOAD_N(uint64_t, &qp->users, __ATOMIC_ACQUIRE);
crypto/openssl/crypto/threads_pthread.c
487
} while (count != (uint64_t)0);
crypto/openssl/crypto/threads_win.c
127
uint32_t count)
crypto/openssl/crypto/threads_win.c
129
struct rcu_qp *new = OPENSSL_zalloc(sizeof(*new) * count);
crypto/openssl/crypto/threads_win.c
131
lock->group_count = count;
crypto/openssl/crypto/threads_win.c
360
uint64_t count;
crypto/openssl/crypto/threads_win.c
379
CRYPTO_atomic_load(&qp->users, &count, lock->rw_lock);
crypto/openssl/crypto/threads_win.c
380
} while (count != (uint64_t)0);
crypto/openssl/crypto/x509/by_file.c
119
if ((ERR_GET_REASON(ERR_peek_last_error()) == PEM_R_NO_START_LINE) && (count > 0)) {
crypto/openssl/crypto/x509/by_file.c
124
if (count == 0) {
crypto/openssl/crypto/x509/by_file.c
128
count = 0;
crypto/openssl/crypto/x509/by_file.c
135
count = 0;
crypto/openssl/crypto/x509/by_file.c
146
count = 0;
crypto/openssl/crypto/x509/by_file.c
149
count++;
crypto/openssl/crypto/x509/by_file.c
156
count = X509_STORE_add_cert(ctx->store_ctx, x);
crypto/openssl/crypto/x509/by_file.c
164
return count;
crypto/openssl/crypto/x509/by_file.c
175
int count = 0;
crypto/openssl/crypto/x509/by_file.c
194
if ((ERR_GET_REASON(ERR_peek_last_error()) == PEM_R_NO_START_LINE) && (count > 0)) {
crypto/openssl/crypto/x509/by_file.c
198
if (count == 0) {
crypto/openssl/crypto/x509/by_file.c
202
count = 0;
crypto/openssl/crypto/x509/by_file.c
208
count = 0;
crypto/openssl/crypto/x509/by_file.c
211
count++;
crypto/openssl/crypto/x509/by_file.c
221
count = X509_STORE_add_crl(ctx->store_ctx, x);
crypto/openssl/crypto/x509/by_file.c
229
return count;
crypto/openssl/crypto/x509/by_file.c
238
int i, count = 0;
crypto/openssl/crypto/x509/by_file.c
261
count = 0;
crypto/openssl/crypto/x509/by_file.c
264
count++;
crypto/openssl/crypto/x509/by_file.c
268
count = 0;
crypto/openssl/crypto/x509/by_file.c
271
count++;
crypto/openssl/crypto/x509/by_file.c
274
if (count == 0)
crypto/openssl/crypto/x509/by_file.c
278
return count;
crypto/openssl/crypto/x509/by_file.c
94
int count = 0;
crypto/openssl/crypto/x509/t_acert.c
20
int i, j, count;
crypto/openssl/crypto/x509/t_acert.c
30
count = X509_ATTRIBUTE_count(a);
crypto/openssl/crypto/x509/t_acert.c
31
if (count == 0) {
crypto/openssl/crypto/x509/t_acert.c
42
for (i = 0; i < count; i++) {
crypto/openssl/crypto/x509/t_req.c
120
int j, type = 0, count = 1, ii = 0;
crypto/openssl/crypto/x509/t_req.c
130
count = X509_ATTRIBUTE_count(a);
crypto/openssl/crypto/x509/t_req.c
131
if (count == 0) {
crypto/openssl/crypto/x509/t_req.c
162
if (++ii < count)
crypto/openssl/engines/e_dasync.c
609
size_t count)
crypto/openssl/engines/e_dasync.c
613
return EVP_MD_meth_get_update(EVP_sha1())(ctx, data, count);
crypto/openssl/engines/e_dasync.c
72
size_t count);
crypto/openssl/engines/e_devcrypto.c
764
static int digest_update(EVP_MD_CTX *ctx, const void *data, size_t count)
crypto/openssl/engines/e_devcrypto.c
768
if (count == 0)
crypto/openssl/engines/e_devcrypto.c
775
if (digest_op(digest_ctx, data, count, digest_ctx->digest_res, 0) >= 0)
crypto/openssl/engines/e_devcrypto.c
777
} else if (digest_op(digest_ctx, data, count, NULL, COP_FLAG_UPDATE) >= 0) {
crypto/openssl/engines/e_ossltest.c
124
size_t count);
crypto/openssl/engines/e_ossltest.c
153
size_t count);
crypto/openssl/engines/e_ossltest.c
158
size_t count);
crypto/openssl/engines/e_ossltest.c
573
size_t count)
crypto/openssl/engines/e_ossltest.c
575
return EVP_MD_meth_get_update(EVP_md5())(ctx, data, count);
crypto/openssl/engines/e_ossltest.c
597
size_t count)
crypto/openssl/engines/e_ossltest.c
599
return EVP_MD_meth_get_update(EVP_sha1())(ctx, data, count);
crypto/openssl/engines/e_ossltest.c
621
size_t count)
crypto/openssl/engines/e_ossltest.c
623
return EVP_MD_meth_get_update(EVP_sha256())(ctx, data, count);
crypto/openssl/engines/e_ossltest.c
645
size_t count)
crypto/openssl/engines/e_ossltest.c
647
return EVP_MD_meth_get_update(EVP_sha384())(ctx, data, count);
crypto/openssl/engines/e_ossltest.c
66
size_t count);
crypto/openssl/engines/e_ossltest.c
669
size_t count)
crypto/openssl/engines/e_ossltest.c
671
return EVP_MD_meth_get_update(EVP_sha512())(ctx, data, count);
crypto/openssl/engines/e_ossltest.c
95
size_t count);
crypto/openssl/engines/e_padlock.c
692
static int padlock_rand_bytes(unsigned char *output, int count)
crypto/openssl/engines/e_padlock.c
696
while (count >= 8) {
crypto/openssl/engines/e_padlock.c
708
count -= 8;
crypto/openssl/engines/e_padlock.c
710
while (count > 0) {
crypto/openssl/engines/e_padlock.c
722
count--;
crypto/openssl/include/crypto/evp.h
266
int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count);
crypto/openssl/include/internal/refcount.h
298
#define REF_PRINT_EX(text, count, object) \
crypto/openssl/include/internal/refcount.h
299
OSSL_TRACE3(REF_COUNT, "%p:%4d:%s\n", (object), (count), (text));
crypto/openssl/include/openssl/ebcdic.h
33
void *ebcdic2ascii(void *dest, const void *srce, size_t count);
crypto/openssl/include/openssl/ebcdic.h
34
void *ascii2ebcdic(void *dest, const void *srce, size_t count);
crypto/openssl/include/openssl/evp.h
145
int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, const void *data, size_t count));
crypto/openssl/include/openssl/evp.h
162
const void *data, size_t count);
crypto/openssl/include/openssl/evp.h
572
const void *data, size_t count);
crypto/openssl/include/openssl/evp.h
576
const void *data, size_t count));
crypto/openssl/include/openssl/evp.h
733
__owur int EVP_Digest(const void *data, size_t count,
crypto/openssl/include/openssl/evp.h
763
const unsigned char *data, int datal, int count,
crypto/openssl/include/openssl/http.h
69
size_t count);
crypto/openssl/include/openssl/ssl.h
1167
size_t SSL_get_finished(const SSL *s, void *buf, size_t count);
crypto/openssl/include/openssl/ssl.h
1168
size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count);
crypto/openssl/include/openssl/trace.h
106
typedef size_t (*OSSL_trace_cb)(const char *buffer, size_t count,
crypto/openssl/providers/implementations/encode_decode/ml_common_codecs.c
40
int i, count = 0;
crypto/openssl/providers/implementations/encode_decode/ml_common_codecs.c
74
ret[i].pref = ++count;
crypto/openssl/providers/implementations/encode_decode/ml_common_codecs.c
78
} while (count < NUM_PKCS8_FORMATS);
crypto/openssl/providers/implementations/encode_decode/ml_common_codecs.c
81
if (count == 0) {
crypto/openssl/providers/implementations/encode_decode/ml_common_codecs.c
91
ret[count].fmt = NULL;
crypto/openssl/providers/implementations/include/prov/md5_sha1.h
30
int ossl_md5_sha1_update(MD5_SHA1_CTX *mctx, const void *data, size_t count);
crypto/openssl/providers/implementations/rands/drbg.c
310
int count;
crypto/openssl/providers/implementations/rands/drbg.c
333
if (!CRYPTO_atomic_add(&dngbl->rand_nonce_count, 1, &data.count,
crypto/openssl/ssl/pqueue.c
146
size_t count = 0;
crypto/openssl/ssl/pqueue.c
149
count++;
crypto/openssl/ssl/pqueue.c
15
int count;
crypto/openssl/ssl/pqueue.c
152
return count;
crypto/openssl/ssl/ssl_cert_comp.c
263
int count = 0;
crypto/openssl/ssl/ssl_cert_comp.c
293
count++;
crypto/openssl/ssl/ssl_cert_comp.c
298
return (count > 0);
crypto/openssl/ssl/ssl_lib.c
1792
size_t SSL_get_finished(const SSL *s, void *buf, size_t count)
crypto/openssl/ssl/ssl_lib.c
1801
if (count > ret)
crypto/openssl/ssl/ssl_lib.c
1802
count = ret;
crypto/openssl/ssl/ssl_lib.c
1803
memcpy(buf, sc->s3.tmp.finish_md, count);
crypto/openssl/ssl/ssl_lib.c
1808
size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count)
crypto/openssl/ssl/ssl_lib.c
1817
if (count > ret)
crypto/openssl/ssl/ssl_lib.c
1818
count = ret;
crypto/openssl/ssl/ssl_lib.c
1819
memcpy(buf, sc->s3.tmp.peer_finish_md, count);
crypto/openssl/ssl/ssl_lib.c
6489
int count = scts != NULL ? sk_SCT_num(scts) : 0;
crypto/openssl/ssl/ssl_lib.c
6492
for (i = 0; i < count; ++i) {
crypto/openssl/test/bio_readbuffer_test.c
32
size_t readbytes = 0, bytes = 0, count = 0;
crypto/openssl/test/bio_readbuffer_test.c
85
if (!TEST_mem_eq(buf, bytes, expected + count, bytes))
crypto/openssl/test/bio_readbuffer_test.c
87
count += bytes;
crypto/openssl/test/bio_readbuffer_test.c
90
if (!TEST_int_eq(count, readbytes))
crypto/openssl/test/danetest.c
104
for (count = 0;
crypto/openssl/test/danetest.c
105
count < nelem && errtype == 0
crypto/openssl/test/danetest.c
107
++count) {
crypto/openssl/test/danetest.c
137
if (count == nelem) {
crypto/openssl/test/danetest.c
92
int count;
crypto/openssl/test/evp_test.c
362
size_t count;
crypto/openssl/test/evp_test.c
403
db->count = 1;
crypto/openssl/test/evp_test.c
453
int count = atoi(value);
crypto/openssl/test/evp_test.c
455
if (count <= 0)
crypto/openssl/test/evp_test.c
465
db->count = (size_t)count;
crypto/openssl/test/evp_test.c
483
for (j = 0; j < tb->count; j++) {
crypto/openssl/test/exdatatest.c
135
static int count = 0;
crypto/openssl/test/exdatatest.c
139
obj->id = ++count;
crypto/openssl/test/http_test.c
134
return BIO_write(out, hdr, count) == count;
crypto/openssl/test/http_test.c
49
long count = BIO_get_mem_data(in, (unsigned char **)&req);
crypto/openssl/test/http_test.c
53
int is_get = count >= 4 && CHECK_AND_SKIP_PREFIX(hdr, "GET ");
crypto/openssl/test/http_test.c
57
&& !(TEST_true(count >= 5 && CHECK_AND_SKIP_PREFIX(hdr, "POST "))))
crypto/openssl/test/http_test.c
85
count -= (hdr - req);
crypto/openssl/test/http_test.c
86
if (count < 0 || out == NULL)
crypto/openssl/test/priority_queue_test.c
107
memcpy(sorted, values, sizeof(*sorted) * count);
crypto/openssl/test/priority_queue_test.c
108
qsort(sorted, count, sizeof(*sorted), &qsort_size_t_compare);
crypto/openssl/test/priority_queue_test.c
135
int reserve, order, count, remove, random, popfree;
crypto/openssl/test/priority_queue_test.c
137
count = n % OSSL_NELEM(test_size_t_priority_counts);
crypto/openssl/test/priority_queue_test.c
149
count = test_size_t_priority_counts[count];
crypto/openssl/test/priority_queue_test.c
150
return test_size_t_priority_queue_int(reserve, order, count, remove,
crypto/openssl/test/priority_queue_test.c
51
static int test_size_t_priority_queue_int(int reserve, int order, int count,
crypto/openssl/test/priority_queue_test.c
61
count, orders[order], reserve ? "reserve" : "grow",
crypto/openssl/test/priority_queue_test.c
65
if (!TEST_size_t_le(count, MAX_SAMPLES))
crypto/openssl/test/priority_queue_test.c
72
for (i = 0; i < count; i++)
crypto/openssl/test/priority_queue_test.c
73
values[i] = random ? test_random() : (size_t)(count - i);
crypto/openssl/test/priority_queue_test.c
74
memcpy(sorted, values, sizeof(*sorted) * count);
crypto/openssl/test/priority_queue_test.c
75
qsort(sorted, count, sizeof(*sorted), &qsort_size_t_compare);
crypto/openssl/test/priority_queue_test.c
78
memcpy(values, sorted, sizeof(*values) * count);
crypto/openssl/test/priority_queue_test.c
80
qsort(values, count, sizeof(*values), &qsort_size_t_compare_rev);
crypto/openssl/test/priority_queue_test.c
86
if (reserve && !TEST_true(ossl_pqueue_size_t_reserve(pq, count)))
crypto/openssl/test/priority_queue_test.c
89
for (i = 0; i < count; i++)
crypto/openssl/test/priority_queue_test.c
94
|| !TEST_size_t_eq(ossl_pqueue_size_t_num(pq), count))
crypto/openssl/test/priority_queue_test.c
99
i = test_random() % count;
crypto/openssl/test/provider_status_test.c
181
self_test_args.count = 0;
crypto/openssl/test/provider_status_test.c
187
self_test_args.count = 0;
crypto/openssl/test/provider_status_test.c
242
self_test_args.count = 0;
crypto/openssl/test/provider_status_test.c
29
int count;
crypto/openssl/test/provider_status_test.c
57
if (args->count == 0)
crypto/openssl/test/provider_status_test.c
59
args->count++;
crypto/openssl/test/quic_multistream_test.c
3841
uint16_t count;
crypto/openssl/test/quic_multistream_test.c
3843
count = ossl_quic_channel_get_diag_num_rx_ack(ch);
crypto/openssl/test/quic_multistream_test.c
3845
if (count == h->scratch0) {
crypto/openssl/test/ssl_old_test.c
1916
int doit_localhost(SSL *s_ssl, SSL *c_ssl, int family, long count,
crypto/openssl/test/ssl_old_test.c
1919
long cw_num = count, cr_num = count, sw_num = count, sr_num = count;
crypto/openssl/test/ssl_old_test.c
2212
int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count,
crypto/openssl/test/ssl_old_test.c
2215
long cw_num = count, cr_num = count, sw_num = count, sr_num = count;
crypto/openssl/test/ssl_old_test.c
2585
int doit(SSL *s_ssl, SSL *c_ssl, long count)
crypto/openssl/test/ssl_old_test.c
2589
long cw_num = count, cr_num = count;
crypto/openssl/test/ssl_old_test.c
2590
long sw_num = count, sr_num = count;
crypto/openssl/test/ssl_old_test.c
2605
bufsiz = count > 40 * 1024 ? 40 * 1024 : count;
crypto/openssl/test/sslapitest.c
1039
static char count = 1;
crypto/openssl/test/sslapitest.c
1057
cbuf[0] = count++;
crypto/openssl/test/threadstest.c
122
int count;
crypto/openssl/test/threadstest.c
127
for (count = 0;; count++) {
crypto/openssl/test/threadstest.c
148
*iterations = count;
crypto/openssl/test/threadstest.c
172
unsigned int count = 0;
crypto/openssl/test/threadstest.c
185
count++;
crypto/openssl/test/threadstest.c
197
*iterations = count;
crypto/openssl/test/threadstest.c
203
*iterations = count;
crypto/openssl/test/threadstest.c
319
int count;
crypto/openssl/test/threadstest.c
326
for (count = 0;; count++) {
crypto/openssl/test/threadstest.c
353
*iterations = count;
crypto/openssl/test/threadstest.c
377
unsigned int count = 0;
crypto/openssl/test/threadstest.c
387
count++;
crypto/openssl/test/threadstest.c
401
*iterations = count;
crypto/openssl/test/threadstest.c
405
*iterations = count;
crypto/openssl/test/threadstest.c
546
unsigned *count;
crypto/openssl/test/threadstest.c
551
count = arg;
crypto/openssl/test/threadstest.c
553
(*count)++;
crypto/openssl/test/timing_load_creds.c
104
int i, debug = 0, count = 100, what = 'c';
crypto/openssl/test/timing_load_creds.c
125
if ((count = atoi(optarg)) < 0)
crypto/openssl/test/timing_load_creds.c
199
for (i = count; i > 0; i--) {
crypto/openssl/test/trace_api_test.c
166
static size_t trace_cb(const char *buffer, size_t count,
crypto/openssl/test/trace_api_test.c
172
return count;
crypto/openssl/test/x509_check_cert_pkey_test.c
117
int i, count = 0;
crypto/openssl/test/x509_check_cert_pkey_test.c
126
count++;
crypto/openssl/test/x509_check_cert_pkey_test.c
128
count++;
crypto/openssl/test/x509_check_cert_pkey_test.c
130
count++;
crypto/openssl/test/x509_check_cert_pkey_test.c
133
return TEST_int_eq(count, expected);
include/gssapi/gssapi.h
125
size_t count;
include/gssapi/gssapi.h
804
size_t count;
include/pthread_np.h
52
int pthread_mutex_getspinloops_np(pthread_mutex_t *mutex, int *count);
include/pthread_np.h
53
int pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count);
include/pthread_np.h
54
int pthread_mutex_getyieldloops_np(pthread_mutex_t *mutex, int *count);
include/pthread_np.h
55
int pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count);
kerberos5/lib/libgssapi_krb5/gss_krb5.c
274
if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
kerberos5/lib/libgssapi_krb5/gss_krb5.c
545
if (data_set->count != 1) {
kerberos5/lib/libgssapi_krb5/gss_krb5.c
57
if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
kerberos5/lib/libgssapi_krb5/gss_krb5.c
647
if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
kerberos5/lib/libgssapi_krb5/gss_krb5.c
703
if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
kerberos5/lib/libgssapi_krb5/gss_krb5.c
817
data_set->count != 1 ||
lib/clang/liblldb/LLDBWrapLua.cpp
40634
uint32_t count = result;
lib/clang/liblldb/LLDBWrapLua.cpp
40635
if (count >= arg3)
lib/clang/liblldb/LLDBWrapLua.cpp
40636
count = arg3;
lib/clang/liblldb/LLDBWrapLua.cpp
40639
while (i++ < count) {
lib/libbluetooth/hci.c
696
int s, i, count;
lib/libbluetooth/hci.c
727
for (count = 0, i = 0; i < rp.num_names; i ++) {
lib/libbluetooth/hci.c
732
count ++;
lib/libbluetooth/hci.c
749
return (count);
lib/libc/gen/sem.c
159
sem->count = (u_int32_t)value;
lib/libc/gen/sem.c
359
if ((*sem)->nwaiters && (*sem)->count)
lib/libc/gen/sem.c
360
_umtx_wake(&(*sem)->count);
lib/libc/gen/sem.c
382
while ((val = (*sem)->count) > 0) {
lib/libc/gen/sem.c
383
if (atomic_cmpset_acq_int(&(*sem)->count, val, val - 1))
lib/libc/gen/sem.c
399
retval = _umtx_wait_uint(&(*sem)->count, 0, abstime);
lib/libc/gen/sem.c
424
while ((val = (*sem)->count) > 0) {
lib/libc/gen/sem.c
425
if (atomic_cmpset_acq_int(&(*sem)->count, val, val - 1))
lib/libc/gen/sem.c
442
atomic_add_rel_int(&(*sem)->count, 1);
lib/libc/gen/sem.c
445
return _umtx_wake(&(*sem)->count);
lib/libc/gen/sem.c
460
*sval = (int)(*sem)->count;
lib/libc/gen/sem.c
84
u_int32_t count;
lib/libc/gen/sem_new.c
455
unsigned int count;
lib/libc/gen/sem_new.c
461
count = sem->_kern._count;
lib/libc/gen/sem_new.c
462
if (USEM_COUNT(count) + 1 > SEM_VALUE_MAX) {
lib/libc/gen/sem_new.c
466
} while (!atomic_cmpset_rel_int(&sem->_kern._count, count, count + 1));
lib/libc/gen/sem_new.c
467
if (count & USEM_HAS_WAITERS)
lib/libc/gmon/gmon.c
191
p->tos[toindex].count);
lib/libc/gmon/gmon.c
196
rawarc.raw_count = p->tos[toindex].count;
lib/libc/gmon/mcount.c
196
top->count = 1;
lib/libc/gmon/mcount.c
205
top->count++;
lib/libc/gmon/mcount.c
228
top->count = 1;
lib/libc/gmon/mcount.c
244
top->count++;
lib/libc/locale/gb18030.c
102
if (gs->count < 0 || gs->count > sizeof(gs->bytes)) {
lib/libc/locale/gb18030.c
113
ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
lib/libc/locale/gb18030.c
114
memcpy(gs->bytes + gs->count, s, ncopy);
lib/libc/locale/gb18030.c
115
ocount = gs->count;
lib/libc/locale/gb18030.c
116
gs->count += ncopy;
lib/libc/locale/gb18030.c
118
n = gs->count;
lib/libc/locale/gb18030.c
168
gs->count = 0;
lib/libc/locale/gb18030.c
184
if (gs->count != 0) {
lib/libc/locale/gb18030.c
64
int count;
lib/libc/locale/gb18030.c
88
return (ps == NULL || ((const _GB18030State *)ps)->count == 0);
lib/libc/locale/gb2312.c
119
if (gs->count < 0 || gs->count > sizeof(gs->bytes)) {
lib/libc/locale/gb2312.c
130
ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
lib/libc/locale/gb2312.c
131
memcpy(gs->bytes + gs->count, s, ncopy);
lib/libc/locale/gb2312.c
132
ocount = gs->count;
lib/libc/locale/gb2312.c
133
gs->count += ncopy;
lib/libc/locale/gb2312.c
135
n = gs->count;
lib/libc/locale/gb2312.c
145
gs->count = 0;
lib/libc/locale/gb2312.c
156
if (gs->count != 0) {
lib/libc/locale/gb2312.c
59
int count;
lib/libc/locale/gb2312.c
82
return (ps == NULL || ((const _GB2312State *)ps)->count == 0);
lib/libc/locale/xlocale_private.h
155
long count;
lib/libc/locale/xlocale_private.h
157
count = atomic_fetchadd_long(&(obj->retain_count), -1) - 1;
lib/libc/locale/xlocale_private.h
158
if (count < 0 && obj->destructor != NULL)
lib/libc/nameser/ns_name.c
1034
int value = 0, count = 0, tbcount = 0, blen = 0;
lib/libc/nameser/ns_name.c
1058
if (count)
lib/libc/nameser/ns_name.c
1082
count += 4;
lib/libc/nameser/ns_name.c
1086
if (count == 8) {
lib/libc/nameser/ns_name.c
1088
count = 0;
lib/libc/nameser/ns_parse.c
73
ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) {
lib/libc/nameser/ns_parse.c
76
for ((void)NULL; count > 0; count--) {
lib/libc/net/gethostbydns.c
128
#define BOUNDS_CHECK(ptr, count) \
lib/libc/net/gethostbydns.c
130
if ((ptr) + (count) > eom) { \
lib/libc/net/nsdispatch.c
194
vector_sort(void *vec, unsigned int count, size_t esize,
lib/libc/net/nsdispatch.c
197
qsort(vec, count, esize, comparison);
lib/libc/net/nsdispatch.c
202
vector_search(const void *key, void *vec, unsigned int count, size_t esize,
lib/libc/net/nsdispatch.c
205
return (bsearch(key, vec, count, esize, comparison));
lib/libc/net/nsdispatch.c
210
vector_append(const void *elem, void *vec, unsigned int *count, size_t esize)
lib/libc/net/nsdispatch.c
214
if ((*count % ELEMSPERCHUNK) == 0) {
lib/libc/net/nsdispatch.c
215
p = reallocarray(vec, *count + ELEMSPERCHUNK, esize);
lib/libc/net/nsdispatch.c
222
memmove((void *)(((uintptr_t)vec) + (*count * esize)), elem, esize);
lib/libc/net/nsdispatch.c
223
(*count)++;
lib/libc/net/nsdispatch.c
229
vector_ref(unsigned int i, void *vec, unsigned int count, size_t esize)
lib/libc/net/nsdispatch.c
231
if (i < count)
lib/libc/net/nsdispatch.c
241
vector_free(void *vec, unsigned int *count, size_t esize,
lib/libc/net/nsdispatch.c
247
for (i = 0; i < *count; i++) {
lib/libc/net/nsdispatch.c
248
elem = vector_ref(i, vec, *count, esize);
lib/libc/net/nsdispatch.c
253
*count = 0;
lib/libc/posix1e/acl_from_text.c
170
int count = 0;
lib/libc/posix1e/acl_from_text.c
176
count++;
lib/libc/posix1e/acl_from_text.c
180
if (count <= 2)
lib/libc/posix1e/acl_from_text_nfs4.c
187
int count = 0;
lib/libc/posix1e/acl_from_text_nfs4.c
191
count++;
lib/libc/posix1e/acl_from_text_nfs4.c
196
return (count);
lib/libc/posix1e/acl_init.c
53
acl_init(int count)
lib/libc/posix1e/acl_init.c
58
if (count > ACL_MAX_ENTRIES) {
lib/libc/posix1e/acl_init.c
62
if (count < 0) {
lib/libc/regex/regcomp.c
1003
int count = 0;
lib/libc/regex/regcomp.c
1006
while (MORE() && isdigit((uch)PEEK()) && count <= DUPMAX) {
lib/libc/regex/regcomp.c
1007
count = count*10 + ((uch)GETNEXT() - '0');
lib/libc/regex/regcomp.c
1011
(void)REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR);
lib/libc/regex/regcomp.c
1012
return(count);
lib/libc/regex/regcomp.c
393
int count;
lib/libc/regex/regcomp.c
597
count = p_count(p);
lib/libc/regex/regcomp.c
601
(void)REQUIRE(count <= count2, REG_BADBR);
lib/libc/regex/regcomp.c
605
count2 = count;
lib/libc/regex/regcomp.c
606
repeat(p, pos, count, count2);
lib/libc/regex/regcomp.c
827
int count;
lib/libc/regex/regcomp.c
974
count = p_count(p);
lib/libc/regex/regcomp.c
978
(void)REQUIRE(count <= count2, REG_BADBR);
lib/libc/regex/regcomp.c
982
count2 = count;
lib/libc/regex/regcomp.c
983
repeat(p, pos, count, count2);
lib/libc/resolv/res_debug.c
1123
int i, len, count;
lib/libc/resolv/res_debug.c
1126
for (i = 0, count = 0; i < len; i++) {
lib/libc/resolv/res_debug.c
1129
count++;
lib/libc/resolv/res_debug.c
1134
if (count)
lib/libc/resolv/res_debug.c
1135
count--;
lib/libc/resolv/res_debug.c
1141
count++;
lib/libc/resolv/res_debug.c
1142
return (count);
lib/libc/rpc/clnt_bcast.c
119
int count = 0;
lib/libc/rpc/clnt_bcast.c
180
count++;
lib/libc/rpc/clnt_bcast.c
185
return count;
lib/libc/softfloat/timesoftfloat.c
1002
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
104
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1053
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1057
count = 0;
lib/libc/softfloat/timesoftfloat.c
1067
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
107
count = 0;
lib/libc/softfloat/timesoftfloat.c
1071
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1078
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1085
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1089
count = 0;
lib/libc/softfloat/timesoftfloat.c
1099
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1103
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1110
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1117
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1121
count = 0;
lib/libc/softfloat/timesoftfloat.c
1131
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1135
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1142
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1149
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
115
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1153
count = 0;
lib/libc/softfloat/timesoftfloat.c
1163
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1167
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1174
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1183
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1187
count = 0;
lib/libc/softfloat/timesoftfloat.c
119
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1197
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1201
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1208
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1217
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1221
count = 0;
lib/libc/softfloat/timesoftfloat.c
1231
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1235
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
124
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1242
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1249
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1253
count = 0;
lib/libc/softfloat/timesoftfloat.c
1268
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1273
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1284
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1291
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1295
count = 0;
lib/libc/softfloat/timesoftfloat.c
131
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1310
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1315
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1326
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
134
count = 0;
lib/libc/softfloat/timesoftfloat.c
1371
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1375
count = 0;
lib/libc/softfloat/timesoftfloat.c
1385
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1389
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1396
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
142
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1448
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1452
count = 0;
lib/libc/softfloat/timesoftfloat.c
146
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1462
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1466
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1473
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1480
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1484
count = 0;
lib/libc/softfloat/timesoftfloat.c
1494
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1498
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1505
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
151
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1512
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1516
count = 0;
lib/libc/softfloat/timesoftfloat.c
1526
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1530
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1537
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1544
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1548
count = 0;
lib/libc/softfloat/timesoftfloat.c
1558
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1562
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1569
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1578
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1582
count = 0;
lib/libc/softfloat/timesoftfloat.c
1592
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1596
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
160
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1603
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1612
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1616
count = 0;
lib/libc/softfloat/timesoftfloat.c
1626
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
163
count = 0;
lib/libc/softfloat/timesoftfloat.c
1630
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1637
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1644
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1648
count = 0;
lib/libc/softfloat/timesoftfloat.c
1663
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1668
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1679
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
1686
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1690
count = 0;
lib/libc/softfloat/timesoftfloat.c
1705
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
171
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1710
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1721
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
175
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1765
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
1769
count = 0;
lib/libc/softfloat/timesoftfloat.c
1779
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
1783
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
1790
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
180
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
191
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
194
count = 0;
lib/libc/softfloat/timesoftfloat.c
202
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
206
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
211
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
259
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
262
count = 0;
lib/libc/softfloat/timesoftfloat.c
270
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
274
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
279
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
286
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
289
count = 0;
lib/libc/softfloat/timesoftfloat.c
297
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
301
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
306
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
315
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
318
count = 0;
lib/libc/softfloat/timesoftfloat.c
326
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
330
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
335
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
346
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
349
count = 0;
lib/libc/softfloat/timesoftfloat.c
357
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
361
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
366
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
390
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
393
count = 0;
lib/libc/softfloat/timesoftfloat.c
401
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
405
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
410
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
417
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
420
count = 0;
lib/libc/softfloat/timesoftfloat.c
428
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
432
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
437
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
444
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
447
count = 0;
lib/libc/softfloat/timesoftfloat.c
455
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
459
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
464
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
473
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
476
count = 0;
lib/libc/softfloat/timesoftfloat.c
484
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
488
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
493
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
504
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
507
count = 0;
lib/libc/softfloat/timesoftfloat.c
515
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
519
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
524
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
533
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
536
count = 0;
lib/libc/softfloat/timesoftfloat.c
544
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
548
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
553
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
560
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
563
count = 0;
lib/libc/softfloat/timesoftfloat.c
575
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
580
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
588
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
595
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
598
count = 0;
lib/libc/softfloat/timesoftfloat.c
61
static void reportTime( int32 count, long clocks )
lib/libc/softfloat/timesoftfloat.c
610
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
615
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
623
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
641
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
644
count = 0;
lib/libc/softfloat/timesoftfloat.c
652
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
656
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
66
( count / ( ( (float) clocks ) / CLOCKS_PER_SEC ) ) / 1000,
lib/libc/softfloat/timesoftfloat.c
661
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
707
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
710
count = 0;
lib/libc/softfloat/timesoftfloat.c
718
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
722
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
727
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
734
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
737
count = 0;
lib/libc/softfloat/timesoftfloat.c
745
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
749
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
754
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
761
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
764
count = 0;
lib/libc/softfloat/timesoftfloat.c
772
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
776
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
781
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
790
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
793
count = 0;
lib/libc/softfloat/timesoftfloat.c
801
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
805
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
810
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
821
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
824
count = 0;
lib/libc/softfloat/timesoftfloat.c
832
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
836
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
841
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
850
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
853
count = 0;
lib/libc/softfloat/timesoftfloat.c
861
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
865
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
870
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
877
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
880
count = 0;
lib/libc/softfloat/timesoftfloat.c
892
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
897
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
905
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
912
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
915
count = 0;
lib/libc/softfloat/timesoftfloat.c
927
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
932
for ( i = count; i; --i ) {
lib/libc/softfloat/timesoftfloat.c
940
reportTime( count, endClock - startClock );
lib/libc/softfloat/timesoftfloat.c
982
int32 count, i;
lib/libc/softfloat/timesoftfloat.c
985
count = 0;
lib/libc/softfloat/timesoftfloat.c
993
count += minIterations;
lib/libc/softfloat/timesoftfloat.c
997
for ( i = count; i; --i ) {
lib/libc/stdio/fread.c
112
count = (total - resid) / size;
lib/libc/stdio/fread.c
124
return (count);
lib/libc/stdio/fread.c
143
return (count);
lib/libc/stdio/fread.c
50
__ssp_real(fread)(void * __restrict buf, size_t size, size_t count,
lib/libc/stdio/fread.c
56
ret = __fread(buf, size, count, fp);
lib/libc/stdio/fread.c
62
__fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict fp)
lib/libc/stdio/fread.c
72
if ((count == 0) || (size == 0))
lib/libc/stdio/fread.c
81
if (((count | size) > 0xFFFF) &&
lib/libc/stdio/fread.c
82
(count > SIZE_MAX / size)) {
lib/libc/stdio/fread.c
92
resid = count * size;
lib/libc/stdio/fwrite.c
100
n = fwrite_unlocked(buf, size, count, fp);
lib/libc/stdio/fwrite.c
49
fwrite_unlocked(const void * __restrict buf, size_t size, size_t count,
lib/libc/stdio/fwrite.c
59
if ((count == 0) || (size == 0))
lib/libc/stdio/fwrite.c
68
if (((count | size) > 0xFFFF) &&
lib/libc/stdio/fwrite.c
69
(count > SIZE_MAX / size)) {
lib/libc/stdio/fwrite.c
75
n = count * size;
lib/libc/stdio/fwrite.c
89
count = (n - uio.uio_resid) / size;
lib/libc/stdio/fwrite.c
90
return (count);
lib/libc/stdio/fwrite.c
94
fwrite(const void * __restrict buf, size_t size, size_t count,
lib/libc/stdio/local.h
86
extern size_t __fread(void * __restrict buf, size_t size, size_t count,
lib/libc/stdio/open_wmemstream.c
100
count = 0;
lib/libc/stdio/open_wmemstream.c
113
count++;
lib/libc/stdio/open_wmemstream.c
115
return (count);
lib/libc/stdio/open_wmemstream.c
98
size_t charlen, count;
lib/libc/stdlib/heapsort.c
114
#define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \
lib/libc/stdlib/heapsort.c
122
COPY(par, child, count, size, tmp1, tmp2); \
lib/libc/stdlib/heapsort.c
130
COPY(child, k, count, size, tmp1, tmp2); \
lib/libc/stdlib/heapsort.c
133
COPY(child, par, count, size, tmp1, tmp2); \
lib/libc/stdlib/heapsort.c
56
#define SWAP(a, b, count, size, tmp) { \
lib/libc/stdlib/heapsort.c
57
count = size; \
lib/libc/stdlib/heapsort.c
62
} while (--count); \
lib/libc/stdlib/heapsort.c
66
#define COPY(a, b, count, size, tmp1, tmp2) { \
lib/libc/stdlib/heapsort.c
67
count = size; \
lib/libc/stdlib/heapsort.c
72
} while (--count); \
lib/libc/stdlib/heapsort.c
82
#define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \
lib/libc/stdlib/heapsort.c
93
SWAP(par, child, count, size, tmp); \
lib/libc/stdlib/radixsort.c
126
static int count[256], nc, bmin;
lib/libc/stdlib/radixsort.c
149
if (++count[c] == 1 && c != endch) {
lib/libc/stdlib/radixsort.c
166
if (nc == 1 && count[bmin] == n) {
lib/libc/stdlib/radixsort.c
168
nc = count[bmin] = 0;
lib/libc/stdlib/radixsort.c
182
top[0] = ak = a + count[0];
lib/libc/stdlib/radixsort.c
187
for (cp = count + bmin; nc > 0; cp++) {
lib/libc/stdlib/radixsort.c
197
top[cp-count] = ak += *cp;
lib/libc/stdlib/radixsort.c
214
for (aj = a; aj < an; *aj = r, aj += count[c], count[c] = 0)
lib/libc/stdlib/radixsort.c
225
static int count[256], nc, bmin;
lib/libc/stdlib/radixsort.c
245
if (++count[c] == 1 && c != endch) {
lib/libc/stdlib/radixsort.c
260
top[0] = ak = a + count[0];
lib/libc/stdlib/radixsort.c
261
count[0] = 0;
lib/libc/stdlib/radixsort.c
265
count[255] = 0;
lib/libc/stdlib/radixsort.c
267
for (cp = count + bmin; nc > 0; cp++) {
lib/libc/stdlib/radixsort.c
277
top[cp-count] = ak += c;
lib/libc/tests/gen/fts_children_test.c
218
int count;
lib/libc/tests/gen/fts_children_test.c
233
count = 0;
lib/libc/tests/gen/fts_children_test.c
240
count++;
lib/libc/tests/gen/fts_children_test.c
242
ATF_CHECK_EQ(2, count);
lib/libc/tests/gen/fts_children_test.c
44
int count;
lib/libc/tests/gen/fts_children_test.c
57
count = 0;
lib/libc/tests/gen/fts_children_test.c
61
count++;
lib/libc/tests/gen/fts_children_test.c
63
ATF_CHECK_EQ_MSG(1, count,
lib/libc/tests/gen/fts_children_test.c
64
"expected 1 root entry, found %d", count);
lib/libc/tests/nss/getgr_test.c
297
int count = 0;
lib/libc/tests/nss/getgr_test.c
308
if (++count >= limit)
lib/libc/tests/nss/getpw_test.c
244
int count = 0;
lib/libc/tests/nss/getpw_test.c
255
if (++count >= limit)
lib/libc/tests/nss/getserv_test.c
287
int count = 0;
lib/libc/tests/nss/getserv_test.c
295
if (++count >= limit)
lib/libc/tests/stdbit/stdc_count_ones_test.c
12
unsigned count = 0; \
lib/libc/tests/stdbit/stdc_count_ones_test.c
15
count += value & 1; \
lib/libc/tests/stdbit/stdc_count_ones_test.c
19
return (count); \
lib/libc/tests/stdbit/stdc_count_zeros_test.c
12
unsigned count = 0; \
lib/libc/tests/stdbit/stdc_count_zeros_test.c
16
count += value & 1; \
lib/libc/tests/stdbit/stdc_count_zeros_test.c
20
return (count); \
lib/libc/tests/stdbit/stdc_leading_ones_test.c
13
unsigned count = 0; \
lib/libc/tests/stdbit/stdc_leading_ones_test.c
20
count++; \
lib/libc/tests/stdbit/stdc_leading_ones_test.c
23
return (count); \
lib/libc/tests/stdbit/stdc_leading_zeros_test.c
13
unsigned count = 0; \
lib/libc/tests/stdbit/stdc_leading_zeros_test.c
20
count++; \
lib/libc/tests/stdbit/stdc_leading_zeros_test.c
23
return (count); \
lib/libc/tests/stdbit/stdc_trailing_ones_test.c
13
unsigned count = 0; \
lib/libc/tests/stdbit/stdc_trailing_ones_test.c
17
count++; \
lib/libc/tests/stdbit/stdc_trailing_ones_test.c
20
return (count); \
lib/libc/tests/stdbit/stdc_trailing_zeros_test.c
13
unsigned count = 0; \
lib/libc/tests/stdbit/stdc_trailing_zeros_test.c
17
count++; \
lib/libc/tests/stdbit/stdc_trailing_zeros_test.c
20
return (count); \
lib/libc/tests/sys/cpuset_test.c
373
int count;
lib/libc/tests/sys/cpuset_test.c
378
count = CPU_COUNT(mask);
lib/libc/tests/sys/cpuset_test.c
380
ATF_REQUIRE_EQ(count - 1, CPU_COUNT(mask));
lib/libfetch/http.c
1323
for (i = 0; i < cs->count; i++) {
lib/libfetch/http.c
649
int count; /* Number of parsed challenges in the array */
lib/libfetch/http.c
659
cs->count = cs->valid = 0;
lib/libfetch/http.c
752
for (; cs->count < MAX_CHALLENGES; cs->count++) {
lib/libfetch/http.c
753
cs->challenges[cs->count] =
lib/libfetch/http.c
755
if (cs->challenges[cs->count] == NULL) {
lib/libfetch/http.c
759
init_http_auth_challenge(cs->challenges[cs->count]);
lib/libfetch/http.c
761
cs->challenges[cs->count]->scheme = HTTPAS_BASIC;
lib/libfetch/http.c
763
cs->challenges[cs->count]->scheme = HTTPAS_DIGEST;
lib/libfetch/http.c
765
cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN;
lib/libfetch/http.c
792
cs->challenges[cs->count]->realm =
lib/libfetch/http.c
795
cs->challenges[cs->count]->qop =
lib/libfetch/http.c
798
cs->challenges[cs->count]->nonce =
lib/libfetch/http.c
801
cs->challenges[cs->count]->opaque =
lib/libfetch/http.c
804
cs->challenges[cs->count]->algo =
lib/libfetch/http.c
807
cs->challenges[cs->count]->stale =
lib/libfetch/http.c
824
cs->count++;
lib/libgssapi/gss_acquire_cred.c
104
set.count = 1;
lib/libgssapi/gss_acquire_cred.c
106
for (i = 0; i < mechs->count; i++) {
lib/libgssapi/gss_acquire_cred.c
73
for (i = 0; i < mechs->count; i++) {
lib/libgssapi/gss_acquire_cred.c
80
if (i == mechs->count) {
lib/libgssapi/gss_add_oid_set_member.c
54
new_elements = malloc((set->count + 1) * sizeof(gss_OID_desc));
lib/libgssapi/gss_add_oid_set_member.c
60
new_oid = &new_elements[set->count];
lib/libgssapi/gss_add_oid_set_member.c
71
set->count * sizeof(gss_OID_desc));
lib/libgssapi/gss_add_oid_set_member.c
75
set->count++;
lib/libgssapi/gss_buffer_set.c
114
for (i = 0; i < (*buffer_set)->count; i++)
lib/libgssapi/gss_buffer_set.c
120
(*buffer_set)->count = 0;
lib/libgssapi/gss_buffer_set.c
54
set->count = 0;
lib/libgssapi/gss_buffer_set.c
80
set->elements = reallocarray(set->elements, set->count + 1,
lib/libgssapi/gss_buffer_set.c
87
p = &set->elements[set->count];
lib/libgssapi/gss_buffer_set.c
97
set->count++;
lib/libgssapi/gss_create_empty_oid_set.c
48
set->count = 0;
lib/libgssapi/gss_indicate_mechs.c
59
for (i = 0; i < set->count; i++)
lib/libgssapi/gss_init_sec_context.c
99
|| _gss_mech_oids->count == 0)
lib/libgssapi/gss_inquire_cred_by_oid.c
80
for (i = 0; i < rset->count; i++) {
lib/libgssapi/gss_release_oid_set.c
45
for (i = 0; i < set->count; i++) {
lib/libgssapi/gss_test_oid_set_member.c
42
for (i = 0; i < set->count; i++)
lib/libiconv_modules/EUC/citrus_euc.c
140
ei->count[x] = (int)_bcs_strtol(v, (char **)&e, 0);
lib/libiconv_modules/EUC/citrus_euc.c
141
if (v == e || !(v = e) || ei->count[x] < 1 || ei->count[x] > 4) {
lib/libiconv_modules/EUC/citrus_euc.c
144
if (ei->mb_cur_max < ei->count[x])
lib/libiconv_modules/EUC/citrus_euc.c
145
ei->mb_cur_max = ei->count[x];
lib/libiconv_modules/EUC/citrus_euc.c
227
c = ei->count[cs = _citrus_EUC_cs(psenc->ch[0] & 0xff)];
lib/libiconv_modules/EUC/citrus_euc.c
288
for (cs = 0; cs < sizeof(ei->count) / sizeof(ei->count[0]); cs++)
lib/libiconv_modules/EUC/citrus_euc.c
292
if (cs == sizeof(ei->count) / sizeof(ei->count[0]))
lib/libiconv_modules/EUC/citrus_euc.c
295
i = ei->count[cs];
lib/libiconv_modules/EUC/citrus_euc.c
315
*nresult = (size_t)ei->count[cs];
lib/libiconv_modules/EUC/citrus_euc.c
94
unsigned count[4];
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
274
int count = 0, i, ret;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
294
count++;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
300
return (count ? 0 : ENOENT);
lib/libkldelf/elf.c
553
long i, count;
lib/libkldelf/elf.c
556
error = EF_LOOKUP_SET(efile, name, &start, &stop, &count);
lib/libkldelf/elf.c
561
count * elf_pointer_size(efile), &raw);
lib/libkldelf/elf.c
565
buf = calloc(count, sizeof(*buf));
lib/libkldelf/elf.c
572
for (i = 0; i < count; i++) {
lib/libkldelf/elf.c
579
*countp = count;
lib/libkvm/kvm.c
325
int count, i, nfail;
lib/libkvm/kvm.c
336
for (count = 0; nl[count].n_name != NULL && nl[count].n_name[0] != '\0';
lib/libkvm/kvm.c
337
count++)
lib/libkvm/kvm.c
339
if (count == 0)
lib/libkvm/kvm.c
341
kl = calloc(count + 1, sizeof(*kl));
lib/libkvm/kvm.c
346
for (i = 0; i < count; i++)
lib/libkvm/kvm.c
349
for (i = 0; i < count; i++) {
lib/libkvm/kvm_private.c
242
uint64_t count = 0;
lib/libkvm/kvm_private.c
248
count += __bitcount64(bitmask_range(*addr, bit0, bound));
lib/libkvm/kvm_private.c
255
count += __bitcount64(bitmask_range(*addr, 0, bound));
lib/libkvm/kvm_private.c
260
return (count);
lib/libkvm/kvm_private.c
474
uint32_t count;
lib/libkvm/kvm_private.c
489
count = kd->pt_popcounts[popcount_id] + popcount_bytes(
lib/libkvm/kvm_private.c
502
count = kd->pt_popcounts[popcount_id] - popcount_bytes(
lib/libkvm/kvm_private.c
511
if (count >= (kd->pt_sparse_size / page_size))
lib/libkvm/kvm_private.c
514
return (kd->pt_sparse_off + (uint64_t)count * page_size);
lib/libkvm/kvm_private.c
525
int count, i;
lib/libkvm/kvm_private.c
527
for (count = 0; list[count].n_name != NULL &&
lib/libkvm/kvm_private.c
528
list[count].n_name[0] != '\0'; count++)
lib/libkvm/kvm_private.c
530
nl = calloc(count + 1, sizeof(*nl));
lib/libkvm/kvm_private.c
531
for (i = 0; i < count; i++)
lib/libkvm/kvm_private.c
534
for (i = 0; i < count; i++) {
lib/libmemstat/memstat_malloc.c
110
size = sizeof(count);
lib/libmemstat/memstat_malloc.c
111
if (sysctlbyname("kern.malloc_count", &count, &size, NULL, 0) < 0) {
lib/libmemstat/memstat_malloc.c
118
if (size != sizeof(count)) {
lib/libmemstat/memstat_malloc.c
128
size = sizeof(*mthp) + count * (sizeof(*mthp) + sizeof(*mtsp) *
lib/libmemstat/memstat_malloc.c
180
count = mtshp->mtsh_count;
lib/libmemstat/memstat_malloc.c
181
for (i = 0; i < count; i++) {
lib/libmemstat/memstat_malloc.c
83
int count, hint_dontsearch, i, j, maxcpus;
lib/libmemstat/memstat_uma.c
110
size = sizeof(count);
lib/libmemstat/memstat_uma.c
111
if (sysctlbyname("vm.zone_count", &count, &size, NULL, 0) < 0) {
lib/libmemstat/memstat_uma.c
118
if (size != sizeof(count)) {
lib/libmemstat/memstat_uma.c
123
size = sizeof(*uthp) + count * (sizeof(*uthp) + sizeof(*upsp) *
lib/libmemstat/memstat_uma.c
175
count = ushp->ush_count;
lib/libmemstat/memstat_uma.c
176
for (i = 0; i < count; i++) {
lib/libmemstat/memstat_uma.c
83
int count, hint_dontsearch, i, j, maxcpus, maxid;
lib/libnetgraph/debug.c
319
int k, count;
lib/libnetgraph/debug.c
323
for (count = 0; count < len; ptr += BYPERLINE, count += BYPERLINE) {
lib/libnetgraph/debug.c
326
snprintf(buf, sizeof(buf), "%04x: ", count);
lib/libnetgraph/debug.c
327
for (k = 0; k < BYPERLINE; k++, count++)
lib/libnetgraph/debug.c
328
if (count < len)
lib/libnetgraph/debug.c
335
count -= BYPERLINE;
lib/libnetgraph/debug.c
338
for (k = 0; k < BYPERLINE; k++, count++)
lib/libnetgraph/debug.c
339
if (count < len)
lib/libnetgraph/debug.c
346
count -= BYPERLINE;
lib/libnv/tests/cnv_tests.cc
500
size_t count, i, nitems;
lib/libnv/tests/cnv_tests.cc
513
count = 50;
lib/libnv/tests/cnv_tests.cc
515
in_array = static_cast<int *>(malloc(sizeof(*in_array)*count));
lib/libnv/tests/cnv_tests.cc
517
for (i = 0; i < count; i++) {
lib/libnv/tests/cnv_tests.cc
522
nvlist_add_descriptor_array(nvl, key, in_array, count);
lib/libnv/tests/cnv_tests.cc
531
ATF_REQUIRE_EQ(nitems, count);
lib/libnv/tests/cnv_tests.cc
533
for (i = 0; i < count; i++)
lib/libnv/tests/nv_array_tests.cc
1060
size_t packed_size, count;
lib/libnv/tests/nv_array_tests.cc
1086
const_result = nvlist_get_string_array(unpacked, key, &count);
lib/libnv/tests/nv_array_tests.cc
1087
ATF_REQUIRE_EQ(count, nitems(string_arr));
lib/libnv/tests/nv_array_tests.cc
1088
for (i = 0; i < count; i++) {
lib/libnv/tests/nv_array_tests.cc
459
size_t num_items, count;
lib/libnv/tests/nv_array_tests.cc
469
count = 16;
lib/libnv/tests/nv_array_tests.cc
470
testbool = (bool*)malloc(sizeof(*testbool) * count);
lib/libnv/tests/nv_array_tests.cc
472
for (i = 0; i < count; i++)
lib/libnv/tests/nv_array_tests.cc
475
nvlist_move_bool_array(nvl, key, testbool, count);
lib/libnv/tests/nv_array_tests.cc
481
ATF_REQUIRE_EQ(num_items, count);
lib/libnv/tests/nv_array_tests.cc
496
size_t num_items, count;
lib/libnv/tests/nv_array_tests.cc
506
count = 26;
lib/libnv/tests/nv_array_tests.cc
507
teststr = (char**)malloc(sizeof(*teststr) * count);
lib/libnv/tests/nv_array_tests.cc
509
for (i = 0; i < count; i++) {
lib/libnv/tests/nv_array_tests.cc
516
nvlist_move_string_array(nvl, key, teststr, count);
lib/libnv/tests/nv_array_tests.cc
522
ATF_REQUIRE_EQ(num_items, count);
lib/libnv/tests/nv_array_tests.cc
539
size_t num_items, count;
lib/libnv/tests/nv_array_tests.cc
549
count = 26;
lib/libnv/tests/nv_array_tests.cc
550
testnv = (nvlist**)malloc(sizeof(*testnv) * count);
lib/libnv/tests/nv_array_tests.cc
552
for (i = 0; i < count; i++) {
lib/libnv/tests/nv_array_tests.cc
557
nvlist_move_nvlist_array(nvl, key, testnv, count);
lib/libnv/tests/nv_array_tests.cc
563
ATF_REQUIRE_EQ(num_items, count);
lib/libnv/tests/nv_array_tests.cc
589
size_t num_items, count;
lib/libnv/tests/nv_array_tests.cc
599
count = 1000;
lib/libnv/tests/nv_array_tests.cc
600
testnumber = (uint64_t*)malloc(sizeof(*testnumber) * count);
lib/libnv/tests/nv_array_tests.cc
602
for (i = 0; i < count; i++)
lib/libnv/tests/nv_array_tests.cc
605
nvlist_move_number_array(nvl, key, testnumber, count);
lib/libnv/tests/nv_array_tests.cc
611
ATF_REQUIRE_EQ(num_items, count);
lib/libnv/tests/nv_array_tests.cc
626
size_t num_items, count;
lib/libnv/tests/nv_array_tests.cc
636
count = 50;
lib/libnv/tests/nv_array_tests.cc
637
testfd = (int*)malloc(sizeof(*testfd) * count);
lib/libnv/tests/nv_array_tests.cc
639
for (i = 0; i < count; i++) {
lib/libnv/tests/nv_array_tests.cc
644
nvlist_move_descriptor_array(nvl, key, testfd, count);
lib/libnv/tests/nv_array_tests.cc
650
ATF_REQUIRE_EQ(num_items, count);
lib/libnv/tests/nv_array_tests.cc
910
size_t packed_size, count;
lib/libnv/tests/nv_array_tests.cc
938
const_result = nvlist_get_bool_array(unpacked, key, &count);
lib/libnv/tests/nv_array_tests.cc
939
ATF_REQUIRE_EQ(count, nitems(testbool));
lib/libnv/tests/nv_array_tests.cc
940
for (i = 0; i < count; i++) {
lib/libnv/tests/nv_array_tests.cc
954
size_t packed_size, count;
lib/libnv/tests/nv_array_tests.cc
980
const_result = nvlist_get_number_array(unpacked, key, &count);
lib/libnv/tests/nv_array_tests.cc
981
ATF_REQUIRE_EQ(count, nitems(number));
lib/libnv/tests/nv_array_tests.cc
982
for (i = 0; i < count; i++) {
lib/libnv/tests/nv_tests.cc
576
ATF_REQUIRE_EQ(keys_seen.count(name), 0);
lib/libomp/omp-tools.h
1218
ompd_size_t unit_size, ompd_size_t count, void *output);
lib/libomp/omp-tools.h
799
uint64_t count,
lib/libomp/omp-tools.h
808
uint64_t count;
lib/libpfctl/libpfctl.c
1627
{ .type = PF_TH_COUNT, .off = _OUT(count), .cb = snl_attr_get_uint32 },
lib/libpfctl/libpfctl.c
2776
size_t count;
lib/libpfctl/libpfctl.c
2797
if (a->count >= a->max)
lib/libpfctl/libpfctl.c
2801
&pfr_addr_parser, &a->addrs[a->count]);
lib/libpfctl/libpfctl.c
2803
a->count++;
lib/libpfctl/libpfctl.c
341
size_t count;
lib/libpfctl/libpfctl.c
352
if (t->count >= t->max)
lib/libpfctl/libpfctl.c
359
t->array[t->count++] = value;
lib/libpfctl/libpfctl.c
3640
.count = 0,
lib/libpfctl/libpfctl.c
3652
for (size_t i = 0; i < a.count; i++)
lib/libpfctl/libpfctl.c
374
.count = 0,
lib/libpfctl/libpfctl.c
3827
size_t count;
lib/libpfctl/libpfctl.c
3849
if (a->count >= a->max)
lib/libpfctl/libpfctl.c
3853
&pfr_astats_parser, &a->a[a->count]);
lib/libpfctl/libpfctl.c
3855
a->count++;
lib/libpfctl/libpfctl.h
176
uint32_t count;
lib/libpmc/libpmc.c
1078
uint32_t count;
lib/libpmc/libpmc.c
1090
count = strtol(q, &e, 0);
lib/libpmc/libpmc.c
1095
pmc_config->pm_md.pm_dmc620.pm_dmc620_config |= count;
lib/libpmc/libpmc.c
1242
uint64_t count)
lib/libpmc/libpmc.c
1265
pmc_config.pm_count = count;
lib/libpmc/libpmc.c
1448
int count;
lib/libpmc/libpmc.c
1456
count = PMC_EVENT_TABLE_SIZE(iaf);
lib/libpmc/libpmc.c
1460
count = PMC_EVENT_TABLE_SIZE(tsc);
lib/libpmc/libpmc.c
1464
count = PMC_EVENT_TABLE_SIZE(rapl);
lib/libpmc/libpmc.c
1468
count = PMC_EVENT_TABLE_SIZE(k8);
lib/libpmc/libpmc.c
1472
count = PMC_EVENT_TABLE_SIZE(ibs);
lib/libpmc/libpmc.c
1479
count = PMC_EVENT_TABLE_SIZE(cortex_a8);
lib/libpmc/libpmc.c
1483
count = PMC_EVENT_TABLE_SIZE(cortex_a9);
lib/libpmc/libpmc.c
1492
count = PMC_EVENT_TABLE_SIZE(cortex_a53);
lib/libpmc/libpmc.c
1496
count = PMC_EVENT_TABLE_SIZE(cortex_a57);
lib/libpmc/libpmc.c
1500
count = PMC_EVENT_TABLE_SIZE(cortex_a76);
lib/libpmc/libpmc.c
1506
count = PMC_EVENT_TABLE_SIZE(cmn600_pmu);
lib/libpmc/libpmc.c
1510
count = PMC_EVENT_TABLE_SIZE(dmc620_pmu_cd2);
lib/libpmc/libpmc.c
1514
count = PMC_EVENT_TABLE_SIZE(dmc620_pmu_c);
lib/libpmc/libpmc.c
1518
count = PMC_EVENT_TABLE_SIZE(ppc7450);
lib/libpmc/libpmc.c
1522
count = PMC_EVENT_TABLE_SIZE(ppc970);
lib/libpmc/libpmc.c
1526
count = PMC_EVENT_TABLE_SIZE(e500);
lib/libpmc/libpmc.c
1530
count = soft_event_info.pm_nevent;
lib/libpmc/libpmc.c
1537
if ((names = malloc(count * sizeof(const char *))) == NULL)
lib/libpmc/libpmc.c
1541
*nevents = count;
lib/libpmc/libpmc.c
1543
for (;count--; ev++, names++)
lib/libpmc/libpmc.c
559
uint32_t count;
lib/libpmc/libpmc.c
645
count = strtol(q, &e, 0);
lib/libpmc/libpmc.c
651
AMD_PMC_TO_COUNTER(count);
lib/libpmc/pmc.h
75
int _cpu, pmc_id_t *_pmcid, uint64_t count);
lib/libpmc/pmu-events/jevents.c
1222
int count = 0;
lib/libpmc/pmu-events/jevents.c
1233
count++;
lib/libpmc/pmu-events/jevents.c
1234
if (count == level - 1)
lib/libpmc/pmu-events/json.c
124
int count = 0;
lib/libpmc/pmu-events/json.c
127
count++;
lib/libpmc/pmu-events/json.c
128
return count;
lib/libpmcstat/libpmcstat_process.c
341
int count;
lib/libpmcstat/libpmcstat_process.c
344
count = 0;
lib/libpmcstat/libpmcstat_process.c
350
count++;
lib/libpmcstat/libpmcstat_process.c
358
if (count == 0)
lib/libproc/proc_create.c
76
int error, class, count, fd;
lib/libproc/proc_create.c
92
&count)) == NULL)
lib/libprocstat/libprocstat.c
153
unsigned int *count);
lib/libprocstat/libprocstat.c
155
unsigned int *count);
lib/libprocstat/libprocstat.c
156
static gid_t *procstat_getgroups_sysctl(pid_t pid, unsigned int *count);
lib/libprocstat/libprocstat.c
2405
unsigned int i, count;
lib/libprocstat/libprocstat.c
2424
count = len / sizeof(Elf32_Auxinfo);
lib/libprocstat/libprocstat.c
2425
auxv = malloc(count * sizeof(Elf_Auxinfo));
lib/libprocstat/libprocstat.c
2427
warn("malloc(%zu)", count * sizeof(Elf_Auxinfo));
lib/libprocstat/libprocstat.c
2430
for (i = 0; i < count; i++) {
lib/libprocstat/libprocstat.c
2449
*cntp = count;
lib/libprocstat/libprocstat.c
255
unsigned int *count)
lib/libprocstat/libprocstat.c
264
assert(count);
lib/libprocstat/libprocstat.c
267
*count = 0;
lib/libprocstat/libprocstat.c
271
*count = cnt;
lib/libprocstat/libprocstat.c
272
len = *count * sizeof(*p);
lib/libprocstat/libprocstat.c
2871
struct kinfo_proc *kp, int kqfd, unsigned int *count, char *errbuf)
lib/libprocstat/libprocstat.c
2882
count, errbuf));
lib/libprocstat/libprocstat.c
2889
*count = 0;
lib/libprocstat/libprocstat.c
2909
*count = kqn;
lib/libprocstat/libprocstat.c
314
*count = len / sizeof(*p);
lib/libprocstat/libprocstat.c
323
*count = len / sizeof(*p);
lib/libprocstat/libprocstat.h
224
int what, int arg, unsigned int *count);
lib/libprocstat/libprocstat.h
226
struct kinfo_proc *kp, int kqfd, unsigned int *count, char *errbuf);
lib/libprocstat/libprocstat.h
250
unsigned int *count);
lib/libprocstat/libprocstat.h
252
struct kinfo_proc *kp, unsigned int *count);
lib/libprocstat/libprocstat.h
264
struct kinfo_proc *kp, unsigned int *count);
lib/librpcsec_gss/rpcsec_gss_conf.c
184
int count;
lib/librpcsec_gss/rpcsec_gss_conf.c
194
count = 0;
lib/librpcsec_gss/rpcsec_gss_conf.c
221
count++;
lib/librpcsec_gss/rpcsec_gss_conf.c
225
mech_names = malloc((count + 1) * sizeof(char*));
lib/librpcsec_gss/rpcsec_gss_conf.c
242
int count;
lib/librpcsec_gss/rpcsec_gss_conf.c
279
count = 0;
lib/librpcsec_gss/rpcsec_gss_conf.c
282
count++;
lib/librpcsec_gss/rpcsec_gss_conf.c
284
mech_qops = malloc((count + 1) * sizeof(char*));
lib/librpcsec_gss/svc_rpcsec_gss.c
198
oid_set.count = 1;
lib/librtld_db/rtld_db.c
352
int count, i;
lib/librtld_db/rtld_db.c
360
proc_getpid(rdap->rda_php), &count);
lib/librtld_db/rtld_db.c
363
assert(count == 1);
lib/librtld_db/rtld_db.c
365
auxv = procstat_getauxv(rdap->rda_procstat, kp, &count);
lib/librtld_db/rtld_db.c
370
for (i = 0; i < count; i++) {
lib/librtld_db/rtld_db.c
376
if (i == count)
lib/librtld_db/rtld_db.c
380
kve = procstat_getvmmap(rdap->rda_procstat, kp, &count);
lib/librtld_db/rtld_db.c
383
for (i = 0; i < count; i++) {
lib/librtld_db/rtld_db.c
389
if (i == count)
lib/libsecureboot/efi/efi_variables.c
152
*count = cert_count;
lib/libsecureboot/efi/efi_variables.c
169
efi_get_forbidden_digests(size_t *count)
lib/libsecureboot/efi/efi_variables.c
249
if (count != NULL)
lib/libsecureboot/efi/efi_variables.c
250
*count = digest_count;
lib/libsecureboot/efi/efi_variables.c
265
efi_get_trusted_certs(size_t *count)
lib/libsecureboot/efi/efi_variables.c
267
return (efi_get_certs("db", count));
lib/libsecureboot/efi/efi_variables.c
272
efi_get_forbidden_certs(size_t *count)
lib/libsecureboot/efi/efi_variables.c
274
return (efi_get_certs("dbx", count));
lib/libsecureboot/efi/efi_variables.c
85
efi_get_certs(const char *name, size_t *count)
lib/libsecureboot/libsecureboot-priv.h
66
br_x509_certificate* efi_get_trusted_certs(size_t *count);
lib/libsecureboot/libsecureboot-priv.h
67
br_x509_certificate* efi_get_forbidden_certs(size_t *count);
lib/libsecureboot/libsecureboot-priv.h
68
hash_data* efi_get_forbidden_digests(size_t *count);
lib/libsys/_libsys.h
527
ssize_t __sys_readlink(const char * path, char * buf, size_t count);
lib/libsys/_libsys.h
704
int __sys_uuidgen(struct uuid * store, int count);
lib/libsys/_libsys.h
841
ssize_t __sys_getdirentries(int fd, char * buf, size_t count, off_t * basep);
lib/libsysdecode/netlink.c
139
set->decoders, set->count);
lib/libsysdecode/netlink.c
241
addr_parser.decoders, addr_parser.count);
lib/libsysdecode/netlink.c
245
addr_parser.decoders, addr_parser.count);
lib/libsysdecode/netlink.c
48
size_t count; /*Attribute Count*/
lib/libsysdecode/netlink.c
54
.count = nitems(_np), \
lib/libthr/thread/thr_barrier.c
103
if (barrier == NULL || count == 0 || count > INT_MAX)
lib/libthr/thread/thr_barrier.c
127
bar->b_count = count;
lib/libthr/thread/thr_barrier.c
98
const pthread_barrierattr_t * __restrict attr, unsigned count)
lib/libthr/thread/thr_cond.c
506
int count;
lib/libthr/thread/thr_cond.c
527
if (ba->count >= MAX_DEFER_WAITERS) {
lib/libthr/thread/thr_cond.c
528
_thr_wake_all(ba->waddrs, ba->count);
lib/libthr/thread/thr_cond.c
529
ba->count = 0;
lib/libthr/thread/thr_cond.c
531
ba->waddrs[ba->count++] = &td->wake_addr->value;
lib/libthr/thread/thr_cond.c
557
ba.count = 0;
lib/libthr/thread/thr_cond.c
568
if (ba.count > 0)
lib/libthr/thread/thr_cond.c
569
_thr_wake_all(ba.waddrs, ba.count);
lib/libthr/thread/thr_kern.c
201
_thr_wake_all(unsigned int *waddrs[], int count)
lib/libthr/thread/thr_kern.c
205
for (i = 0; i < count; ++i)
lib/libthr/thread/thr_kern.c
207
_umtx_op(waddrs, UMTX_OP_NWAKE_PRIVATE, count, NULL, NULL);
lib/libthr/thread/thr_mutex.c
1095
_pthread_mutex_getspinloops_np(pthread_mutex_t *mutex, int *count)
lib/libthr/thread/thr_mutex.c
1102
*count = m->m_spinloops;
lib/libthr/thread/thr_mutex.c
1107
__pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count)
lib/libthr/thread/thr_mutex.c
1114
m->m_spinloops = count;
lib/libthr/thread/thr_mutex.c
1119
_pthread_mutex_getyieldloops_np(pthread_mutex_t *mutex, int *count)
lib/libthr/thread/thr_mutex.c
1126
*count = m->m_yieldloops;
lib/libthr/thread/thr_mutex.c
1131
__pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count)
lib/libthr/thread/thr_mutex.c
1138
m->m_yieldloops = count;
lib/libthr/thread/thr_mutex.c
652
int count, ret;
lib/libthr/thread/thr_mutex.c
67
int _pthread_mutex_getspinloops_np(pthread_mutex_t *mutex, int *count);
lib/libthr/thread/thr_mutex.c
671
count = m->m_spinloops;
lib/libthr/thread/thr_mutex.c
672
while (count--) {
lib/libthr/thread/thr_mutex.c
68
int _pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count);
lib/libthr/thread/thr_mutex.c
685
count = m->m_yieldloops;
lib/libthr/thread/thr_mutex.c
686
while (count--) {
lib/libthr/thread/thr_mutex.c
69
int __pthread_mutex_setspinloops_np(pthread_mutex_t *mutex, int count);
lib/libthr/thread/thr_mutex.c
70
int _pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count);
lib/libthr/thread/thr_mutex.c
71
int _pthread_mutex_getyieldloops_np(pthread_mutex_t *mutex, int *count);
lib/libthr/thread/thr_mutex.c
72
int __pthread_mutex_setyieldloops_np(pthread_mutex_t *mutex, int count);
lib/libthr/thread/thr_mutex.c
788
_mutex_cv_lock(struct pthread_mutex *m, int count, bool rb_onlist)
lib/libthr/thread/thr_mutex.c
794
m->m_count = count;
lib/libthr/thread/thr_mutex.c
799
_mutex_cv_unlock(struct pthread_mutex *m, int *count, int *defer)
lib/libthr/thread/thr_mutex.c
805
*count = m->m_count;
lib/libthr/thread/thr_mutex.c
812
_mutex_cv_attach(struct pthread_mutex *m, int count)
lib/libthr/thread/thr_mutex.c
818
m->m_count = count;
lib/libthr/thread/thr_pspinlock.c
116
int count;
lib/libthr/thread/thr_pspinlock.c
125
count = SPIN_COUNT;
lib/libthr/thread/thr_pspinlock.c
132
if (--count <= 0) {
lib/libthr/thread/thr_pspinlock.c
133
count = SPIN_COUNT;
lib/libthr/thread/thr_syscalls.c
352
__thr_pselect(int count, fd_set *rfds, fd_set *wfds, fd_set *efds,
lib/libthr/thread/thr_syscalls.c
360
ret = __sys_pselect(count, rfds, wfds, efds, timo, mask);
lib/libthr/thread/thr_umtx.c
80
int count;
lib/libthr/thread/thr_umtx.c
88
count = SPINLOOPS;
lib/libthr/thread/thr_umtx.c
89
while (count--) {
lib/libthr/thread/thr_umtx.h
60
int _thr_umtx_wake(volatile void *mtx, int count, int shared) __hidden;
lib/libunbound/config.h
1434
int snprintf (char *str, size_t count, const char *fmt, ...);
lib/libunbound/config.h
1435
int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
lib/libusb/libusb10_hotplug.c
200
ssize_t count;
lib/libusb/libusb10_hotplug.c
203
count = libusb_get_device_list(ctx, &ppdev);
lib/libusb/libusb10_hotplug.c
204
if (count < 0)
lib/libusb/libusb10_hotplug.c
207
for (x = 0; x != count; x++)
lib/libutil/kinfo_getallproc.c
57
kinfo_proc_sort(struct kinfo_proc *kipp, int count)
lib/libutil/kinfo_getallproc.c
60
qsort(kipp, count, sizeof(*kipp), kinfo_proc_compare);
lib/libutil/login_auth.c
100
while ((count = read(fd, buf, sizeof(buf))) > 0)
lib/libutil/login_auth.c
101
(void)write(fileno(stdout), buf, count);
lib/libutil/login_auth.c
95
int fd, count;
lib/libutil/login_cap.c
207
int count = strcspn_quote(cptr, chars, NULL);
lib/libutil/login_cap.c
208
cptr += count;
lib/libutil/login_cap.c
222
int count = strcspn_quote(ptr, chars, "ed);
lib/libutil/login_cap.c
225
ptr += count;
lib/libutil/login_cap.c
506
int count;
lib/libutil/login_cap.c
513
count = strcspn(ptr, ", \t");
lib/libutil/login_cap.c
514
ptr += count;
lib/libutil/pidfile.c
105
int count;
lib/libutil/pidfile.c
107
count = 20;
lib/libutil/pidfile.c
112
if (errno != EAGAIN || --count == 0)
lib/libvmmapi/vmmapi.c
780
vm_set_register_set(struct vcpu *vcpu, unsigned int count,
lib/libvmmapi/vmmapi.c
787
vmregset.count = count;
lib/libvmmapi/vmmapi.c
796
vm_get_register_set(struct vcpu *vcpu, unsigned int count,
lib/libvmmapi/vmmapi.c
803
vmregset.count = count;
lib/libvmmapi/vmmapi.c
891
u_int count, index;
lib/libvmmapi/vmmapi.c
895
count = 0;
lib/libvmmapi/vmmapi.c
912
count += vmstats.num_entries;
lib/libvmmapi/vmmapi.c
920
*ret_entries = count;
lib/libvmmapi/vmmapi.h
157
int vm_set_register_set(struct vcpu *vcpu, unsigned int count,
lib/libvmmapi/vmmapi.h
159
int vm_get_register_set(struct vcpu *vcpu, unsigned int count,
lib/virtual_oss/bt/cosdata-gen/cosdata.c
100
count++;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
104
count = 0;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
110
if ((count % 8) == 0 && count != 0)
lib/virtual_oss/bt/cosdata-gen/cosdata.c
117
count++;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
122
count = 0;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
128
if ((count % 8) == 0 && count != 0)
lib/virtual_oss/bt/cosdata-gen/cosdata.c
135
count++;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
140
count = 0;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
146
if ((count % 8) == 0 && count != 0)
lib/virtual_oss/bt/cosdata-gen/cosdata.c
153
count++;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
158
count = 0;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
164
if ((count % 8) == 0 && count != 0)
lib/virtual_oss/bt/cosdata-gen/cosdata.c
171
count++;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
80
int count = 0;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
87
if ((count % 8) == 0 && count != 0)
lib/virtual_oss/bt/cosdata-gen/cosdata.c
90
count++;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
94
count = 0;
lib/virtual_oss/bt/cosdata-gen/cosdata.c
97
if ((count % 8) == 0 && count != 0)
libexec/bootpd/dumptab.c
334
unsigned count;
libexec/bootpd/dumptab.c
338
count = ipptr->addrcount;
libexec/bootpd/dumptab.c
340
while (count > 0) {
libexec/bootpd/dumptab.c
342
count--;
libexec/bootpd/dumptab.c
343
if (count)
libexec/tftpd/tftp-file.c
106
convert_to_net(char *buffer, size_t count, int init)
libexec/tftpd/tftp-file.c
129
while (i < count) {
libexec/tftpd/tftp-file.c
135
in = fread(convbuffer, 1, count, file);
libexec/tftpd/tftp-file.c
159
if (i > count) {
libexec/tftpd/tftp-file.c
167
if (i < count) {
libexec/tftpd/tftp-file.c
171
return count;
libexec/tftpd/tftp-file.c
194
write_file(char *buffer, int count)
libexec/tftpd/tftp-file.c
198
return fwrite(buffer, 1, count, file);
libexec/tftpd/tftp-file.c
200
return convert_from_net(buffer, count);
libexec/tftpd/tftp-file.c
248
read_file(char *buffer, int count)
libexec/tftpd/tftp-file.c
252
return fread(buffer, 1, count, file);
libexec/tftpd/tftp-file.c
254
return convert_to_net(buffer, count, 0);
libexec/tftpd/tftp-file.c
54
convert_from_net(char *buffer, size_t count)
libexec/tftpd/tftp-file.c
63
for (i = 0; i < count; i++) {
libexec/tftpd/tftp-file.h
29
size_t write_file(char *buffer, int count);
libexec/tftpd/tftp-file.h
33
size_t read_file(char *buffer, int count);
sbin/camcontrol/camcontrol.c
2065
uint16_t count = 0;
sbin/camcontrol/camcontrol.c
2069
retval = get_ata_status(device, ccb, &error, &count, &lba, &ata_device,
sbin/camcontrol/camcontrol.c
5766
uint16_t *count, uint64_t *lba, uint8_t *device, uint8_t *status)
sbin/camcontrol/camcontrol.c
5817
*count = (desc->count_15_8 << 8) |
sbin/camcontrol/camcontrol.c
5837
*count &= 0xff;
sbin/camcontrol/camcontrol.c
5857
*count = 0;
sbin/camcontrol/camcontrol.c
5872
*count = val & 0xff;
sbin/camcontrol/camcontrol.c
5901
*count = res->sector_count;
sbin/camcontrol/camcontrol.c
5906
*count |= (res->sector_count_exp << 8);
sbin/camcontrol/camcontrol.c
6757
uint16_t count = 0;
sbin/camcontrol/camcontrol.c
6795
retval = get_ata_status(device, ccb, &error, &count, &lba,
sbin/camcontrol/camcontrol.c
6826
if (count & 0x4000) {
sbin/camcontrol/camcontrol.c
6963
uint16_t feature, count;
sbin/camcontrol/camcontrol.c
7214
count = (passes == 0) ? 1 : (passes >= 16) ? 0 : passes;
sbin/camcontrol/camcontrol.c
7216
count |= 0x80; /* INVERT PATTERN */
sbin/camcontrol/camcontrol.c
7218
count |= 0x10; /* FAILURE MODE */
sbin/camcontrol/camcontrol.c
7222
count = 0;
sbin/camcontrol/camcontrol.c
7224
count |= 0x10; /* FAILURE MODE */
sbin/camcontrol/camcontrol.c
7228
count = 0;
sbin/camcontrol/camcontrol.c
7230
count |= 0x10; /* FAILURE MODE */
sbin/camcontrol/camcontrol.c
7234
count = 1; /* CLEAR SANITIZE OPERATION FAILED */
sbin/camcontrol/camcontrol.c
7250
/*sector_count*/count,
sbin/camcontrol/camcontrol.c
9334
uint16_t count = 0;
sbin/camcontrol/camcontrol.c
9338
retval = get_ata_status(device, ccb, &error, &count, &lba, &ata_device,
sbin/camcontrol/camcontrol.c
9356
switch (count) {
sbin/camcontrol/camcontrol.c
9385
printf("Unknown mode 0x%02x\n", count);
sbin/camcontrol/camcontrol.h
119
void arg_put(void *hook, int letter, void *arg, int count, char *name);
sbin/camcontrol/camcontrol.h
76
uint16_t *count, uint64_t *lba, uint8_t *device,
sbin/camcontrol/epc.c
277
uint16_t count = 0;
sbin/camcontrol/epc.c
459
retval = get_ata_status(device, ccb, &error, &count, &lba, &ata_device,
sbin/camcontrol/epc.c
468
nitems(epc_power_cond_map), count);
sbin/camcontrol/epc.c
475
else if (count == ATA_PM_ACTIVE_IDLE) {
sbin/camcontrol/epc.c
479
switch (count) {
sbin/camcontrol/epc.c
491
printf("(0x%02x)\n", count);
sbin/camcontrol/epc.c
526
uint16_t count = 0;
sbin/camcontrol/epc.c
541
count = power_cond;
sbin/camcontrol/epc.c
544
count = power_cond;
sbin/camcontrol/epc.c
556
count = power_src;
sbin/camcontrol/epc.c
569
/*sector_count*/ count,
sbin/camcontrol/modeedit.c
148
editentry_create(void *hook __unused, int letter, void *arg, int count,
sbin/camcontrol/modeedit.c
163
newentry->size = count; /* Placeholder; not accurate. */
sbin/camcontrol/modeedit.c
170
editentry_update(void *hook __unused, int letter, void *arg, int count,
sbin/camcontrol/modeedit.c
179
dest->size = count; /* We get the real size now. */
sbin/camcontrol/modeedit.c
198
editentry_create_desc(void *hook __unused, int letter, void *arg, int count,
sbin/camcontrol/modeedit.c
213
newentry->size = count;
sbin/camcontrol/modeedit.c
95
int count, char *name);
sbin/camcontrol/modeedit.c
97
int count, char *name);
sbin/camcontrol/modeedit.c
99
int count, char *name);
sbin/camcontrol/util.c
110
arg_put(void *hook __unused, int letter, void *arg, int count, char *name)
sbin/camcontrol/util.c
127
p = calloc(1, count + 1);
sbin/camcontrol/util.c
133
strlcpy(p, (char *)arg, count + 1);
sbin/camcontrol/util.c
137
for (i = count - 1; i >= 0; i--)
sbin/devd/devd.cc
682
int count;
sbin/devd/devd.cc
696
count = 0;
sbin/devd/devd.cc
700
count--;
sbin/devd/devd.cc
702
count++;
sbin/devd/devd.cc
704
} while (count > 0 && *src);
sbin/dhclient/alloc.c
60
new_hash_table(int count)
sbin/dhclient/alloc.c
66
(count * sizeof(struct hash_bucket *)));
sbin/dhclient/alloc.c
69
rval->hash_count = count;
sbin/dhclient/dhclient.c
2839
int count = 0;
sbin/dhclient/dhclient.c
2842
count++;
sbin/dhclient/dhclient.c
2846
return (count);
sbin/dhclient/dispatch.c
158
int count, live_interfaces, i, to_msec, nfds = 0;
sbin/dhclient/dispatch.c
221
count = poll(fds, nfds, to_msec);
sbin/dhclient/dispatch.c
224
if (count == -1) {
sbin/dhclient/parse.c
252
size_t valsize, count = 0;
sbin/dhclient/parse.c
264
if (count) {
sbin/dhclient/parse.c
309
} while (++count != *max);
sbin/dhclient/parse.c
314
bufp = malloc(count * size / 8);
sbin/dhclient/parse.c
317
s = bufp + count - size / 8;
sbin/dhclient/parse.c
318
*max = count;
sbin/dump/dump.h
132
int rmtwrite(const char *buf, int count);
sbin/dump/dumprmt.c
214
rmtread(char *buf, int count)
sbin/dump/dumprmt.c
219
(void)snprintf(line, sizeof (line), "R%d\n", count);
sbin/dump/dumprmt.c
233
rmtwrite(const char *buf, int count)
sbin/dump/dumprmt.c
237
(void)snprintf(line, sizeof (line), "W%d\n", count);
sbin/dump/dumprmt.c
239
write(rmtape, buf, count);
sbin/dump/dumprmt.c
244
rmtwrite0(int count)
sbin/dump/dumprmt.c
248
(void)snprintf(line, sizeof (line), "W%d\n", count);
sbin/dump/dumprmt.c
253
rmtwrite1(const char *buf, int count)
sbin/dump/dumprmt.c
256
write(rmtape, buf, count);
sbin/dump/dumprmt.c
292
rmtioctl(int cmd, int count)
sbin/dump/dumprmt.c
296
if (count < 0)
sbin/dump/dumprmt.c
298
(void)snprintf(buf, sizeof (buf), "I%d\n%d\n", cmd, count);
sbin/dump/tape.c
149
wp->count = 1;
sbin/dump/tape.c
161
wp->req[trecno].count = 1;
sbin/dump/tape.c
182
wp->req[trecno].count = avail;
sbin/dump/tape.c
230
wp->req[trecno].count = 0; /* Sentinel */
sbin/dump/tape.c
284
wp->count = lastspclrec + blks + 1 - spcl.c_tapea;
sbin/dump/tape.c
414
for (p = wp->req; p->count > 0; p += p->count) {
sbin/dump/tape.c
419
q += q->count;
sbin/dump/tape.c
424
prev->count -= 1;
sbin/dump/tape.c
428
q->count = 0;
sbin/dump/tape.c
432
q->count = 1;
sbin/dump/tape.c
450
q->count = 1;
sbin/dump/tape.c
459
prev->count * (TP_BSIZE / DEV_BSIZE);
sbin/dump/tape.c
639
spcl.c_count = wp->count;
sbin/dump/tape.c
784
trecno += p->count, p += p->count) {
sbin/dump/tape.c
787
p->count * TP_BSIZE);
sbin/dump/tape.c
789
if (p->count != 1 || atomic_read(cmd,
sbin/dump/tape.c
87
int count;
sbin/dump/tape.c
872
atomic_read(int fd, void *buf, int count)
sbin/dump/tape.c
874
int got, need = count;
sbin/dump/tape.c
878
return (got < 0 ? got : count - need);
sbin/dump/tape.c
886
atomic_write(int fd, const void *buf, int count)
sbin/dump/tape.c
888
int got, need = count;
sbin/dump/tape.c
892
return (got < 0 ? got : count - need);
sbin/dump/tape.c
95
int count; /* count to next header (used for TS_TAPE */
sbin/dump/traverse.c
616
int i, j, count, blks, tbperdb;
sbin/dump/traverse.c
622
count = blks;
sbin/dump/traverse.c
624
count = i + TP_NINDIR;
sbin/dump/traverse.c
625
assert(count <= TP_NINDIR + i);
sbin/dump/traverse.c
626
for (j = i; j < count; j++)
sbin/dump/traverse.c
631
spcl.c_count = count - i;
sbin/dump/traverse.c
634
for (j = i; j < count; j += tbperdb, bp++)
sbin/dump/traverse.c
636
if (j + tbperdb <= count)
sbin/dump/traverse.c
639
dumpblock(*bp, (count - j) * TP_BSIZE);
sbin/dump/traverse.c
653
int i, j, count, resid, blks, tbperdb, added;
sbin/dump/traverse.c
675
count = blks;
sbin/dump/traverse.c
677
count = i + TP_NINDIR;
sbin/dump/traverse.c
678
assert(count <= TP_NINDIR + i);
sbin/dump/traverse.c
679
for (j = i; j < count; j++)
sbin/dump/traverse.c
684
spcl.c_count = count - i;
sbin/dump/traverse.c
685
if (last && count == blks && !writingextdata)
sbin/dump/traverse.c
689
for (j = i; j < count; j += tbperdb, bp++)
sbin/dump/traverse.c
691
if (j + tbperdb <= count)
sbin/dump/traverse.c
694
dumpblock(*bp, (count - j) * TP_BSIZE);
sbin/dump/traverse.c
698
if (last && count == blks && !writingextdata) {
sbin/dumpfs/dumpfs.c
481
int count, j;
sbin/dumpfs/dumpfs.c
483
for (count = i = 0, p = vp; i < max; i++)
sbin/dumpfs/dumpfs.c
485
if (count)
sbin/dumpfs/dumpfs.c
486
printf(",%s", count % 6 ? " " : "\n\t");
sbin/dumpfs/dumpfs.c
487
count++;
sbin/fsck_msdosfs/fat.c
118
return (lbp->count);
sbin/fsck_msdosfs/fat.c
133
lbp->count = bits;
sbin/fsck_msdosfs/fat.c
135
lbp->count = 0;
sbin/fsck_msdosfs/fat.c
84
size_t count; /* Total set bits in the map */
sbin/fsck_msdosfs/fat.c
95
lbp->count--;
sbin/hastd/refcnt.h
38
refcnt_init(refcnt_t *count, unsigned int v)
sbin/hastd/refcnt.h
41
*count = v;
sbin/hastd/refcnt.h
45
refcnt_acquire(refcnt_t *count)
sbin/hastd/refcnt.h
48
atomic_add_acq_int(count, 1);
sbin/hastd/refcnt.h
52
refcnt_release(refcnt_t *count)
sbin/hastd/refcnt.h
57
old = atomic_fetchadd_int(count, -1);
sbin/ifconfig/af_inet6.c
369
int count = ci->ifa_prefered != ND6_INFINITE_LIFETIME;
sbin/ifconfig/af_inet6.c
370
count += ci->ifa_valid != ND6_INFINITE_LIFETIME;
sbin/ifconfig/af_inet6.c
371
if (count == 0)
sbin/ifconfig/ifconfig_netlink.c
135
uint32_t count;
sbin/ifconfig/ifconfig_netlink.c
179
ifmap->count++;
sbin/ifconfig/ifconfig_netlink.c
180
iface->idx = ifmap->count;
sbin/ifconfig/ifconfig_netlink.c
236
uint32_t count = 0;
sbin/ifconfig/ifconfig_netlink.c
249
ifa->idx = ++count;
sbin/ifconfig/ifconfig_netlink.c
461
struct iface **sorted_ifaces = snl_allocz(&ss, ifmap->count * sizeof(void *));
sbin/ifconfig/ifconfig_netlink.c
465
if (num == ifmap->count)
sbin/ifconfig/ifconfig_netlink.c
469
qsort(sorted_ifaces, ifmap->count, sizeof(void *), cmp_iface);
sbin/ifconfig/ifconfig_netlink.c
472
for (uint32_t i = 0, num = 0; i < ifmap->count; i++) {
sbin/ipf/common/ipf_y.y
2113
int count;
sbin/ipf/common/ipf_y.y
2118
count = nrules;
sbin/ipf/common/ipf_y.y
2120
for (f1 = frc; count > 0; count--, f1 = f1->fr_next) {
sbin/ipf/ipf/ipfcomp.c
1207
emitGroup(rn, dir, m, fr1, group, count, 0);
sbin/ipf/ipf/ipfcomp.c
1209
emitGroup(rn, dir, m, fr1, group, 0, count);
sbin/ipf/ipf/ipfcomp.c
151
count++;
sbin/ipf/ipf/ipfcomp.c
21
static int count = 0;
sbin/ipf/ipf/ipfcomp.c
81
if (count == 0) {
sbin/ipf/ipf/ipfcomp.c
971
u_int count;
sbin/ipf/ipf/ipfcomp.c
973
for (count = 0, fr1 = top; fr1 != NULL; fr1 = fr1->fr_next) {
sbin/ipf/ipf/ipfcomp.c
975
count++;
sbin/ipf/ipf/ipfcomp.c
977
count++;
sbin/ipf/ipf/ipfcomp.c
981
emitGroup(-2, dir, m, fr1, group, count, 0);
sbin/ipf/ipf/ipfcomp.c
983
emitGroup(-2, dir, m, fr1, group, 0, count);
sbin/ipfw/ipfw2.c
2367
int count, l, portcnt, pf;
sbin/ipfw/ipfw2.c
2369
count = portcnt = 0;
sbin/ipfw/ipfw2.c
2380
count++;
sbin/ipfw/ipfw2.c
2384
if (count == 0)
sbin/ipfw/ipfw2.c
2387
l > 0 && count > 0; l -= F_LEN(cmd), cmd += F_LEN(cmd)) {
sbin/ipfw/ipfw2.c
2393
count--;
sbin/ipfw/ipfw2.c
2590
bprintf(bp, " PARENT %u", d->count);
sbin/ipfw/ipfw2.c
3106
rcnt = ctlv->count;
sbin/ipfw/ipfw2.c
3262
uint32_t count;
sbin/ipfw/ipfw2.c
3323
for (i = 0; i < tstate->count; i++) {
sbin/ipfw/ipfw2.c
3334
if (tstate->count + 1 > tstate->size) {
sbin/ipfw/ipfw2.c
3349
tstate->count++;
sbin/ipfw/ipfw2.c
5788
qsort(ctlv + 1, ctlv->count, ctlv->objsize, compare_ntlv);
sbin/ipfw/ipfw2.c
5834
ntlv = bsearch(&key, (ctlv + 1), ctlv->count, ctlv->objsize,
sbin/ipfw/ipfw2.c
5903
if (ts.count != 0) {
sbin/ipfw/ipfw2.c
5905
tlen = ts.count * sizeof(ipfw_obj_ntlv);
sbin/ipfw/ipfw2.c
5915
ctlv->count = ts.count;
sbin/ipfw/ipfw2.c
5924
ctlv->count = 1;
sbin/ipfw/ipfw2.c
5932
ctlv->count = 1;
sbin/ipfw/ipfw2.c
6118
if (olh->count > 0)
sbin/ipfw/ipfw2.c
6123
for (i = 0; i < olh->count; i++) {
sbin/ipfw/ipfw2.c
6127
(ipfw_obj_ntlv *)(olh + 1), olh->count,
sbin/ipfw/ipfw2.c
6354
qsort(olh + 1, olh->count, olh->objsize, ifinfo_cmp);
sbin/ipfw/ipfw2.c
6357
for (i = 0; i < olh->count; i++) {
sbin/ipfw/nat.c
1104
qsort(olh + 1, olh->count, olh->objsize, natname_cmp);
sbin/ipfw/nat.c
1107
for (i = 0; i < olh->count; i++) {
sbin/ipfw/nat64clat.c
250
olh->count = 1;
sbin/ipfw/nat64clat.c
522
qsort(olh + 1, olh->count, olh->objsize,
sbin/ipfw/nat64clat.c
526
for (i = 0; i < olh->count; i++) {
sbin/ipfw/nat64lsn.c
103
if (stg->count == 0) {
sbin/ipfw/nat64lsn.c
113
for (i = 0; i < stg->count && sz > 0; i++) {
sbin/ipfw/nat64lsn.c
532
olh->count = 1;
sbin/ipfw/nat64lsn.c
887
qsort(olh + 1, olh->count, olh->objsize,
sbin/ipfw/nat64lsn.c
891
for (i = 0; i < olh->count; i++) {
sbin/ipfw/nat64stl.c
286
olh->count = 1;
sbin/ipfw/nat64stl.c
538
qsort(olh + 1, olh->count, olh->objsize,
sbin/ipfw/nat64stl.c
542
for (i = 0; i < olh->count; i++) {
sbin/ipfw/nptv6.c
275
olh->count = 1;
sbin/ipfw/nptv6.c
442
qsort(olh + 1, olh->count, olh->objsize, nptv6name_cmp);
sbin/ipfw/nptv6.c
445
for (i = 0; i < olh->count; i++) {
sbin/ipfw/tables.c
1021
count++;
sbin/ipfw/tables.c
1025
error = table_do_modify_record(cmd, oh, tent_buf, count, atomic);
sbin/ipfw/tables.c
1042
for (i = 0; i < count; ptent++, i++) {
sbin/ipfw/tables.c
1728
qsort(olh + 1, olh->count, olh->objsize,
sbin/ipfw/tables.c
1732
for (i = 0; i < olh->count; i++) {
sbin/ipfw/tables.c
1790
uint32_t count;
sbin/ipfw/tables.c
1799
count = i->count;
sbin/ipfw/tables.c
1800
while (count > 0) {
sbin/ipfw/tables.c
1803
count--;
sbin/ipfw/tables.c
2027
for (i = 0; i < olh->count; i++) {
sbin/ipfw/tables.c
2074
qsort(v, olh->count, olh->objsize, compare_values);
sbin/ipfw/tables.c
2075
for (i = 0; i < olh->count; i++) {
sbin/ipfw/tables.c
735
uint32_t count;
sbin/ipfw/tables.c
752
d->size, d->count, d->itemsize);
sbin/ipfw/tables.c
756
d->size, d->count,
sbin/ipfw/tables.c
763
d->count, d->itemsize);
sbin/ipfw/tables.c
767
d->count, d->itemsize, d->itemsize6);
sbin/ipfw/tables.c
809
printf(" items: %u, size: %u\n", i->count, i->size);
sbin/ipfw/tables.c
831
d.count = tainfo->count4;
sbin/ipfw/tables.c
849
d.count = tainfo->count6;
sbin/ipfw/tables.c
898
ipfw_obj_tentry *tent, int count, int atomic)
sbin/ipfw/tables.c
907
sz = sizeof(*ctlv) + sizeof(*tent) * count;
sbin/ipfw/tables.c
908
if (count == 1) {
sbin/ipfw/tables.c
921
ctlv->count = count;
sbin/ipfw/tables.c
927
memcpy(ctlv + 1, tent, sizeof(*tent) * count);
sbin/ipfw/tables.c
929
for (i = 0; i < count; i++, tent++) {
sbin/ipfw/tables.c
940
memcpy(tent_base, ctlv + 1, sizeof(*tent) * count);
sbin/ipfw/tables.c
957
int cmd, count, error, i, ignored;
sbin/ipfw/tables.c
976
count = (add != 0) ? ac / 2 + 1 : ac;
sbin/ipfw/tables.c
978
if (count <= 1) {
sbin/ipfw/tables.c
984
if ((tent_buf = calloc(count, sizeof(tent))) == NULL)
sbin/ipfw/tables.c
991
count = 0;
sbin/pfctl/pfctl.c
2128
size_t count = nitems(creators);
sbin/pfctl/pfctl.c
2130
ret = pfctl_get_creatorids(pfh, creators, &count);
sbin/pfctl/pfctl.c
2135
for (size_t i = 0; i < count; i++)
sbin/pfctl/pfctl_parser.c
696
sn->conn, sn->conn_rate.count / 1000,
sbin/pfctl/pfctl_parser.c
697
(sn->conn_rate.count % 1000) / 100, sn->conn_rate.seconds);
sbin/pfctl/pfctl_parser.c
978
int count = 0;
sbin/pfctl/pfctl_parser.c
982
printf("%sall", count++ ? ", " : "");
sbin/pfctl/pfctl_parser.c
984
printf("%smatches", count++ ? ", " : "");
sbin/pfctl/pfctl_parser.c
986
printf("%suser", count++ ? ", " : "");
sbin/pfctl/pfctl_parser.c
988
printf("%sto pflog%u", count++ ? ", " : "",
sbin/pfctl/tests/pfctl_test.c
74
ssize_t count;
sbin/pfctl/tests/pfctl_test.c
79
while ((count = read(fd, buffer, sizeof(buffer) - 1)) > 0) {
sbin/pfctl/tests/pfctl_test.c
80
sbuf_bcat(sb, buffer, count);
sbin/pfctl/tests/pfctl_test.c
82
ATF_REQUIRE_ERRNO(0, count == 0 && "Should have reached EOF");
sbin/route/route.c
1444
char *buf, *lim, *next, count = 0;
sbin/route/route.c
1459
if (errno == ENOMEM && count++ < 10) {
sbin/route/route.c
498
int mib[7], rlen, seqno, count = 0;
sbin/route/route.c
520
if (errno == ENOMEM && count++ < 10) {
sbin/routed/rtquery/rtquery.c
62
u_int32_t count[2]; /* # of bits, modulo 2^64 (LSB 1st) */
sbin/umount/umount.c
492
int i, count;
sbin/umount/umount.c
507
count = 0;
sbin/umount/umount.c
524
count++;
sbin/umount/umount.c
535
if (what == CHECKUNIQUE && count == 1)
sbin/veriexec/manifest_parser.y
228
convert(char *fp, unsigned int count, unsigned char *out)
sbin/veriexec/manifest_parser.y
233
for (i = 0; i < count; i++) {
sbin/veriexec/manifest_parser.y
40
static int convert(char *fp, unsigned int count, unsigned char *out);
secure/lib/libcrypt/crypt-des.c
446
do_des( u_int32_t l_in, u_int32_t r_in, u_int32_t *l_out, u_int32_t *r_out, int count)
secure/lib/libcrypt/crypt-des.c
455
if (count == 0) {
secure/lib/libcrypt/crypt-des.c
457
} else if (count > 0) {
secure/lib/libcrypt/crypt-des.c
467
count = -count;
secure/lib/libcrypt/crypt-des.c
492
while (count--) {
secure/lib/libcrypt/crypt-des.c
562
des_cipher(const char *in, char *out, u_long salt, int count)
secure/lib/libcrypt/crypt-des.c
580
retval = do_des(rawl, rawr, &l_out, &r_out, count);
secure/lib/libcrypt/crypt-des.c
592
u_int32_t count, salt, l, r0, r1, keybuf[2];
secure/lib/libcrypt/crypt-des.c
617
for (i = 1, count = 0L; i < 5; i++)
secure/lib/libcrypt/crypt-des.c
618
count |= ascii_to_bin(setting[i]) << ((i - 1) * 6);
secure/lib/libcrypt/crypt-des.c
646
count = 25;
secure/lib/libcrypt/crypt-des.c
664
if (do_des(0L, 0L, &r0, &r1, (int)count))
share/examples/kld/random_adaptor/random_adaptor_example.c
85
int count;
share/examples/kld/random_adaptor/random_adaptor_example.c
89
for (count = 0; count < c; count++)
share/examples/kld/random_adaptor/random_adaptor_example.c
90
b[count] = getRandomNumber();
share/examples/scsi_target/scsi_cmds.c
512
uint32_t count;
share/examples/scsi_target/scsi_cmds.c
527
count = rw_6->length;
share/examples/scsi_target/scsi_cmds.c
535
count = scsi_2btoul(rw_10->length);
share/examples/scsi_target/scsi_cmds.c
544
count = scsi_4btoul(rw_16->length);
share/examples/scsi_target/scsi_cmds.c
552
if (((off_t)(blkno + count)) > volume_size) {
share/examples/scsi_target/scsi_cmds.c
561
a_descr->total_len = count * sector_size;
share/examples/scsi_target/scsi_cmds.c
570
warnx("write %u blocks @ blkno " OFF_FMT, count, blkno);
share/examples/scsi_target/scsi_cmds.c
574
warnx("read %u blocks @ blkno " OFF_FMT, count, blkno);
stand/common/commands.c
550
ssize_t rv, count = 0;
stand/common/commands.c
565
count += rv;
stand/common/commands.c
568
printf("Received %zd bytes during %jd seconds\n", count, (intmax_t)end - start);
stand/common/install.c
74
int count, error, idx;
stand/common/install.c
76
count = 0;
stand/common/install.c
79
count++;
stand/common/install.c
84
*what = calloc(count + 1, sizeof(char *));
stand/common/install.c
88
for (idx = 0; idx < count; idx++) {
stand/efi/libefi/handles.c
43
EFI_HANDLE *aliases, int count)
stand/efi/libefi/handles.c
49
nentries += count;
stand/efi/loader/framebuffer.c
182
size_t count, maxcount = 1024;
stand/efi/loader/framebuffer.c
207
count = min(size, maxcount);
stand/efi/loader/framebuffer.c
210
EFI_PCI_IO_PASS_THROUGH_BAR, addr + ofs, count >> 2,
stand/efi/loader/framebuffer.c
223
EFI_PCI_IO_PASS_THROUGH_BAR, addr + ofs, count >> 2,
stand/efi/loader/framebuffer.c
235
for (idx = 0; idx < count; idx++) {
stand/efi/loader/framebuffer.c
241
ofs += count;
stand/efi/loader/framebuffer.c
242
size -= count;
stand/fdt/fdt_loader_cmd.c
1244
fdt_isprint(const void *data, int len, int *count)
stand/fdt/fdt_loader_cmd.c
1257
*count = 0;
stand/fdt/fdt_loader_cmd.c
1264
(*count)++;
stand/fdt/fdt_loader_cmd.c
1276
fdt_data_str(const void *data, int len, int count, char **buf)
stand/fdt/fdt_loader_cmd.c
1288
if (count > 1) {
stand/fdt/fdt_loader_cmd.c
1293
buf_len -= count - 1;
stand/fdt/fdt_loader_cmd.c
1296
buf_len += count * 2;
stand/fdt/fdt_loader_cmd.c
1300
buf_len += count * 2;
stand/fdt/fdt_loader_cmd.c
1344
int count, i, l;
stand/fdt/fdt_loader_cmd.c
1347
count = len / 4;
stand/fdt/fdt_loader_cmd.c
1355
if (count > 1) {
stand/fdt/fdt_loader_cmd.c
1357
l += (count - 1) * 1;
stand/fdt/fdt_loader_cmd.c
1360
l += count * 2;
stand/fdt/fdt_loader_cmd.c
1444
int count;
stand/fdt/fdt_loader_cmd.c
1451
if (fdt_isprint(data, len, &count))
stand/fdt/fdt_loader_cmd.c
1452
return (fdt_data_str(data, len, count, buf));
stand/ficl/dict.c
736
UNS16 code = (UNS16)si.count;
stand/ficl/dict.c
739
if (si.count == 0)
stand/ficl/dict.c
743
for (cp = (UNS8 *)si.cp; si.count && *cp; cp++, si.count--)
stand/ficl/dict.c
798
FICL_UNS nCmp = si.count;
stand/ficl/dict.c
814
if ( (pFW->nName == si.count)
stand/ficl/ficl.h
302
FICL_COUNT count;
stand/ficl/ficl.h
308
FICL_UNS count;
stand/ficl/ficl.h
312
#define SI_COUNT(si) (si.count)
stand/ficl/ficl.h
314
#define SI_SETLEN(si, len) (si.count = (FICL_UNS)(len))
stand/ficl/ficl.h
320
{si.cp = psz; si.count = (FICL_COUNT)strlen(psz);}
stand/ficl/ficl.h
325
{si.cp = pfs->text; si.count = pfs->count;}
stand/ficl/ficl.h
666
int strincmp(char *cp1, char *cp2, FICL_UNS count);
stand/ficl/float.c
837
FICL_COUNT count;
stand/ficl/float.c
857
count = (FICL_COUNT)SI_COUNT(si);
stand/ficl/float.c
860
while ((count--) && ((ch = *cp++) != 0))
stand/ficl/loader.c
506
int mode, fd, count;
stand/ficl/loader.c
514
count = stackPopINT(pVM->pStack); /* get count */
stand/ficl/loader.c
517
if ((count < 0) || (ptr == NULL)) {
stand/ficl/loader.c
523
name = (char *)malloc(count+1);
stand/ficl/loader.c
524
bcopy(ptr,name,count);
stand/ficl/loader.c
525
name[count] = 0;
stand/ficl/search.c
142
si.count = (FICL_COUNT)stackPopUNS(pVM->pStack);
stand/ficl/testmain.c
106
if (pFS->count > 0)
stand/ficl/testmain.c
145
if (pFilename->count <= 0)
stand/ficl/testmain.c
77
if (pFS->count > 0)
stand/ficl/tools.c
227
pc = (CELL *)alignPtr(sp->text + sp->count + 1) - 1;
stand/ficl/tools.c
228
sprintf(cp, "s\" %.*s\"", sp->count, sp->text);
stand/ficl/tools.c
234
pc = (CELL *)alignPtr(sp->text + sp->count + 1) - 1;
stand/ficl/tools.c
235
sprintf(cp, "c\" %.*s\"", sp->count, sp->text);
stand/ficl/tools.c
535
if (!strincmp(si.cp, "i", si.count))
stand/ficl/tools.c
539
else if (!strincmp(si.cp, "g", si.count))
stand/ficl/tools.c
543
else if (!strincmp(si.cp, "l", si.count))
stand/ficl/tools.c
558
else if (!strincmp(si.cp, "o", si.count))
stand/ficl/tools.c
562
else if (!strincmp(si.cp, "q", si.count))
stand/ficl/tools.c
567
else if (!strincmp(si.cp, "x", si.count))
stand/ficl/tools.c
574
int count = pVM->tib.end - cp;
stand/ficl/tools.c
577
ret = ficlExecC(pVM, cp, count);
stand/ficl/vm.c
279
spDest->count = (FICL_COUNT)SI_COUNT(si);
stand/ficl/vm.c
317
FICL_UNS count = 0;
stand/ficl/vm.c
338
count++;
stand/ficl/vm.c
342
SI_SETLEN(si, count);
stand/ficl/vm.c
772
int strincmp(char *cp1, char *cp2, FICL_UNS count)
stand/ficl/vm.c
776
for (; 0 < count; ++cp1, ++cp2, --count)
stand/ficl/words.c
1612
if (si.count == 0)
stand/ficl/words.c
211
FICL_COUNT count= (FICL_COUNT)SI_COUNT(si);
stand/ficl/words.c
215
if (count > 1)
stand/ficl/words.c
221
count--;
stand/ficl/words.c
226
count--;
stand/ficl/words.c
234
if ((count > 0) && (cp[count-1] == '.')) /* detect & remove trailing decimal */
stand/ficl/words.c
237
count--;
stand/ficl/words.c
240
if (count == 0) /* detect "+", "-", ".", "+." etc */
stand/ficl/words.c
243
while ((count--) && ((ch = *cp++) != '\0'))
stand/ficl/words.c
2594
cp += sp->count + 1;
stand/ficl/words.c
2613
dictAllot(dp, sp->count + sizeof(FICL_COUNT));
stand/ficl/words.c
2639
FICL_COUNT count;
stand/ficl/words.c
2646
count = sp->count;
stand/ficl/words.c
2649
PUSHUNS(count);
stand/ficl/words.c
2650
cp += count + 1;
stand/ficl/words.c
2923
sp->count = 0;
stand/ficl/words.c
2947
sp->text[sp->count++] = digit_to_char(rem);
stand/ficl/words.c
2966
sp->text[sp->count] = 0;
stand/ficl/words.c
2970
PUSHUNS(sp->count);
stand/ficl/words.c
2996
sp->text[sp->count++] = digit_to_char(rem);
stand/ficl/words.c
3019
sp->text[sp->count++] = (char) i;
stand/ficl/words.c
3040
sp->text[sp->count++] = '-';
stand/ficl/words.c
3061
FICL_UNS count;
stand/ficl/words.c
3072
count = POPUNS();
stand/ficl/words.c
3076
for (ch = *cp; count > 0; ch = *++cp, count--)
stand/ficl/words.c
3097
PUSHUNS(count);
stand/ficl/words.c
3154
FICL_UNS count, len;
stand/ficl/words.c
3171
count = stackPopINT(pVM->pStack);
stand/ficl/words.c
3174
len = (count < len) ? count : len;
stand/ficl/words.c
3380
PUSHUNS(sp->count);
stand/ficl/words.c
3407
si.count = (FICL_COUNT)stackPopUNS(pVM->pStack);
stand/ficl/words.c
3436
FICL_UNS count;
stand/ficl/words.c
3444
count = POPUNS();
stand/ficl/words.c
3447
IGNORE(count);
stand/ficl/words.c
3450
result = ficlExecC(pVM, cp, count);
stand/ficl/words.c
3476
PUSHUNS(sp->count);
stand/ficl/words.c
3495
FICL_UNS count = stackPopUNS(pVM->pStack);
stand/ficl/words.c
3497
char *pDest = (char *)ficlMalloc(count + 1);
stand/ficl/words.c
3507
strncpy(pDest, cp, count);
stand/ficl/words.c
3508
pDest[count] = '\0';
stand/ficl/words.c
3546
sp->count = (FICL_COUNT)SI_COUNT(si);
stand/ficl/words.c
3549
sp->text[sp->count] = 0;
stand/ficl/words.c
3700
si.count = stackPopINT(pVM->pStack);
stand/ficl/words.c
4927
dictAppendWord(dp, "count", count, FW_DEFAULT);
stand/i386/common/drv.c
57
packet.count = nblk;
stand/i386/common/drv.c
82
packet.count = nblk;
stand/i386/common/edd.h
38
uint16_t count;
stand/i386/common/edd.h
46
uint16_t count;
stand/i386/libi386/biosdisk.c
1147
packet.count = blks;
stand/i386/libi386/biosmemdisk.c
128
snprintf(line, sizeof(line), "hint.md.%d.physaddr", count);
stand/i386/libi386/biosmemdisk.c
131
snprintf(line, sizeof(line), "hint.md.%d.len", count);
stand/i386/libi386/biosmemdisk.c
134
count++;
stand/i386/libi386/biosmemdisk.c
70
int hook = 0, count = 0, sector_size;
stand/i386/libi386/biospnp.c
160
int count;
stand/i386/libi386/biospnp.c
168
count = 1000;
stand/i386/libi386/biospnp.c
169
while((Node != 0xff) && (count-- > 0)) {
stand/i386/libi386/pread.c
60
int count, got;
stand/i386/libi386/pread.c
62
count = (rsize < BUFSIZE ? rsize : BUFSIZE);
stand/i386/libi386/pread.c
64
got = read(fd, buf, count);
stand/i386/libi386/pread.c
73
if (got < count)
stand/kboot/include/host_syscall.h
165
int host_getdents64(int fd, void *dirp, int count);
stand/kboot/libkboot/host_syscalls.c
46
host_getdents64(int fd, void *dirp, int count)
stand/kboot/libkboot/host_syscalls.c
48
return host_syscall(SYS_getdents64, fd, (uintptr_t)dirp, count);
stand/kshim/bsd_busspace.c
101
bus_size_t offset, uint32_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
105
while (count--) {
stand/kshim/bsd_busspace.c
151
bus_size_t offset, uint8_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
155
while (count--) {
stand/kshim/bsd_busspace.c
163
bus_size_t offset, uint8_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
167
while (count--) {
stand/kshim/bsd_busspace.c
175
bus_size_t offset, uint32_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
181
while (count >= BURST) {
stand/kshim/bsd_busspace.c
186
count -= BURST;
stand/kshim/bsd_busspace.c
189
while (count--) {
stand/kshim/bsd_busspace.c
197
bus_size_t offset, uint32_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
203
while (count >= BURST) {
stand/kshim/bsd_busspace.c
208
count -= BURST;
stand/kshim/bsd_busspace.c
211
while (count--) {
stand/kshim/bsd_busspace.c
50
bus_size_t offset, uint8_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
52
while (count--) {
stand/kshim/bsd_busspace.c
59
bus_size_t offset, uint16_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
61
while (count--) {
stand/kshim/bsd_busspace.c
68
bus_size_t offset, uint32_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
72
while (count--) {
stand/kshim/bsd_busspace.c
79
bus_size_t offset, uint8_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
81
while (count--) {
stand/kshim/bsd_busspace.c
90
bus_size_t offset, uint16_t *datap, bus_size_t count)
stand/kshim/bsd_busspace.c
92
while (count--) {
stand/kshim/bsd_kernel.h
507
void bus_space_read_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
508
void bus_space_read_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
509
void bus_space_read_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
511
void bus_space_write_multi_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint8_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
512
void bus_space_write_multi_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint16_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
513
void bus_space_write_multi_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset, uint32_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
515
void bus_space_read_region_1(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset, uint8_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
516
void bus_space_write_region_1(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset, uint8_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
517
void bus_space_read_region_4(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset, uint32_t *datap, bus_size_t count);
stand/kshim/bsd_kernel.h
518
void bus_space_write_region_4(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset, uint32_t *datap, bus_size_t count);
stand/liblua/lstd.c
107
fread(void *ptr, size_t size, size_t count, FILE *stream)
stand/liblua/lstd.c
113
r = (size_t)read(stream->fd, ptr, size * count);
stand/liblua/lstd.c
120
fwrite(const void *ptr, size_t size, size_t count, FILE *stream)
stand/liblua/lstd.c
126
w = write(stream->fd, ptr, size * count);
stand/liblua/lstd.h
72
size_t fread(void *ptr, size_t size, size_t count, FILE *stream);
stand/liblua/lstd.h
73
size_t fwrite(const void *ptr, size_t size, size_t count, FILE *stream);
stand/libsa/nfs.c
402
uint32_t count;
stand/libsa/nfs.c
446
x = ntohl(repl->count);
stand/libsa/smbios.c
145
size_t count;
stand/libsa/smbios.c
552
dmi < ep && i < smbios.count; i++) {
stand/libsa/smbios.c
591
smbios.count = -1;
stand/libsa/smbios.c
605
smbios.count = SMBIOS_GET16(saddr, 0x1c);
stand/libsa/smbios.c
654
dmi < smbios.addr + smbios.length && i < smbios.count; i++)
stand/libsa/tftp.c
583
int needblock, count;
stand/libsa/tftp.c
623
count = (size < inbuffer ? size : inbuffer);
stand/libsa/tftp.c
625
addr, count);
stand/libsa/tftp.c
627
addr = (char *)addr + count;
stand/libsa/tftp.c
628
tftpfile->off += count;
stand/libsa/tftp.c
629
size -= count;
stand/libsa/tftp.c
630
res -= count;
stand/libsa/tftp.c
632
if ((tftpfile->islastblock) && (count == inbuffer))
stand/libsa/zfs/zfsimpl.c
1071
size_t count;
stand/libsa/zfs/zfsimpl.c
1073
count = 0;
stand/libsa/zfs/zfsimpl.c
1075
count++;
stand/libsa/zfs/zfsimpl.c
1077
return (count);
stand/libsa/zfs/zfsimpl.c
1087
size_t count;
stand/libsa/zfs/zfsimpl.c
1112
count = vdev_child_count(top_vdev);
stand/libsa/zfs/zfsimpl.c
1113
if (top_vdev->v_nchildren < count)
stand/libsa/zfs/zfsimpl.c
1114
top_vdev->v_nchildren = count;
sys/amd64/acpica/acpi_machdep.c
170
int i, count;
sys/amd64/acpica/acpi_machdep.c
210
count = (xsdt->Header.Length - sizeof(ACPI_TABLE_HEADER)) /
sys/amd64/acpica/acpi_machdep.c
212
for (i = 0; i < count; i++)
sys/amd64/acpica/acpi_machdep.c
225
count = (rsdt->Header.Length - sizeof(ACPI_TABLE_HEADER)) /
sys/amd64/acpica/acpi_machdep.c
227
for (i = 0; i < count; i++)
sys/amd64/amd64/db_trace.c
245
db_addr_t pc, register_t sp, int count)
sys/amd64/amd64/db_trace.c
253
if (count == -1)
sys/amd64/amd64/db_trace.c
254
count = 1024;
sys/amd64/amd64/db_trace.c
257
while (count-- && !db_pager_quit) {
sys/amd64/amd64/db_trace.c
363
db_trace_thread(struct thread *thr, int count)
sys/amd64/amd64/db_trace.c
371
count));
sys/amd64/amd64/machdep.c
1683
int count, error, i;
sys/amd64/amd64/machdep.c
1692
count = *((uint32_t *)smapbase - 1) / sizeof(*smapbase);
sys/amd64/amd64/machdep.c
1694
for (i = 0; i < count; i++) {
sys/amd64/amd64/pmap.c
10501
pmap_map_io_transient(vm_page_t page[], void *vaddr[], int count,
sys/amd64/amd64/pmap.c
10514
for (i = 0; i < count; i++) {
sys/amd64/amd64/pmap.c
10541
for (i = 0; i < count; i++) {
sys/amd64/amd64/pmap.c
10564
pmap_unmap_io_transient(vm_page_t page[], void *vaddr[], int count,
sys/amd64/amd64/pmap.c
10572
for (i = 0; i < count; i++) {
sys/amd64/amd64/pmap.c
1580
pmap_resident_count_adj(pmap_t pmap, int count)
sys/amd64/amd64/pmap.c
1584
KASSERT(pmap->pm_stats.resident_count + count >= 0,
sys/amd64/amd64/pmap.c
1586
pmap->pm_stats.resident_count, count));
sys/amd64/amd64/pmap.c
1587
pmap->pm_stats.resident_count += count;
sys/amd64/amd64/pmap.c
1591
pmap_pt_page_count_pinit(pmap_t pmap, int count)
sys/amd64/amd64/pmap.c
1593
KASSERT(pmap->pm_stats.resident_count + count >= 0,
sys/amd64/amd64/pmap.c
1595
pmap->pm_stats.resident_count, count));
sys/amd64/amd64/pmap.c
1596
pmap->pm_stats.resident_count += count;
sys/amd64/amd64/pmap.c
1600
pmap_pt_page_count_adj(pmap_t pmap, int count)
sys/amd64/amd64/pmap.c
1603
counter_u64_add(kernel_pt_page_count, count);
sys/amd64/amd64/pmap.c
1606
pmap_resident_count_adj(pmap, count);
sys/amd64/amd64/pmap.c
1607
counter_u64_add(user_pt_page_count, count);
sys/amd64/amd64/pmap.c
3651
pmap_invalidate_cache_pages(vm_page_t *pages, int count)
sys/amd64/amd64/pmap.c
3658
if (count >= PMAP_CLFLUSH_THRESHOLD / PAGE_SIZE ||
sys/amd64/amd64/pmap.c
3666
for (i = 0; i < count; i++) {
sys/amd64/amd64/pmap.c
3942
pmap_qenter(void *va, vm_page_t *ma, int count)
sys/amd64/amd64/pmap.c
3951
endpte = pte + count;
sys/amd64/amd64/pmap.c
3964
pmap_invalidate_range(kernel_pmap, sva, sva + count *
sys/amd64/amd64/pmap.c
3974
pmap_qremove(void *sva, int count)
sys/amd64/amd64/pmap.c
3979
while (count-- > 0) {
sys/amd64/amd64/pmap.c
8389
int count, md_gen, pvh_gen;
sys/amd64/amd64/pmap.c
8396
count = 0;
sys/amd64/amd64/pmap.c
8411
count++;
sys/amd64/amd64/pmap.c
8432
count++;
sys/amd64/amd64/pmap.c
8437
return (count);
sys/amd64/include/cpufunc.h
147
insb(u_int port, void *addr, size_t count)
sys/amd64/include/cpufunc.h
150
: "+D" (addr), "+c" (count)
sys/amd64/include/cpufunc.h
156
insw(u_int port, void *addr, size_t count)
sys/amd64/include/cpufunc.h
159
: "+D" (addr), "+c" (count)
sys/amd64/include/cpufunc.h
165
insl(u_int port, void *addr, size_t count)
sys/amd64/include/cpufunc.h
168
: "+D" (addr), "+c" (count)
sys/amd64/include/cpufunc.h
201
outsb(u_int port, const void *addr, size_t count)
sys/amd64/include/cpufunc.h
204
: "+S" (addr), "+c" (count)
sys/amd64/include/cpufunc.h
209
outsw(u_int port, const void *addr, size_t count)
sys/amd64/include/cpufunc.h
212
: "+S" (addr), "+c" (count)
sys/amd64/include/cpufunc.h
217
outsl(u_int port, const void *addr, size_t count)
sys/amd64/include/cpufunc.h
220
: "+S" (addr), "+c" (count)
sys/amd64/include/pmap.h
424
void pmap_invalidate_cache_pages(vm_page_t *pages, int count);
sys/amd64/include/pmap.h
442
void pmap_page_array_startup(long count);
sys/amd64/include/vmm.h
553
uint64_t count; /* rep=1 (%rcx), rep=0 (1) */
sys/amd64/include/vmm_dev.h
79
unsigned int count;
sys/amd64/include/xen/hypercall.h
169
mmu_update_t *req, unsigned int count, unsigned int *success_count,
sys/amd64/include/xen/hypercall.h
172
return _hypercall4(int, mmu_update, req, count, success_count, domid);
sys/amd64/include/xen/hypercall.h
177
struct mmuext_op *op, unsigned int count, unsigned int *success_count,
sys/amd64/include/xen/hypercall.h
180
return _hypercall4(int, mmuext_op, op, count, success_count, domid);
sys/amd64/include/xen/hypercall.h
293
int cmd, unsigned int count, const char *str)
sys/amd64/include/xen/hypercall.h
295
return _hypercall3(int, console_io, cmd, count, str);
sys/amd64/include/xen/hypercall.h
307
unsigned int cmd, void *uop, unsigned int count)
sys/amd64/include/xen/hypercall.h
309
return _hypercall3(int, grant_table_op, cmd, uop, count);
sys/amd64/linux/linux_proto.h
1248
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/amd64/linux/linux_proto.h
198
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/amd64/linux/linux_proto.h
373
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
sys/amd64/linux/linux_proto.h
411
char count_l_[PADL_(l_int)]; l_int count; char count_r_[PADR_(l_int)];
sys/amd64/linux/linux_proto.h
761
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
sys/amd64/linux/linux_systrace_args.c
1640
iarg[a++] = p->count; /* l_uint */
sys/amd64/linux/linux_systrace_args.c
2487
iarg[a++] = p->count; /* l_size_t */
sys/amd64/linux/linux_systrace_args.c
360
iarg[a++] = p->count; /* l_size_t */
sys/amd64/linux/linux_systrace_args.c
695
iarg[a++] = p->count; /* l_uint */
sys/amd64/linux/linux_systrace_args.c
780
iarg[a++] = p->count; /* l_int */
sys/amd64/linux32/linux32_proto.h
1314
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/amd64/linux32/linux32_proto.h
284
char count_l_[PADL_(l_int)]; l_int count; char count_r_[PADR_(l_int)];
sys/amd64/linux32/linux32_proto.h
295
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
sys/amd64/linux32/linux32_proto.h
445
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
sys/amd64/linux32/linux32_proto.h
620
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/amd64/linux32/linux32_proto.h
706
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
sys/amd64/linux32/linux32_proto.h
790
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/amd64/linux32/linux32_systrace_args.c
1301
iarg[a++] = p->count; /* l_size_t */
sys/amd64/linux32/linux32_systrace_args.c
1542
iarg[a++] = p->count; /* l_uint */
sys/amd64/linux32/linux32_systrace_args.c
1688
iarg[a++] = p->count; /* l_size_t */
sys/amd64/linux32/linux32_systrace_args.c
2596
iarg[a++] = p->count; /* l_size_t */
sys/amd64/linux32/linux32_systrace_args.c
574
iarg[a++] = p->count; /* l_int */
sys/amd64/linux32/linux32_systrace_args.c
600
iarg[a++] = p->count; /* l_uint */
sys/amd64/linux32/linux32_systrace_args.c
937
iarg[a++] = p->count; /* l_uint */
sys/amd64/vmm/amd/amdvi_hw.c
489
amdvi_dump_cmds(struct amdvi_softc *softc, int count)
sys/amd64/vmm/amd/amdvi_hw.c
496
device_printf(softc->dev, "Dump last %d command(s):\n", count);
sys/amd64/vmm/amd/amdvi_hw.c
503
for (i = 0; off != ctrl->cmd_tail && i < count; i++) {
sys/amd64/vmm/amd/amdvi_hw.c
68
static void amdvi_dump_cmds(struct amdvi_softc *softc, int count);
sys/amd64/vmm/amd/amdvi_hw.c
76
SYSCTL_INT(_hw_vmm_amdvi, OID_AUTO, count, CTLFLAG_RDTUN, &ivhd_count,
sys/amd64/vmm/amd/ivrs_drv.c
135
int *count;
sys/amd64/vmm/amd/ivrs_drv.c
137
count = (int *)arg;
sys/amd64/vmm/amd/ivrs_drv.c
139
(*count)++;
sys/amd64/vmm/amd/ivrs_drv.c
352
int i, j, count = 0;
sys/amd64/vmm/amd/ivrs_drv.c
373
ivrs_hdr_iterate_tbl(ivhd_count_iter, &count);
sys/amd64/vmm/amd/ivrs_drv.c
374
if (!count)
sys/amd64/vmm/amd/ivrs_drv.c
377
ivhd_hdrs = malloc(sizeof(void *) * count, M_DEVBUF,
sys/amd64/vmm/amd/ivrs_drv.c
379
for (i = 0; i < count; i++) {
sys/amd64/vmm/amd/svm.c
862
vis->count = svm_inout_str_count(regs, vmexit->u.inout.rep);
sys/amd64/vmm/intel/vmx.c
2660
vis->count = inout_str_count(vcpu, vis->inout.rep);
sys/arm/allwinner/aw_i2s.c
528
uint32_t count, size, readyptr, written, empty;
sys/arm/allwinner/aw_i2s.c
532
count = sndbuf_getready(play_buf);
sys/arm/allwinner/aw_i2s.c
538
if (empty > count / 2)
sys/arm/allwinner/aw_i2s.c
539
empty = count / 2;
sys/arm/allwinner/aw_i2s.c
553
uint32_t count, size, freeptr, recorded, available;
sys/arm/allwinner/aw_i2s.c
558
count = sndbuf_getfree(rec_buf);
sys/arm/allwinner/aw_i2s.c
563
if (available > count / 2)
sys/arm/allwinner/aw_i2s.c
564
available = count / 2;
sys/arm/allwinner/aw_thermal.c
510
int count, error;
sys/arm/allwinner/aw_thermal.c
520
count = MAX_CF_LEVELS;
sys/arm/allwinner/aw_thermal.c
521
error = CPUFREQ_LEVELS(cf_dev, sc->levels, &count);
sys/arm/allwinner/aw_thermal.c
522
if (error != 0 || count == 0)
sys/arm/allwinner/aw_thermal.c
524
sc->min_freq = sc->levels[count - 1].total_set.freq;
sys/arm/allwinner/aw_thermal.c
525
error = CPUFREQ_SET(cf_dev, &sc->levels[count - 1],
sys/arm/allwinner/aw_timer.c
334
uint32_t count;
sys/arm/allwinner/aw_timer.c
344
count = ((uint32_t)et->et_frequency * first) >> 32;
sys/arm/allwinner/aw_timer.c
346
count = sc->sc_period;
sys/arm/allwinner/aw_timer.c
350
timer_write_4(sc, TIMER_CURV_REG(0), count);
sys/arm/allwinner/if_awg.c
1349
awg_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/arm/allwinner/if_awg.c
230
static int awg_poll(if_t ifp, enum poll_cmd cmd, int count);
sys/arm/allwinner/if_emac.c
308
emac_rxeof(struct emac_softc *sc, int count)
sys/arm/allwinner/if_emac.c
318
for (; count > 0 &&
sys/arm/allwinner/if_emac.c
319
(if_getdrvflags(ifp) & IFF_DRV_RUNNING) != 0; count--) {
sys/arm/annapurna/alpine/alpine_pci_msix.c
292
al_msix_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm/annapurna/alpine/alpine_pci_msix.c
303
if ((powerof2(count) == 0) || (count > 8))
sys/arm/annapurna/alpine/alpine_pci_msix.c
306
if (vmem_alloc(sc->irq_alloc, count, M_FIRSTFIT | M_NOWAIT,
sys/arm/annapurna/alpine/alpine_pci_msix.c
322
for (i = irq_base; i < irq_base + count; i++) {
sys/arm/annapurna/alpine/alpine_pci_msix.c
330
vmem_free(sc->irq_alloc, irq_base, count);
sys/arm/annapurna/alpine/alpine_pci_msix.c
345
(int)irq_base + sc->irq_min, count);
sys/arm/annapurna/alpine/alpine_pci_msix.c
353
al_msix_release_msi(device_t dev, device_t child, int count,
sys/arm/annapurna/alpine/alpine_pci_msix.c
364
vmem_free(sc->irq_alloc, pos, count);
sys/arm/annapurna/alpine/alpine_pci_msix.c
365
for (i = 0; i < count; i++) {
sys/arm/arm/db_trace.c
136
db_trace_thread(struct thread *thr, int count)
sys/arm/arm/gic.c
1046
arm_gic_alloc_msi(device_t dev, u_int mbi_start, u_int mbi_count, int count,
sys/arm/arm/gic.c
1053
KASSERT(powerof2(count), ("%s: bad count", __func__));
sys/arm/arm/gic.c
1070
for (end_irq = irq; end_irq != irq + count; end_irq++) {
sys/arm/arm/gic.c
1097
for (i = 0; i < count; i++) {
sys/arm/arm/gic.c
1103
for (i = 0; i < count; i++)
sys/arm/arm/gic.c
1110
arm_gic_release_msi(device_t dev, int count, struct intr_irqsrc **isrc)
sys/arm/arm/gic.c
1119
for (i = 0; i < count; i++) {
sys/arm/arm/gic.c
1371
arm_gicv2m_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm/arm/gic.c
1379
sc->sc_spi_count, count, maxcount, srcs);
sys/arm/arm/gic.c
1388
arm_gicv2m_release_msi(device_t dev, device_t child, int count,
sys/arm/arm/gic.c
1391
return (GIC_RELEASE_MSI(device_get_parent(dev), count, isrc));
sys/arm/arm/gic.c
285
arm_gic_reserve_msi_range(device_t dev, u_int start, u_int count)
sys/arm/arm/gic.c
292
KASSERT((start + count) <= sc->nirqs,
sys/arm/arm/gic.c
294
start, count, sc->nirqs));
sys/arm/arm/gic.c
295
for (i = 0; i < count; i++) {
sys/arm/arm/gic.c
298
count + i));
sys/arm/arm/gic.c
301
count + i));
sys/arm/arm/gic.c
304
count + i));
sys/arm/arm/gic.c
453
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/arm/arm/gic.c
483
count = rle->count;
sys/arm/arm/gic.c
506
count, flags));
sys/arm/arm/minidump_machdep.c
157
uint32_t pa, prev_pa = 0, count = 0;
sys/arm/arm/minidump_machdep.c
279
if (!count) {
sys/arm/arm/minidump_machdep.c
281
count++;
sys/arm/arm/minidump_machdep.c
283
if (pa == (prev_pa + count * PAGE_SIZE))
sys/arm/arm/minidump_machdep.c
284
count++;
sys/arm/arm/minidump_machdep.c
287
count * PAGE_SIZE);
sys/arm/arm/minidump_machdep.c
290
count = 1;
sys/arm/arm/minidump_machdep.c
295
if (count) {
sys/arm/arm/minidump_machdep.c
296
error = blk_write(di, NULL, prev_pa, count * PAGE_SIZE);
sys/arm/arm/minidump_machdep.c
299
count = 0;
sys/arm/arm/mpcore_timer.c
184
uint32_t load, count;
sys/arm/arm/mpcore_timer.c
200
count = (uint32_t)((et->et_frequency * first) >> 32);
sys/arm/arm/mpcore_timer.c
202
count = load;
sys/arm/arm/mpcore_timer.c
205
tmr_prv_write_4(sc, PRV_TIMER_COUNT, count);
sys/arm/arm/pmap-v6.c
1822
pmap_qenter(void *va, vm_page_t *ma, int count)
sys/arm/arm/pmap-v6.c
1832
epte2p = pte2p + count;
sys/arm/arm/pmap-v6.c
1846
tlb_flush_range(sva, count * PAGE_SIZE);
sys/arm/arm/pmap-v6.c
1855
pmap_qremove(void *sva, int count)
sys/arm/arm/pmap-v6.c
1860
while (count-- > 0) {
sys/arm/arm/pmap-v6.c
2193
u_int idx, count;
sys/arm/arm/pmap-v6.c
2196
count = (pte1_index(eva) - idx + 1) * sizeof(pt1_entry_t);
sys/arm/arm/pmap-v6.c
2197
memcpy(dpte1p + idx, spte1p + idx, count);
sys/arm/arm/pmap-v6.c
2204
u_int idx, count;
sys/arm/arm/pmap-v6.c
2207
count = (pt2tab_index(eva) - idx + 1) * sizeof(pt2_entry_t);
sys/arm/arm/pmap-v6.c
2208
memcpy(dpte2p + idx, spte2p + idx, count);
sys/arm/arm/pmap-v6.c
2451
pt2_wirecount_set(vm_page_t m, uint32_t pte1_idx, uint16_t count)
sys/arm/arm/pmap-v6.c
2454
KASSERT(count <= NPTE2_IN_PT2,
sys/arm/arm/pmap-v6.c
2455
("%s: invalid count %u", __func__, count));
sys/arm/arm/pmap-v6.c
2461
m->ref_count += count;
sys/arm/arm/pmap-v6.c
2462
m->md.pt2_wirecount[pte1_idx & PT2PG_MASK] = count;
sys/arm/arm/pmap-v6.c
5106
pmap_pvh_wired_mappings(struct md_page *pvh, int count)
sys/arm/arm/pmap-v6.c
5121
count++;
sys/arm/arm/pmap-v6.c
5127
count++;
sys/arm/arm/pmap-v6.c
5132
return (count);
sys/arm/arm/pmap-v6.c
5144
int count;
sys/arm/arm/pmap-v6.c
5146
count = 0;
sys/arm/arm/pmap-v6.c
5148
return (count);
sys/arm/arm/pmap-v6.c
5150
count = pmap_pvh_wired_mappings(&m->md, count);
sys/arm/arm/pmap-v6.c
5152
count = pmap_pvh_wired_mappings(pa_to_pvh(VM_PAGE_TO_PHYS(m)),
sys/arm/arm/pmap-v6.c
5153
count);
sys/arm/arm/pmap-v6.c
5156
return (count);
sys/arm/arm/sp804.c
126
uint32_t count, reg;
sys/arm/arm/sp804.c
131
count = ((uint32_t)et->et_frequency * first) >> 32;
sys/arm/arm/sp804.c
133
sp804_timer_tc_write_4(SP804_TIMER2_LOAD, count);
sys/arm/arm/unwind.c
428
unsigned int count, reg;
sys/arm/arm/unwind.c
431
count = insn & INSN_POP_COUNT_MASK;
sys/arm/arm/unwind.c
441
sizeof(*vsp) * (4 + count)))
sys/arm/arm/unwind.c
443
for (reg = 4; reg <= 4 + count; reg++) {
sys/arm/broadcom/bcm2835/bcm2835_audio.c
259
int count = m.u.complete.count & 0xffff;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
260
int perr = (m.u.complete.count & (1U << 30)) != 0;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
263
m.u.complete.count, perr);
sys/arm/broadcom/bcm2835/bcm2835_audio.c
279
if ((ch->available_space + count)> VCHIQ_AUDIO_BUFFER_SIZE) {
sys/arm/broadcom/bcm2835/bcm2835_audio.c
282
ch->available_space, count, perr);
sys/arm/broadcom/bcm2835/bcm2835_audio.c
289
ch->available_space += count;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
290
ch->retrieved_samples += count;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
310
"worker %s\n", count, perr,
sys/arm/broadcom/bcm2835/bcm2835_audio.c
518
bcm2835_audio_write_samples(struct bcm2835_audio_chinfo *ch, void *buf, uint32_t count)
sys/arm/broadcom/bcm2835/bcm2835_audio.c
529
m.u.write.count = count;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
547
while (count > 0) {
sys/arm/broadcom/bcm2835/bcm2835_audio.c
548
int bytes = MIN((int)m.u.write.max_packet, (int)count);
sys/arm/broadcom/bcm2835/bcm2835_audio.c
555
count -= bytes;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
567
uint32_t count, size, readyptr;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
646
count = i_count = sndbuf_getready(ch->buffer)
sys/arm/broadcom/bcm2835/bcm2835_audio.c
674
if (readyptr + count > size) {
sys/arm/broadcom/bcm2835/bcm2835_audio.c
675
count = size - readyptr;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
677
if(count > ch->available_space){
sys/arm/broadcom/bcm2835/bcm2835_audio.c
678
count = ch->available_space;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
679
count -= (count % VCHIQ_AUDIO_PACKET_SIZE);
sys/arm/broadcom/bcm2835/bcm2835_audio.c
680
}else if (count > VCHIQ_AUDIO_PACKET_SIZE){
sys/arm/broadcom/bcm2835/bcm2835_audio.c
681
count -= (count % VCHIQ_AUDIO_PACKET_SIZE);
sys/arm/broadcom/bcm2835/bcm2835_audio.c
682
}else if (size > count + readyptr) {
sys/arm/broadcom/bcm2835/bcm2835_audio.c
683
count = 0;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
687
if (count % VCHIQ_AUDIO_PACKET_SIZE != 0) {
sys/arm/broadcom/bcm2835/bcm2835_audio.c
689
"size: %u readyptr: %u available: %u\n", count,
sys/arm/broadcom/bcm2835/bcm2835_audio.c
695
if (count == 0) {
sys/arm/broadcom/bcm2835/bcm2835_audio.c
699
count, i_count, readyptr, size);
sys/arm/broadcom/bcm2835/bcm2835_audio.c
705
bcm2835_audio_write_samples(ch, buf, count);
sys/arm/broadcom/bcm2835/bcm2835_audio.c
707
ch->unsubmittedptr = (ch->unsubmittedptr + count) %
sys/arm/broadcom/bcm2835/bcm2835_audio.c
709
ch->available_space -= count;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
710
ch->submitted_samples += count;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
711
long sub = count;
sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
1482
int *count)
sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
1518
*count = idx;
sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
1524
bcm2835_cpufreq_settings(device_t dev, struct cf_setting *sets, int *count)
sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
1528
if (sets == NULL || count == NULL)
sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
1538
memset(sets, CPUFREQ_VAL_UNKNOWN, sizeof(*sets) * (*count));
sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c
1540
bcm2835_cpufreq_make_freq_list(dev, sets, count);
sys/arm/broadcom/bcm2835/bcm2835_dma.c
178
int count;
sys/arm/broadcom/bcm2835/bcm2835_dma.c
189
count = 1000;
sys/arm/broadcom/bcm2835/bcm2835_dma.c
192
} while (!(cs & CS_ISPAUSED) && (count-- > 0));
sys/arm/broadcom/bcm2835/bcm2835_fb.c
320
bcmrend_draw(scr_stat* scp, int from, int count, int flip)
sys/arm/broadcom/bcm2835/bcm2835_fb.c
327
vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count);
sys/arm/broadcom/bcm2835/bcm2835_fb.c
330
for (i = count; i-- > 0; ++from) {
sys/arm/broadcom/bcm2835/bcm2835_fb.c
560
u_char *data, int c, int count)
sys/arm/broadcom/bcm2835/bcm2835_fb.c
567
u_char *data, int c, int count)
sys/arm/broadcom/bcm2835/bcm2835_rng.c
181
uint32_t *datap, bus_size_t count)
sys/arm/broadcom/bcm2835/bcm2835_rng.c
184
bus_read_multi_4(sc->sc_mem_res, off, datap, count);
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
493
uint32_t *data, bus_size_t count)
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
497
bus_space_read_multi_4(sc->sc_bst, sc->sc_bsh, off, data, count);
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
567
uint32_t *data, bus_size_t count)
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
571
bus_space_write_multi_4(sc->sc_bst, sc->sc_bsh, off, data, count);
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1006
uint32_t *data, bus_size_t count)
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1015
dprintf("%s: off=%08lx count=%08lx\n", __func__, off, count);
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1017
for (i = 0; i < count;) {
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1020
if (i + avail > count)
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1021
avail = count - i;
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1214
bus_size_t off, uint32_t *data, bus_size_t count)
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1223
dprintf("%s: off=%08lx count=%02lx\n", __func__, off, count);
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1225
for (i = 0; i < count;) {
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1228
if (i + space > count)
sys/arm/broadcom/bcm2835/bcm2835_sdhost.c
1229
space = count - i;
sys/arm/broadcom/bcm2835/bcm2838_pci.c
422
bcm_pcib_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm/broadcom/bcm2835/bcm2838_pci.c
432
for (first_int = 0; first_int + count < NUM_MSI; ) {
sys/arm/broadcom/bcm2835/bcm2838_pci.c
433
for (i = first_int; i < first_int + count; ++i) {
sys/arm/broadcom/bcm2835/bcm2838_pci.c
445
count);
sys/arm/broadcom/bcm2835/bcm2838_pci.c
450
for (i = 0; i < count; ++i) {
sys/arm/broadcom/bcm2835/bcm2838_pci.c
477
bcm_pcib_release_msi(device_t dev, device_t child, int count,
sys/arm/broadcom/bcm2835/bcm2838_pci.c
487
for (i = 0; i < count; i++) {
sys/arm/broadcom/bcm2835/vc_vchi_audioserv_defs.h
114
uint32_t count; /* in bytes */
sys/arm/broadcom/bcm2835/vc_vchi_audioserv_defs.h
131
int32_t count; /* Success value */
sys/arm/freescale/imx/imx6_anatop.c
463
temp_from_count(struct imx6_anatop_softc *sc, uint32_t count)
sys/arm/freescale/imx/imx6_anatop.c
466
return (((sc->temp_high_val - (count - sc->temp_high_cnt) *
sys/arm/freescale/imx/imx6_sdma.c
280
bd->mode.count = conf->period;
sys/arm/freescale/imx/imx6_sdma.c
323
bd0->mode.count = sizeof(*context) / 4;
sys/arm/freescale/imx/imx6_sdma.c
435
bd0->mode.count = sc->fw_header->ram_code_size / 2;
sys/arm/freescale/imx/imx6_sdma.h
106
uint16_t count;
sys/arm/include/bus.h
565
bus_size_t offset, uint8_t *addr, bus_size_t count);
sys/arm/include/bus.h
569
bus_size_t offset, uint16_t *addr, bus_size_t count);
sys/arm/include/bus.h
573
bus_size_t offset, uint32_t *addr, bus_size_t count);
sys/arm/include/bus.h
577
bus_size_t offset, uint64_t *addr, bus_size_t count);
sys/arm/include/bus.h
581
bus_size_t offset, const uint8_t *addr, bus_size_t count);
sys/arm/include/bus.h
585
bus_size_t offset, const uint16_t *addr, bus_size_t count);
sys/arm/include/bus.h
589
bus_size_t offset, const uint32_t *addr, bus_size_t count);
sys/arm/include/bus.h
593
bus_size_t offset, const uint64_t *addr, bus_size_t count);
sys/arm/include/bus.h
597
bus_size_t offset, uint8_t *addr, bus_size_t count);
sys/arm/include/bus.h
601
bus_size_t offset, uint16_t *addr, bus_size_t count);
sys/arm/include/bus.h
605
bus_size_t offset, uint32_t *addr, bus_size_t count);
sys/arm/include/bus.h
609
bus_size_t offset, uint64_t *addr, bus_size_t count);
sys/arm/include/bus.h
613
bus_size_t offset, const uint8_t *addr, bus_size_t count);
sys/arm/include/bus.h
617
bus_size_t offset, const uint16_t *addr, bus_size_t count);
sys/arm/include/bus.h
621
bus_size_t offset, const uint32_t *addr, bus_size_t count);
sys/arm/include/bus.h
625
bus_size_t offset, const uint64_t *addr, bus_size_t count);
sys/arm/include/bus.h
629
bus_size_t offset, uint8_t value, bus_size_t count);
sys/arm/include/bus.h
633
bus_size_t offset, uint16_t value, bus_size_t count);
sys/arm/include/bus.h
637
bus_size_t offset, uint32_t value, bus_size_t count);
sys/arm/include/bus.h
641
bus_size_t offset, uint64_t value, bus_size_t count);
sys/arm/include/bus.h
645
bus_size_t offset, uint8_t value, bus_size_t count);
sys/arm/include/bus.h
649
bus_size_t offset, uint16_t value, bus_size_t count);
sys/arm/include/bus.h
653
bus_size_t offset, uint32_t value, bus_size_t count);
sys/arm/include/bus.h
657
bus_size_t offset, uint64_t value, bus_size_t count);
sys/arm/include/bus.h
662
bus_size_t offset2, bus_size_t count);
sys/arm/include/bus.h
667
bus_size_t offset2, bus_size_t count);
sys/arm/include/bus.h
672
bus_size_t offset2, bus_size_t count);
sys/arm/include/bus.h
677
bus_size_t offset2, bus_size_t count);
sys/arm/mv/mv_ap806_gicp.c
338
mv_ap806_gicp_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm/mv/mv_ap806_gicp.c
346
for (i = 0; i < count; i++) {
sys/arm/mv/mv_ap806_gicp.c
383
mv_ap806_gicp_release_msi(device_t dev, device_t child, int count,
sys/arm/mv/mv_ap806_gicp.c
391
for (i = 0; i < count; i++) {
sys/arm/mv/mv_ap806_sei.c
409
mv_ap806_sei_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm/mv/mv_ap806_sei.c
417
for (i = 0; i < count; i++) {
sys/arm/mv/mv_ap806_sei.c
444
mv_ap806_sei_release_msi(device_t dev, device_t child, int count, struct intr_irqsrc **srcs)
sys/arm/mv/mv_ap806_sei.c
451
for (i = 0; i < count; i++) {
sys/arm/mv/mv_pci.c
1326
mv_pcib_alloc_msi(device_t dev, device_t child, int count,
sys/arm/mv/mv_pci.c
1336
if (powerof2(count) == 0 || count > MSI_IRQ_NUM)
sys/arm/mv/mv_pci.c
1341
for (start = 0; (start + count) < MSI_IRQ_NUM; start++) {
sys/arm/mv/mv_pci.c
1342
for (i = start; i < start + count; i++) {
sys/arm/mv/mv_pci.c
1346
if (i == start + count)
sys/arm/mv/mv_pci.c
1350
if ((start + count) == MSI_IRQ_NUM) {
sys/arm/mv/mv_pci.c
1355
for (i = start; i < start + count; i++) {
sys/arm/mv/mv_pci.c
1359
debugf("%s: start: %x count: %x\n", __func__, start, count);
sys/arm/mv/mv_pci.c
1366
mv_pcib_release_msi(device_t dev, device_t child, int count, int *irqs)
sys/arm/mv/mv_pci.c
1377
for (i = 0; i < count; i++)
sys/arm/mv/mv_pci.c
909
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/arm/mv/mv_pci.c
919
end, count, flags));
sys/arm/mv/mv_pci.c
922
type, rid, start, end, count, flags));
sys/arm/mv/mv_pci.c
928
count = sc->sc_mem_size;
sys/arm/mv/mv_pci.c
931
if ((start < sc->sc_mem_base) || (start + count - 1 != end) ||
sys/arm/mv/mv_pci.c
936
start, end, count, flags));
sys/arm/mv/mv_pci_ctrl.c
240
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/arm/mv/mv_pci_ctrl.c
261
count = rle->count;
sys/arm/mv/mv_pci_ctrl.c
286
count, flags));
sys/arm/nvidia/tegra124/tegra124_cpufreq.c
290
tegra124_cpufreq_settings(device_t dev, struct cf_setting *sets, int *count)
sys/arm/nvidia/tegra124/tegra124_cpufreq.c
295
if (sets == NULL || count == NULL)
sys/arm/nvidia/tegra124/tegra124_cpufreq.c
299
memset(sets, CPUFREQ_VAL_UNKNOWN, sizeof(*sets) * (*count));
sys/arm/nvidia/tegra124/tegra124_cpufreq.c
310
*count = i;
sys/arm/nvidia/tegra_pcie.c
535
tegra_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount,
sys/arm/nvidia/tegra_pcie.c
545
return (intr_alloc_msi(pci, child, msi_parent, count, maxcount,
sys/arm/nvidia/tegra_pcie.c
550
tegra_pcib_release_msi(device_t pci, device_t child, int count, int *irqs)
sys/arm/nvidia/tegra_pcie.c
559
return (intr_release_msi(pci, child, msi_parent, count, irqs));
sys/arm/nvidia/tegra_pcie.c
740
tegra_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm/nvidia/tegra_pcie.c
747
KASSERT(powerof2(count), ("%s: bad count", __func__));
sys/arm/nvidia/tegra_pcie.c
754
for (irq = 0; (irq + count - 1) < TEGRA_PCIB_MAX_MSI; irq++) {
sys/arm/nvidia/tegra_pcie.c
763
for (end_irq = irq; end_irq < irq + count; end_irq++) {
sys/arm/nvidia/tegra_pcie.c
782
for (i = 0; i < count; i++) {
sys/arm/nvidia/tegra_pcie.c
788
for (i = 0; i < count; i++)
sys/arm/nvidia/tegra_pcie.c
795
tegra_pcib_msi_release_msi(device_t dev, device_t child, int count,
sys/arm/nvidia/tegra_pcie.c
804
for (i = 0; i < count; i++) {
sys/arm/nvidia/tegra_sdhci.c
159
uint32_t *data, bus_size_t count)
sys/arm/nvidia/tegra_sdhci.c
164
bus_read_multi_4(sc->mem_res, off, data, count);
sys/arm/nvidia/tegra_sdhci.c
199
uint32_t *data, bus_size_t count)
sys/arm/nvidia/tegra_sdhci.c
204
bus_write_multi_4(sc->mem_res, off, data, count);
sys/arm/ti/am335x/am335x_lcd_syscons.c
237
am335x_rend_draw(scr_stat* scp, int from, int count, int flip)
sys/arm/ti/am335x/am335x_lcd_syscons.c
244
vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count);
sys/arm/ti/am335x/am335x_lcd_syscons.c
247
for (i = count; i-- > 0; ++from) {
sys/arm/ti/am335x/am335x_lcd_syscons.c
471
u_char *data, int c, int count)
sys/arm/ti/am335x/am335x_lcd_syscons.c
478
u_char *data, int c, int count)
sys/arm/ti/ti_adc.c
142
int count;
sys/arm/ti/ti_adc.c
163
count = ADC_READ4(sc, ADC_FIFO0COUNT) & ADC_FIFO_COUNT_MSK;
sys/arm/ti/ti_adc.c
164
while (count > 0) {
sys/arm/ti/ti_adc.c
166
count = ADC_READ4(sc, ADC_FIFO0COUNT) & ADC_FIFO_COUNT_MSK;
sys/arm/ti/ti_adc.c
169
count = ADC_READ4(sc, ADC_FIFO1COUNT) & ADC_FIFO_COUNT_MSK;
sys/arm/ti/ti_adc.c
170
while (count > 0) {
sys/arm/ti/ti_adc.c
172
count = ADC_READ4(sc, ADC_FIFO1COUNT) & ADC_FIFO_COUNT_MSK;
sys/arm/ti/ti_adc.c
389
int count, ain;
sys/arm/ti/ti_adc.c
396
count = ADC_READ4(sc, ADC_FIFO0COUNT) & ADC_FIFO_COUNT_MSK;
sys/arm/ti/ti_adc.c
397
while (count > 0) {
sys/arm/ti/ti_adc.c
405
count = ADC_READ4(sc, ADC_FIFO0COUNT) & ADC_FIFO_COUNT_MSK;
sys/arm/ti/ti_adc.c
426
int count;
sys/arm/ti/ti_adc.c
434
count = ADC_READ4(sc, ADC_FIFO1COUNT) & ADC_FIFO_COUNT_MSK;
sys/arm/ti/ti_adc.c
435
if (count == 0)
sys/arm/ti/ti_adc.c
439
while (count > 0) {
sys/arm/ti/ti_adc.c
441
count = ADC_READ4(sc, ADC_FIFO1COUNT) & ADC_FIFO_COUNT_MSK;
sys/arm/ti/ti_sdhci.c
237
uint32_t *data, bus_size_t count)
sys/arm/ti/ti_sdhci.c
241
bus_read_multi_4(sc->mem_res, off + sc->sdhci_reg_off, data, count);
sys/arm/ti/ti_sdhci.c
334
uint32_t *data, bus_size_t count)
sys/arm/ti/ti_sdhci.c
338
bus_write_multi_4(sc->mem_res, off + sc->sdhci_reg_off, data, count);
sys/arm64/acpica/acpi_machdep.c
147
int i, count;
sys/arm64/acpica/acpi_machdep.c
183
count = (xsdt->Header.Length - sizeof(ACPI_TABLE_HEADER)) /
sys/arm64/acpica/acpi_machdep.c
185
for (i = 0; i < count; i++)
sys/arm64/arm64/bus_machdep.c
141
bus_size_t offset, uint8_t value, size_t count)
sys/arm64/arm64/bus_machdep.c
144
for (; count != 0; count--, offset++)
sys/arm64/arm64/bus_machdep.c
150
bus_size_t offset, uint16_t value, size_t count)
sys/arm64/arm64/bus_machdep.c
153
for (; count != 0; count--, offset += 2)
sys/arm64/arm64/bus_machdep.c
159
bus_size_t offset, uint32_t value, size_t count)
sys/arm64/arm64/bus_machdep.c
162
for (; count != 0; count--, offset += 4)
sys/arm64/arm64/bus_machdep.c
168
uint64_t value, size_t count)
sys/arm64/arm64/bus_machdep.c
171
for (; count != 0; count--, offset += 8)
sys/arm64/arm64/busdma_bounce.c
658
int count;
sys/arm64/arm64/busdma_bounce.c
664
count = 0;
sys/arm64/arm64/busdma_bounce.c
673
count++;
sys/arm64/arm64/busdma_bounce.c
680
*pagesneeded = count;
sys/arm64/arm64/busdma_bounce.c
681
return (count != 0);
sys/arm64/arm64/cmn600.c
666
rman_res_t count, periph_base, rootnode_base;
sys/arm64/arm64/cmn600.c
695
&periph_base, &count);
sys/arm64/arm64/cmn600.c
697
&rootnode_base, &count);
sys/arm64/arm64/cmn600.c
700
printf("ROOTNODE at %lx x %lx\n", rootnode_base, count);
sys/arm64/arm64/db_trace.c
145
db_trace_thread(struct thread *thr, int count)
sys/arm64/arm64/debug_monitor.c
312
i, "enabled", bkpt == NULL ? -1 : bkpt->count,
sys/arm64/arm64/gic_v3.c
1520
int count, int maxcount, struct intr_irqsrc **isrc)
sys/arm64/arm64/gic_v3.c
1526
KASSERT(powerof2(count), ("%s: bad count", __func__));
sys/arm64/arm64/gic_v3.c
1543
for (end_irq = irq; end_irq != irq + count; end_irq++) {
sys/arm64/arm64/gic_v3.c
1570
for (i = 0; i < count; i++) {
sys/arm64/arm64/gic_v3.c
1576
for (i = 0; i < count; i++)
sys/arm64/arm64/gic_v3.c
1583
gic_v3_gic_release_msi(device_t dev, int count, struct intr_irqsrc **isrc)
sys/arm64/arm64/gic_v3.c
1592
for (i = 0; i < count; i++) {
sys/arm64/arm64/gic_v3.c
1658
gic_v3_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm64/arm64/gic_v3.c
1666
sc->gic_mbi_end - sc->gic_mbi_start, count, maxcount, isrc);
sys/arm64/arm64/gic_v3.c
1675
gic_v3_release_msi(device_t dev, device_t child, int count,
sys/arm64/arm64/gic_v3.c
1678
return (gic_v3_gic_release_msi(dev, count, isrc));
sys/arm64/arm64/gic_v3.c
268
gic_v3_reserve_msi_range(device_t dev, u_int start, u_int count)
sys/arm64/arm64/gic_v3.c
275
KASSERT((start + count) < sc->gic_nirqs,
sys/arm64/arm64/gic_v3.c
277
start, count, sc->gic_nirqs));
sys/arm64/arm64/gic_v3.c
278
for (i = 0; i < count; i++) {
sys/arm64/arm64/gic_v3.c
281
count + i));
sys/arm64/arm64/gic_v3.c
284
count + i));
sys/arm64/arm64/gic_v3.c
287
count + i));
sys/arm64/arm64/gic_v3.c
547
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/arm64/arm64/gic_v3.c
572
count = rle->count;
sys/arm64/arm64/gic_v3.c
595
count, flags));
sys/arm64/arm64/gic_v3_acpi.c
126
rman_res_t count;
sys/arm64/arm64/gic_v3_acpi.c
136
madt_data->count++;
sys/arm64/arm64/gic_v3_acpi.c
138
SYS_RES_MEMORY, madt_data->count, redist->BaseAddress,
sys/arm64/arm64/gic_v3_acpi.c
148
madt_data->count++;
sys/arm64/arm64/gic_v3_acpi.c
152
count = GICR_RD_BASE_SIZE + GICR_SGI_BASE_SIZE;
sys/arm64/arm64/gic_v3_acpi.c
154
count += GICR_VLPI_BASE_SIZE + GICR_RESERVED_SIZE;
sys/arm64/arm64/gic_v3_acpi.c
156
SYS_RES_MEMORY, madt_data->count, intr->GicrBaseAddress,
sys/arm64/arm64/gic_v3_acpi.c
157
count);
sys/arm64/arm64/gic_v3_acpi.c
187
madt_data.count = 0;
sys/arm64/arm64/gic_v3_acpi.c
222
if (madt_data.count == 0) {
sys/arm64/arm64/gic_v3_acpi.c
89
int count;
sys/arm64/arm64/gicv3_its.c
1667
gicv3_its_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm64/arm64/gicv3_its.c
1676
its_dev = its_device_get(dev, child, count);
sys/arm64/arm64/gicv3_its.c
1680
KASSERT(its_dev->lpis.lpi_free >= count,
sys/arm64/arm64/gicv3_its.c
1687
for (i = 0; i < count; i++, irq++) {
sys/arm64/arm64/gicv3_its.c
1696
if (i != count) {
sys/arm64/arm64/gicv3_its.c
1698
for (i = 0; i < count; i++) {
sys/arm64/arm64/gicv3_its.c
1710
for (i = 0; i < count; i++) {
sys/arm64/arm64/gicv3_its.c
1719
its_dev->lpis.lpi_busy += count;
sys/arm64/arm64/gicv3_its.c
1726
gicv3_its_release_msi(device_t dev, device_t child, int count,
sys/arm64/arm64/gicv3_its.c
1739
KASSERT(its_dev->lpis.lpi_busy >= count,
sys/arm64/arm64/gicv3_its.c
1741
"were allocated: releasing %d, allocated %d", count,
sys/arm64/arm64/gicv3_its.c
1746
for (i = 0; i < count; i++) {
sys/arm64/arm64/gicv3_its.c
1751
its_dev->lpis.lpi_busy -= count;
sys/arm64/arm64/gicv5_its.c
1007
if (i != count) {
sys/arm64/arm64/gicv5_its.c
1015
for (i = 0; i < count; i++) {
sys/arm64/arm64/gicv5_its.c
1024
its_dev->lpis.lpi_busy += count;
sys/arm64/arm64/gicv5_its.c
1031
gicv5_its_release_msi(device_t dev, device_t child, int count,
sys/arm64/arm64/gicv5_its.c
1043
KASSERT(its_dev->lpis.lpi_busy >= count,
sys/arm64/arm64/gicv5_its.c
1045
"releasing %d, allocated %d", __func__, count,
sys/arm64/arm64/gicv5_its.c
1048
for (int i = 0; i < count; i++) {
sys/arm64/arm64/gicv5_its.c
1052
its_dev->lpis.lpi_busy -= count;
sys/arm64/arm64/gicv5_its.c
978
gicv5_its_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm64/arm64/gicv5_its.c
988
its_dev = its_device_get(dev, &sc->its_dl, child, count);
sys/arm64/arm64/gicv5_its.c
998
for (i = 0; i < count; i++, lpi++) {
sys/arm64/arm64/gicv5_iwb.c
172
int count, error;
sys/arm64/arm64/gicv5_iwb.c
206
count = sc->sc_nirq;
sys/arm64/arm64/gicv5_iwb.c
207
error = PCI_ALLOC_MSI(device_get_parent(dev), dev, &count);
sys/arm64/arm64/mte.c
104
for (size_t count = 0; count < PAGE_SIZE;
sys/arm64/arm64/mte.c
105
count += block_size, addr += block_size)
sys/arm64/arm64/mte.c
131
for (size_t count = 0; count < PAGE_SIZE;
sys/arm64/arm64/mte.c
132
count += block_size, src += block_size, dst += block_size) {
sys/arm64/arm64/nexus.c
250
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/arm64/arm64/nexus.c
261
if (RMAN_IS_DEFAULT_RANGE(start, end) && (count == 1)) {
sys/arm64/arm64/nexus.c
269
count = rle->count;
sys/arm64/arm64/nexus.c
273
end, count, flags));
sys/arm64/arm64/nexus.c
541
nexus_fdt_pcib_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/arm64/arm64/nexus.c
551
return (intr_alloc_msi(dev, child, msi_parent, count, maxcount, irqs));
sys/arm64/arm64/nexus.c
555
nexus_fdt_pcib_release_msi(device_t dev, device_t child, int count, int *irqs)
sys/arm64/arm64/nexus.c
564
return (intr_release_msi(dev, child, msi_parent, count, irqs));
sys/arm64/arm64/pmap.c
2635
pmap_qenter(void *sva, vm_page_t *ma, int count)
sys/arm64/arm64/pmap.c
2645
for (i = 0; i < count; i++) {
sys/arm64/arm64/pmap.c
2678
pmap_qremove(void *sva, int count)
sys/arm64/arm64/pmap.c
2689
while (count-- > 0) {
sys/arm64/arm64/pmap.c
7125
int count, md_gen, pvh_gen;
sys/arm64/arm64/pmap.c
7132
count = 0;
sys/arm64/arm64/pmap.c
7147
count++;
sys/arm64/arm64/pmap.c
7168
count++;
sys/arm64/arm64/pmap.c
7173
return (count);
sys/arm64/arm64/pmap.c
950
pmap_resident_count_inc(pmap_t pmap, int count)
sys/arm64/arm64/pmap.c
954
pmap->pm_stats.resident_count += count;
sys/arm64/arm64/pmap.c
958
pmap_resident_count_dec(pmap_t pmap, int count)
sys/arm64/arm64/pmap.c
962
KASSERT(pmap->pm_stats.resident_count >= count,
sys/arm64/arm64/pmap.c
964
pmap->pm_stats.resident_count, count));
sys/arm64/arm64/pmap.c
965
pmap->pm_stats.resident_count -= count;
sys/arm64/arm64/pmap.c
9772
pmap_map_io_transient(vm_page_t page[], void *vaddr[], int count,
sys/arm64/arm64/pmap.c
9785
for (i = 0; i < count; i++) {
sys/arm64/arm64/pmap.c
9804
for (i = 0; i < count; i++) {
sys/arm64/arm64/pmap.c
9816
pmap_unmap_io_transient(vm_page_t page[], void *vaddr[], int count,
sys/arm64/arm64/pmap.c
9824
for (i = 0; i < count; i++) {
sys/arm64/broadcom/genet/if_genet.c
91
#define TX_NEXT(n, count) (((n) + 1) & ((count) - 1))
sys/arm64/broadcom/genet/if_genet.c
92
#define RX_NEXT(n, count) (((n) + 1) & ((count) - 1))
sys/arm64/broadcom/genet/if_genet.c
967
gen_setup_multi(void *arg, struct sockaddr_dl *sdl, u_int count)
sys/arm64/broadcom/genet/if_genet.c
972
gen_setup_rxfilter_mdf(sc, count + 2, LLADDR(sdl));
sys/arm64/cavium/thunder_pcie_common.c
173
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/arm64/cavium/thunder_pcie_common.c
200
end = start + count - 1;
sys/arm64/cavium/thunder_pcie_common.c
204
start, end, count, flags));
sys/arm64/cavium/thunder_pcie_fdt.c
231
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/arm64/cavium/thunder_pcie_fdt.c
244
rid, start, end, count, flags));
sys/arm64/cavium/thunder_pcie_fdt.c
262
count = rle->count;
sys/arm64/cavium/thunder_pcie_fdt.c
287
end, count, flags));
sys/arm64/cavium/thunder_pcie_pem.c
371
thunder_pem_alloc_msi(device_t pci, device_t child, int count, int maxcount,
sys/arm64/cavium/thunder_pcie_pem.c
377
return (PCIB_ALLOC_MSI(device_get_parent(bus), child, count, maxcount,
sys/arm64/cavium/thunder_pcie_pem.c
382
thunder_pem_release_msi(device_t pci, device_t child, int count, int *irqs)
sys/arm64/cavium/thunder_pcie_pem.c
387
return (PCIB_RELEASE_MSI(device_get_parent(bus), child, count, irqs));
sys/arm64/cavium/thunder_pcie_pem.c
655
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/arm64/cavium/thunder_pcie_pem.c
664
count, flags));
sys/arm64/cavium/thunder_pcie_pem.c
672
end, count, flags));
sys/arm64/cavium/thunder_pcie_pem.c
680
if (range_addr_is_phys(sc->ranges, start, count)) {
sys/arm64/cavium/thunder_pcie_pem.c
682
end = start + count - 1;
sys/arm64/cavium/thunder_pcie_pem.c
689
start, end, count);
sys/arm64/cavium/thunder_pcie_pem.c
693
end, count, flags);
sys/arm64/cavium/thunder_pcie_pem.c
697
__func__, type, rid, start, end, count, flags);
sys/arm64/cavium/thunder_pcie_pem_fdt.c
107
thunder_pem_fdt_alloc_msi(device_t pci, device_t child, int count, int maxcount,
sys/arm64/cavium/thunder_pcie_pem_fdt.c
117
return (intr_alloc_msi(pci, child, msi_parent, count, maxcount,
sys/arm64/cavium/thunder_pcie_pem_fdt.c
122
thunder_pem_fdt_release_msi(device_t pci, device_t child, int count, int *irqs)
sys/arm64/cavium/thunder_pcie_pem_fdt.c
131
return (intr_release_msi(pci, child, msi_parent, count, irqs));
sys/arm64/include/vmm_dev.h
69
unsigned int count;
sys/arm64/iommu/iommu_pmap.c
274
smmu_pmap_resident_count_inc(struct smmu_pmap *pmap, int count)
sys/arm64/iommu/iommu_pmap.c
278
pmap->sp_resident_count += count;
sys/arm64/iommu/iommu_pmap.c
282
smmu_pmap_resident_count_dec(struct smmu_pmap *pmap, int count)
sys/arm64/iommu/iommu_pmap.c
286
KASSERT(pmap->sp_resident_count >= count,
sys/arm64/iommu/iommu_pmap.c
288
pmap->sp_resident_count, count));
sys/arm64/iommu/iommu_pmap.c
289
pmap->sp_resident_count -= count;
sys/arm64/iommu/iommu_pmap.c
293
smmu_pmap_resident_count_inc(struct smmu_pmap *pmap, int count)
sys/arm64/iommu/iommu_pmap.c
298
smmu_pmap_resident_count_dec(struct smmu_pmap *pmap, int count)
sys/arm64/iommu/smmu_acpi.c
126
iort_data.count = 0;
sys/arm64/iommu/smmu_acpi.c
130
if (iort_data.count == 0) {
sys/arm64/iommu/smmu_acpi.c
135
for (i = 0; i < iort_data.count; i++) {
sys/arm64/iommu/smmu_acpi.c
68
int count;
sys/arm64/iommu/smmu_acpi.c
79
i = iort_data->count;
sys/arm64/iommu/smmu_acpi.c
96
iort_data->count++;
sys/arm64/linux/linux_proto.h
1062
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/arm64/linux/linux_proto.h
268
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
sys/arm64/linux/linux_proto.h
315
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/arm64/linux/linux_systrace_args.c
2115
iarg[a++] = p->count; /* l_size_t */
sys/arm64/linux/linux_systrace_args.c
480
iarg[a++] = p->count; /* l_uint */
sys/arm64/linux/linux_systrace_args.c
577
iarg[a++] = p->count; /* l_size_t */
sys/arm64/nvidia/tegra210/tegra210_cpufreq.c
248
tegra210_cpufreq_settings(device_t dev, struct cf_setting *sets, int *count)
sys/arm64/nvidia/tegra210/tegra210_cpufreq.c
253
if (sets == NULL || count == NULL)
sys/arm64/nvidia/tegra210/tegra210_cpufreq.c
257
memset(sets, CPUFREQ_VAL_UNKNOWN, sizeof(*sets) * (*count));
sys/arm64/nvidia/tegra210/tegra210_cpufreq.c
268
*count = i;
sys/arm64/rockchip/rk3568_pcie.c
139
int err, count;
sys/arm64/rockchip/rk3568_pcie.c
227
for (count = 20; count; count--) {
sys/arm64/rockchip/rk3568_pcie.c
232
if (count == 0) {
sys/arm64/rockchip/rk3568_pciephy.c
118
int count;
sys/arm64/rockchip/rk3568_pciephy.c
125
for (count = 100; count; count--) {
sys/arm64/rockchip/rk3568_pciephy.c
130
if (count == 0) {
sys/arm64/rockchip/rk_i2s.c
402
uint32_t count, size, readyptr, written;
sys/arm64/rockchip/rk_i2s.c
403
count = sndbuf_getready(play_buf);
sys/arm64/rockchip/rk_i2s.c
404
if (count > FIFO_SIZE - 1)
sys/arm64/rockchip/rk_i2s.c
405
count = FIFO_SIZE - 1;
sys/arm64/rockchip/rk_i2s.c
411
for (; level < count; level++) {
sys/arm64/rockchip/rk_i2s.c
427
uint32_t count, size, freeptr, recorded;
sys/arm64/rockchip/rk_i2s.c
428
count = sndbuf_getfree(rec_buf);
sys/arm64/rockchip/rk_i2s.c
433
if (level > count / 4)
sys/arm64/rockchip/rk_i2s.c
434
level = count / 4;
sys/arm64/rockchip/rk_pcie.c
528
rk_pcie_alloc_msi(device_t pci, device_t child, int count,
sys/arm64/rockchip/rk_pcie.c
539
rv = intr_alloc_msi(pci, child, msi_parent, count, maxcount,irqs);
sys/arm64/rockchip/rk_pcie.c
544
rk_pcie_release_msi(device_t pci, device_t child, int count, int *irqs)
sys/arm64/rockchip/rk_pcie.c
553
rv = intr_release_msi(pci, child, msi_parent, count, irqs);
sys/arm64/vmm/io/vgic_v3.c
566
size_t count;
sys/arm64/vmm/io/vgic_v3.c
576
count = (vgic->redist_end - vgic->redist_start) /
sys/arm64/vmm/io/vgic_v3.c
583
if (count > max_count)
sys/arm64/vmm/io/vgic_v3.c
586
return (count);
sys/cam/ata/ata_da.c
1129
uint16_t count;
sys/cam/ata/ata_da.c
1137
count = length / secsize;
sys/cam/ata/ata_da.c
1154
(lba + count >= ATA_MAX_28BIT_LBA ||
sys/cam/ata/ata_da.c
1155
count >= 256)) {
sys/cam/ata/ata_da.c
1157
0, lba, count);
sys/cam/ata/ata_da.c
1160
0, lba, count);
sys/cam/ata/ata_da.c
1999
int count = bp->bio_bcount / softc->params.secsize;
sys/cam/ata/ata_da.c
2003
c = min(count, ATA_DSM_RANGE_MAX - lastcount);
sys/cam/ata/ata_da.c
2009
count -= c;
sys/cam/ata/ata_da.c
2014
while (count > 0) {
sys/cam/ata/ata_da.c
2015
c = min(count, ATA_DSM_RANGE_MAX);
sys/cam/ata/ata_da.c
2027
count -= c;
sys/cam/ata/ata_da.c
2103
uint16_t count = bp->bio_bcount / softc->params.secsize;
sys/cam/ata/ata_da.c
2118
if (count >= 256)
sys/cam/ata/ata_da.c
2119
count = 0;
sys/cam/ata/ata_da.c
2120
ata_28bit_cmd(ataio, ATA_CFA_ERASE, 0, lba, count);
sys/cam/ata/ata_da.c
2382
uint16_t count = bp->bio_bcount / softc->params.secsize;
sys/cam/ata/ata_da.c
2452
lba, count);
sys/cam/ata/ata_da.c
2455
lba, count);
sys/cam/ata/ata_da.c
2458
(lba + count >= ATA_MAX_28BIT_LBA ||
sys/cam/ata/ata_da.c
2459
count > 256)) {
sys/cam/ata/ata_da.c
2463
0, lba, count);
sys/cam/ata/ata_da.c
2466
0, lba, count);
sys/cam/ata/ata_da.c
2471
0, lba, count);
sys/cam/ata/ata_da.c
2474
0, lba, count);
sys/cam/ata/ata_da.c
2478
if (count == 256)
sys/cam/ata/ata_da.c
2479
count = 0;
sys/cam/ata/ata_da.c
2483
0, lba, count);
sys/cam/ata/ata_da.c
2486
0, lba, count);
sys/cam/ata/ata_da.c
2491
0, lba, count);
sys/cam/ata/ata_da.c
2494
0, lba, count);
sys/cam/cam_periph.c
373
int count;
sys/cam/cam_periph.c
379
count = 0;
sys/cam/cam_periph.c
398
count++;
sys/cam/cam_periph.c
407
return (count);
sys/cam/cam_xpt.c
253
static uint32_t xpt_freeze_devq_device(struct cam_ed *dev, u_int count);
sys/cam/cam_xpt.c
254
static int xpt_release_devq_device(struct cam_ed *dev, u_int count,
sys/cam/cam_xpt.c
4367
xpt_freeze_devq_device(struct cam_ed *dev, u_int count)
sys/cam/cam_xpt.c
4375
("xpt_freeze_devq_device(%d) %u->%u\n", count,
sys/cam/cam_xpt.c
4376
dev->ccbq.queue.qfrozen_cnt, dev->ccbq.queue.qfrozen_cnt + count));
sys/cam/cam_xpt.c
4377
freeze = (dev->ccbq.queue.qfrozen_cnt += count);
sys/cam/cam_xpt.c
4385
xpt_freeze_devq(struct cam_path *path, u_int count)
sys/cam/cam_xpt.c
4393
CAM_DEBUG(path, CAM_DEBUG_TRACE, ("xpt_freeze_devq(%d)\n", count));
sys/cam/cam_xpt.c
4394
freeze = xpt_freeze_devq_device(dev, count);
sys/cam/cam_xpt.c
4400
xpt_freeze_simq(struct cam_sim *sim, u_int count)
sys/cam/cam_xpt.c
4407
freeze = (devq->send_queue.qfrozen_cnt += count);
sys/cam/cam_xpt.c
4427
xpt_release_devq(struct cam_path *path, u_int count, int run_queue)
sys/cam/cam_xpt.c
4433
count, run_queue));
sys/cam/cam_xpt.c
4437
if (xpt_release_devq_device(dev, count, run_queue))
sys/cam/cam_xpt.c
4443
xpt_release_devq_device(struct cam_ed *dev, u_int count, int run_queue)
sys/cam/cam_xpt.c
4448
("xpt_release_devq_device(%d, %d) %u->%u\n", count, run_queue,
sys/cam/cam_xpt.c
4449
dev->ccbq.queue.qfrozen_cnt, dev->ccbq.queue.qfrozen_cnt - count));
sys/cam/cam_xpt.c
4450
if (count > dev->ccbq.queue.qfrozen_cnt) {
sys/cam/cam_xpt.c
4453
count, dev->ccbq.queue.qfrozen_cnt);
sys/cam/cam_xpt.c
4455
count = dev->ccbq.queue.qfrozen_cnt;
sys/cam/cam_xpt.c
4457
dev->ccbq.queue.qfrozen_cnt -= count;
sys/cam/cam_xpt_sim.h
43
uint32_t xpt_freeze_simq(struct cam_sim *sim, u_int count);
sys/cam/cam_xpt_sim.h
45
uint32_t xpt_freeze_devq(struct cam_path *path, u_int count);
sys/cam/cam_xpt_sim.h
47
u_int count, int run_queue);
sys/cam/ctl/ctl.c
14421
thres = scsi_4btoul(page->descr[i].count);
sys/cam/ctl/ctl.c
4273
page->descr[0].count);
sys/cam/ctl/ctl.c
4286
page->descr[1].count);
sys/cam/ctl/ctl.c
4299
page->descr[2].count);
sys/cam/ctl/ctl.c
4312
page->descr[3].count);
sys/cam/mmc/mmc_da.c
1825
uint16_t count = bp->bio_bcount / MMC_SECTOR_SIZE;
sys/cam/mmc/mmc_da.c
1831
("Block %"PRIu64" cnt %u\n", blockno, count));
sys/cam/mmc/mmc_da.c
1835
if (count > 1)
sys/cam/mmc/mmc_da.c
1840
if (count > 1)
sys/cam/mmc/mmc_da.c
1862
mmcio->cmd.data->len = MMC_SECTOR_SIZE * count;
sys/cam/mmc/mmc_da.c
1865
if (count > 1) {
sys/cam/mmc/mmc_da.c
1998
uint16_t count;
sys/cam/mmc/mmc_da.c
2011
count = length / MMC_SECTOR_SIZE;
sys/cam/mmc/mmc_da.c
2012
if (count == 0)
sys/cam/mmc/mmc_da.c
2026
if (count > 1)
sys/cam/mmc/mmc_da.c
2039
mmcio.cmd.data->len = MMC_SECTOR_SIZE * count;
sys/cam/mmc/mmc_da.c
2043
if (count > 1) {
sys/cam/nvme/nvme_da.c
249
void *payload, uint64_t lba, uint32_t len, uint32_t count)
sys/cam/nvme/nvme_da.c
258
nvme_ns_write_cmd(&nvmeio->cmd, softc->nsid, lba, count);
sys/cam/nvme/nvme_da.c
268
uint32_t count;
sys/cam/nvme/nvme_da.c
278
count = bp->bio_bcount / softc->disk->d_sectorsize;
sys/cam/nvme/nvme_da.c
287
nvme_ns_rw_cmd(&nvmeio->cmd, rwcmd, softc->nsid, lba, count);
sys/cam/nvme/nvme_da.c
587
uint32_t count;
sys/cam/nvme/nvme_da.c
595
count = length / secsize;
sys/cam/nvme/nvme_da.c
605
nda_nvme_write(softc, &nvmeio, virtual, lba, length, count);
sys/cam/scsi/scsi_all.c
8515
uint64_t lba, uint32_t count,
sys/cam/scsi/scsi_all.c
8528
/*sector_count*/count,
sys/cam/scsi/scsi_all.c
8702
scsi_ulto2b(sector_count, cdb->count);
sys/cam/scsi/scsi_all.c
9575
uint16_t count;
sys/cam/scsi/scsi_all.c
9582
count = ((uint16_t)res->count_15_8 << 8) | res->count_7_0;
sys/cam/scsi/scsi_all.c
9590
count = res->count_7_0;
sys/cam/scsi/scsi_all.c
9595
sbuf_printf(sb, "count=%d lba=0x%jx ", count, (uintmax_t)lba);
sys/cam/scsi/scsi_all.h
2065
uint8_t count[2];
sys/cam/scsi/scsi_all.h
4323
uint64_t lba, uint32_t count,
sys/cam/scsi/scsi_all.h
840
uint8_t count[4];
sys/cam/scsi/scsi_ch.c
1335
avail = scsi_2btoul(st_hdr->count);
sys/cam/scsi/scsi_ch.c
1828
uint32_t count, uint8_t *data_ptr,
sys/cam/scsi/scsi_ch.c
1840
scsi_ulto2b(count, scsi_cmd->count);
sys/cam/scsi/scsi_ch.h
142
uint8_t count[2]; /* number of elements */
sys/cam/scsi/scsi_ch.h
158
uint8_t count[2]; /* number of elements */
sys/cam/scsi/scsi_ch.h
180
uint8_t count[2]; /* number of elements available */
sys/cam/scsi/scsi_ch.h
493
uint32_t count, uint8_t *data_ptr,
sys/cam/scsi/scsi_da.c
4123
uint64_t count;
sys/cam/scsi/scsi_da.c
4152
count = bp1->bio_bcount / softc->params.secsize;
sys/cam/scsi/scsi_da.c
4156
c = omin(count, UNMAP_RANGE_MAX - lastcount);
sys/cam/scsi/scsi_da.c
4160
count -= c;
sys/cam/scsi/scsi_da.c
4184
if (count <= c) {
sys/cam/scsi/scsi_da.c
4185
count = 0;
sys/cam/scsi/scsi_da.c
4188
count -= c;
sys/cam/scsi/scsi_da.c
4193
while (count > 0) {
sys/cam/scsi/scsi_da.c
4194
c = omin(count, UNMAP_RANGE_MAX);
sys/cam/scsi/scsi_da.c
4209
count -= c;
sys/cam/scsi/scsi_da.c
4260
uint64_t count;
sys/cam/scsi/scsi_da.c
4271
count = bp1->bio_bcount / softc->params.secsize;
sys/cam/scsi/scsi_da.c
4272
requestcount = count;
sys/cam/scsi/scsi_da.c
4276
c = omin(count, ATA_DSM_RANGE_MAX - lastcount);
sys/cam/scsi/scsi_da.c
4281
count -= c;
sys/cam/scsi/scsi_da.c
4285
while (count > 0) {
sys/cam/scsi/scsi_da.c
4286
c = omin(count, ATA_DSM_RANGE_MAX);
sys/cam/scsi/scsi_da.c
4299
count -= c;
sys/cam/scsi/scsi_da.c
4301
if (count != 0 && ranges == softc->trim_max_ranges) {
sys/cam/scsi/scsi_da.c
4352
uint64_t count; /* forward compat with WS32 */
sys/cam/scsi/scsi_da.c
4357
count = 0;
sys/cam/scsi/scsi_da.c
4362
count += bp1->bio_bcount / softc->params.secsize;
sys/cam/scsi/scsi_da.c
4363
if (count > ws_max_blks) {
sys/cam/scsi/scsi_da.c
4367
count, ws_max_blks);
sys/cam/scsi/scsi_da.c
4368
count = omin(count, ws_max_blks);
sys/cam/scsi/scsi_da.c
4374
if (lba + count != bp1->bio_pblkno ||
sys/cam/scsi/scsi_da.c
4375
count + bp1->bio_bcount /
sys/cam/scsi/scsi_da.c
4390
/*block_count*/count,
sys/cam/scsi/scsi_da.c
4399
softc->trim_lbas += count;
sys/cam/scsi/scsi_sa.c
1826
int count;
sys/cam/scsi/scsi_sa.c
1836
count = mt->mt_count;
sys/cam/scsi/scsi_sa.c
1845
error = sawritefilemarks(periph, count, FALSE, FALSE);
sys/cam/scsi/scsi_sa.c
1849
error = sawritefilemarks(periph, count, FALSE, TRUE);
sys/cam/scsi/scsi_sa.c
1852
error = sawritefilemarks(periph, count, TRUE, FALSE);
sys/cam/scsi/scsi_sa.c
1876
count = -count;
sys/cam/scsi/scsi_sa.c
1882
count = -count;
sys/cam/scsi/scsi_sa.c
1887
count = -count;
sys/cam/scsi/scsi_sa.c
1894
count = 0;
sys/cam/scsi/scsi_sa.c
1912
error = saspace(periph, count - nmarks, spaceop);
sys/cam/scsi/scsi_sa.c
1939
error = saerase(periph, count);
sys/cam/scsi/scsi_sa.c
1991
&& (count != 0)) {
sys/cam/scsi/scsi_sa.c
1997
error = sasetparams(periph, SA_PARAM_BLOCKSIZE, count,
sys/cam/scsi/scsi_sa.c
2002
softc->media_blksize = count;
sys/cam/scsi/scsi_sa.c
2003
if (count) {
sys/cam/scsi/scsi_sa.c
2005
if (powerof2(count)) {
sys/cam/scsi/scsi_sa.c
2007
ffs(count) - 1;
sys/cam/scsi/scsi_sa.c
2008
softc->blk_mask = count - 1;
sys/cam/scsi/scsi_sa.c
2041
if (count > UCHAR_MAX) {
sys/cam/scsi/scsi_sa.c
2046
0, count, 0, 0);
sys/cam/scsi/scsi_sa.c
2062
0, 0, count, SF_NO_PRINT);
sys/cam/scsi/scsi_sa.c
4974
saspace(struct cam_periph *periph, int count, scsi_space_code code)
sys/cam/scsi/scsi_sa.c
4986
scsi_space(&ccb->csio, 0, NULL, MSG_SIMPLE_Q_TAG, code, count,
sys/cam/scsi/scsi_sa.c
4994
softc->dsreg = (count < 0)? MTIO_DSREG_REV : MTIO_DSREG_FWD;
sys/cam/scsi/scsi_sa.c
5026
softc->fileno += (count - softc->last_ctl_resid);
sys/cam/scsi/scsi_sa.c
5031
softc->blkno += (count - softc->last_ctl_resid);
sys/cam/scsi/scsi_sa.c
5032
if (count < 0) {
sys/cam/scsi/scsi_sa.c
6022
uint32_t count, uint8_t sense_len, uint32_t timeout)
sys/cam/scsi/scsi_sa.c
6029
scsi_ulto3b(count, scsi_cmd->count);
sys/cam/scsi/scsi_sa.c
643
static int saspace(struct cam_periph *periph, int count,
sys/cam/scsi/scsi_sa.h
100
uint8_t count[3];
sys/cam/scsi/scsi_sa.h
993
uint32_t count, uint8_t sense_len, uint32_t timeout);
sys/cddl/boot/zfs/zfssubr.c
202
size_t count = size >> 3;
sys/cddl/boot/zfs/zfssubr.c
207
for (i = 0; i < count; i++)
sys/cddl/compat/opensolaris/sys/dnlc.h
35
#define dnlc_purge_vfsp(vfsp, count) (0)
sys/cddl/dev/dtrace/aarch64/dtrace_subr.c
162
uint64_t count, freq;
sys/cddl/dev/dtrace/aarch64/dtrace_subr.c
165
count = READ_SPECIALREG(cntvct_el0);
sys/cddl/dev/dtrace/aarch64/dtrace_subr.c
166
lo = count;
sys/cddl/dev/dtrace/aarch64/dtrace_subr.c
167
hi = count >> 32;
sys/cddl/dev/dtrace/dtrace_debug.c
103
count = (uintptr_t) d->next - (uintptr_t) d->first;
sys/cddl/dev/dtrace/dtrace_debug.c
110
count = (uintptr_t) d->last - (uintptr_t) d->first;
sys/cddl/dev/dtrace/dtrace_debug.c
115
count += (uintptr_t) d->next - (uintptr_t) d->bufr;
sys/cddl/dev/dtrace/dtrace_debug.c
126
if (count > 0) {
sys/cddl/dev/dtrace/dtrace_debug.c
127
char *last = dtrace_debug_bufr + count;
sys/cddl/dev/dtrace/dtrace_debug.c
91
uintptr_t count;
sys/cddl/dev/dtrace/dtrace_debug.c
98
count = 0;
sys/compat/freebsd32/freebsd32_misc.c
197
static int freebsd32_kevent_copyout(void *arg, struct kevent *kevp, int count);
sys/compat/freebsd32/freebsd32_misc.c
198
static int freebsd32_kevent_copyin(void *arg, struct kevent *kevp, int count);
sys/compat/freebsd32/freebsd32_misc.c
2112
ap.count = uap->count;
sys/compat/freebsd32/freebsd32_misc.c
2132
error = freebsd11_kern_getdirentries(td, uap->fd, uap->buf, uap->count,
sys/compat/freebsd32/freebsd32_misc.c
345
size_t count;
sys/compat/freebsd32/freebsd32_misc.c
350
error = kern_getfsstat(td, &uap->buf, uap->bufsize, &count,
sys/compat/freebsd32/freebsd32_misc.c
353
td->td_retval[0] = count;
sys/compat/freebsd32/freebsd32_misc.c
364
size_t count, size, copycount;
sys/compat/freebsd32/freebsd32_misc.c
367
count = uap->bufsize / sizeof(struct ostatfs32);
sys/compat/freebsd32/freebsd32_misc.c
368
size = count * sizeof(struct statfs);
sys/compat/freebsd32/freebsd32_misc.c
369
error = kern_getfsstat(td, &buf, size, &count, UIO_SYSSPACE, uap->mode);
sys/compat/freebsd32/freebsd32_misc.c
372
copycount = count;
sys/compat/freebsd32/freebsd32_misc.c
383
td->td_retval[0] = count;
sys/compat/freebsd32/freebsd32_misc.c
753
freebsd32_kevent_copyout(void *arg, struct kevent *kevp, int count)
sys/compat/freebsd32/freebsd32_misc.c
759
KASSERT(count <= KQ_NEVENTS, ("count (%d) > KQ_NEVENTS", count));
sys/compat/freebsd32/freebsd32_misc.c
762
for (i = 0; i < count; i++)
sys/compat/freebsd32/freebsd32_misc.c
764
error = copyout(ks32, uap->eventlist, count * sizeof *ks32);
sys/compat/freebsd32/freebsd32_misc.c
766
uap->eventlist += count;
sys/compat/freebsd32/freebsd32_misc.c
774
freebsd32_kevent_copyin(void *arg, struct kevent *kevp, int count)
sys/compat/freebsd32/freebsd32_misc.c
780
KASSERT(count <= KQ_NEVENTS, ("count (%d) > KQ_NEVENTS", count));
sys/compat/freebsd32/freebsd32_misc.c
783
error = copyin(uap->changelist, ks32, count * sizeof *ks32);
sys/compat/freebsd32/freebsd32_misc.c
786
uap->changelist += count;
sys/compat/freebsd32/freebsd32_misc.c
788
for (i = 0; i < count; i++) {
sys/compat/freebsd32/freebsd32_misc.c
843
freebsd32_kevent11_copyout(void *arg, struct kevent *kevp, int count)
sys/compat/freebsd32/freebsd32_misc.c
849
KASSERT(count <= KQ_NEVENTS, ("count (%d) > KQ_NEVENTS", count));
sys/compat/freebsd32/freebsd32_misc.c
852
for (i = 0; i < count; i++) {
sys/compat/freebsd32/freebsd32_misc.c
860
error = copyout(ks32, uap->eventlist, count * sizeof *ks32);
sys/compat/freebsd32/freebsd32_misc.c
862
uap->eventlist += count;
sys/compat/freebsd32/freebsd32_misc.c
870
freebsd32_kevent11_copyin(void *arg, struct kevent *kevp, int count)
sys/compat/freebsd32/freebsd32_misc.c
876
KASSERT(count <= KQ_NEVENTS, ("count (%d) > KQ_NEVENTS", count));
sys/compat/freebsd32/freebsd32_misc.c
879
error = copyin(uap->changelist, ks32, count * sizeof *ks32);
sys/compat/freebsd32/freebsd32_misc.c
882
uap->changelist += count;
sys/compat/freebsd32/freebsd32_misc.c
884
for (i = 0; i < count; i++) {
sys/compat/freebsd32/freebsd32_proto.h
1095
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
sys/compat/freebsd32/freebsd32_proto.h
897
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
sys/compat/freebsd32/freebsd32_systrace_args.c
1804
iarg[a++] = p->count; /* int */
sys/compat/freebsd32/freebsd32_systrace_args.c
3024
uarg[a++] = p->count; /* size_t */
sys/compat/freebsd32/freebsd32_systrace_args.c
384
uarg[a++] = p->count; /* size_t */
sys/compat/linprocfs/linprocfs.c
518
size_t count;
sys/compat/linprocfs/linprocfs.c
533
error = kern_getfsstat(td, &buf, SIZE_T_MAX, &count,
sys/compat/linprocfs/linprocfs.c
539
for (sp = buf; count > 0; sp++, count--) {
sys/compat/linprocfs/linprocfs.c
569
size_t count, lep_len;
sys/compat/linprocfs/linprocfs.c
587
error = kern_getfsstat(td, &buf, SIZE_T_MAX, &count,
sys/compat/linprocfs/linprocfs.c
592
for (sp = buf; count > 0; sp++, count--) {
sys/compat/linsysfs/linsysfs.c
469
int i, count, len;
sys/compat/linsysfs/linsysfs.c
472
count = mp_maxcpus;
sys/compat/linsysfs/linsysfs.c
473
while (count > 10) {
sys/compat/linsysfs/linsysfs.c
474
count /= 10;
sys/compat/linux/linux_event.c
236
epoll_kev_copyout(void *arg, struct kevent *kevp, int count)
sys/compat/linux/linux_event.c
243
eep = malloc(sizeof(*eep) * count, M_EPOLL, M_WAITOK | M_ZERO);
sys/compat/linux/linux_event.c
245
for (i = 0; i < count; i++)
sys/compat/linux/linux_event.c
248
error = copyout(eep, args->leventlist, count * sizeof(*eep));
sys/compat/linux/linux_event.c
250
args->leventlist += count;
sys/compat/linux/linux_event.c
251
args->count += count;
sys/compat/linux/linux_event.c
266
epoll_kev_copyin(void *arg, struct kevent *kevp, int count)
sys/compat/linux/linux_event.c
272
memcpy(kevp, args->changelist, count * sizeof(*kevp));
sys/compat/linux/linux_event.c
273
args->changelist += count;
sys/compat/linux/linux_event.c
409
coargs.count = 0;
sys/compat/linux/linux_event.c
421
td->td_retval[0] = coargs.count;
sys/compat/linux/linux_event.c
83
static int epoll_kev_copyout(void *arg, struct kevent *kevp, int count);
sys/compat/linux/linux_event.c
84
static int epoll_kev_copyin(void *arg, struct kevent *kevp, int count);
sys/compat/linux/linux_event.c
99
uint32_t count;
sys/compat/linux/linux_file.c
454
buflen = min(roundup2(args->count, DEV_BSIZE), MAXBSIZE);
sys/compat/linux/linux_file.c
468
resid = args->count;
sys/compat/linux/linux_file.c
532
buflen = min(roundup2(args->count, DEV_BSIZE), MAXBSIZE);
sys/compat/linux/linux_file.c
547
resid = args->count;
sys/compat/linux/linux_file.c
900
if (args->count <= 0)
sys/compat/linux/linux_file.c
904
args->buf, UIO_USERSPACE, args->count));
sys/compat/linux/linux_futex.c
575
int count, error;
sys/compat/linux/linux_futex.c
593
error = umtx_pi_drop(td, &key, rb, &count);
sys/compat/linux/linux_futex.c
607
if (count > 1)
sys/compat/linux/linux_futex.c
633
int error, count;
sys/compat/linux/linux_futex.c
656
count = umtxq_count(&key2);
sys/compat/linux/linux_futex.c
657
if (count > 0)
sys/compat/linux/linux_if.c
308
linux_ifhwaddr_cb(void *arg, struct ifaddr *ifa, u_int count)
sys/compat/linux/linux_if.c
313
if (count > 0)
sys/compat/linux/linux_ioctl.c
2207
linux_ifconf_ifaddr_cb(void *arg, struct ifaddr *ifa, u_int count)
sys/compat/linux/linux_misc.c
2484
if (args->count > INT_MAX)
sys/compat/linux/linux_misc.c
2485
args->count = INT_MAX;
sys/compat/linux/linux_misc.c
2488
iov.iov_len = args->count;
sys/compat/linux/linux_misc.c
2499
td->td_retval[0] = args->count - uio.uio_resid;
sys/compat/linux/linux_socket.c
2708
off_t *offset, l_size_t count, off_t *sbytes)
sys/compat/linux/linux_socket.c
2741
bufsz = min(count, maxphys);
sys/compat/linux/linux_socket.c
2744
while (bytes_sent < count) {
sys/compat/linux/linux_socket.c
2745
to_send = min(count - bytes_sent, bufsz);
sys/compat/linux/linux_socket.c
2796
off_t *offset, l_size_t count, off_t *sbytes)
sys/compat/linux/linux_socket.c
2809
error = fo_sendfile(fp, out, NULL, NULL, current_offset, count,
sys/compat/linux/linux_socket.c
2830
off_t *offset, l_size_t count)
sys/compat/linux/linux_socket.c
2837
if (count <= 0 || (offset != NULL && *offset < 0))
sys/compat/linux/linux_socket.c
2855
error = kern_copy_file_range(td, in, offset, out, NULL, count,
sys/compat/linux/linux_socket.c
2860
error = sendfile_sendfile(td, fp, out, offset, count,
sys/compat/linux/linux_socket.c
2863
error = sendfile_fallback(td, fp, out, offset, count,
sys/compat/linux/linux_socket.c
2908
arg->offset != NULL ? &offset64 : NULL, arg->count);
sys/compat/linux/linux_socket.c
2936
arg->offset != NULL ? &offset : NULL, arg->count);
sys/compat/linux/linux_videodev2_compat.h
82
uint32_t count;
sys/compat/linuxkpi/common/include/acpi/acpi.h
87
UINT32 count;
sys/compat/linuxkpi/common/include/linux/bitops.h
117
static inline int get_count_order(unsigned int count)
sys/compat/linuxkpi/common/include/linux/bitops.h
121
order = fls(count) - 1;
sys/compat/linuxkpi/common/include/linux/bitops.h
122
if (count & (count - 1))
sys/compat/linuxkpi/common/include/linux/cdev.h
76
cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count)
sys/compat/linuxkpi/common/include/linux/cdev.h
81
if (count != 1)
sys/compat/linuxkpi/common/include/linux/fs.h
205
unsigned int count, const char *name,
sys/compat/linuxkpi/common/include/linux/fs.h
208
unsigned int count, const char *name,
sys/compat/linuxkpi/common/include/linux/fs.h
212
unsigned int count, const char *name);
sys/compat/linuxkpi/common/include/linux/fs.h
252
alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count,
sys/compat/linuxkpi/common/include/linux/gfp.h
206
__page_frag_cache_drain(struct page *page, size_t count)
sys/compat/linuxkpi/common/include/linux/gfp.h
209
linuxkpi__page_frag_cache_drain(page, count);
sys/compat/linuxkpi/common/include/linux/ieee80211.h
849
uint32_t count; /* uint8_t ? */
sys/compat/linuxkpi/common/include/linux/interrupt.h
167
atomic_t count;
sys/compat/linuxkpi/common/include/linux/io.h
449
__iowrite32_copy(void *to, const void *from, size_t count)
sys/compat/linuxkpi/common/include/linux/io.h
455
for (i = 0, src = from, dst = to; i < count; i++, src++, dst++)
sys/compat/linuxkpi/common/include/linux/io.h
460
__iowrite64_copy(void *to, const void *from, size_t count)
sys/compat/linuxkpi/common/include/linux/io.h
467
for (i = 0, src = from, dst = to; i < count; i++, src++, dst++)
sys/compat/linuxkpi/common/include/linux/io.h
470
__iowrite32_copy(to, from, count * 2);
sys/compat/linuxkpi/common/include/linux/io.h
475
__ioread32_copy(void *to, const void *from, size_t count)
sys/compat/linuxkpi/common/include/linux/io.h
481
for (i = 0, src = from, dst = to; i < count; i++, src++, dst++)
sys/compat/linuxkpi/common/include/linux/io.h
486
__ioread64_copy(void *to, const void *from, size_t count)
sys/compat/linuxkpi/common/include/linux/io.h
493
for (i = 0, src = from, dst = to; i < count; i++, src++, dst++)
sys/compat/linuxkpi/common/include/linux/io.h
496
__ioread32_copy(to, from, count * 2);
sys/compat/linuxkpi/common/include/linux/kfifo.h
109
(_kf)->count--; \
sys/compat/linuxkpi/common/include/linux/kfifo.h
138
(_kf)->total = (_kf)->count = (_kf)->first = (_kf)->last = 0; \
sys/compat/linuxkpi/common/include/linux/kfifo.h
44
(_kf).count = 0; \
sys/compat/linuxkpi/common/include/linux/kfifo.h
52
size_t count; \
sys/compat/linuxkpi/common/include/linux/kfifo.h
61
size_t count; \
sys/compat/linuxkpi/common/include/linux/kfifo.h
69
(_kf)->count; \
sys/compat/linuxkpi/common/include/linux/kfifo.h
74
((_kf)->count == 0) ? true : false; \
sys/compat/linuxkpi/common/include/linux/kfifo.h
79
((_kf)->count == (_kf)->total) ? true : false; \
sys/compat/linuxkpi/common/include/linux/kfifo.h
91
(_kf)->count++; \
sys/compat/linuxkpi/common/include/linux/kobject.h
82
const char *buf, size_t count);
sys/compat/linuxkpi/common/include/linux/kref.h
93
kref_sub(struct kref *kref, unsigned int count,
sys/compat/linuxkpi/common/include/linux/kref.h
97
while (count--) {
sys/compat/linuxkpi/common/include/linux/kstrtox.h
270
kstrtobool_from_user(const char __user *s, size_t count, bool *res)
sys/compat/linuxkpi/common/include/linux/kstrtox.h
274
if (count > (sizeof(buf) - 1))
sys/compat/linuxkpi/common/include/linux/kstrtox.h
275
count = (sizeof(buf) - 1);
sys/compat/linuxkpi/common/include/linux/kstrtox.h
277
if (copy_from_user(buf, s, count))
sys/compat/linuxkpi/common/include/linux/kstrtox.h
284
kstrtoint_from_user(const char __user *s, size_t count, unsigned int base,
sys/compat/linuxkpi/common/include/linux/kstrtox.h
289
if (count > (sizeof(buf) - 1))
sys/compat/linuxkpi/common/include/linux/kstrtox.h
290
count = (sizeof(buf) - 1);
sys/compat/linuxkpi/common/include/linux/kstrtox.h
292
if (copy_from_user(buf, s, count))
sys/compat/linuxkpi/common/include/linux/kstrtox.h
299
kstrtouint_from_user(const char __user *s, size_t count, unsigned int base,
sys/compat/linuxkpi/common/include/linux/kstrtox.h
304
if (count > (sizeof(buf) - 1))
sys/compat/linuxkpi/common/include/linux/kstrtox.h
305
count = (sizeof(buf) - 1);
sys/compat/linuxkpi/common/include/linux/kstrtox.h
307
if (copy_from_user(buf, s, count))
sys/compat/linuxkpi/common/include/linux/kstrtox.h
314
kstrtou32_from_user(const char __user *s, size_t count, unsigned int base,
sys/compat/linuxkpi/common/include/linux/kstrtox.h
317
return (kstrtouint_from_user(s, count, base, p));
sys/compat/linuxkpi/common/include/linux/kstrtox.h
321
kstrtou8_from_user(const char __user *s, size_t count, unsigned int base,
sys/compat/linuxkpi/common/include/linux/kstrtox.h
326
if (count > (sizeof(buf) - 1))
sys/compat/linuxkpi/common/include/linux/kstrtox.h
327
count = (sizeof(buf) - 1);
sys/compat/linuxkpi/common/include/linux/kstrtox.h
329
if (copy_from_user(buf, s, count))
sys/compat/linuxkpi/common/include/linux/list.h
481
size_t count;
sys/compat/linuxkpi/common/include/linux/list.h
483
count = 0;
sys/compat/linuxkpi/common/include/linux/list.h
485
count++;
sys/compat/linuxkpi/common/include/linux/list.h
488
return (count);
sys/compat/linuxkpi/common/include/linux/netdevice.h
332
list->count = 0;
sys/compat/linuxkpi/common/include/linux/netdevice.h
340
return (list->count);
sys/compat/linuxkpi/common/include/linux/netdevice.h
94
int count;
sys/compat/linuxkpi/common/include/linux/overflow.h
418
#define flex_array_size(p, member, count) \
sys/compat/linuxkpi/common/include/linux/overflow.h
419
__builtin_choose_expr(__is_constexpr(count), \
sys/compat/linuxkpi/common/include/linux/overflow.h
420
(count) * sizeof(*(p)->member) + __must_be_array((p)->member), \
sys/compat/linuxkpi/common/include/linux/overflow.h
421
size_mul(count, sizeof(*(p)->member) + __must_be_array((p)->member)))
sys/compat/linuxkpi/common/include/linux/overflow.h
434
#define struct_size(p, member, count) \
sys/compat/linuxkpi/common/include/linux/overflow.h
435
__builtin_choose_expr(__is_constexpr(count), \
sys/compat/linuxkpi/common/include/linux/overflow.h
436
sizeof(*(p)) + flex_array_size(p, member, count), \
sys/compat/linuxkpi/common/include/linux/overflow.h
437
size_add(sizeof(*(p)), flex_array_size(p, member, count)))
sys/compat/linuxkpi/common/include/linux/overflow.h
452
#define struct_size_t(type, member, count) \
sys/compat/linuxkpi/common/include/linux/overflow.h
453
struct_size((type *)NULL, member, count)
sys/compat/linuxkpi/common/include/linux/overflow.h
477
#define __DEFINE_FLEX(type, name, member, count, trailer...) \
sys/compat/linuxkpi/common/include/linux/overflow.h
478
_Static_assert(__builtin_constant_p(count), \
sys/compat/linuxkpi/common/include/linux/overflow.h
481
u8 bytes[struct_size_t(type, member, count)]; \
sys/compat/linuxkpi/common/include/linux/overflow.h
496
#define _DEFINE_FLEX(type, name, member, count, initializer...) \
sys/compat/linuxkpi/common/include/linux/overflow.h
497
__DEFINE_FLEX(type, name, member, count, = { .obj initializer })
sys/compat/linuxkpi/common/include/linux/overflow.h
515
#define DEFINE_RAW_FLEX(type, name, member, count) \
sys/compat/linuxkpi/common/include/linux/overflow.h
516
__DEFINE_FLEX(type, name, member, count, = { })
sys/compat/linuxkpi/common/include/linux/radix-tree.h
54
int count;
sys/compat/linuxkpi/common/include/linux/scatterlist.h
340
struct page **pages, unsigned int count,
sys/compat/linuxkpi/common/include/linux/scatterlist.h
348
struct page **pages, unsigned int count,
sys/compat/linuxkpi/common/include/linux/scatterlist.h
373
for (segs = i = 1; i < count; ++i) {
sys/compat/linuxkpi/common/include/linux/scatterlist.h
402
for (j = cur + 1; j < count; ++j) {
sys/compat/linuxkpi/common/include/linux/scatterlist.h
429
struct page **pages, unsigned int count,
sys/compat/linuxkpi/common/include/linux/scatterlist.h
435
return (PTR_ERR_OR_ZERO(__sg_alloc_table_from_pages(sgt, pages, count, off, size,
sys/compat/linuxkpi/common/include/linux/scatterlist.h
438
return (__sg_alloc_table_from_pages(sgt, pages, count, off, size,
sys/compat/linuxkpi/common/include/linux/scatterlist.h
445
struct page **pages, unsigned int count, unsigned int off,
sys/compat/linuxkpi/common/include/linux/scatterlist.h
449
return (PTR_ERR_OR_ZERO(__sg_alloc_table_from_pages(sgt, pages, count, off, size,
sys/compat/linuxkpi/common/include/linux/scatterlist.h
452
return (__sg_alloc_table_from_pages(sgt, pages, count, off, size,
sys/compat/linuxkpi/common/include/linux/string.h
115
kmemdup_array(const void *src, size_t count, size_t element_size, gfp_t gfp)
sys/compat/linuxkpi/common/include/linux/string.h
117
return (kmemdup(src, size_mul(count, element_size), gfp));
sys/compat/linuxkpi/common/include/linux/vmalloc.h
40
void *vmap(struct page **pages, unsigned int count, unsigned long flags,
sys/compat/linuxkpi/common/include/linux/vmalloc.h
42
void *linuxkpi_vmap_pfn(unsigned long *pfns, unsigned int count, int prot);
sys/compat/linuxkpi/common/include/net/cfg80211.h
2236
char *buf, size_t bufsize, const char __user *userbuf, size_t count,
sys/compat/linuxkpi/common/include/net/cfg80211.h
2248
char *buf, size_t bufsize, const char __user *userbuf, size_t count,
sys/compat/linuxkpi/common/include/net/mac80211.h
2278
info->status.rates[i].count = 0;
sys/compat/linuxkpi/common/include/net/mac80211.h
266
uint8_t count;
sys/compat/linuxkpi/common/include/net/mac80211.h
271
uint8_t count;
sys/compat/linuxkpi/common/include/net/mac80211.h
363
int block_tx, count, delay, device_timestamp, timestamp;
sys/compat/linuxkpi/common/include/net/mac80211.h
710
uint8_t count;
sys/compat/linuxkpi/common/include/net/mac80211.h
804
uint16_t count:5,
sys/compat/linuxkpi/common/src/linux_80211.c
2096
if (lhw->mc_list.count != 0) {
sys/compat/linuxkpi/common/src/linux_80211.c
2100
lhw->mc_list.count--;
sys/compat/linuxkpi/common/src/linux_80211.c
2104
KASSERT(lhw->mc_list.count == 0, ("%s: mc_list %p count %d != 0\n",
sys/compat/linuxkpi/common/src/linux_80211.c
2105
__func__, &lhw->mc_list, lhw->mc_list.count));
sys/compat/linuxkpi/common/src/linux_80211.c
2132
mc_list->count++;
sys/compat/linuxkpi/common/src/linux_80211.c
2137
__func__, __LINE__, mc_list->count, addr->addr, ":");
sys/compat/linuxkpi/common/src/linux_80211.c
2179
__func__, changed_flags, lhw->mc_list.count, lhw->mc_flags);
sys/compat/linuxkpi/common/src/linux_80211.c
9091
if (info->status.rates[0].count > 1) {
sys/compat/linuxkpi/common/src/linux_80211.c
9092
txs.long_retries = info->status.rates[0].count - 1; /* 1 + retries in drivers. */
sys/compat/linuxkpi/common/src/linux_80211.c
9127
info->status.rates[0].idx, info->status.rates[0].count,
sys/compat/linuxkpi/common/src/linux_80211.c
9129
info->status.rates[1].idx, info->status.rates[1].count,
sys/compat/linuxkpi/common/src/linux_80211.c
9131
info->status.rates[2].idx, info->status.rates[2].count,
sys/compat/linuxkpi/common/src/linux_80211.c
9133
info->status.rates[3].idx, info->status.rates[3].count,
sys/compat/linuxkpi/common/src/linux_compat.c
210
size_t count)
sys/compat/linuxkpi/common/src/linux_compat.c
219
dattr, buf, count);
sys/compat/linuxkpi/common/src/linux_compat.c
2643
size_t count, i;
sys/compat/linuxkpi/common/src/linux_compat.c
2645
count = 0;
sys/compat/linuxkpi/common/src/linux_compat.c
2647
count++;
sys/compat/linuxkpi/common/src/linux_compat.c
2648
ar = malloc(sizeof(struct list_head *) * count, M_KMALLOC, M_WAITOK);
sys/compat/linuxkpi/common/src/linux_compat.c
2654
qsort_r(ar, count, sizeof(struct list_head *), linux_le_cmp, &thunk);
sys/compat/linuxkpi/common/src/linux_compat.c
2656
for (i = 0; i < count; i++)
sys/compat/linuxkpi/common/src/linux_compat.c
2708
unsigned int count, const char *name,
sys/compat/linuxkpi/common/src/linux_compat.c
2715
for (i = baseminor; i < baseminor + count; i++) {
sys/compat/linuxkpi/common/src/linux_compat.c
272
size_t count)
sys/compat/linuxkpi/common/src/linux_compat.c
2729
unsigned int count, const char *name,
sys/compat/linuxkpi/common/src/linux_compat.c
2737
for (i = baseminor; i < baseminor + count; i++) {
sys/compat/linuxkpi/common/src/linux_compat.c
2751
unsigned int count, const char *name)
sys/compat/linuxkpi/common/src/linux_compat.c
2756
for (i = baseminor; i < baseminor + count; i++) {
sys/compat/linuxkpi/common/src/linux_compat.c
281
dattr, buf, count);
sys/compat/linuxkpi/common/src/linux_idr.c
140
while (lic->count < MAX_IDR_FREE) {
sys/compat/linuxkpi/common/src/linux_idr.c
148
lic->count++;
sys/compat/linuxkpi/common/src/linux_idr.c
51
unsigned count;
sys/compat/linuxkpi/common/src/linux_idr.c
84
lic->count--;
sys/compat/linuxkpi/common/src/linux_kobject.c
222
const char *buf, size_t count)
sys/compat/linuxkpi/common/src/linux_kobject.c
230
return (ka->store(kobj, ka, buf, count));
sys/compat/linuxkpi/common/src/linux_netdev.c
297
int count;
sys/compat/linuxkpi/common/src/linux_netdev.c
306
count = napi->poll(napi, napi->budget);
sys/compat/linuxkpi/common/src/linux_netdev.c
307
napi->rx_count += count;
sys/compat/linuxkpi/common/src/linux_netdev.c
308
NAPI_TRACE_TASK(napi, pending, count);
sys/compat/linuxkpi/common/src/linux_netdev.c
315
if (count >= napi->budget) {
sys/compat/linuxkpi/common/src/linux_page.c
255
int count;
sys/compat/linuxkpi/common/src/linux_page.c
259
count = vm_fault_quick_hold_pages(map, start, len, prot, pages, nr_pages);
sys/compat/linuxkpi/common/src/linux_page.c
260
return (count == -1 ? -EFAULT : nr_pages);
sys/compat/linuxkpi/common/src/linux_page.c
272
int count;
sys/compat/linuxkpi/common/src/linux_page.c
283
for (count = 0, mp = pages, va = start; va < end;
sys/compat/linuxkpi/common/src/linux_page.c
284
mp++, va += PAGE_SIZE, count++) {
sys/compat/linuxkpi/common/src/linux_page.c
303
return (count);
sys/compat/linuxkpi/common/src/linux_page.c
424
vmap(struct page **pages, unsigned int count, unsigned long flags, int prot)
sys/compat/linuxkpi/common/src/linux_page.c
429
size = count * PAGE_SIZE;
sys/compat/linuxkpi/common/src/linux_page.c
434
pmap_qenter(off, pages, count);
sys/compat/linuxkpi/common/src/linux_page.c
442
linuxkpi_vmap_pfn(unsigned long *pfns, unsigned int count, int prot)
sys/compat/linuxkpi/common/src/linux_page.c
452
size = ptoa(count);
sys/compat/linuxkpi/common/src/linux_page.c
458
chunk = MIN(count, VMAP_MAX_CHUNK_SIZE);
sys/compat/linuxkpi/common/src/linux_page.c
464
for (i = 0; i < count; i++) {
sys/compat/linuxkpi/common/src/linux_page.c
478
if (c == chunk || i == count - 1) {
sys/compat/linuxkpi/common/src/linux_page.c
480
if (i == count - 1)
sys/compat/linuxkpi/common/src/linux_page.c
775
linuxkpi__page_frag_cache_drain(struct page *page, size_t count __unused)
sys/compat/linuxkpi/common/src/linux_pci.c
1326
return (rle->count);
sys/compat/linuxkpi/common/src/linux_pci.c
2156
dma_pool_obj_import(void *arg, void **store, int count, int domain __unused,
sys/compat/linuxkpi/common/src/linux_pci.c
2163
for (i = 0; i < count; i++) {
sys/compat/linuxkpi/common/src/linux_pci.c
2182
dma_pool_obj_release(void *arg, void **store, int count)
sys/compat/linuxkpi/common/src/linux_pci.c
2188
for (i = 0; i < count; i++) {
sys/compat/linuxkpi/common/src/linux_radix.c
134
if (root->rnode->count == 0) {
sys/compat/linuxkpi/common/src/linux_radix.c
168
int count;
sys/compat/linuxkpi/common/src/linux_radix.c
170
count = 0;
sys/compat/linuxkpi/common/src/linux_radix.c
172
return (count);
sys/compat/linuxkpi/common/src/linux_radix.c
175
results[count] = *slot;
sys/compat/linuxkpi/common/src/linux_radix.c
176
if (results[count] == NULL)
sys/compat/linuxkpi/common/src/linux_radix.c
179
count++;
sys/compat/linuxkpi/common/src/linux_radix.c
180
if (count == max_items)
sys/compat/linuxkpi/common/src/linux_radix.c
184
return (count);
sys/compat/linuxkpi/common/src/linux_radix.c
194
int count;
sys/compat/linuxkpi/common/src/linux_radix.c
196
count = 0;
sys/compat/linuxkpi/common/src/linux_radix.c
198
return (count);
sys/compat/linuxkpi/common/src/linux_radix.c
201
results[count] = *slot;
sys/compat/linuxkpi/common/src/linux_radix.c
202
if (results[count] == NULL)
sys/compat/linuxkpi/common/src/linux_radix.c
205
count++;
sys/compat/linuxkpi/common/src/linux_radix.c
206
if (count == max_items)
sys/compat/linuxkpi/common/src/linux_radix.c
210
return (count);
sys/compat/linuxkpi/common/src/linux_radix.c
296
node->count--;
sys/compat/linuxkpi/common/src/linux_radix.c
297
if (node->count > 0)
sys/compat/linuxkpi/common/src/linux_radix.c
356
if (node->count != 0) {
sys/compat/linuxkpi/common/src/linux_radix.c
369
node->count++;
sys/compat/linuxkpi/common/src/linux_radix.c
402
node->count++;
sys/compat/linuxkpi/common/src/linux_radix.c
413
node->count++;
sys/compat/linuxkpi/common/src/linux_radix.c
460
if (node->count != 0) {
sys/compat/linuxkpi/common/src/linux_radix.c
473
node->count++;
sys/compat/linuxkpi/common/src/linux_radix.c
506
node->count++;
sys/compat/linuxkpi/common/src/linux_radix.c
520
node->count++;
sys/compat/linuxkpi/common/src/linux_skbuff.c
198
uint16_t fragno, count;
sys/compat/linuxkpi/common/src/linux_skbuff.c
217
for (count = fragno = 0;
sys/compat/linuxkpi/common/src/linux_skbuff.c
218
count < shinfo->nr_frags && fragno < nitems(shinfo->frags);
sys/compat/linuxkpi/common/src/linux_skbuff.c
224
count++;
sys/compat/linuxkpi/common/src/linux_skbuff.c
240
uint16_t fragno, count;
sys/compat/linuxkpi/common/src/linux_skbuff.c
250
for (count = fragno = 0;
sys/compat/linuxkpi/common/src/linux_skbuff.c
251
count < shinfo->nr_frags && fragno < nitems(shinfo->frags);
sys/compat/linuxkpi/common/src/linux_skbuff.c
262
count++;
sys/compat/linuxkpi/common/src/linux_skbuff.c
313
uint16_t fragno, count;
sys/compat/linuxkpi/common/src/linux_skbuff.c
343
for (count = fragno = 0;
sys/compat/linuxkpi/common/src/linux_skbuff.c
344
count < shinfo->nr_frags && fragno < nitems(shinfo->frags);
sys/compat/linuxkpi/common/src/linux_skbuff.c
360
count++;
sys/compat/linuxkpi/common/src/linux_tasklet.c
155
atomic_set(&ts->count, 0);
sys/compat/linuxkpi/common/src/linux_tasklet.c
168
atomic_set(&ts->count, 0);
sys/compat/linuxkpi/common/src/linux_tasklet.c
189
if (atomic_read(&ts->count))
sys/compat/linuxkpi/common/src/linux_tasklet.c
236
atomic_dec(&ts->count);
sys/compat/linuxkpi/common/src/linux_tasklet.c
243
atomic_inc(&ts->count);
sys/compat/linuxkpi/common/src/linux_tasklet.c
250
atomic_inc(&ts->count);
sys/compat/linuxkpi/common/src/linux_tasklet.c
79
if (!atomic_read(&ts->count)) {
sys/crypto/aesni/aesni.c
379
if (datalen >= 64 && ctx->count % 64 == 0) {
sys/crypto/aesni/aesni.c
387
gapstart = ctx->count % 64;
sys/crypto/aesni/aesni.c
392
ctx->count += copysiz;
sys/crypto/aesni/aesni.c
393
ctx->count %= 64;
sys/crypto/aesni/aesni.c
395
if (ctx->count % 64 == 0)
sys/crypto/aesni/aesni.c
425
r = (ctx->count >> 3) & 0x3f;
sys/crypto/aesni/aesni.c
431
ctx->count += bitlen;
sys/crypto/ccp/ccp.c
772
if (count == -1) {
sys/crypto/ccp/ccp.c
777
qindex = (unsigned)count;
sys/crypto/md4c.c
120
index = (unsigned int)((context->count[0] >> 3) & 0x3F);
sys/crypto/md4c.c
122
if ((context->count[0] += ((UINT4)inputLen << 3))
sys/crypto/md4c.c
124
context->count[1]++;
sys/crypto/md4c.c
125
context->count[1] += ((UINT4)inputLen >> 29);
sys/crypto/md4c.c
154
Encode (bits, context->count, 8);
sys/crypto/md4c.c
158
index = (unsigned int)((context->count[0] >> 3) & 0x3f);
sys/crypto/md4c.c
99
context->count[0] = context->count[1] = 0;
sys/crypto/md5c.c
105
assert(ctx->count[0] % MD5_BLOCK_LENGTH == 0);
sys/crypto/md5c.c
45
ctx->count[0] = 0;
sys/crypto/md5c.c
46
ctx->count[1] = 0;
sys/crypto/md5c.c
56
num = ctx->count[0] % MD5_BLOCK_LENGTH;
sys/crypto/md5c.c
57
nn = (uint64_t)ctx->count[0] | (uint64_t)ctx->count[1] << 32;
sys/crypto/md5c.c
59
ctx->count[0] = (uint32_t)nn;
sys/crypto/md5c.c
60
ctx->count[1] = (uint32_t)(nn >> 32);
sys/crypto/md5c.c
96
len = (uint64_t)ctx->count[0] | (uint64_t)ctx->count[1] << 32;
sys/crypto/md5c.c
97
t = 64 + 56 - ctx->count[0] % 64;
sys/crypto/sha1.c
67
#define COUNT (ctxt->count)
sys/crypto/sha1.h
55
uint8_t count;
sys/crypto/sha2/sha224.h
40
uint64_t count;
sys/crypto/sha2/sha256.h
40
uint64_t count;
sys/crypto/sha2/sha256c.c
230
r = (ctx->count >> 3) & 0x3f;
sys/crypto/sha2/sha256c.c
246
be64enc(&ctx->buf[56], ctx->count);
sys/crypto/sha2/sha256c.c
258
ctx->count = 0;
sys/crypto/sha2/sha256c.c
280
r = (ctx->count >> 3) & 0x3f;
sys/crypto/sha2/sha256c.c
286
ctx->count += bitlen;
sys/crypto/sha2/sha256c.c
340
ctx->count = 0;
sys/crypto/sha2/sha384.h
40
uint64_t count[2];
sys/crypto/sha2/sha512.h
40
uint64_t count[2];
sys/crypto/sha2/sha512c.c
264
r = (ctx->count[1] >> 3) & 0x7f;
sys/crypto/sha2/sha512c.c
280
be64enc_vect(&ctx->buf[112], ctx->count, 16);
sys/crypto/sha2/sha512c.c
292
ctx->count[0] = ctx->count[1] = 0;
sys/crypto/sha2/sha512c.c
314
r = (ctx->count[1] >> 3) & 0x7f;
sys/crypto/sha2/sha512c.c
321
if ((ctx->count[1] += bitlen[1]) < bitlen[1])
sys/crypto/sha2/sha512c.c
322
ctx->count[0]++;
sys/crypto/sha2/sha512c.c
323
ctx->count[0] += bitlen[0];
sys/crypto/sha2/sha512c.c
375
ctx->count[0] = ctx->count[1] = 0;
sys/crypto/sha2/sha512c.c
414
ctx->count[0] = ctx->count[1] = 0;
sys/crypto/sha2/sha512c.c
459
ctx->count[0] = ctx->count[1] = 0;
sys/crypto/via/padlock_cipher.c
81
padlock_cbc(void *in, void *out, size_t count, void *key, union padlock_cw *cw,
sys/crypto/via/padlock_cipher.c
90
: "+a" (iv), "+c" (count), "+D" (out), "+S" (in)
sys/crypto/via/padlock_hash.c
106
padlock_output_block(uint32_t *src, uint32_t *dst, size_t count)
sys/crypto/via/padlock_hash.c
109
while (count-- > 0)
sys/crypto/via/padlock_hash.c
114
padlock_do_sha1(const u_char *in, u_char *out, int count)
sys/crypto/via/padlock_hash.c
128
: "c"(count), "a"(0)
sys/crypto/via/padlock_hash.c
136
padlock_do_sha256(const char *in, char *out, int count)
sys/crypto/via/padlock_hash.c
153
: "c"(count), "a"(0)
sys/ddb/db_break.c
120
db_addr_t addr, int count)
sys/ddb/db_break.c
138
bkpt->init_count = count;
sys/ddb/db_break.c
139
bkpt->count = count;
sys/ddb/db_break.c
286
db_delete_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_break.c
297
db_breakpoint_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_break.c
299
if (count == -1)
sys/ddb/db_break.c
300
count = 1;
sys/ddb/db_break.c
303
count);
sys/ddb/db_break.c
311
db_deletehbreak_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
sys/ddb/db_break.c
314
if (count == -1)
sys/ddb/db_break.c
315
count = 1;
sys/ddb/db_break.c
330
db_hbreakpoint_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_break.c
332
if (count == -1)
sys/ddb/db_break.c
333
count = 1;
sys/ddb/db_break.c
336
(db_addr_t)addr, count))
sys/ddb/db_break.c
89
vm_map_t map, db_addr_t addr, int count);
sys/ddb/db_break.h
48
int count; /* current count */
sys/ddb/db_capture.c
338
db_capture_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_command.c
383
db_expr_t addr, count;
sys/ddb/db_command.c
393
count = 1;
sys/ddb/db_command.c
476
if (!db_expression(&count)) {
sys/ddb/db_command.c
483
count = -1;
sys/ddb/db_command.c
495
if (mac_ddb_command_exec(cmd, addr, have_addr, count, modif)) {
sys/ddb/db_command.c
508
(*cmd->fcn)(addr, have_addr, count, modif);
sys/ddb/db_command.c
750
db_reset(db_expr_t addr, bool have_addr, db_expr_t count __unused,
sys/ddb/db_command.c
831
db_stack_trace(db_expr_t tid, bool hastid, db_expr_t count, char *modif)
sys/ddb/db_command.c
846
if (!db_expression(&count)) {
sys/ddb/db_command.c
854
count = -1;
sys/ddb/db_command.c
874
db_trace_thread(td, count);
sys/ddb/db_examine.c
191
db_print_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_examine.c
259
db_expr_t count;
sys/ddb/db_examine.c
301
if (!db_expression(&count)) {
sys/ddb/db_examine.c
308
count = -1; /* effectively forever */
sys/ddb/db_examine.c
312
db_search(addr, size, value, mask, count);
sys/ddb/db_examine.c
317
unsigned int count)
sys/ddb/db_examine.c
319
while (count-- != 0) {
sys/ddb/db_examine.c
54
db_examine_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_examine.c
59
if (count == -1)
sys/ddb/db_examine.c
60
count = 1;
sys/ddb/db_examine.c
62
db_examine((db_addr_t) addr, db_examine_format, count);
sys/ddb/db_examine.c
66
db_examine(db_addr_t addr, char *fmt, int count)
sys/ddb/db_examine.c
74
while (--count >= 0 && !db_pager_quit) {
sys/ddb/db_input.c
81
static void db_putnchars(int c, int count);
sys/ddb/db_input.c
82
static void db_putstring(char *s, int count);
sys/ddb/db_input.c
88
db_putstring(char *s, int count)
sys/ddb/db_input.c
90
while (--count >= 0)
sys/ddb/db_input.c
95
db_putnchars(int c, int count)
sys/ddb/db_input.c
97
while (--count >= 0)
sys/ddb/db_pprint.c
423
db_pprint_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_ps.c
107
db_ps(db_expr_t addr, bool hasaddr, db_expr_t count, char *modif)
sys/ddb/db_ps.c
67
db_ps(addr, have_addr, count, modif);
sys/ddb/db_run.c
100
if (--bkpt->count == 0) {
sys/ddb/db_run.c
101
bkpt->count = bkpt->init_count;
sys/ddb/db_run.c
229
db_single_step_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_run.c
233
if (count == -1)
sys/ddb/db_run.c
234
count = 1;
sys/ddb/db_run.c
240
db_loop_count = count;
sys/ddb/db_run.c
241
db_sstep_multiple = (count != 1);
sys/ddb/db_run.c
253
db_trace_until_call_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
sys/ddb/db_run.c
272
db_trace_until_matching_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
sys/ddb/db_run.c
293
db_continue_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_script.c
341
db_scripts_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
sys/ddb/db_script.c
359
db_run_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_script.c
383
db_script_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
sys/ddb/db_script.c
429
db_unscript_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
sys/ddb/db_textdump.c
303
u_int count, fullblocks, len;
sys/ddb/db_textdump.c
315
for (count = 0; count < fullblocks; count++)
sys/ddb/db_textdump.c
316
(void)textdump_writenextblock(di, kernconfstring + count *
sys/ddb/db_textdump.c
320
bcopy(kernconfstring + count * TEXTDUMP_BLOCKSIZE,
sys/ddb/db_textdump.c
532
db_textdump_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/ddb/db_watch.c
188
db_deletewatch_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
sys/ddb/db_watch.c
197
db_watchpoint_cmd(db_expr_t addr, bool have_addr, db_expr_t count,
sys/ddb/db_write_cmd.c
45
db_write_cmd(db_expr_t address, bool have_addr, db_expr_t count,
sys/ddb/ddb.h
116
typedef void db_cmdfcn_t(db_expr_t addr, bool have_addr, db_expr_t count,
sys/ddb/ddb.h
186
_func(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/dev/aac/aac.c
1619
int count = 10000000L;
sys/dev/aac/aac.c
1621
if (--count == 0) {
sys/dev/aac/aac.c
3221
int count = 0, added = 0, i = 0;
sys/dev/aac/aac.c
3252
count = mir->MntRespCount;
sys/dev/aac/aac.c
3288
} while ((i < count) && (i < AAC_MAX_CONTAINERS));
sys/dev/aac/aac.c
419
int count = 0, i = 0;
sys/dev/aac/aac.c
432
count = mir->MntRespCount;
sys/dev/aac/aac.c
435
} while ((i < count) && (i < AAC_MAX_CONTAINERS));
sys/dev/aac/aac_pci.c
339
int count, error, rid;
sys/dev/aac/aac_pci.c
426
count = 1;
sys/dev/aac/aac_pci.c
427
if (pci_alloc_msi(dev, &count) == 0)
sys/dev/aacraid/aacraid.c
1439
int count = 10000000L;
sys/dev/aacraid/aacraid.c
1441
if (--count == 0) {
sys/dev/aacraid/aacraid.c
242
int count = 0, i = 0;
sys/dev/aacraid/aacraid.c
3127
int count = 0, changed = 0, i = 0;
sys/dev/aacraid/aacraid.c
3159
count = mir.MntRespCount;
sys/dev/aacraid/aacraid.c
3195
} while ((i < count) && (i < AAC_MAX_CONTAINERS));
sys/dev/aacraid/aacraid.c
323
count = mir.MntRespCount;
sys/dev/aacraid/aacraid.c
326
} while ((i < count) && (i < AAC_MAX_CONTAINERS));
sys/dev/acpica/acpi.c
1498
&rle->rid, rle->start, rle->start + rle->count - 1, rle->count,
sys/dev/acpica/acpi.c
1505
rle->start, rle->count, rle->type);
sys/dev/acpica/acpi.c
1569
rle->start, rle->end, rle->count, 0);
sys/dev/acpica/acpi.c
1577
rman_res_t start, rman_res_t count)
sys/dev/acpica/acpi.c
1599
end = (start + count - 1);
sys/dev/acpica/acpi.c
1600
resource_list_add(rl, type, rid, start, end, count);
sys/dev/acpica/acpi.c
1606
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/acpica/acpi.c
1634
resource_list_add(rl, type, rid, start, end, count);
sys/dev/acpica/acpi.c
1635
res = resource_list_alloc(rl, bus, child, type, rid, start, end, count,
sys/dev/acpica/acpi.c
164
static int acpi_isa_get_compatid(device_t dev, uint32_t *cids, int count);
sys/dev/acpica/acpi.c
1663
count = rle->count;
sys/dev/acpica/acpi.c
1668
start, end, count, flags);
sys/dev/acpica/acpi.c
1675
if (res == NULL && start + count - 1 == end)
sys/dev/acpica/acpi.c
1677
count, flags);
sys/dev/acpica/acpi.c
1881
acpi_isa_get_compatid(device_t dev, uint32_t *cids, int count)
sys/dev/acpica/acpi.c
1903
if (devinfo->CompatibleIdList.Count < count)
sys/dev/acpica/acpi.c
1904
count = devinfo->CompatibleIdList.Count;
sys/dev/acpica/acpi.c
1906
for (i = 0, valid = 0; i < count; i++)
sys/dev/acpica/acpi.c
3220
acpi_EvaluateOSC(ACPI_HANDLE handle, uint8_t *uuid, int revision, int count,
sys/dev/acpica/acpi.c
3236
arg[2].Integer.Value = count;
sys/dev/acpica/acpi.c
3238
arg[3].Buffer.Length = count * sizeof(*caps_in);
sys/dev/acpica/acpi.c
3249
if (ret->Buffer.Length != count * sizeof(*caps_out)) {
sys/dev/acpica/acpi_apei_bus.c
207
rman_res_t count)
sys/dev/acpica/acpi_apei_bus.c
228
end = start + (count - 1);
sys/dev/acpica/acpi_apei_bus.c
279
error = bus_set_resource(sc->dev, type, next_rid, start, count);
sys/dev/acpica/acpi_apei_bus.c
310
rman_res_t start, rman_res_t count)
sys/dev/acpica/acpi_apei_bus.c
319
reg = apei_alloc_register(sc, type, start, count);
sys/dev/acpica/acpi_apei_bus.c
327
req.length = count;
sys/dev/acpica/acpi_apei_bus.c
334
start + (count - 1), error);
sys/dev/acpica/acpi_apei_bus.c
396
apei_map_memory(device_t dev, rman_res_t start, rman_res_t count)
sys/dev/acpica/acpi_apei_bus.c
399
start, count));
sys/dev/acpica/acpi_battery.c
456
int count, error;
sys/dev/acpica/acpi_battery.c
458
count = acpi_battery_get_units();
sys/dev/acpica/acpi_battery.c
459
error = sysctl_handle_int(oidp, &count, 0, req);
sys/dev/acpica/acpi_container.c
112
acpi_syscont_alloc_msi(device_t bus, device_t dev, int count, int maxcount,
sys/dev/acpica/acpi_container.c
117
return (PCIB_ALLOC_MSI(device_get_parent(parent), dev, count, maxcount,
sys/dev/acpica/acpi_container.c
122
acpi_syscont_release_msi(device_t bus, device_t dev, int count, int *irqs)
sys/dev/acpica/acpi_container.c
126
return (PCIB_RELEASE_MSI(device_get_parent(parent), dev, count, irqs));
sys/dev/acpica/acpi_container.c
42
int count, int maxcount, int *irqs);
sys/dev/acpica/acpi_container.c
44
int count, int *irqs);
sys/dev/acpica/acpi_cpu.c
797
uint32_t count;
sys/dev/acpica/acpi_cpu.c
814
if (!ACPI_PKG_VALID(top, 2) || acpi_PkgInt32(top, 0, &count) != 0) {
sys/dev/acpica/acpi_cpu.c
819
if (count != top->Package.Count - 1) {
sys/dev/acpica/acpi_cpu.c
821
count, top->Package.Count - 1);
sys/dev/acpica/acpi_cpu.c
822
count = top->Package.Count - 1;
sys/dev/acpica/acpi_cpu.c
824
if (count > MAX_CX_STATES) {
sys/dev/acpica/acpi_cpu.c
825
device_printf(sc->cpu_dev, "_CST has too many states (%d)\n", count);
sys/dev/acpica/acpi_cpu.c
826
count = MAX_CX_STATES;
sys/dev/acpica/acpi_cpu.c
843
for (i = 0; i < count; i++) {
sys/dev/acpica/acpi_ec.c
850
int count, i, need_poll, slp_ival;
sys/dev/acpica/acpi_ec.c
858
count = (ec_timeout * 1000) / EC_POLL_DELAY;
sys/dev/acpica/acpi_ec.c
859
if (count == 0)
sys/dev/acpica/acpi_ec.c
860
count = 1;
sys/dev/acpica/acpi_ec.c
862
for (i = 0; i < count; i++) {
sys/dev/acpica/acpi_ec.c
871
count = ec_timeout;
sys/dev/acpica/acpi_ec.c
875
count = ec_timeout / (1000 / hz);
sys/dev/acpica/acpi_ec.c
884
for (i = 0; i < count; i++) {
sys/dev/acpica/acpi_einj.c
249
einj_execute_instructions(struct einj_instruction *inst, u_int count,
sys/dev/acpica/acpi_einj.c
252
for (u_int i = 0; i < count; i++, inst++) {
sys/dev/acpica/acpi_pci_link.c
112
int count;
sys/dev/acpica/acpi_pci_link.c
200
req->count++;
sys/dev/acpica/acpi_pci_link.c
463
creq.count = 0;
sys/dev/acpica/acpi_pci_link.c
469
creq.count = 0;
sys/dev/acpica/acpi_pci_link.c
480
sc->pl_num_links = creq.count;
sys/dev/acpica/acpi_pci_link.c
481
if (creq.count == 0) {
sys/dev/acpica/acpi_pcib_acpi.c
564
acpi_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount,
sys/dev/acpica/acpi_pcib_acpi.c
570
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/dev/acpica/acpi_pcib_acpi.c
609
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/acpica/acpi_pcib_acpi.c
615
start = hostb_alloc_start(type, start, end, count);
sys/dev/acpica/acpi_pcib_acpi.c
621
count, flags));
sys/dev/acpica/acpi_pcib_acpi.c
623
count, flags);
sys/dev/acpica/acpi_pcib_acpi.c
632
if (res == NULL && start + count - 1 == end)
sys/dev/acpica/acpi_pcib_acpi.c
634
count, flags);
sys/dev/acpica/acpi_pcib_acpi.c
87
int count, int maxcount, int *irqs);
sys/dev/acpica/acpi_pcib_acpi.c
94
rman_res_t start, rman_res_t end, rman_res_t count,
sys/dev/acpica/acpi_perf.c
106
int *count);
sys/dev/acpica/acpi_perf.c
246
int count, error, i, j;
sys/dev/acpica/acpi_perf.c
274
count = 0;
sys/dev/acpica/acpi_perf.c
286
p = &sc->px_states[count].core_freq;
sys/dev/acpica/acpi_perf.c
294
if (sc->px_states[count].core_freq == 0 ||
sys/dev/acpica/acpi_perf.c
295
sc->px_states[count].core_freq == 9999 ||
sys/dev/acpica/acpi_perf.c
296
sc->px_states[count].core_freq == 0x9999 ||
sys/dev/acpica/acpi_perf.c
297
sc->px_states[count].core_freq >= 0xffff)
sys/dev/acpica/acpi_perf.c
301
if (count > 0 &&
sys/dev/acpica/acpi_perf.c
302
sc->px_states[count - 1].core_freq ==
sys/dev/acpica/acpi_perf.c
303
sc->px_states[count].core_freq)
sys/dev/acpica/acpi_perf.c
306
count++;
sys/dev/acpica/acpi_perf.c
308
sc->px_count = count;
sys/dev/acpica/acpi_perf.c
311
if (count == 0)
sys/dev/acpica/acpi_perf.c
460
acpi_px_settings(device_t dev, struct cf_setting *sets, int *count)
sys/dev/acpica/acpi_perf.c
466
if (sets == NULL || count == NULL)
sys/dev/acpica/acpi_perf.c
468
if (*count < sc->px_count - sc->px_max_avail)
sys/dev/acpica/acpi_perf.c
475
*count = sc->px_count - sc->px_max_avail;
sys/dev/acpica/acpi_resource.c
575
int count, int trig, int pol);
sys/dev/acpica/acpi_resource.c
577
uint32_t *irq, int count, int trig, int pol);
sys/dev/acpica/acpi_resource.c
579
int count);
sys/dev/acpica/acpi_resource.c
612
acpi_res_ignore(device_t dev, int type, rman_res_t start, rman_res_t count)
sys/dev/acpica/acpi_resource.c
748
acpi_res_set_irq(device_t dev, void *context, uint8_t *irq, int count,
sys/dev/acpica/acpi_resource.c
757
for (i = 0; i < count; i++) {
sys/dev/acpica/acpi_resource.c
765
acpi_res_set_ext_irq(device_t dev, void *context, uint32_t *irq, int count,
sys/dev/acpica/acpi_resource.c
774
for (i = 0; i < count; i++) {
sys/dev/acpica/acpi_resource.c
782
acpi_res_set_drq(device_t dev, void *context, uint8_t *drq, int count)
sys/dev/acpica/acpi_resource.c
790
if (count != 1)
sys/dev/acpica/acpi_resource.c
871
rman_res_t start, end, count;
sys/dev/acpica/acpi_resource.c
890
count = dev_rle->count;
sys/dev/acpica/acpi_resource.c
904
bus_rle->count += bus_rle->start - start;
sys/dev/acpica/acpi_resource.c
911
bus_rle->count += end - bus_rle->end;
sys/dev/acpica/acpi_resource.c
923
resource_list_add_next(bus_rl, type, start, end, count);
sys/dev/acpica/acpi_throttle.c
344
acpi_thr_settings(device_t dev, struct cf_setting *sets, int *count)
sys/dev/acpica/acpi_throttle.c
348
if (sets == NULL || count == NULL)
sys/dev/acpica/acpi_throttle.c
350
if (*count < CPU_MAX_SPEED)
sys/dev/acpica/acpi_throttle.c
359
*count = CPU_MAX_SPEED;
sys/dev/acpica/acpi_throttle.c
99
int *count);
sys/dev/acpica/acpi_video.c
1009
int count;
sys/dev/acpica/acpi_video.c
1032
argset->count++;
sys/dev/acpica/acpi_video.c
1056
argset.count = -1;
sys/dev/acpica/acpi_video.c
1063
argset.count = -1;
sys/dev/acpica/acpi_video.c
1067
argset.count = res->Package.Count;
sys/dev/acpica/acpi_video.c
1073
argset.count = 0;
sys/dev/acpica/acpi_video.c
1082
return (argset.count);
sys/dev/acpica/acpivar.h
396
int revision, int count, uint32_t *caps_in,
sys/dev/acpica/acpivar.h
438
int count, int trig, int pol);
sys/dev/acpica/acpivar.h
440
int count, int trig, int pol);
sys/dev/acpica/acpivar.h
442
int count);
sys/dev/ae/if_ae.c
1502
unsigned int count;
sys/dev/ae/if_ae.c
1518
count = 0;
sys/dev/ae/if_ae.c
1535
count++;
sys/dev/ae/if_ae.c
1544
if (count > 0) { /* Something was dequeued. */
sys/dev/ae/if_ae.c
1548
if_printf(ifp, "%d packets dequeued.\n", count);
sys/dev/ae/if_ae.c
1906
int count;
sys/dev/ae/if_ae.c
1920
for (count = 0;; count++) {
sys/dev/ae/if_ae.c
1940
if (count > 0) {
sys/dev/age/if_age.c
2285
int count, nsegs;
sys/dev/age/if_age.c
2313
for (count = 0; count < nsegs; count++,
sys/dev/age/if_age.c
2345
if (count == nsegs - 1) {
sys/dev/age/if_age.c
2428
age_rxintr(struct age_softc *sc, int rr_prod, int count)
sys/dev/age/if_age.c
2446
if (count-- <= 0)
sys/dev/age/if_age.c
2486
return (count > 0 ? 0 : EAGAIN);
sys/dev/agp/agp.c
913
int i, count;
sys/dev/agp/agp.c
917
if (devclass_get_devices(agp_devclass, &children, &count) != 0)
sys/dev/agp/agp.c
920
for (i = 0; i < count; i++) {
sys/dev/ahci/ahci.c
1735
int count, timeout = ccb->ccb_h.timeout * 100;
sys/dev/ahci/ahci.c
1738
for (count = 0; count < timeout; count++) {
sys/dev/ahci/ahci.c
1779
for ( ; count < timeout; count++) {
sys/dev/ahci/ahci.c
1791
if (timeout && (count >= timeout)) {
sys/dev/ahci/ahci.c
580
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/ahci/ahci.h
559
#define ATA_INSW(res, offset, addr, count) \
sys/dev/ahci/ahci.h
560
bus_read_multi_2((res), (offset), (addr), (count))
sys/dev/ahci/ahci.h
561
#define ATA_INSW_STRM(res, offset, addr, count) \
sys/dev/ahci/ahci.h
562
bus_read_multi_stream_2((res), (offset), (addr), (count))
sys/dev/ahci/ahci.h
563
#define ATA_INSL(res, offset, addr, count) \
sys/dev/ahci/ahci.h
564
bus_read_multi_4((res), (offset), (addr), (count))
sys/dev/ahci/ahci.h
565
#define ATA_INSL_STRM(res, offset, addr, count) \
sys/dev/ahci/ahci.h
566
bus_read_multi_stream_4((res), (offset), (addr), (count))
sys/dev/ahci/ahci.h
573
#define ATA_OUTSW(res, offset, addr, count) \
sys/dev/ahci/ahci.h
574
bus_write_multi_2((res), (offset), (addr), (count))
sys/dev/ahci/ahci.h
575
#define ATA_OUTSW_STRM(res, offset, addr, count) \
sys/dev/ahci/ahci.h
576
bus_write_multi_stream_2((res), (offset), (addr), (count))
sys/dev/ahci/ahci.h
577
#define ATA_OUTSL(res, offset, addr, count) \
sys/dev/ahci/ahci.h
578
bus_write_multi_4((res), (offset), (addr), (count))
sys/dev/ahci/ahci.h
579
#define ATA_OUTSL_STRM(res, offset, addr, count) \
sys/dev/ahci/ahci.h
580
bus_write_multi_stream_4((res), (offset), (addr), (count))
sys/dev/ahci/ahci.h
658
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags);
sys/dev/aic7xxx/aic79xx.c
8804
int i, count;
sys/dev/aic7xxx/aic79xx.c
8807
for (i = 0, count = 0; i < 31; i++) {
sys/dev/aic7xxx/aic79xx.c
8812
count++;
sys/dev/aic7xxx/aic79xx.c
8814
if ((count & 0x01) == 0)
sys/dev/aic7xxx/aic79xx.c
9525
u_int start_addr, u_int count, int bytestream)
sys/dev/aic7xxx/aic79xx.c
9537
end_addr = start_addr + count;
sys/dev/aic7xxx/aic79xx.c
9569
u_int start_addr, u_int count)
sys/dev/aic7xxx/aic79xx.c
9591
end_addr = start_addr + count;
sys/dev/aic7xxx/aic79xx.h
983
u_int start_addr, u_int count, int bstream);
sys/dev/aic7xxx/aic79xx.h
986
u_int start_addr, u_int count);
sys/dev/aic7xxx/aic79xx_osm.c
1461
if (count <= 0)
sys/dev/aic7xxx/aic79xx_osm.c
1462
count = 1;
sys/dev/aic7xxx/aic79xx_osm.c
1463
while (--count >= 0) {
sys/dev/aic7xxx/aic79xx_osm.c
217
int count;
sys/dev/aic7xxx/aic79xx_osm.c
219
count = 0;
sys/dev/aic7xxx/aic79xx_osm.c
274
count++;
sys/dev/aic7xxx/aic79xx_osm.c
280
if (count != 0) {
sys/dev/aic7xxx/aic79xx_osm.c
288
return (count);
sys/dev/aic7xxx/aic79xx_osm.h
165
#define ahd_outsb(ahd, port, valp, count) \
sys/dev/aic7xxx/aic79xx_osm.h
168
(port & 0xFF), valp, count)
sys/dev/aic7xxx/aic79xx_osm.h
170
#define ahd_insb(ahd, port, valp, count) \
sys/dev/aic7xxx/aic79xx_osm.h
173
(port & 0xFF), valp, count)
sys/dev/aic7xxx/aic7xxx.c
5696
u_int count;
sys/dev/aic7xxx/aic7xxx.c
5699
count = 0;
sys/dev/aic7xxx/aic7xxx.c
5731
count++;
sys/dev/aic7xxx/aic7xxx.c
5748
return (count);
sys/dev/aic7xxx/aic7xxx.c
6594
int i, count;
sys/dev/aic7xxx/aic7xxx.c
6597
for (i = 0, count = 0; i < 31; i++) {
sys/dev/aic7xxx/aic7xxx.c
6602
count++;
sys/dev/aic7xxx/aic7xxx.c
6604
if ((count & 0x01) == 0)
sys/dev/aic7xxx/aic7xxx_93cx6.c
150
u_int start_addr, u_int count)
sys/dev/aic7xxx/aic7xxx_93cx6.c
161
for (k = start_addr; k < count + start_addr; k++) {
sys/dev/aic7xxx/aic7xxx_93cx6.c
205
for (k = 0; k < count; k = k + 1) {
sys/dev/aic7xxx/aic7xxx_93cx6.c
222
u_int start_addr, u_int count)
sys/dev/aic7xxx/aic7xxx_93cx6.c
247
for (k = start_addr; k < count + start_addr; k++) {
sys/dev/aic7xxx/aic7xxx_93cx6.h
97
u_int start_addr, u_int count);
sys/dev/aic7xxx/aic7xxx_93cx6.h
99
u_int start_addr, u_int count);
sys/dev/aic7xxx/aic7xxx_osm.c
149
int count;
sys/dev/aic7xxx/aic7xxx_osm.c
151
count = 0;
sys/dev/aic7xxx/aic7xxx_osm.c
220
count++;
sys/dev/aic7xxx/aic7xxx_osm.c
261
count++;
sys/dev/aic7xxx/aic7xxx_osm.c
279
if (count != 0) {
sys/dev/aic7xxx/aic7xxx_osm.c
287
return (count);
sys/dev/aic7xxx/aic7xxx_osm.h
152
#define ahc_outsb(ahc, port, valp, count) \
sys/dev/aic7xxx/aic7xxx_osm.h
153
bus_space_write_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count)
sys/dev/aic7xxx/aic7xxx_osm.h
155
#define ahc_insb(ahc, port, valp, count) \
sys/dev/aic7xxx/aic7xxx_osm.h
156
bus_space_read_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count)
sys/dev/al_eth/al_eth.c
1993
int i, msix_vecs, rc, count;
sys/dev/al_eth/al_eth.c
2023
count = msix_vecs + 2; /* entries start from 2 */
sys/dev/al_eth/al_eth.c
2024
rc = pci_alloc_msix(adapter->dev, &count);
sys/dev/al_eth/al_eth.c
2033
if (count != msix_vecs + 2) {
sys/dev/al_eth/al_eth.c
2035
"vectors %d, allocated %d\n", msix_vecs+2, count);
sys/dev/alc/if_alc.c
3515
alc_rxintr(struct alc_softc *sc, int count)
sys/dev/alc/if_alc.c
3530
if (count-- <= 0)
sys/dev/alc/if_alc.c
3583
return (count > 0 ? 0 : EAGAIN);
sys/dev/alc/if_alc.c
3632
int count, nsegs, rx_cons;
sys/dev/alc/if_alc.c
3660
for (count = 0; count < nsegs; count++,
sys/dev/alc/if_alc.c
3692
if (count == nsegs - 1) {
sys/dev/alc/if_alc.c
4684
alc_debugnet_poll(if_t ifp, int count)
sys/dev/alc/if_alc.c
4694
return (alc_rxintr(sc, count));
sys/dev/ale/if_ale.c
2415
ale_rxeof(struct ale_softc *sc, int count)
sys/dev/ale/if_ale.c
2440
for (prog = 0; prog < count; prog++) {
sys/dev/ale/if_ale.c
2520
return (count > 0 ? 0 : EAGAIN);
sys/dev/alpm/alpm.c
303
int count = 10000;
sys/dev/alpm/alpm.c
308
while (count--) {
sys/dev/alpm/alpm.c
319
if (!count)
sys/dev/alpm/alpm.c
541
alpm_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/alpm/alpm.c
547
if (count < 1 || count > 32)
sys/dev/alpm/alpm.c
563
ALPM_SMBOUTB(sc, SMBHDATA, count);
sys/dev/alpm/alpm.c
566
for (i = 0; i < count; i++) {
sys/dev/alpm/alpm.c
575
ALPM_DEBUG(printf("alpm: WRITEBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, count, cmd, error));
sys/dev/alpm/alpm.c
582
alpm_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/alpm/alpm.c
588
if (*count < 1 || *count > 32)
sys/dev/alpm/alpm.c
615
if (i < *count)
sys/dev/alpm/alpm.c
619
*count = len;
sys/dev/alpm/alpm.c
622
ALPM_DEBUG(printf("alpm: READBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, *count, cmd, error));
sys/dev/amd_ecc_inject/ecc_inject.c
176
ecc_ei_inject(int count)
sys/dev/amd_ecc_inject/ecc_inject.c
191
for (injected = 0; injected < count; injected++) {
sys/dev/amd_ecc_inject/ecc_inject.c
193
if (delay_ms != 0 && injected != count - 1)
sys/dev/amdpm/amdpm.c
305
int count = 10000;
sys/dev/amdpm/amdpm.c
311
while(count--) {
sys/dev/amdpm/amdpm.c
318
AMDPM_DEBUG(printf("amdpm: STS=0x%x (count=%d)\n", sts, count));
sys/dev/amdpm/amdpm.c
322
if (!count)
sys/dev/amdpm/amdpm.c
544
amdpm_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/amdpm/amdpm.c
551
if (count < 1 || count > 32)
sys/dev/amdpm/amdpm.c
567
AMDPM_SMBOUTW(sc, AMDSMB_HSTDATA, count);
sys/dev/amdpm/amdpm.c
570
for (i = 0; i < count; i++) {
sys/dev/amdpm/amdpm.c
581
AMDPM_DEBUG(printf("amdpm: WRITEBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, count, cmd, error));
sys/dev/amdpm/amdpm.c
588
amdpm_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/amdpm/amdpm.c
595
if (*count < 1 || *count > 32)
sys/dev/amdpm/amdpm.c
621
if (i < *count)
sys/dev/amdpm/amdpm.c
625
*count = len;
sys/dev/amdpm/amdpm.c
628
AMDPM_DEBUG(printf("amdpm: READBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, *count, cmd, error));
sys/dev/amdsmb/amdsmb.c
279
int error, count;
sys/dev/amdsmb/amdsmb.c
285
count = 10000;
sys/dev/amdsmb/amdsmb.c
289
} while (temp != 0 && count--);
sys/dev/amdsmb/amdsmb.c
290
if (count == 0)
sys/dev/amdsmb/amdsmb.c
488
amdsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/amdsmb/amdsmb.c
494
if (count < 1 || count > 32)
sys/dev/amdsmb/amdsmb.c
499
amdsmb_ec_write(sc, SMB_BCNT, count);
sys/dev/amdsmb/amdsmb.c
500
for (i = 0; i < count; i++)
sys/dev/amdsmb/amdsmb.c
508
"error=0x%x", slave, count, cmd, error));
sys/dev/amdsmb/amdsmb.c
515
amdsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/amdsmb/amdsmb.c
521
if (*count < 1 || *count > 32)
sys/dev/amdsmb/amdsmb.c
533
if (i < *count)
sys/dev/amdsmb/amdsmb.c
536
*count = len;
sys/dev/amdsmb/amdsmb.c
540
"error=0x%x", slave, *count, cmd, error));
sys/dev/apple_bce/apple_bce_mailbox.c
91
int count;
sys/dev/apple_bce/apple_bce_mailbox.c
94
count = (res >> 20) & 0xf;
sys/dev/apple_bce/apple_bce_mailbox.c
96
if (count == 0)
sys/dev/apple_bce/apple_bce_mailbox.c
99
while (count-- > 0) {
sys/dev/apple_bce/apple_bce_vhci.c
166
struct bce_vhci_evt_queue *eq, uint32_t count);
sys/dev/apple_bce/apple_bce_vhci.c
681
struct bce_vhci_evt_queue *eq, uint32_t count)
sys/dev/apple_bce/apple_bce_vhci.c
688
while (count-- > 0) {
sys/dev/aq/aq_main.c
842
aq_mc_filter_apply(void *arg, struct sockaddr_dl *dl, u_int count)
sys/dev/aq/aq_main.c
848
if (count == AQ_HW_MAC_MAX)
sys/dev/aq/aq_main.c
852
aq_hw_mac_addr_set(hw, mac_addr, count + 1);
sys/dev/aq/aq_main.c
854
aq_log_detail("set %d mc address %6D", count + 1, mac_addr, ":");
sys/dev/asmc/asmc.c
1790
int count = *sysctl_counts[s];
sys/dev/asmc/asmc.c
1791
if (count <= 0)
sys/dev/asmc/asmc.c
1798
for (i = 0; i < count; i++) {
sys/dev/ata/ata-all.c
748
request->u.ata.count = ((uint16_t)ccb->ataio.cmd.sector_count_exp << 8) |
sys/dev/ata/ata-all.c
929
res->sector_count = request->u.ata.count;
sys/dev/ata/ata-all.c
930
res->sector_count_exp = request->u.ata.count >> 8;
sys/dev/ata/ata-all.h
228
u_int16_t count; /* count reg */
sys/dev/ata/ata-all.h
320
u_int32_t count;
sys/dev/ata/ata-all.h
511
#define ATA_INSW(res, offset, addr, count) \
sys/dev/ata/ata-all.h
512
bus_read_multi_2((res), (offset), (addr), (count))
sys/dev/ata/ata-all.h
513
#define ATA_INSW_STRM(res, offset, addr, count) \
sys/dev/ata/ata-all.h
514
bus_read_multi_stream_2((res), (offset), (addr), (count))
sys/dev/ata/ata-all.h
515
#define ATA_INSL(res, offset, addr, count) \
sys/dev/ata/ata-all.h
516
bus_read_multi_4((res), (offset), (addr), (count))
sys/dev/ata/ata-all.h
517
#define ATA_INSL_STRM(res, offset, addr, count) \
sys/dev/ata/ata-all.h
518
bus_read_multi_stream_4((res), (offset), (addr), (count))
sys/dev/ata/ata-all.h
527
#define ATA_OUTSW(res, offset, addr, count) \
sys/dev/ata/ata-all.h
528
bus_write_multi_2((res), (offset), (addr), (count))
sys/dev/ata/ata-all.h
529
#define ATA_OUTSW_STRM(res, offset, addr, count) \
sys/dev/ata/ata-all.h
530
bus_write_multi_stream_2((res), (offset), (addr), (count))
sys/dev/ata/ata-all.h
531
#define ATA_OUTSL(res, offset, addr, count) \
sys/dev/ata/ata-all.h
532
bus_write_multi_4((res), (offset), (addr), (count))
sys/dev/ata/ata-all.h
533
#define ATA_OUTSL_STRM(res, offset, addr, count) \
sys/dev/ata/ata-all.h
534
bus_write_multi_stream_4((res), (offset), (addr), (count))
sys/dev/ata/ata-all.h
548
#define ATA_IDX_INSW(ch, idx, addr, count) \
sys/dev/ata/ata-all.h
549
ATA_INSW(ch->r_io[idx].res, ch->r_io[idx].offset, addr, count)
sys/dev/ata/ata-all.h
551
#define ATA_IDX_INSW_STRM(ch, idx, addr, count) \
sys/dev/ata/ata-all.h
552
ATA_INSW_STRM(ch->r_io[idx].res, ch->r_io[idx].offset, addr, count)
sys/dev/ata/ata-all.h
554
#define ATA_IDX_INSL(ch, idx, addr, count) \
sys/dev/ata/ata-all.h
555
ATA_INSL(ch->r_io[idx].res, ch->r_io[idx].offset, addr, count)
sys/dev/ata/ata-all.h
557
#define ATA_IDX_INSL_STRM(ch, idx, addr, count) \
sys/dev/ata/ata-all.h
558
ATA_INSL_STRM(ch->r_io[idx].res, ch->r_io[idx].offset, addr, count)
sys/dev/ata/ata-all.h
572
#define ATA_IDX_OUTSW(ch, idx, addr, count) \
sys/dev/ata/ata-all.h
573
ATA_OUTSW(ch->r_io[idx].res, ch->r_io[idx].offset, addr, count)
sys/dev/ata/ata-all.h
575
#define ATA_IDX_OUTSW_STRM(ch, idx, addr, count) \
sys/dev/ata/ata-all.h
576
ATA_OUTSW_STRM(ch->r_io[idx].res, ch->r_io[idx].offset, addr, count)
sys/dev/ata/ata-all.h
578
#define ATA_IDX_OUTSL(ch, idx, addr, count) \
sys/dev/ata/ata-all.h
579
ATA_OUTSL(ch->r_io[idx].res, ch->r_io[idx].offset, addr, count)
sys/dev/ata/ata-all.h
581
#define ATA_IDX_OUTSL_STRM(ch, idx, addr, count) \
sys/dev/ata/ata-all.h
582
ATA_OUTSL_STRM(ch->r_io[idx].res, ch->r_io[idx].offset, addr, count)
sys/dev/ata/ata-dma.c
256
prd[i].count = htole32(segs[i].ds_len);
sys/dev/ata/ata-dma.c
258
prd[i - 1].count |= htole32(ATA_DMA_EOT);
sys/dev/ata/ata-lowlevel.c
758
request->u.ata.count = (ATA_IDX_INB(ch, ATA_COUNT) << 8);
sys/dev/ata/ata-lowlevel.c
765
request->u.ata.count |= ATA_IDX_INB(ch, ATA_COUNT);
sys/dev/ata/ata-lowlevel.c
772
request->u.ata.count = ATA_IDX_INB(ch, ATA_COUNT);
sys/dev/ata/ata-lowlevel.c
788
ATA_IDX_OUTB(ch, ATA_COUNT, request->u.ata.count >> 8);
sys/dev/ata/ata-lowlevel.c
789
ATA_IDX_OUTB(ch, ATA_COUNT, request->u.ata.count);
sys/dev/ata/ata-lowlevel.c
800
ATA_IDX_OUTB(ch, ATA_COUNT, request->u.ata.count);
sys/dev/ata/ata-pci.c
220
rman_res_t start, rman_res_t end, rman_res_t count,
sys/dev/ata/ata-pci.c
235
count = ATA_IOSIZE;
sys/dev/ata/ata-pci.c
236
end = start + count - 1;
sys/dev/ata/ata-pci.c
241
start, end, count, flags);
sys/dev/ata/ata-pci.c
247
count = ATA_CTLIOSIZE;
sys/dev/ata/ata-pci.c
248
end = start + count - 1;
sys/dev/ata/ata-pci.c
253
start, end, count, flags);
sys/dev/ata/ata-pci.c
273
type, rid, start, end, count, flags);
sys/dev/ata/ata-pci.h
540
struct resource * ata_pci_alloc_resource(device_t dev, device_t child, int type, int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags);
sys/dev/ata/ata-sata.c
276
fis[12] = request->u.ata.count;
sys/dev/ata/ata-sata.c
277
fis[13] = request->u.ata.count >> 8;
sys/dev/ata/chipsets/ata-intel.c
895
ATA_IDX_OUTW(ch, ATA_COUNT, request->u.ata.count);
sys/dev/ata/chipsets/ata-intel.c
906
ATA_IDX_OUTB(ch, ATA_COUNT, request->u.ata.count);
sys/dev/ata/chipsets/ata-marvell.c
79
u_int32_t count;
sys/dev/ata/chipsets/ata-promise.c
1000
prd[i - 1].count = htole32(segs[i - 1].ds_len - MAXLASTSGSIZE);
sys/dev/ata/chipsets/ata-promise.c
1001
prd[i].count = htole32(MAXLASTSGSIZE);
sys/dev/ata/chipsets/ata-promise.c
1007
prd[i - 1].count |= htole32(ATA_DMA_EOT);
sys/dev/ata/chipsets/ata-promise.c
1131
wordp[idx++] = prd[i].count;
sys/dev/ata/chipsets/ata-promise.c
1132
} while (!(prd[i++].count & ATA_DMA_EOT));
sys/dev/ata/chipsets/ata-promise.c
1196
bytep[i++] = request->u.ata.count >> 8;
sys/dev/ata/chipsets/ata-promise.c
1197
bytep[i++] = request->u.ata.count;
sys/dev/ata/chipsets/ata-promise.c
1214
bytep[i++] = request->u.ata.count;
sys/dev/ata/chipsets/ata-promise.c
996
prd[i].count = htole32(segs[i].ds_len);
sys/dev/ata/chipsets/ata-serverworks.c
263
request->u.ata.count = ATA_IDX_INW(ch, ATA_COUNT);
sys/dev/ata/chipsets/ata-serverworks.c
275
request->u.ata.count = ATA_IDX_INW(ch, ATA_COUNT) & 0x00ff;
sys/dev/ata/chipsets/ata-serverworks.c
290
ATA_IDX_OUTW(ch, ATA_COUNT, request->u.ata.count);
sys/dev/ata/chipsets/ata-serverworks.c
301
ATA_IDX_OUTW(ch, ATA_COUNT, request->u.ata.count);
sys/dev/ata/chipsets/ata-via.c
449
int devs, count;
sys/dev/ata/chipsets/ata-via.c
454
count = 0;
sys/dev/ata/chipsets/ata-via.c
460
count++;
sys/dev/ata/chipsets/ata-via.c
461
} while (status & ATA_S_BUSY && count < 100);
sys/dev/ata/chipsets/ata-via.c
464
count = 0;
sys/dev/ata/chipsets/ata-via.c
470
count++;
sys/dev/ata/chipsets/ata-via.c
471
} while (status & ATA_S_BUSY && count < 100);
sys/dev/ath/ath_hal/ar5212/ar5212_reset.c
1134
uint32_t count;
sys/dev/ath/ath_hal/ar5212/ar5212_reset.c
1153
for (count = 0; count < MAX_RESET_WAIT; count++) {
sys/dev/ath/if_ath.c
565
int count;
sys/dev/ath/if_ath.c
574
count = sscanf(local_macstr, "%x%*c%x%*c%x%*c%x%*c%x%*c%x",
sys/dev/ath/if_ath.c
578
if (count == 6) {
sys/dev/ath/if_ath_lna_div.c
804
antcomb->count++;
sys/dev/ath/if_ath_lna_div.c
806
if (antcomb->count == ATH_ANT_DIV_COMB_MAX_COUNT) {
sys/dev/ath/if_ath_lna_div.c
815
antcomb->count = 0;
sys/dev/ath/if_ath_lna_div.h
52
uint16_t count;
sys/dev/atkbdc/atkbdc_isa.c
100
rman_res_t count;
sys/dev/atkbdc/atkbdc_isa.c
129
if (bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count) != 0)
sys/dev/atkbdc/atkbdc_isa.c
133
count++;
sys/dev/atkbdc/atkbdc_isa.c
135
if (count > 1) /* adjust the count and/or start port */
sys/dev/atkbdc/atkbdc_isa.c
297
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/atkbdc/atkbdc_isa.c
305
end, count, flags));
sys/dev/atkbdc/atkbdc_isa.c
54
rman_res_t count, u_int flags);
sys/dev/atkbdc/psm.c
169
int count; /* # of valid elements in the buffer */
sys/dev/atkbdc/psm.c
2243
sc->queue.count = 0;
sys/dev/atkbdc/psm.c
2454
while (sc->queue.count <= 0) {
sys/dev/atkbdc/psm.c
2474
while ((sc->queue.count > 0) && (uio->uio_resid > 0)) {
sys/dev/atkbdc/psm.c
2476
l = imin(sc->queue.count, uio->uio_resid);
sys/dev/atkbdc/psm.c
2487
sc->queue.count -= l;
sys/dev/atkbdc/psm.c
2542
sc->queue.count = 0;
sys/dev/atkbdc/psm.c
5222
if (sc->queue.count + pb->inputbytes < sizeof(sc->queue.buf)) {
sys/dev/atkbdc/psm.c
5231
sc->queue.count += pb->inputbytes;
sys/dev/atkbdc/psm.c
5273
if (sc->queue.count > 0)
sys/dev/atkbdc/psm.c
5298
return (sc->queue.count != 0 ? 1 : 0);
sys/dev/axgbe/if_axgbe_pci.c
769
int i, j, count;
sys/dev/axgbe/if_axgbe_pci.c
775
count = max_t(unsigned int, pdata->tx_ring_count, pdata->rx_ring_count);
sys/dev/axgbe/if_axgbe_pci.c
778
for (i = 0; i < count ; i++) {
sys/dev/axgbe/if_axgbe_pci.c
793
pdata->total_channel_count = count;
sys/dev/axgbe/if_axgbe_pci.c
796
for (i = 0; i < count; i++) {
sys/dev/axgbe/xgbe-dev.c
1620
unsigned int count = 2000;
sys/dev/axgbe/xgbe-dev.c
1627
while (--count && XGMAC_IOREAD_BITS(pdata, DMA_MR, SWR))
sys/dev/axgbe/xgbe-dev.c
1630
if (!count)
sys/dev/axgbe/xgbe-dev.c
1656
unsigned int i, count;
sys/dev/axgbe/xgbe-dev.c
1666
count = 2000;
sys/dev/axgbe/xgbe-dev.c
1667
while (--count && XGMAC_MTL_IOREAD_BITS(pdata, i,
sys/dev/axgbe/xgbe-dev.c
1671
if (!count)
sys/dev/axgbe/xgbe-phy-v1.c
616
unsigned int reg, count;
sys/dev/axgbe/xgbe-phy-v1.c
623
count = 50;
sys/dev/axgbe/xgbe-phy-v1.c
627
} while ((reg & MDIO_CTRL1_RESET) && --count);
sys/dev/axgbe/xgbe-sysctl.c
282
int count = 0;
sys/dev/axgbe/xgbe-sysctl.c
287
count++;
sys/dev/axgbe/xgbe-sysctl.c
309
*n_op = count;
sys/dev/axgbe/xgbe-sysctl.c
313
*n_op = count;
sys/dev/axgbe/xgbe-txrx.c
454
uint8_t count = iru->iru_count;
sys/dev/axgbe/xgbe-txrx.c
460
iru->iru_pidx, count, ring->cur, ring->dirty);
sys/dev/axgbe/xgbe-txrx.c
462
for (i = iru->iru_pidx, j = 0 ; j < count ; i++, j++) {
sys/dev/axgbe/xgbe-txrx.c
567
int count = 0;
sys/dev/axgbe/xgbe-txrx.c
575
return (count);
sys/dev/axgbe/xgbe-txrx.c
579
for (count = 0; count <= budget; ) {
sys/dev/axgbe/xgbe-txrx.c
604
count++;
sys/dev/axgbe/xgbe-txrx.c
612
running, count);
sys/dev/axgbe/xgbe-txrx.c
614
return (count);
sys/dev/axgbe/xgbe_osdep.h
231
get_bitmask_order(unsigned int count)
sys/dev/axgbe/xgbe_osdep.h
235
order = fls(count);
sys/dev/bce/if_bce.c
10329
bce_dump_tx_chain(struct bce_softc *sc, u16 tx_prod, int count)
sys/dev/bce/if_bce.c
10351
for (int i = 0; i < count; i++) {
sys/dev/bce/if_bce.c
10370
bce_dump_rx_bd_chain(struct bce_softc *sc, u16 rx_prod, int count)
sys/dev/bce/if_bce.c
10394
for (int i = 0; i < count; i++) {
sys/dev/bce/if_bce.c
10413
bce_dump_pg_chain(struct bce_softc *sc, u16 pg_prod, int count)
sys/dev/bce/if_bce.c
10437
for (int i = 0; i < count; i++) {
sys/dev/bce/if_bce.c
1045
int count, error, rc = 0, rid;
sys/dev/bce/if_bce.c
1082
count = 0;
sys/dev/bce/if_bce.c
1089
msi_needed = count = 1;
sys/dev/bce/if_bce.c
1091
if (((error = pci_alloc_msix(dev, &count)) != 0) ||
sys/dev/bce/if_bce.c
1092
(count != msi_needed)) {
sys/dev/bce/if_bce.c
1095
msi_needed, count, error);
sys/dev/bce/if_bce.c
1096
count = 0;
sys/dev/bce/if_bce.c
1111
(bce_msi_enable >= 1) && (count == 0)) {
sys/dev/bce/if_bce.c
1112
count = 1;
sys/dev/bce/if_bce.c
1113
if ((error = pci_alloc_msi(dev, &count)) != 0) {
sys/dev/bce/if_bce.c
1116
count = 0;
sys/dev/bce/if_bce.c
1129
if (count == 0) {
sys/dev/bce/if_bce.c
1136
&rid, RF_ACTIVE | (count != 0 ? 0 : RF_SHAREABLE));
sys/dev/bce/if_bce.c
7412
int count = 0;
sys/dev/bce/if_bce.c
7468
count++;
sys/dev/bce/if_bce.c
7475
if (count == 0) {
sys/dev/bce/if_bce.c
7482
"send queue.\n", __FUNCTION__, count);
sys/dev/bce/if_bce.c
9697
bce_dump_tx_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count)
sys/dev/bce/if_bce.c
9706
for (int i = 0; i < count; i++) {
sys/dev/bce/if_bce.c
9726
bce_dump_rx_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count)
sys/dev/bce/if_bce.c
9735
for (int i = 0; i < count; i++) {
sys/dev/bce/if_bce.c
9755
bce_dump_pg_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count)
sys/dev/bce/if_bce.c
9764
for (int i = 0; i < count; i++) {
sys/dev/bge/if_bge.c
4527
bge_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/bge/if_bge.c
4565
sc->rxcycles = count;
sys/dev/bge/if_bge.c
470
static int bge_poll(if_t ifp, enum poll_cmd cmd, int count);
sys/dev/bge/if_bge.c
5331
int count;
sys/dev/bge/if_bge.c
5343
for (count = 0; !if_sendq_empty(ifp);) {
sys/dev/bge/if_bge.c
5364
++count;
sys/dev/bge/if_bge.c
5373
if (count > 0)
sys/dev/bge/if_bge.c
6848
bge_debugnet_poll(if_t ifp, int count)
sys/dev/bhnd/bcma/bcma_erom.c
366
u_int count;
sys/dev/bhnd/bcma/bcma_erom.c
376
for (count = 0, error = 0; !error; count++) {
sys/dev/bhnd/bcma/bcma_erom.c
392
buffer = mallocarray(count, sizeof(struct bhnd_core_info), M_BHND,
sys/dev/bhnd/bcma/bcma_erom.c
401
for (u_int i = 0; i < count; i++) {
sys/dev/bhnd/bcma/bcma_erom.c
429
*num_cores = count;
sys/dev/bhnd/bhnd.c
1008
bus_size_t count) \
sys/dev/bhnd/bhnd.c
1011
offset, datap, count); \
sys/dev/bhnd/bhnd.h
1293
rman_res_t end, rman_res_t count, u_int flags)
sys/dev/bhnd/bhnd.h
1296
start, end, count, flags);
sys/dev/bhnd/bhnd.h
553
const char *name, void *buf, size_t count,
sys/dev/bhnd/bhnd.h
622
rman_res_t count, u_int flags);
sys/dev/bhnd/bhnd_subr.c
2193
int rid, rman_res_t start, rman_res_t end, rman_res_t count,
sys/dev/bhnd/bhnd_subr.c
2204
res = BUS_ALLOC_RESOURCE(dev, child, type, rid, start, end, count,
sys/dev/bhnd/bhndb/bhndb.c
1023
rle->count = rman_get_size(rv);
sys/dev/bhnd/bhndb/bhndb.c
1827
_type _ptr datap, bus_size_t count) \
sys/dev/bhnd/bhndb/bhndb.c
1829
BHNDB_IO_COMMON_SETUP(sizeof(_type) * count); \
sys/dev/bhnd/bhndb/bhndb.c
1831
datap, count); \
sys/dev/bhnd/bhndb/bhndb.c
940
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/bhnd/bhndb/bhndb.c
960
child, type, rid, start, end, count, flags));
sys/dev/bhnd/bhndb/bhndb.c
987
count = ulmax(count, rle->count);
sys/dev/bhnd/bhndb/bhndb.c
991
if (start > end || count > ((end - start) + 1))
sys/dev/bhnd/bhndb/bhndb.c
995
rv = rman_reserve_resource(rm, start, end, count, flags & ~RF_ACTIVE,
sys/dev/bhnd/bhndb/bhndb_pci.c
328
int error, count;
sys/dev/bhnd/bhndb/bhndb_pci.c
335
count = BHNDB_PCI_MSI_COUNT;
sys/dev/bhnd/bhndb/bhndb_pci.c
336
if ((error = pci_alloc_msi(sc->parent, &count))) {
sys/dev/bhnd/bhndb/bhndb_pci.c
343
if (count < BHNDB_PCI_MSI_COUNT) {
sys/dev/bhnd/bhndb/bhndb_pci.c
348
*msi_count = count;
sys/dev/bhnd/bhndb/bhndb_subr.c
1441
size_t count;
sys/dev/bhnd/bhndb/bhndb_subr.c
1443
count = 0;
sys/dev/bhnd/bhndb/bhndb_subr.c
1446
count++;
sys/dev/bhnd/bhndb/bhndb_subr.c
1449
return (count);
sys/dev/bhnd/bhndb/bhndb_subr.c
203
rman_res_t start, rman_res_t count)
sys/dev/bhnd/bhndb/bhndb_subr.c
215
if (rman_get_end(r) < (start + count - 1))
sys/dev/bhnd/bhndb/bhndb_subr.c
850
rman_res_t count, u_int flags)
sys/dev/bhnd/bhndb/bhndb_subr.c
861
start, end, count, flags);
sys/dev/bhnd/bhndb/bhndbvar.h
102
rman_res_t count);
sys/dev/bhnd/bhndb/bhndbvar.h
88
rman_res_t count, u_int flags);
sys/dev/bhnd/cores/chipc/chipc.c
768
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/bhnd/cores/chipc/chipc.c
788
start, end, count, flags);
sys/dev/bhnd/cores/chipc/chipc.c
817
count = ulmax(count, rle->count);
sys/dev/bhnd/cores/chipc/chipc.c
825
start, end, count, flags);
sys/dev/bhnd/cores/chipc/chipc.c
841
cr->cr_end == end && cr->cr_count == count)
sys/dev/bhnd/cores/chipc/chipc.c
844
start, end, count, flags);
sys/dev/bhnd/cores/chipc/chipc.c
854
count, flags);
sys/dev/bhnd/cores/chipc/chipc.c
865
rle->count = rman_get_size(rv);
sys/dev/bhnd/cores/chipc/chipc_private.h
67
rman_res_t count, u_int port, u_int region);
sys/dev/bhnd/cores/chipc/chipc_subr.c
235
rman_res_t start, rman_res_t count, u_int port, u_int region)
sys/dev/bhnd/cores/chipc/chipc_subr.c
243
isdefault = RMAN_IS_DEFAULT_RANGE(start, count);
sys/dev/bhnd/cores/chipc/chipc_subr.c
258
count = region_size;
sys/dev/bhnd/cores/chipc/chipc_subr.c
262
if (start > region_size || region_size - start < count) {
sys/dev/bhnd/cores/chipc/chipc_subr.c
266
count);
sys/dev/bhnd/cores/chipc/chipc_subr.c
271
region_addr + start, count));
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
126
size_t count; /**< total variable count */
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
639
bcm->count = 0;
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
717
bcm->count++;
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
747
bcm->count++;
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
806
return (bcm->count);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcmraw.c
270
bcm->count = 0;
sys/dev/bhnd/nvram/bhnd_nvram_data_bcmraw.c
294
bcm->count++;
sys/dev/bhnd/nvram/bhnd_nvram_data_bcmraw.c
367
return (bcm->count);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcmraw.c
70
size_t count; /**< variable count */
sys/dev/bhnd/nvram/bhnd_nvram_data_btxt.c
481
btxt->count = 0;
sys/dev/bhnd/nvram/bhnd_nvram_data_btxt.c
525
btxt->count++;
sys/dev/bhnd/nvram/bhnd_nvram_data_btxt.c
565
return (btxt->count);
sys/dev/bhnd/nvram/bhnd_nvram_data_btxt.c
66
size_t count; /**< variable count */
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
1171
for (size_t i = 0; i < binding->count; i++) {
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
554
for (size_t i = 0; i < binding->count; i++) {
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
1069
uint8_t count, skip_in, skip_out;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
1085
count = *state->input;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
1088
count = 1;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
1092
error = bhnd_sprom_opcode_set_bind(state, count,
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
1100
uint8_t count, skip_in, skip_out;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
1105
count = immd;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
1110
error = bhnd_sprom_opcode_set_bind(state, count,
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
472
bhnd_sprom_opcode_set_bind(bhnd_sprom_opcode_state *state, uint8_t count,
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
493
if (count == 0) {
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
504
if (iskip_scaled > 0 && UINT32_MAX / iskip_scaled < count) {
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
509
iskip_total = iskip_scaled * count;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
529
state->var.bind.count = count;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
562
if (state->var.bind.count > 0) {
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
563
skip = state->var.bind.skip_in * state->var.bind.count;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
933
uint8_t count, skip_in, skip_out;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
937
count = 1;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
942
error = bhnd_sprom_opcode_set_bind(state, count,
sys/dev/bhnd/nvram/bhnd_nvram_data_spromvar.h
89
uint8_t count;
sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c
378
tlv->count = 0;
sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c
406
tlv->count++;
sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c
444
return (tlv->count);
sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c
61
size_t count; /**< variable count */
sys/dev/bhnd/nvram/bhnd_nvram_datavar.h
196
_macro(_cname, count) \
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
148
index->count = 0;
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
187
if (index->count >= index->capacity)
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
190
index->cookiep[index->count] = cookiep;
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
191
index->count++;
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
258
qsort_r(index->cookiep, index->count, sizeof(index->cookiep[0]),
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
465
if (path->index->count == 0)
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
483
if (idxpos >= path->index->count)
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
556
if (index->count == 0)
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
561
max = index->count - 1;
sys/dev/bhnd/nvram/bhnd_nvram_storevar.h
232
size_t count; /**< entry count */
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
343
get.count = 0;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
356
n = data->count;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
395
get.count = 0;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
408
n = data->count;
sys/dev/bnxt/bnxt_en/bnxt_dcb.c
439
data->count = n;
sys/dev/bnxt/bnxt_en/bnxt_log.c
220
size_t count = 0;
sys/dev/bnxt/bnxt_en/bnxt_log.c
223
count++;
sys/dev/bnxt/bnxt_en/bnxt_log.c
224
return (count + 1);
sys/dev/bnxt/bnxt_en/bnxt_log.c
234
int count;
sys/dev/bnxt/bnxt_en/bnxt_log.c
239
count = (tail > head) ? (tail - head) : (tail - head + mask + 1);
sys/dev/bnxt/bnxt_en/bnxt_log.c
240
while (count--) {
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
301
uint16_t count;
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
308
count = iru->iru_count;
sys/dev/bnxt/bnxt_en/bnxt_txrx.c
324
for (i=0; i<count; i++) {
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
60369
uint16_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
60453
uint16_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
67154
uint8_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
67552
uint16_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
67623
uint16_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
67796
uint16_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
67839
uint32_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
68133
uint8_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
85760
uint32_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
85810
uint32_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
85847
uint32_t count;
sys/dev/bnxt/bnxt_en/hsi_struct_def.h
85887
uint32_t count;
sys/dev/bnxt/bnxt_re/bnxt_re.h
653
struct bnxt_re_dscp2pri *d2p, u16 count,
sys/dev/bnxt/bnxt_re/bnxt_re.h
656
struct bnxt_re_dscp2pri *d2p, u16 *count,
sys/dev/bnxt/bnxt_re/ib_verbs.c
3599
u32 count = 0;
sys/dev/bnxt/bnxt_re/ib_verbs.c
3633
if (++count >= BNXT_RE_RQ_WQE_THRESHOLD) {
sys/dev/bnxt/bnxt_re/ib_verbs.c
3635
count = 0;
sys/dev/bnxt/bnxt_re/ib_verbs.c
3640
if (count)
sys/dev/bnxt/bnxt_re/ib_verbs.c
3942
cq->qplib_cq.count = cq_count;
sys/dev/bnxt/bnxt_re/main.c
2257
u32 count;
sys/dev/bnxt/bnxt_re/main.c
2293
for(count = 0; count < BNXT_RE_MAX_SGID_ENTRIES; count++)
sys/dev/bnxt/bnxt_re/main.c
2294
rdev->gid_map[count] = -1;
sys/dev/bnxt/bnxt_re/main.c
2796
struct bnxt_re_dscp2pri *d2p, u16 *count,
sys/dev/bnxt/bnxt_re/main.c
2804
u16 in_count = *count;
sys/dev/bnxt/bnxt_re/main.c
2810
data_len = *count * sizeof(*dscp2pri);
sys/dev/bnxt/bnxt_re/main.c
2841
*count = le16_to_cpu(resp.entry_cnt);
sys/dev/bnxt/bnxt_re/main.c
2859
struct bnxt_re_dscp2pri *d2p, u16 count,
sys/dev/bnxt/bnxt_re/main.c
2889
for (i = 0; i < count; i++) {
sys/dev/bnxt/bnxt_re/main.c
2896
req.entry_cnt = cpu_to_le16(count);
sys/dev/bnxt/bnxt_re/qplib_fp.c
2515
u16 count = -1;
sys/dev/bnxt/bnxt_re/qplib_fp.c
2563
-ERESTARTSYS && count--)
sys/dev/bnxt/bnxt_re/qplib_fp.h
460
u16 count;
sys/dev/bwn/if_bwn.c
4498
size_t count, size_t array_size)
sys/dev/bwn/if_bwn.c
4515
for (i = 0; i < count; i++) {
sys/dev/bwn/if_bwn_phy_lp.c
2136
int count, void *_data)
sys/dev/bwn/if_bwn_phy_lp.c
2148
for (i = 0; i < count; i++) {
sys/dev/bwn/if_bwn_phy_lp.c
2175
int count, const void *_data)
sys/dev/bwn/if_bwn_phy_lp.c
2187
for (i = 0; i < count; i++) {
sys/dev/bwn/if_bwn_phy_lp.c
3702
bwn_phy_lp_gaintbl_write_multi(struct bwn_mac *mac, int offset, int count,
sys/dev/bwn/if_bwn_phy_lp.c
3707
for (i = offset; i < count; i++)
sys/dev/bwn/if_bwn_phy_lp.c
817
uint32_t count, freqref, freqvco, val[3], timeout, timeoutref,
sys/dev/bwn/if_bwn_phy_lp.c
873
count = (bwn_phy_lp_roundup(val[2], val[1] + 16, 16) * (timeout + 1) *
sys/dev/bwn/if_bwn_phy_lp.c
876
0xf0, count >> 8);
sys/dev/bwn/if_bwn_phy_lp.c
877
BWN_RF_WRITE(mac, BWN_B2063_JTAG_VCO_CALIB8, count & 0xff);
sys/dev/bxe/bxe.c
1112
int count, i;
sys/dev/bxe/bxe.c
1119
count = NVRAM_TIMEOUT_COUNT;
sys/dev/bxe/bxe.c
1121
count *= 100;
sys/dev/bxe/bxe.c
1128
for (i = 0; i < count*10; i++) {
sys/dev/bxe/bxe.c
1151
int count, i;
sys/dev/bxe/bxe.c
1155
count = NVRAM_TIMEOUT_COUNT;
sys/dev/bxe/bxe.c
1157
count *= 100;
sys/dev/bxe/bxe.c
1164
for (i = 0; i < count*10; i++) {
sys/dev/bxe/bxe.c
1217
int count, i, rc;
sys/dev/bxe/bxe.c
1234
count = NVRAM_TIMEOUT_COUNT;
sys/dev/bxe/bxe.c
1236
count *= 100;
sys/dev/bxe/bxe.c
1242
for (i = 0; i < count; i++) {
sys/dev/bxe/bxe.c
1331
int count, i, rc;
sys/dev/bxe/bxe.c
1350
count = NVRAM_TIMEOUT_COUNT;
sys/dev/bxe/bxe.c
1352
count *= 100;
sys/dev/bxe/bxe.c
1357
for (i = 0; i < count; i++) {
sys/dev/bxe/bxe.c
16716
int count, i;
sys/dev/bxe/bxe.c
16741
count = 1000 * factor;
sys/dev/bxe/bxe.c
16742
while (count) {
sys/dev/bxe/bxe.c
16750
count--;
sys/dev/bxe/bxe.c
16759
count = (1000 * factor);
sys/dev/bxe/bxe.c
16760
while (count) {
sys/dev/bxe/bxe.c
16767
count--;
sys/dev/bxe/bxe.c
16798
count = (1000 * factor);
sys/dev/bxe/bxe.c
16799
while (count) {
sys/dev/bxe/bxe.c
16807
count--;
sys/dev/bxe/bxe.c
19438
bxe_debugnet_poll(if_t ifp, int count)
sys/dev/bxe/bxe.c
3533
int i, count;
sys/dev/bxe/bxe.c
3539
count = 1000;
sys/dev/bxe/bxe.c
3547
if (count == 0) {
sys/dev/bxe/bxe.c
3554
count--;
sys/dev/bxe/bxe_elink.c
3298
uint32_t count = 1000;
sys/dev/bxe/bxe_elink.c
3308
while ((init_crd != crd) && count) {
sys/dev/bxe/bxe_elink.c
3311
count--;
sys/dev/bxe/bxe_elink.c
8044
uint32_t count = 0;
sys/dev/bxe/bxe_elink.c
8082
count++;
sys/dev/bxe/bxe_elink.c
8083
if (count > 300) {
sys/dev/cesa/cesa.c
1066
sc->sc_sram_size = rle->count;
sys/dev/cfe/cfe_api.c
520
int count = 0;
sys/dev/cfe/cfe_api.c
523
count++;
sys/dev/cfe/cfe_api.c
525
return count;
sys/dev/cfi/cfi_dev.c
282
if (rq->offset > ULONG_MAX - rq->count ||
sys/dev/cfi/cfi_dev.c
283
rq->offset + rq->count > sc->sc_size / sc->sc_width)
sys/dev/cfi/cfi_dev.c
286
while (!error && rq->count--) {
sys/dev/ciss/ciss.c
4669
cis->count = sc->ciss_cfg->interrupt_coalesce_count;
sys/dev/ciss/ciss.c
4678
if ((cis->delay == 0) && (cis->count == 0)) {
sys/dev/ciss/ciss.c
4688
sc->ciss_cfg->interrupt_coalesce_count = cis->count;
sys/dev/ciss/cissio.h
52
u_int32_t count;
sys/dev/coreboot/coreboot.c
1468
int count, i;
sys/dev/coreboot/coreboot.c
1474
devclass_get_devices(devclass_find("coreboot"), &devs, &count);
sys/dev/coreboot/coreboot.c
1475
for (i = 0; i < count; i++)
sys/dev/coreboot/coreboot.c
394
uint32_t i, count;
sys/dev/coreboot/coreboot.c
398
count = macs->count;
sys/dev/coreboot/coreboot.c
399
if (count > CB_MAX_MAC_ADDRS)
sys/dev/coreboot/coreboot.c
400
count = CB_MAX_MAC_ADDRS;
sys/dev/coreboot/coreboot.c
402
count * sizeof(struct cb_mac_address))
sys/dev/coreboot/coreboot.c
404
for (i = 0; i < count; i++)
sys/dev/coreboot/coreboot.c
406
sc->mac_count = count;
sys/dev/coreboot/coreboot.c
462
uint32_t i, count;
sys/dev/coreboot/coreboot.c
466
count = gpios->count;
sys/dev/coreboot/coreboot.c
467
if (count > CB_MAX_GPIOS)
sys/dev/coreboot/coreboot.c
468
count = CB_MAX_GPIOS;
sys/dev/coreboot/coreboot.c
470
count * sizeof(struct cb_gpio))
sys/dev/coreboot/coreboot.c
472
for (i = 0; i < count; i++)
sys/dev/coreboot/coreboot.c
474
sc->gpio_count = count;
sys/dev/coreboot/coreboot.h
243
uint32_t count;
sys/dev/coreboot/coreboot.h
323
uint32_t count;
sys/dev/coreboot/coreboot_cbmem.c
65
list->count = sc->cbmem_count;
sys/dev/coreboot/corebootio.h
75
uint32_t count;
sys/dev/cpufreq/cpufreq_dt.c
278
cpufreq_dt_settings(device_t dev, struct cf_setting *sets, int *count)
sys/dev/cpufreq/cpufreq_dt.c
284
if (sets == NULL || count == NULL)
sys/dev/cpufreq/cpufreq_dt.c
289
if (*count < sc->nopp) {
sys/dev/cpufreq/cpufreq_dt.c
290
*count = (int)sc->nopp;
sys/dev/cpufreq/cpufreq_dt.c
297
*count = (int)sc->nopp;
sys/dev/cpufreq/ichss.c
291
ichss_settings(device_t dev, struct cf_setting *sets, int *count)
sys/dev/cpufreq/ichss.c
297
if (sets == NULL || count == NULL)
sys/dev/cpufreq/ichss.c
299
if (*count < 2) {
sys/dev/cpufreq/ichss.c
300
*count = 2;
sys/dev/cpufreq/ichss.c
319
*count = 2;
sys/dev/cpufreq/ichss.c
98
int *count);
sys/dev/cxgb/cxgb_main.c
2335
cxgb_tick_handler(void *arg, int count)
sys/dev/cxgb/cxgb_main.c
3588
cxgb_debugnet_poll(if_t ifp, int count)
sys/dev/cxgb/cxgb_sge.c
311
int count;
sys/dev/cxgb/cxgb_sge.c
325
if ((ci->count == 0) || (ci->noncoal == 0 && (ci->count < 7) &&
sys/dev/cxgb/cxgb_sge.c
327
ci->count++;
sys/dev/cxgb/cxgb_sge.c
345
ci.count = ci.nbytes = ci.noncoal = 0;
sys/dev/cxgb/cxgb_sge.c
355
if (ci.count > 7)
sys/dev/cxgb/cxgb_sge.c
356
panic("trying to coalesce %d packets in to one WR", ci.count);
sys/dev/cxgbe/iw_cxgbe/cq.c
221
int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count)
sys/dev/cxgbe/iw_cxgbe/cq.c
224
int in_use = wq->rq.in_use - count;
sys/dev/cxgbe/iw_cxgbe/cq.c
228
__func__, wq, cq, wq->rq.in_use, count);
sys/dev/cxgbe/iw_cxgbe/cq.c
456
void c4iw_count_rcqes(struct t4_cq *cq, struct t4_wq *wq, int *count)
sys/dev/cxgbe/iw_cxgbe/cq.c
461
*count = 0;
sys/dev/cxgbe/iw_cxgbe/cq.c
462
CTR2(KTR_IW_CXGBE, "%s count zero %d", __func__, *count);
sys/dev/cxgbe/iw_cxgbe/cq.c
468
(*count)++;
sys/dev/cxgbe/iw_cxgbe/cq.c
472
CTR3(KTR_IW_CXGBE, "%s cq %p count %d", __func__, cq, *count);
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
965
void c4iw_count_rcqes(struct t4_cq *cq, struct t4_wq *wq, int *count);
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
968
int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count);
sys/dev/cxgbe/iw_cxgbe/qp.c
1164
int count;
sys/dev/cxgbe/iw_cxgbe/qp.c
1183
c4iw_count_rcqes(&rchp->cq, &qhp->wq, &count);
sys/dev/cxgbe/iw_cxgbe/qp.c
1184
rq_flushed = c4iw_flush_rq(&qhp->wq, &rchp->cq, count);
sys/dev/cxgbe/iw_cxgbe/t4.h
470
int count = 8;
sys/dev/cxgbe/iw_cxgbe/t4.h
472
while (count) {
sys/dev/cxgbe/iw_cxgbe/t4.h
476
count--;
sys/dev/cxgbe/t4_clip.c
467
t4_clip_db_task(void *arg, int count)
sys/dev/cxgbe/t4_clip.c
684
t4_clip_task(void *sc, int count)
sys/dev/cxgbe/t4_main.c
14093
count = db_tok_number;
sys/dev/cxgbe/t4_main.c
14113
if (count <= 0) {
sys/dev/cxgbe/t4_main.c
14118
t4_dump_mem(device_get_softc(dev), addr, count);
sys/dev/cxgbe/tom/t4_tom.c
1772
reclaim_wr_resources(void *arg, int count)
sys/dev/cxgbe/tom/t4_tom.c
1848
cleanup_stranded_tids(void *arg, int count)
sys/dev/cyapa/cyapa.c
1317
if (sc->count == 0) {
sys/dev/cyapa/cyapa.c
156
int count; /* >0 if device opened */
sys/dev/cyapa/cyapa.c
668
priv->sc->count++;
sys/dev/cyapa/cyapa.c
686
priv->sc->count--;
sys/dev/dc/if_dc.c
3218
dc_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/dc/if_dc.c
3230
sc->rxcycles = count;
sys/dev/dpaa/bman.c
330
bman_put_buffers(struct bman_pool *pool, struct bman_buffer *buffers, int count)
sys/dev/dpaa/bman.c
343
while (count > 0) {
sys/dev/dpaa/bman.c
344
int c = min(count, 8);
sys/dev/dpaa/bman.c
347
count -= c;
sys/dev/dpaa/bman_portals.c
236
uint8_t count)
sys/dev/dpaa/bman_portals.c
241
if (count > 8)
sys/dev/dpaa/bman_portals.c
250
for (int i = 0; i < count; i++)
sys/dev/dpaa/bman_portals.c
253
bman_rcr_commit(&portal->sc_rcr, BMAN_RCR_VERB_BPID0 | count);
sys/dev/dpaa/bman_portals.c
288
bman_acquire(struct bman_pool *pool, struct bman_buffer *bufs, uint8_t count)
sys/dev/dpaa/bman_portals.c
292
if (count > 8 || count == 0)
sys/dev/dpaa/bman_portals.c
296
BMAN_MC_VERB_ACQUIRE | count,
sys/dev/dpaa/bman_portals.c
305
memcpy(bufs, rr, count * sizeof(*bufs));
sys/dev/dpaa/bman_var.h
40
uint8_t count);
sys/dev/dpaa/dpaa_eth.c
215
dtsec_add_buffers(struct dpaa_eth_softc *sc, int count)
sys/dev/dpaa/dpaa_eth.c
221
while (count > 0) {
sys/dev/dpaa/dpaa_eth.c
222
c = min(8, count);
sys/dev/dpaa/dpaa_eth.c
238
count -= c;
sys/dev/dpaa/dpaa_eth.c
248
unsigned int count;
sys/dev/dpaa/dpaa_eth.c
256
count = bman_count(sc->sc_rx_pool);
sys/dev/dpaa/dpaa_eth.c
257
if (count > DTSEC_RM_POOL_RX_HIGH_MARK)
sys/dev/dpaa/dpaa_eth.c
261
count = min(DTSEC_RM_POOL_RX_HIGH_MARK - count + 8, 8);
sys/dev/dpaa/dpaa_eth.c
262
if (dtsec_add_buffers(sc, count) != 0)
sys/dev/dpaa/fman.c
223
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/dpaa/fman.c
247
count = ulmax(count, rle->count);
sys/dev/dpaa/fman.c
248
end = ulmax(rle->end, start + count - 1);
sys/dev/dpaa/fman.c
260
end, count, flags & ~RF_ACTIVE, child);
sys/dev/dpaa/fman.c
278
end, count, flags));
sys/dev/dpaa/fman.c
384
unsigned int count;
sys/dev/dpaa/fman.c
388
count = 100;
sys/dev/dpaa/fman.c
392
--count);
sys/dev/dpaa/fman.c
393
if (count == 0)
sys/dev/dpaa/fman.c
425
count = 100;
sys/dev/dpaa/fman.c
429
--count);
sys/dev/dpaa/fman.c
433
if (count == 0)
sys/dev/dpaa/fman.h
143
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags);
sys/dev/dpaa/fman_port.c
612
int count;
sys/dev/dpaa/fman_port.c
620
for (count = 0; count < 100; count++) {
sys/dev/dpaa/fman_port.c
626
if (count == 100)
sys/dev/dpaa/fman_port.c
630
for (count = 0; count < 100; count++) {
sys/dev/dpaa/fman_port.c
636
if (count == 100)
sys/dev/dpaa/fman_port.c
642
for (count = 0; count < 100; count++) {
sys/dev/dpaa/fman_port.c
648
if (count == 100)
sys/dev/dpaa/fman_xmdio.c
168
uint32_t count, val;
sys/dev/dpaa/fman_xmdio.c
170
for (count = 1000; count > 0; count--) {
sys/dev/dpaa/fman_xmdio.c
177
if (count == 0)
sys/dev/dpaa/qman.c
520
cmd.init_fq.count = fqids_num - 1;
sys/dev/dpaa/qman_var.h
38
uint16_t count;
sys/dev/dpaa/qman_var.h
67
uint8_t count;
sys/dev/dpaa2/dpaa2_buf.c
54
dpaa2_buf_seed_pool(device_t dev, device_t bpdev, void *arg, uint32_t count,
sys/dev/dpaa2/dpaa2_buf.c
75
count = (alloc + count > DPAA2_NI_BUFS_MAX)
sys/dev/dpaa2/dpaa2_buf.c
76
? DPAA2_NI_BUFS_MAX - alloc : count;
sys/dev/dpaa2/dpaa2_buf.c
80
for (int i = alloc; i < alloc + count; i++) {
sys/dev/dpaa2/dpaa2_channel.c
518
dpaa2_chan_bp_task(void *arg, int count)
sys/dev/dpaa2/dpaa2_console.c
161
size_t count, l;
sys/dev/dpaa2/dpaa2_console.c
164
count = 0;
sys/dev/dpaa2/dpaa2_console.c
168
bus_space_read_region_1(cd->bst, cd->bsh, offset + count, p + count, l);
sys/dev/dpaa2/dpaa2_console.c
169
count += l;
sys/dev/dpaa2/dpaa2_console.c
175
bus_space_read_region_8(cd->bst, cd->bsh, offset + count, (uint64_t *)(p + count), l);
sys/dev/dpaa2/dpaa2_console.c
177
count += l;
sys/dev/dpaa2/dpaa2_console.c
182
bus_space_read_region_4(cd->bst, cd->bsh, offset + count, (uint32_t *)(p + count), l);
sys/dev/dpaa2/dpaa2_console.c
184
count += l;
sys/dev/dpaa2/dpaa2_console.c
189
bus_space_read_region_2(cd->bst, cd->bsh, offset + count, (uint16_t *)(p + count), l);
sys/dev/dpaa2/dpaa2_console.c
191
count += l;
sys/dev/dpaa2/dpaa2_console.c
195
bus_space_read_region_1(cd->bst, cd->bsh, offset + count, p + count, len);
sys/dev/dpaa2/dpaa2_console.c
196
count += len;
sys/dev/dpaa2/dpaa2_console.c
199
return (count);
sys/dev/dpaa2/dpaa2_console.c
266
size_t len, size, count;
sys/dev/dpaa2/dpaa2_console.c
285
count = imin(sizeof(buf), uio->uio_resid);
sys/dev/dpaa2/dpaa2_console.c
286
if (count > size)
sys/dev/dpaa2/dpaa2_console.c
287
count = size;
sys/dev/dpaa2/dpaa2_console.c
289
rlen = dpaa2_cons_read_bs(cd, cd->cur, buf, count);
sys/dev/dpaa2/dpaa2_console.c
290
KASSERT(rlen == count, ("%s:%d: rlen %zu != count %zu, "
sys/dev/dpaa2/dpaa2_console.c
291
"cdev %p cd %p\n", __func__, __LINE__, rlen, count,
sys/dev/dpaa2/dpaa2_console.c
294
cd->cur += count;
sys/dev/dpaa2/dpaa2_console.c
295
len -= count;
sys/dev/dpaa2/dpaa2_console.c
296
size -= count;
sys/dev/dpaa2/dpaa2_console.c
298
error = uiomove(buf, count, uio);
sys/dev/dpaa2/dpaa2_console.c
308
count = imin(sizeof(buf), uio->uio_resid);
sys/dev/dpaa2/dpaa2_console.c
309
if (count > len)
sys/dev/dpaa2/dpaa2_console.c
310
count = len;
sys/dev/dpaa2/dpaa2_console.c
312
rlen = dpaa2_cons_read_bs(cd, cd->cur, buf, count);
sys/dev/dpaa2/dpaa2_console.c
313
KASSERT(rlen == count, ("%s:%d: rlen %zu != count %zu, cdev %p "
sys/dev/dpaa2/dpaa2_console.c
314
"cd %p\n", __func__, __LINE__, rlen, count, cdev, cd));
sys/dev/dpaa2/dpaa2_console.c
316
cd->cur += count;
sys/dev/dpaa2/dpaa2_console.c
317
len -= count;
sys/dev/dpaa2/dpaa2_console.c
319
error = uiomove(buf, count, uio);
sys/dev/dpaa2/dpaa2_mc.c
304
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/dpaa2/dpaa2_mc.c
313
start, end, count, flags));
sys/dev/dpaa2/dpaa2_mc.c
330
end, count, flags);
sys/dev/dpaa2/dpaa2_mc.c
337
count, flags);
sys/dev/dpaa2/dpaa2_mc.c
392
dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount,
sys/dev/dpaa2/dpaa2_mc.c
396
return (dpaa2_mc_alloc_msi_impl(mcdev, child, count, maxcount, irqs));
sys/dev/dpaa2/dpaa2_mc.c
403
dpaa2_mc_release_msi(device_t mcdev, device_t child, int count, int *irqs)
sys/dev/dpaa2/dpaa2_mc.c
406
return (dpaa2_mc_release_msi_impl(mcdev, child, count, irqs));
sys/dev/dpaa2/dpaa2_mc.c
757
dpaa2_mc_alloc_msi_impl(device_t mcdev, device_t child, int count, int maxcount,
sys/dev/dpaa2/dpaa2_mc.c
794
for (int j = 0; j < count; j++) {
sys/dev/dpaa2/dpaa2_mc.c
797
"limit of %d available\n", count,
sys/dev/dpaa2/dpaa2_mc.c
821
dpaa2_mc_release_msi_impl(device_t mcdev, device_t child, int count, int *irqs)
sys/dev/dpaa2/dpaa2_mc.c
830
for (int j = 0; j < count; j++) {
sys/dev/dpaa2/dpaa2_mc.h
184
int type, int rid, rman_res_t start, rman_res_t end, rman_res_t count,
sys/dev/dpaa2/dpaa2_mc.h
197
int dpaa2_mc_alloc_msi(device_t mcdev, device_t child, int count, int maxcount,
sys/dev/dpaa2/dpaa2_mc.h
199
int dpaa2_mc_release_msi(device_t mcdev, device_t child, int count, int *irqs);
sys/dev/dpaa2/dpaa2_mc_acpi.c
200
int count;
sys/dev/dpaa2/dpaa2_mc_acpi.c
213
ctx->count++;
sys/dev/dpaa2/dpaa2_mc_acpi.c
217
acpi_name(h), level, ctx->count);
sys/dev/dpaa2/dpaa2_mc_acpi.c
257
ctx.count = 0;
sys/dev/dpaa2/dpaa2_mc_acpi.c
264
ctx.count, ctx.countok);
sys/dev/dpaa2/dpaa2_ni.c
2877
dpaa2_ni_cleanup_task(void *arg, int count)
sys/dev/dpaa2/dpaa2_rc.c
229
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/dpaa2/dpaa2_rc.c
250
start, end, count, flags));
sys/dev/dpaa2/dpaa2_rc.c
255
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/dpaa2/dpaa2_rc.c
259
type, rid, start, end, count, flags));
sys/dev/dpaa2/dpaa2_rc.c
262
end, count, flags));
sys/dev/dpaa2/dpaa2_rc.c
2994
uint64_t start, end, count;
sys/dev/dpaa2/dpaa2_rc.c
3079
count = reg.size;
sys/dev/dpaa2/dpaa2_rc.c
3084
end, count);
sys/dev/dpaa2/dpaa2_rc.c
475
dpaa2_rc_alloc_msi(device_t rcdev, device_t child, int *count)
sys/dev/dpaa2/dpaa2_rc.c
482
if (*count == 0)
sys/dev/dpaa2/dpaa2_rc.c
494
actual = min(*count, dinfo->msi.msi_msgnum);
sys/dev/dpaa2/dpaa2_rc.c
562
*count = actual;
sys/dev/dpaa2/memac_mdio_acpi.c
188
int count;
sys/dev/dpaa2/memac_mdio_acpi.c
221
ctx->count++;
sys/dev/dpaa2/memac_mdio_acpi.c
260
ctx.count = 0;
sys/dev/dpaa2/memac_mdio_common.c
174
uint32_t count, val;
sys/dev/dpaa2/memac_mdio_common.c
176
for (count = 1000; count > 0; count--) {
sys/dev/dpaa2/memac_mdio_common.c
183
if (count == 0)
sys/dev/drm2/drm.h
153
int count; /**< Length of user-space structures */
sys/dev/drm2/drm.h
261
unsigned long count;
sys/dev/drm2/drm.h
328
int count; /**< Number of buffers of this size */
sys/dev/drm2/drm.h
349
int count; /**< Entries in list */
sys/dev/drm2/drm.h
357
int count;
sys/dev/drm2/drm.h
377
int count; /**< Length of the buffer list */
sys/dev/drm2/drm.h
421
int count;
sys/dev/drm2/drmP.h
1685
atomic_t count; /* number of VBLANK interrupts */
sys/dev/drm2/drmP.h
256
#define DRM_LEFTCOUNT(x) (((x)->rp + (x)->count - (x)->wp) % ((x)->count + 1))
sys/dev/drm2/drmP.h
257
#define DRM_BUFCOUNT(x) ((x)->count - DRM_LEFTCOUNT(x))
sys/dev/drm2/drmP.h
354
atomic_t count; /**< Number of free buffers */
sys/dev/drm2/drm_bufs.c
1041
request->count = entry->buf_count;
sys/dev/drm2/drm_bufs.c
1060
int count;
sys/dev/drm2/drm_bufs.c
1079
count = request->count;
sys/dev/drm2/drm_bufs.c
1091
DRM_DEBUG("count: %d\n", count);
sys/dev/drm2/drm_bufs.c
1118
if (count < 0 || count > 4096) {
sys/dev/drm2/drm_bufs.c
1124
entry->buflist = malloc(count * sizeof(*entry->buflist), DRM_MEM_BUFS,
sys/dev/drm2/drm_bufs.c
1137
while (entry->buf_count < count) {
sys/dev/drm2/drm_bufs.c
1158
entry->buf_count = count;
sys/dev/drm2/drm_bufs.c
1200
request->count = entry->buf_count;
sys/dev/drm2/drm_bufs.c
1216
int count;
sys/dev/drm2/drm_bufs.c
1235
count = request->count;
sys/dev/drm2/drm_bufs.c
1247
DRM_DEBUG("count: %d\n", count);
sys/dev/drm2/drm_bufs.c
1274
if (count < 0 || count > 4096) {
sys/dev/drm2/drm_bufs.c
1280
entry->buflist = malloc(count * sizeof(*entry->buflist), DRM_MEM_BUFS,
sys/dev/drm2/drm_bufs.c
1293
while (entry->buf_count < count) {
sys/dev/drm2/drm_bufs.c
1313
entry->buf_count = count;
sys/dev/drm2/drm_bufs.c
1355
request->count = entry->buf_count;
sys/dev/drm2/drm_bufs.c
1426
int count;
sys/dev/drm2/drm_bufs.c
1442
for (i = 0, count = 0; i < DRM_MAX_ORDER + 1; i++) {
sys/dev/drm2/drm_bufs.c
1444
++count;
sys/dev/drm2/drm_bufs.c
1447
DRM_DEBUG("count = %d\n", count);
sys/dev/drm2/drm_bufs.c
1449
if (request->count >= count) {
sys/dev/drm2/drm_bufs.c
1450
for (i = 0, count = 0; i < DRM_MAX_ORDER + 1; i++) {
sys/dev/drm2/drm_bufs.c
1453
&request->list[count];
sys/dev/drm2/drm_bufs.c
1456
if (copy_to_user(&to->count,
sys/dev/drm2/drm_bufs.c
1476
++count;
sys/dev/drm2/drm_bufs.c
1480
request->count = count;
sys/dev/drm2/drm_bufs.c
1558
DRM_DEBUG("%d\n", request->count);
sys/dev/drm2/drm_bufs.c
1559
for (i = 0; i < request->count; i++) {
sys/dev/drm2/drm_bufs.c
1621
if (request->count >= dma->buf_count) {
sys/dev/drm2/drm_bufs.c
1676
request->count = dma->buf_count;
sys/dev/drm2/drm_bufs.c
1677
DRM_DEBUG("%d buffers, retcode = %d\n", request->count, retcode);
sys/dev/drm2/drm_bufs.c
690
int count;
sys/dev/drm2/drm_bufs.c
703
count = request->count;
sys/dev/drm2/drm_bufs.c
715
DRM_DEBUG("count: %d\n", count);
sys/dev/drm2/drm_bufs.c
730
(agp_offset + total * count <= agp_entry->bound + agp_entry->pages * PAGE_SIZE)) {
sys/dev/drm2/drm_bufs.c
755
if (count < 0 || count > 4096) {
sys/dev/drm2/drm_bufs.c
761
entry->buflist = malloc(count * sizeof(*entry->buflist), DRM_MEM_BUFS,
sys/dev/drm2/drm_bufs.c
774
while (entry->buf_count < count) {
sys/dev/drm2/drm_bufs.c
794
entry->buf_count = count;
sys/dev/drm2/drm_bufs.c
836
request->count = entry->buf_count;
sys/dev/drm2/drm_bufs.c
850
int count;
sys/dev/drm2/drm_bufs.c
875
count = request->count;
sys/dev/drm2/drm_bufs.c
880
request->count, request->size, size, order);
sys/dev/drm2/drm_bufs.c
906
if (count < 0 || count > 4096) {
sys/dev/drm2/drm_bufs.c
912
entry->buflist = malloc(count * sizeof(*entry->buflist), DRM_MEM_BUFS,
sys/dev/drm2/drm_bufs.c
920
entry->seglist = malloc(count * sizeof(*entry->seglist), DRM_MEM_SEGS,
sys/dev/drm2/drm_bufs.c
932
temp_pagelist = malloc((dma->page_count + (count << page_order)) *
sys/dev/drm2/drm_bufs.c
944
dma->page_count + (count << page_order));
sys/dev/drm2/drm_bufs.c
951
while (entry->buf_count < count) {
sys/dev/drm2/drm_bufs.c
957
entry->buf_count = count;
sys/dev/drm2/drm_bufs.c
958
entry->seg_count = count;
sys/dev/drm2/drm_bufs.c
974
offset + size <= total && entry->buf_count < count;
sys/dev/drm2/drm_bufs.c
994
entry->buf_count = count;
sys/dev/drm2/drm_bufs.c
995
entry->seg_count = count;
sys/dev/drm2/drm_context.c
325
if (res->count >= DRM_RESERVED_CONTEXTS) {
sys/dev/drm2/drm_context.c
333
res->count = DRM_RESERVED_CONTEXTS;
sys/dev/drm2/drm_crtc.c
140
int count;
sys/dev/drm2/drm_crtc.c
1480
props_count = connector->properties.count;
sys/dev/drm2/drm_crtc.c
1533
for (i = 0; i < connector->properties.count; i++) {
sys/dev/drm2/drm_crtc.c
2915
int count = obj->properties->count;
sys/dev/drm2/drm_crtc.c
2917
if (count == DRM_OBJECT_MAX_PROPERTY) {
sys/dev/drm2/drm_crtc.c
2925
obj->properties->ids[count] = property->base.id;
sys/dev/drm2/drm_crtc.c
2926
obj->properties->values[count] = init_val;
sys/dev/drm2/drm_crtc.c
2927
obj->properties->count++;
sys/dev/drm2/drm_crtc.c
2936
for (i = 0; i < obj->properties->count; i++) {
sys/dev/drm2/drm_crtc.c
2952
for (i = 0; i < obj->properties->count; i++) {
sys/dev/drm2/drm_crtc.c
3283
props_count = obj->properties->count;
sys/dev/drm2/drm_crtc.c
3333
for (i = 0; i < arg_obj->properties->count; i++)
sys/dev/drm2/drm_crtc.c
3337
if (i == arg_obj->properties->count)
sys/dev/drm2/drm_crtc.c
539
++drm_connector_enum_list[connector_type].count; /* TODO */
sys/dev/drm2/drm_crtc.h
55
int count;
sys/dev/drm2/drm_crtc_helper.c
120
int count = 0;
sys/dev/drm2/drm_crtc_helper.c
155
count = drm_load_edid_firmware(connector);
sys/dev/drm2/drm_crtc_helper.c
156
if (count == 0)
sys/dev/drm2/drm_crtc_helper.c
159
count = (*connector_funcs->get_modes)(connector);
sys/dev/drm2/drm_crtc_helper.c
161
if (count == 0 && connector->status == connector_status_connected)
sys/dev/drm2/drm_crtc_helper.c
162
count = drm_add_modes_noedid(connector, 1024, 768);
sys/dev/drm2/drm_crtc_helper.c
163
if (count == 0)
sys/dev/drm2/drm_crtc_helper.c
202
return count;
sys/dev/drm2/drm_crtc_helper.c
559
int count = 0, ro, fail = 0;
sys/dev/drm2/drm_crtc_helper.c
618
count = 0;
sys/dev/drm2/drm_crtc_helper.c
620
save_crtcs[count++] = *crtc;
sys/dev/drm2/drm_crtc_helper.c
623
count = 0;
sys/dev/drm2/drm_crtc_helper.c
625
save_encoders[count++] = *encoder;
sys/dev/drm2/drm_crtc_helper.c
628
count = 0;
sys/dev/drm2/drm_crtc_helper.c
630
save_connectors[count++] = *connector;
sys/dev/drm2/drm_crtc_helper.c
668
count = 0;
sys/dev/drm2/drm_crtc_helper.c
702
count = 0;
sys/dev/drm2/drm_crtc_helper.c
789
count = 0;
sys/dev/drm2/drm_crtc_helper.c
791
*crtc = save_crtcs[count++];
sys/dev/drm2/drm_crtc_helper.c
794
count = 0;
sys/dev/drm2/drm_crtc_helper.c
796
*encoder = save_encoders[count++];
sys/dev/drm2/drm_crtc_helper.c
799
count = 0;
sys/dev/drm2/drm_crtc_helper.c
801
*connector = save_connectors[count++];
sys/dev/drm2/drm_edid.c
2067
int i, count, num_modes = 0;
sys/dev/drm2/drm_edid.c
2071
count = sizeof(drm_dmt_modes) / sizeof(struct drm_display_mode);
sys/dev/drm2/drm_edid.c
2077
for (i = 0; i < count; i++) {
sys/dev/drm2/drm_fb_helper.c
1027
int count = 0;
sys/dev/drm2/drm_fb_helper.c
1032
count += connector->funcs->fill_modes(connector, maxX, maxY);
sys/dev/drm2/drm_fb_helper.c
1035
return count;
sys/dev/drm2/drm_fb_helper.c
1140
int count, i, j;
sys/dev/drm2/drm_fb_helper.c
1149
count = 0;
sys/dev/drm2/drm_fb_helper.c
1152
count++;
sys/dev/drm2/drm_fb_helper.c
1156
if (count <= 1)
sys/dev/drm2/drm_fb_helper.c
1412
int count = 0;
sys/dev/drm2/drm_fb_helper.c
1419
count = drm_fb_helper_probe_connector_modes(fb_helper,
sys/dev/drm2/drm_fb_helper.c
1425
if (count == 0)
sys/dev/drm2/drm_hashtab.c
62
int count = 0;
sys/dev/drm2/drm_hashtab.c
68
DRM_DEBUG("count %d, key: 0x%08lx\n", count++, entry->key);
sys/dev/drm2/drm_ioc32.c
253
u32 count;
sys/dev/drm2/drm_ioc32.c
271
s32->count = stats.count;
sys/dev/drm2/drm_ioc32.c
272
for (i = 0; i < stats.count; i++) {
sys/dev/drm2/drm_ioc32.c
281
int count; /**< Number of buffers of this size */
sys/dev/drm2/drm_ioc32.c
296
buf.count = b32->count;
sys/dev/drm2/drm_ioc32.c
307
b32->count = buf.count;
sys/dev/drm2/drm_ioc32.c
331
int count; /**< Entries in list */
sys/dev/drm2/drm_ioc32.c
344
int count, actual;
sys/dev/drm2/drm_ioc32.c
346
count = req32->count;
sys/dev/drm2/drm_ioc32.c
348
if (count < 0)
sys/dev/drm2/drm_ioc32.c
349
count = 0;
sys/dev/drm2/drm_ioc32.c
351
nbytes = sizeof(*request) + count * sizeof(struct drm_buf_desc);
sys/dev/drm2/drm_ioc32.c
357
request->count = count;
sys/dev/drm2/drm_ioc32.c
364
actual = request->count;
sys/dev/drm2/drm_ioc32.c
365
if (count >= actual)
sys/dev/drm2/drm_ioc32.c
367
to[i].count = list[i].count;
sys/dev/drm2/drm_ioc32.c
374
req32->count = actual;
sys/dev/drm2/drm_ioc32.c
387
int count; /**< Length of the buffer list */
sys/dev/drm2/drm_ioc32.c
400
int count, actual;
sys/dev/drm2/drm_ioc32.c
403
count = req32->count;
sys/dev/drm2/drm_ioc32.c
406
if (count < 0)
sys/dev/drm2/drm_ioc32.c
408
nbytes = sizeof(*request) + count * sizeof(struct drm_buf_pub);
sys/dev/drm2/drm_ioc32.c
414
request->count = count;
sys/dev/drm2/drm_ioc32.c
421
actual = request->count;
sys/dev/drm2/drm_ioc32.c
422
if (count >= actual)
sys/dev/drm2/drm_ioc32.c
430
req32->count = actual;
sys/dev/drm2/drm_ioc32.c
437
int count;
sys/dev/drm2/drm_ioc32.c
447
request.count = req32->count;
sys/dev/drm2/drm_ioc32.c
489
int count;
sys/dev/drm2/drm_ioc32.c
500
res.count = res32->count;
sys/dev/drm2/drm_ioc32.c
507
res32->count = res.count;
sys/dev/drm2/drm_ioctl.c
255
stats->count = dev->counters;
sys/dev/drm2/drm_irq.c
102
int count = DRM_TIMESTAMP_MAXRETRIES;
sys/dev/drm2/drm_irq.c
128
} while (dev->last_vblank[crtc] != dev->driver->get_vblank_counter(dev, crtc) && (--count) && vblrc);
sys/dev/drm2/drm_irq.c
130
if (!count)
sys/dev/drm2/drm_irq.c
40
#define vblanktimestamp(dev, crtc, count) ( \
sys/dev/drm2/drm_irq.c
42
((count) % DRM_VBLANKTIME_RBSIZE)])
sys/dev/drm2/drm_linux_list_sort.c
58
int count, i;
sys/dev/drm2/drm_linux_list_sort.c
60
count = 0;
sys/dev/drm2/drm_linux_list_sort.c
62
count++;
sys/dev/drm2/drm_linux_list_sort.c
63
ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK);
sys/dev/drm2/drm_linux_list_sort.c
69
qsort_r(ar, count, sizeof(struct list_head *), drm_le_cmp, &thunk);
sys/dev/drm2/drm_linux_list_sort.c
71
for (i = 0; i < count; i++)
sys/dev/drm2/drm_sysctl.c
305
.freelist.count),
sys/dev/drm2/ttm/ttm_bo.c
264
void ttm_bo_list_ref_sub(struct ttm_buffer_object *bo, int count,
sys/dev/drm2/ttm/ttm_bo.c
269
old = atomic_fetchadd_int(&bo->list_kref, -count);
sys/dev/drm2/ttm/ttm_bo.c
270
if (old <= count) {
sys/dev/drm2/ttm/ttm_bo_api.h
370
extern void ttm_bo_list_ref_sub(struct ttm_buffer_object *bo, int count,
sys/dev/drm2/ttm/ttm_bo_api.h
721
size_t count, off_t *f_pos, bool write);
sys/dev/drm2/ttm/ttm_bo_vm.c
390
const char __user *wbuf, char __user *rbuf, size_t count,
sys/dev/drm2/ttm/ttm_bo_vm.c
435
if (count < io_size)
sys/dev/drm2/ttm/ttm_bo_vm.c
436
io_size = count;
sys/dev/drm2/ttm/ttm_bo_vm.c
438
kmap_end = (*f_pos + count - 1) >> PAGE_SHIFT;
sys/dev/drm2/ttm/ttm_bo_vm.c
483
char __user *rbuf, size_t count, loff_t *f_pos,
sys/dev/drm2/ttm/ttm_bo_vm.c
504
if (count < io_size)
sys/dev/drm2/ttm/ttm_bo_vm.c
505
io_size = count;
sys/dev/drm2/ttm/ttm_bo_vm.c
507
kmap_end = (*f_pos + count - 1) >> PAGE_SHIFT;
sys/dev/drm2/ttm/ttm_memory.c
394
int count = TTM_MEMORY_ALLOC_RETRIES;
sys/dev/drm2/ttm/ttm_memory.c
402
if (unlikely(count-- == 0))
sys/dev/drm2/ttm/ttm_page_alloc.c
524
int ttm_flags, enum ttm_caching_state cstate, unsigned count)
sys/dev/drm2/ttm/ttm_page_alloc.c
530
unsigned max_cpages = min(count,
sys/dev/drm2/ttm/ttm_page_alloc.c
537
for (i = 0, cpages = 0; i < count; ++i) {
sys/dev/drm2/ttm/ttm_page_alloc.c
599
int ttm_flags, enum ttm_caching_state cstate, unsigned count)
sys/dev/drm2/ttm/ttm_page_alloc.c
616
if (count < _manager->options.small
sys/dev/drm2/ttm/ttm_page_alloc.c
617
&& count > pool->npages) {
sys/dev/drm2/ttm/ttm_page_alloc.c
659
unsigned count)
sys/dev/drm2/ttm/ttm_page_alloc.c
665
ttm_page_pool_fill_locked(pool, ttm_flags, cstate, count);
sys/dev/drm2/ttm/ttm_page_alloc.c
667
if (count >= pool->npages) {
sys/dev/drm2/ttm/ttm_page_alloc.c
670
count -= pool->npages;
sys/dev/drm2/ttm/ttm_page_alloc.c
674
for (i = 0; i < count; i++) {
sys/dev/drm2/ttm/ttm_page_alloc.c
679
pool->npages -= count;
sys/dev/drm2/ttm/ttm_page_alloc.c
680
count = 0;
sys/dev/drm2/ttm/ttm_page_alloc.c
683
return count;
sys/dev/drm2/ttm/ttm_page_alloc.c
737
unsigned count;
sys/dev/drm2/ttm/ttm_page_alloc.c
759
count = 0;
sys/dev/drm2/ttm/ttm_page_alloc.c
761
pages[count++] = p;
sys/dev/drm2/ttm/ttm_page_alloc.c
780
pages[count++] = p;
sys/dev/drm2/ttm/ttm_page_alloc.c
786
ttm_put_pages(pages, count, flags, cstate);
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
707
unsigned count)
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
714
unsigned max_cpages = min(count,
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
726
if (count > 1) {
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
728
pool->dev_name, pool->name, current->pid, count);
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
731
for (i = 0, cpages = 0; i < count; ++i) {
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
792
unsigned count = _manager->options.small;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
795
if (count > pool->npages_free) {
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
804
r = ttm_dma_pool_alloc_new_pages(pool, &d_pages, count);
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
811
pool->npages_free += count;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
812
r = count;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
843
int count, r = -ENOMEM;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
846
count = ttm_dma_page_pool_fill_locked(pool, &irq_flags);
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
847
if (count) {
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
943
unsigned count = 0, i, npages = 0;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
956
ttm->pages[count] = d_page->p;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
957
count++;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
961
pool->npages_in_use -= count;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
963
pool->nfrees += count;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
965
pool->npages_free += count;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
967
npages = count;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
985
for (i = 0; i < count; i++) {
sys/dev/e1000/e1000_82543.c
631
u16 count)
sys/dev/e1000/e1000_82543.c
642
mask <<= (count - 1);
sys/dev/e1000/e1000_82543.c
74
u16 count);
sys/dev/e1000/e1000_i210.c
101
count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ?
sys/dev/e1000/e1000_i210.c
104
status = e1000_read_nvm_eerd(hw, offset, count,
sys/dev/e1000/e1000_i210.c
138
u16 i, count;
sys/dev/e1000/e1000_i210.c
146
count = (words - i) / E1000_EERD_EEWR_MAX_COUNT > 0 ?
sys/dev/e1000/e1000_i210.c
149
status = e1000_write_nvm_srwr(hw, offset, count,
sys/dev/e1000/e1000_i210.c
93
u16 i, count;
sys/dev/e1000/e1000_ich8lan.c
299
u16 count = 20;
sys/dev/e1000/e1000_ich8lan.c
304
E1000_CTRL_EXT_LPCD) && count--);
sys/dev/e1000/e1000_ich8lan.c
3900
u8 count = 0;
sys/dev/e1000/e1000_ich8lan.c
3954
} while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT);
sys/dev/e1000/e1000_ich8lan.c
3974
u8 count = 0;
sys/dev/e1000/e1000_ich8lan.c
4032
} while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT);
sys/dev/e1000/e1000_ich8lan.c
4461
u8 count = 0;
sys/dev/e1000/e1000_ich8lan.c
4537
} while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT);
sys/dev/e1000/e1000_ich8lan.c
4557
u8 count = 0;
sys/dev/e1000/e1000_ich8lan.c
4626
} while (count++ < ICH_FLASH_CYCLE_REPEAT_COUNT);
sys/dev/e1000/e1000_ich8lan.c
4737
s32 count = 0;
sys/dev/e1000/e1000_ich8lan.c
4834
} while (++count < ICH_FLASH_CYCLE_REPEAT_COUNT);
sys/dev/e1000/e1000_mbx.c
464
int count = 10;
sys/dev/e1000/e1000_mbx.c
478
} while (count-- > 0);
sys/dev/e1000/e1000_nvm.c
154
static void e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count)
sys/dev/e1000/e1000_nvm.c
162
mask = 0x01 << (count - 1);
sys/dev/e1000/e1000_nvm.c
201
static u16 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count)
sys/dev/e1000/e1000_nvm.c
214
for (i = 0; i < count; i++) {
sys/dev/e1000/em_txrx.c
572
uint16_t count;
sys/dev/e1000/em_txrx.c
577
count = iru->iru_count;
sys/dev/e1000/em_txrx.c
579
for (i = 0, next_pidx = pidx; i < count; i++) {
sys/dev/e1000/em_txrx.c
601
uint16_t count;
sys/dev/e1000/em_txrx.c
606
count = iru->iru_count;
sys/dev/e1000/em_txrx.c
608
for (i = 0, next_pidx = pidx; i < count; i++) {
sys/dev/e1000/if_igb_iov.c
1224
int count, i;
sys/dev/e1000/if_igb_iov.c
1242
count = 0;
sys/dev/e1000/if_igb_iov.c
1258
count++;
sys/dev/e1000/if_igb_iov.c
1261
if (count >= IGB_IOV_MAX_MAC_FILTERS)
sys/dev/e1000/if_igb_iov.c
1301
int count, i;
sys/dev/e1000/if_igb_iov.c
1303
count = (msg[0] & E1000_VF_SET_MULTICAST_COUNT_MASK) >>
sys/dev/e1000/if_igb_iov.c
1305
overflow = count > IGB_IOV_MAX_MC_HASHES ||
sys/dev/e1000/if_igb_iov.c
1307
count = min(count, IGB_IOV_MAX_MC_HASHES);
sys/dev/e1000/if_igb_iov.c
1308
for (i = 0; i < count; i++)
sys/dev/e1000/if_igb_iov.c
1311
if (vf->mc_count == count &&
sys/dev/e1000/if_igb_iov.c
1316
vf->mc_count = count;
sys/dev/e1000/if_igb_iov.c
928
int count, i, word;
sys/dev/e1000/if_igb_iov.c
930
count = 0;
sys/dev/e1000/if_igb_iov.c
936
count += bitcount32(vlans);
sys/dev/e1000/if_igb_iov.c
938
return (count);
sys/dev/e1000/if_igbv.c
626
u_int count;
sys/dev/e1000/if_igbv.c
628
count = if_foreach_lladdr(ifp, igbv_copy_uc_addr, &list);
sys/dev/e1000/if_igbv.c
629
if (count > IGBV_MAX_MAC_FILTERS) {
sys/dev/e1000/if_igbv.c
634
if (count == 0 && !sc->vf_uc_filters_set)
sys/dev/e1000/if_igbv.c
649
if (count > IGBV_MAX_MAC_FILTERS)
sys/dev/e1000/if_igbv.c
652
for (u_int i = 0; i < count; i++) {
sys/dev/e1000/igb_txrx.c
421
uint16_t count;
sys/dev/e1000/igb_txrx.c
426
count = iru->iru_count;
sys/dev/e1000/igb_txrx.c
428
for (i = 0, next_pidx = pidx; i < count; i++) {
sys/dev/efidev/efirt.c
350
u_long count;
sys/dev/efidev/efirt.c
358
count = efi_systbl->st_entries;
sys/dev/efidev/efirt.c
360
while (count--) {
sys/dev/ena/ena.h
594
int count = 1;
sys/dev/ena/ena.h
597
++count;
sys/dev/ena/ena.h
599
return count;
sys/dev/enetc/if_enetc.c
1162
int cidx, hw_cidx, count;
sys/dev/enetc/if_enetc.c
1184
count = hw_cidx - cidx;
sys/dev/enetc/if_enetc.c
1185
if (count < 0)
sys/dev/enetc/if_enetc.c
1186
count += sc->tx_queue_size;
sys/dev/enetc/if_enetc.c
1190
return (count);
sys/dev/enetc/if_enetc.c
1200
int count = 0;
sys/dev/enetc/if_enetc.c
1213
while (pidx != hw_pidx && count < budget) {
sys/dev/enetc/if_enetc.c
1216
count++;
sys/dev/enetc/if_enetc.c
1222
return (count);
sys/dev/enetc/if_enetc.c
1297
int i, count;
sys/dev/enetc/if_enetc.c
1302
count = iru->iru_count;
sys/dev/enetc/if_enetc.c
1305
for (i = 0; i < count; i++) {
sys/dev/enic/enic.h
41
#define ENIC_BUS_WRITE_REGION_4(res, index, values, count) \
sys/dev/enic/enic.h
43
res->bar.offset + (index), values, count);
sys/dev/enic/enic.h
51
#define ENIC_BUS_READ_REGION_4(res, type, index, values, count) \
sys/dev/enic/enic.h
53
res->type.offset + (index), values, count);
sys/dev/enic/enic.h
56
unsigned int count;
sys/dev/enic/enic_txrx.c
268
int count;
sys/dev/enic/enic_txrx.c
274
count = iru->iru_count;
sys/dev/enic/enic_txrx.c
284
for (i = 0; i < count; i++, idx++) {
sys/dev/enic/if_enic.c
1043
u_int count;
sys/dev/enic/if_enic.c
1050
count = if_foreach_llmaddr(ifp, enic_copy_maddr, softc->mta);
sys/dev/enic/if_enic.c
1051
softc->mc_count = count;
sys/dev/enic/vnic_dev.c
107
vdev->res[type].count = count;
sys/dev/enic/vnic_dev.c
122
return vdev->res[type].count;
sys/dev/enic/vnic_dev.c
86
u32 count = r->count;
sys/dev/enic/vnic_resource.h
65
u32 count;
sys/dev/enic/vnic_rq.c
16
unsigned int count = rq->ring.desc_count;
sys/dev/enic/vnic_rq.c
20
ENIC_BUS_WRITE_4(rq->ctrl, RX_RING_SIZE, count);
sys/dev/enic/vnic_rq.c
83
unsigned int count = rq->ring.desc_count;
sys/dev/enic/vnic_rq.c
85
rq->ring.desc_avail = count - 1;
sys/dev/enic/vnic_rq.h
114
int (*buf_fill)(struct vnic_rq *rq), unsigned int count)
sys/dev/enic/vnic_rq.h
118
while ((vnic_rq_desc_avail(rq) > 0) && (count--)) {
sys/dev/enic/vnic_wq.c
112
unsigned int count = wq->ring.desc_count;
sys/dev/enic/vnic_wq.c
116
ENIC_BUS_WRITE_4(wq->ctrl, TX_RING_SIZE, count);
sys/dev/et/if_et.c
1576
int i, count;
sys/dev/et/if_et.c
1590
count = if_foreach_llmaddr(ifp, et_hash_maddr, &hash);
sys/dev/et/if_et.c
1595
if (count > 0)
sys/dev/etherswitch/ar40xx/ar40xx_main.c
873
sc->atu.count = 0;
sys/dev/etherswitch/ar40xx/ar40xx_main.c
887
sc->atu.count = nitems;
sys/dev/etherswitch/ar40xx/ar40xx_main.c
906
if (id > sc->atu.count) {
sys/dev/etherswitch/ar40xx/ar40xx_var.h
128
int count;
sys/dev/etherswitch/arswitch/arswitch.c
1162
sc->atu.count = 0;
sys/dev/etherswitch/arswitch/arswitch.c
1177
sc->atu.count = 0;
sys/dev/etherswitch/arswitch/arswitch.c
1204
sc->atu.count = nitems;
sys/dev/etherswitch/arswitch/arswitch.c
1222
if (id > sc->atu.count) {
sys/dev/etherswitch/arswitch/arswitch.c
524
sc->atu.count = 0;
sys/dev/etherswitch/arswitch/arswitchvar.h
87
int count;
sys/dev/evdev/cdev.c
825
size_t count, head, tail, ready;
sys/dev/evdev/cdev.c
831
count = client->ec_buffer_size;
sys/dev/evdev/cdev.c
834
if ((tail + 1) % count == head) {
sys/dev/evdev/cdev.c
837
head = (tail + count - 1) % count;
sys/dev/evdev/cdev.c
858
client->ec_buffer_tail = (tail + 1) % count;
sys/dev/evdev/cdev.c
864
ready = (ready + 1) % count)
sys/dev/evdev/cdev.c
912
size_t head, tail, count, i;
sys/dev/evdev/cdev.c
919
count = client->ec_buffer_size;
sys/dev/evdev/cdev.c
924
i = (i + 1) % count;
sys/dev/evdev/cdev.c
935
client->ec_buffer_ready = (tail + 1) % count;
sys/dev/evdev/cdev.c
945
tail = (tail + 1) % count;
sys/dev/exca/exca.c
862
u_long start, u_long end, u_long count, uint flags)
sys/dev/exca/exca.c
884
if (start > tmp || end < tmp || count != 1) {
sys/dev/exca/exca.c
887
start, end, count);
sys/dev/exca/exca.c
895
start, end, count, flags & ~RF_ACTIVE);
sys/dev/fb/fbreg.h
103
u_char *data, int c, int count);
sys/dev/fb/fbreg.h
105
u_char *data, int c, int count);
sys/dev/fb/fbreg.h
192
#define vidd_save_font(adp, page, size, width, data, c, count) \
sys/dev/fb/fbreg.h
194
(width), (data), (c), (count))
sys/dev/fb/fbreg.h
195
#define vidd_load_font(adp, page, size, width, data, c, count) \
sys/dev/fb/fbreg.h
197
(width), (data), (c), (count))
sys/dev/fb/s3_pci.c
308
u_char *data, int ch, int count)
sys/dev/fb/s3_pci.c
311
ch, count);
sys/dev/fb/s3_pci.c
316
u_char *data, int ch, int count)
sys/dev/fb/s3_pci.c
319
ch, count);
sys/dev/fb/splash_bmp.c
299
int count; /* run count */
sys/dev/fb/splash_bmp.c
313
for (count = 0; count < *info->index; count++, x++) {
sys/dev/fb/splash_bmp.c
314
if (count & 1) { /* odd count, low nybble */
sys/dev/fb/splash_bmp.c
339
for (count = 0; count < *(info->index + 1); count++, x++) {
sys/dev/fb/splash_bmp.c
340
val = *(info->index + 2 + (count / 2)); /* byte with nybbles */
sys/dev/fb/splash_bmp.c
341
if (count & 1) {
sys/dev/fb/splash_bmp.c
349
info->index += 2 + ((count + 3) / 4) * 2;
sys/dev/fb/splash_bmp.c
364
int count; /* run count */
sys/dev/fb/splash_bmp.c
377
for (count = 0; count < *info->index; count++, x++)
sys/dev/fb/splash_bmp.c
398
for (count = 0; count < *(info->index + 1); count++, x++)
sys/dev/fb/splash_bmp.c
399
bmp_SetPix(info, x, y, *(info->index + 2 + count));
sys/dev/fb/splash_bmp.c
401
info->index += 2 + count + (count & 1);
sys/dev/fb/vesa.c
1416
u_char *data, int ch, int count)
sys/dev/fb/vesa.c
1420
ch, count));
sys/dev/fb/vesa.c
1425
u_char *data, int ch, int count)
sys/dev/fb/vesa.c
1429
ch, count));
sys/dev/fb/vesa.c
1679
get_palette(video_adapter_t *adp, int base, int count,
sys/dev/fb/vesa.c
1688
if (base < 0 || base >= 256 || count < 0 || count > 256)
sys/dev/fb/vesa.c
1690
if ((base + count) > 256)
sys/dev/fb/vesa.c
1696
r = malloc(count * 3, M_DEVBUF, M_WAITOK);
sys/dev/fb/vesa.c
1697
g = r + count;
sys/dev/fb/vesa.c
1698
b = g + count;
sys/dev/fb/vesa.c
1699
error = vesa_bios_save_palette2(base, count, r, g, b, bits);
sys/dev/fb/vesa.c
1701
(void)copyout(r, red, count);
sys/dev/fb/vesa.c
1702
(void)copyout(g, green, count);
sys/dev/fb/vesa.c
1703
(void)copyout(b, blue, count);
sys/dev/fb/vesa.c
1705
bzero(r, count);
sys/dev/fb/vesa.c
1706
(void)copyout(r, trans, count);
sys/dev/fb/vesa.c
1715
set_palette(video_adapter_t *adp, int base, int count,
sys/dev/fb/vesa.c
1724
if (base < 0 || base >= 256 || count < 0 || count > 256)
sys/dev/fb/vesa.c
1726
if ((base + count) > 256)
sys/dev/fb/vesa.c
1732
r = malloc(count * 3, M_DEVBUF, M_WAITOK | M_ZERO);
sys/dev/fb/vesa.c
1733
g = r + count;
sys/dev/fb/vesa.c
1734
b = g + count;
sys/dev/fb/vesa.c
1735
if (copyin(red, r, count) != 0 ||
sys/dev/fb/vesa.c
1736
copyin(green, g, count) != 0 ||
sys/dev/fb/vesa.c
1737
copyin(blue, b, count) != 0) {
sys/dev/fb/vesa.c
1742
error = vesa_bios_load_palette2(base, count, r, g, b, bits);
sys/dev/fb/vesa.c
1786
((video_color_palette_t *)arg)->count,
sys/dev/fb/vesa.c
1797
((video_color_palette_t *)arg)->count,
sys/dev/fb/vesa.c
1807
((struct fbcmap *)arg)->count,
sys/dev/fb/vesa.c
1816
((struct fbcmap *)arg)->count,
sys/dev/fb/vesa.c
254
int count, i, is_pci;
sys/dev/fb/vesa.c
264
if (dc != NULL && devclass_get_devices(dc, &devs, &count) == 0) {
sys/dev/fb/vesa.c
265
for (i = 0; i < count; i++)
sys/dev/fb/vga.c
1235
int count;
sys/dev/fb/vga.c
1246
count = howmany(pixel, ppw)/2;
sys/dev/fb/vga.c
1250
count = (pixel + 7)/8;
sys/dev/fb/vga.c
1254
count = (pixel + 7)/8; /* columns */
sys/dev/fb/vga.c
1262
count *= 2; /* byte mode */
sys/dev/fb/vga.c
1264
outb(adp->va_crtc_addr + 1, count);
sys/dev/fb/vga.c
1790
u_char *data, int ch, int count)
sys/dev/fb/vga.c
1835
bcopy_fromio((uintptr_t)segment + ch*32, data, fontsize*count);
sys/dev/fb/vga.c
1837
for (c = ch; count > 0; ++c, --count) {
sys/dev/fb/vga.c
1870
u_char *data, int ch, int count)
sys/dev/fb/vga.c
1915
bcopy_toio(data, (uintptr_t)segment + ch*32, fontsize*count);
sys/dev/fb/vga.c
1917
for (c = ch; count > 0; ++c, --count) {
sys/dev/fb/vga.c
1996
vga_save_palette2(video_adapter_t *adp, int base, int count,
sys/dev/fb/vga.c
2006
for (i = 0; i < count; ++i) {
sys/dev/fb/vga.c
2040
vga_load_palette2(video_adapter_t *adp, int base, int count,
sys/dev/fb/vga.c
2051
for (i = 0; i < count; ++i) {
sys/dev/fb/vga.c
2851
get_palette(video_adapter_t *adp, int base, int count,
sys/dev/fb/vga.c
2859
if (count < 0 || base < 0 || count > 256 || base > 256 ||
sys/dev/fb/vga.c
2860
base + count > 256)
sys/dev/fb/vga.c
2863
r = malloc(count*3, M_DEVBUF, M_WAITOK);
sys/dev/fb/vga.c
2864
g = r + count;
sys/dev/fb/vga.c
2865
b = g + count;
sys/dev/fb/vga.c
2866
if (vga_save_palette2(adp, base, count, r, g, b)) {
sys/dev/fb/vga.c
2870
error = copyout(r, red, count);
sys/dev/fb/vga.c
2873
error = copyout(g, green, count);
sys/dev/fb/vga.c
2876
error = copyout(b, blue, count);
sys/dev/fb/vga.c
2880
bzero(r, count);
sys/dev/fb/vga.c
2881
error = copyout(r, trans, count);
sys/dev/fb/vga.c
2890
set_palette(video_adapter_t *adp, int base, int count,
sys/dev/fb/vga.c
2898
if (count < 0 || base < 0 || count > 256 || base > 256 ||
sys/dev/fb/vga.c
2899
base + count > 256)
sys/dev/fb/vga.c
2902
r = malloc(count*3, M_DEVBUF, M_WAITOK);
sys/dev/fb/vga.c
2903
g = r + count;
sys/dev/fb/vga.c
2904
b = g + count;
sys/dev/fb/vga.c
2905
err = copyin(red, r, count);
sys/dev/fb/vga.c
2907
err = copyin(green, g, count);
sys/dev/fb/vga.c
2909
err = copyin(blue, b, count);
sys/dev/fb/vga.c
2911
err = vga_load_palette2(adp, base, count, r, g, b);
sys/dev/fb/vga.c
2939
((video_color_palette_t *)arg)->count,
sys/dev/fb/vga.c
2947
((video_color_palette_t *)arg)->count,
sys/dev/fb/vga.c
2967
((struct fbcmap *)arg)->count,
sys/dev/fb/vga.c
2974
((struct fbcmap *)arg)->count,
sys/dev/fdc/fdc.c
386
fdbcdr_wr(struct fdc_data *fdc, int iswrite, uint16_t count)
sys/dev/fdc/fdc.c
388
fdregwr(fdc, FDBCDR, (count - 1) & 0xff);
sys/dev/fdc/fdc.c
390
(iswrite ? 0x80 : 0) | (((count - 1) >> 8) & 0x7f));
sys/dev/fdc/fdc.c
711
u_int count;
sys/dev/fdc/fdc.c
715
count = fdc->fd->fd_iosize;
sys/dev/fdc/fdc.c
718
fdbcdr_wr(fdc, 0, count);
sys/dev/fdc/fdc.c
720
fdc->ioff[FD_YE_DATAPORT], cptr, count);
sys/dev/fdc/fdc.c
723
fdc->ioff[FD_YE_DATAPORT], cptr, count);
sys/dev/fdc/fdc.c
724
fdbcdr_wr(fdc, 0, count); /* needed? */
sys/dev/fdt/fdt_common.c
302
u_long *start, u_long *count)
sys/dev/fdt/fdt_common.c
316
*count = fdt_data_get((const void *)data, size_cells);
sys/dev/fdt/fdt_slicer.c
106
*count = i;
sys/dev/fdt/fdt_slicer.c
51
fill_slices_from_node(phandle_t node, struct flash_slice *slices, int *count)
sys/dev/fdt/simplebus.c
464
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/fdt/simplebus.c
490
count = rle->count;
sys/dev/fdt/simplebus.c
515
count, flags));
sys/dev/fdt/simplebus.c
594
simplebus_alloc_msi(device_t bus, device_t child, int *count)
sys/dev/fdt/simplebus.c
600
if (*count < 1)
sys/dev/fdt/simplebus.c
612
irq_count = *count;
sys/dev/fdt/simplebus.c
639
simplebus_pcib_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/dev/fdt/simplebus.c
642
return (PCIB_ALLOC_MSI(device_get_parent(dev), child, count, maxcount,
sys/dev/fdt/simplebus.c
647
simplebus_pcib_release_msi(device_t dev, device_t child, int count, int *irqs)
sys/dev/fdt/simplebus.c
649
return (PCIB_RELEASE_MSI(device_get_parent(dev), child, count, irqs));
sys/dev/firewire/fwcrom.c
492
int count, offset;
sys/dev/firewire/fwcrom.c
513
count = 0;
sys/dev/firewire/fwcrom.c
514
if (crom_copy((uint32_t *)&src->hdr, buf, &count, len, maxlen) < 0)
sys/dev/firewire/fwcrom.c
522
&count, len, maxlen) < 0)
sys/dev/firewire/fwcrom.c
526
hdr->crc_len = count - 1;
sys/dev/firewire/fwcrom.c
532
for (i = 0; i < count; i++) {
sys/dev/firewire/fwcrom.c
538
return (count);
sys/dev/firewire/fwohci.c
1767
fwohci_intr_core(struct fwohci_softc *sc, uint32_t stat, int count)
sys/dev/firewire/fwohci.c
1874
fwohci_intr_dma(struct fwohci_softc *sc, uint32_t stat, int count)
sys/dev/firewire/fwohci.c
1905
fwohci_arcv(sc, &sc->arrs, count);
sys/dev/firewire/fwohci.c
1908
fwohci_arcv(sc, &sc->arrq, count);
sys/dev/firewire/fwohci.c
2082
fwohci_poll(struct firewire_comm *fc, int quick, int count)
sys/dev/firewire/fwohci.c
2115
uint32_t stat, count __unused;
sys/dev/firewire/fwohci.c
2130
count = FWOHCI_DMA_READ(db[ldesc].db.desc.res)
sys/dev/firewire/fwohci.c
2652
fwohci_arcv(struct fwohci_softc *sc, struct fwohci_dbch *dbch, int count)
sys/dev/firewire/fwohci.c
2697
if (count >= 0 && count-- == 0)
sys/dev/firewire/if_fwe.c
100
fwe_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/firewire/if_fwe.c
110
fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count);
sys/dev/firewire/if_fwip.c
117
fwip_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/firewire/if_fwip.c
127
fc->poll(fc, (cmd == POLL_AND_CHECK_STATUS)?0:1, count);
sys/dev/firewire/if_fwip.c
640
fwip_start_send (void *arg, int count)
sys/dev/firewire/sbp.c
2722
int count;
sys/dev/firewire/sbp.c
2725
count = sdev->freeze;
sys/dev/firewire/sbp.c
2727
xpt_release_devq(sdev->path, count, TRUE);
sys/dev/flash/cqspi.c
410
off_t offset, caddr_t data, off_t count)
sys/dev/flash/cqspi.c
416
__func__, offset, count);
sys/dev/flash/cqspi.c
435
WRITE4(sc, CQSPI_INDWRCNT, count);
sys/dev/flash/cqspi.c
467
off_t offset, caddr_t data, off_t count)
sys/dev/flash/cqspi.c
475
__func__, offset, count);
sys/dev/flash/cqspi.c
487
WRITE4(sc, CQSPI_INDRDCNT, count);
sys/dev/flash/flexspi/flex_spi.c
116
size_t count);
sys/dev/flash/flexspi/flex_spi.c
502
size_t count)
sys/dev/flash/flexspi/flex_spi.c
516
if (((offset % 4) != 0) || (count < 4)) {
sys/dev/flash/flexspi/flex_spi.c
519
count--;
sys/dev/flash/flexspi/flex_spi.c
524
count -= 4;
sys/dev/flash/flexspi/flex_spi.c
527
} while (count);
sys/dev/flash/flexspi/flex_spi.c
533
len = min(64, count);
sys/dev/flash/flexspi/flex_spi.c
540
count -= len;
sys/dev/flash/flexspi/flex_spi.c
541
} while (count);
sys/dev/flash/mx25l.c
286
mx25l_write(struct mx25l_softc *sc, off_t offset, caddr_t data, off_t count)
sys/dev/flash/mx25l.c
305
if (count % sc->sc_erasesize != 0 || offset % sc->sc_erasesize != 0)
sys/dev/flash/mx25l.c
312
while (count != 0) {
sys/dev/flash/mx25l.c
332
bytes_to_write = MIN(FLASH_PAGE_SIZE, count);
sys/dev/flash/mx25l.c
358
count -= bytes_to_write;
sys/dev/flash/mx25l.c
365
mx25l_read(struct mx25l_softc *sc, off_t offset, caddr_t data, off_t count)
sys/dev/flash/mx25l.c
376
if (count % sc->sc_disk->d_sectorsize != 0 ||
sys/dev/flash/mx25l.c
406
cmd.tx_data_sz = count;
sys/dev/flash/mx25l.c
407
cmd.rx_data_sz = count;
sys/dev/flash/n25q.c
188
n25q_write(device_t dev, struct bio *bp, off_t offset, caddr_t data, off_t count)
sys/dev/flash/n25q.c
195
dprintf("%s: offset 0x%llx count %lld bytes\n", __func__, offset, count);
sys/dev/flash/n25q.c
202
err = QSPI_WRITE(pdev, dev, bp, offset, data, count);
sys/dev/flash/n25q.c
208
n25q_read(device_t dev, struct bio *bp, off_t offset, caddr_t data, off_t count)
sys/dev/flash/n25q.c
217
dprintf("%s: offset 0x%llx count %lld bytes\n", __func__, offset, count);
sys/dev/flash/n25q.c
224
if (count % sc->sc_disk->d_sectorsize != 0
sys/dev/flash/n25q.c
230
err = QSPI_READ(pdev, dev, bp, offset, data, count);
sys/dev/flash/w25n.c
208
w25n_write(struct w25n_softc *sc, off_t offset, caddr_t data, off_t count)
sys/dev/flash/w25n.c
216
w25n_read(struct w25n_softc *sc, off_t offset, caddr_t data, off_t count)
sys/dev/flash/w25n.c
228
if (count % sc->sc_disk->d_sectorsize != 0) {
sys/dev/flash/w25n.c
239
while (count > 0) {
sys/dev/flash/w25n.c
276
read_size = MIN(count, sc->sc_disk->d_sectorsize);
sys/dev/flash/w25n.c
321
count -= read_size;
sys/dev/fxp/if_fxp.c
1650
fxp_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/fxp/if_fxp.c
1678
rx_npkts = fxp_intr_body(sc, ifp, statack, count);
sys/dev/fxp/if_fxp.c
1839
int count)
sys/dev/fxp/if_fxp.c
1910
if (count >= 0 && count-- == 0) {
sys/dev/fxp/if_fxp.c
227
uint8_t statack, int count);
sys/dev/fxp/if_fxp.c
2738
int count = 10000;
sys/dev/fxp/if_fxp.c
2745
&& count--)
sys/dev/fxp/if_fxp.c
2748
if (count <= 0)
sys/dev/fxp/if_fxp.c
2758
int count = 10000;
sys/dev/fxp/if_fxp.c
2765
count--)
sys/dev/fxp/if_fxp.c
2768
if (count <= 0)
sys/dev/fxp/if_fxp.c
2997
int count;
sys/dev/fxp/if_fxp.c
3011
count = 100;
sys/dev/fxp/if_fxp.c
3013
FXP_SCB_CUS_IDLE && --count)
sys/dev/fxp/if_fxp.c
3015
if (count == 0) {
sys/dev/gpio/gpiobus.c
868
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/gpio/gpiobus.c
874
isdefault = (RMAN_IS_DEFAULT_RANGE(start, end) && count == 1);
sys/dev/gpio/gpiobus.c
883
count = rle->count;
sys/dev/gpio/gpiobus.c
887
end, count, flags));
sys/dev/hdmi/dwc_hdmi.c
262
int count;
sys/dev/hdmi/dwc_hdmi.c
270
for (count = 0 ; count < 4 ; count++)
sys/dev/hid/hid.c
104
c->loc.count = 0;
sys/dev/hid/hid.c
288
h->loc.size, h->loc.count);
sys/dev/hid/hid.c
289
c->loc.pos += c->loc.size * c->loc.count;
sys/dev/hid/hid.c
360
c->loc.count = s->loc_count;
sys/dev/hid/hid.c
365
if (c->loc.count > MAXLOCCNT) {
sys/dev/hid/hid.c
368
(unsigned)(c->loc.count),
sys/dev/hid/hid.c
372
s->ncount = c->loc.count;
sys/dev/hid/hid.c
378
c->loc.count = 1;
sys/dev/hid/hid.c
456
c->loc.count = s->loc_count;
sys/dev/hid/hid.c
472
s->loc_count = c->loc.count;
sys/dev/hid/hid.c
476
c->loc.count = 0;
sys/dev/hid/hid.c
592
temp = h.loc.pos + (h.loc.size * h.loc.count);
sys/dev/hid/hid.c
639
temp = h.loc.pos + (h.loc.size * h.loc.count);
sys/dev/hid/hid.h
242
uint32_t count;
sys/dev/hid/hidmap.c
465
for (i = 0; i < hi.loc.count; i++, hi.loc.pos += hi.loc.size)
sys/dev/hid/hidmap.c
644
item->loc.count = 1;
sys/dev/hid/hidmap.c
680
for (i = 0; i < hi.loc.count; i++, hi.loc.pos += hi.loc.size)
sys/dev/hid/hkbd.c
779
if (tmp_loc.count > HKBD_NKEYCODE)
sys/dev/hid/hkbd.c
780
tmp_loc.count = HKBD_NKEYCODE;
sys/dev/hid/hkbd.c
781
while (tmp_loc.count--) {
sys/dev/hpt27xx/hpt27xx_os_bsd.c
151
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
166
list->count = count;
sys/dev/hpt27xx/hpt27xx_os_bsd.c
172
if (list->count) {
sys/dev/hpt27xx/hpt27xx_os_bsd.c
176
list->count--;
sys/dev/hpt27xx/hpt27xx_os_bsd.c
185
list->count++;
sys/dev/hpt27xx/hpt27xx_os_bsd.c
190
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
206
list->count = count;
sys/dev/hpt27xx/hpt27xx_os_bsd.c
222
list->count++;
sys/dev/hpt27xx/hpt27xx_os_bsd.c
46
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
47
{ insw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
sys/dev/hpt27xx/hpt27xx_os_bsd.c
49
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
50
{ outsw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
1017
int i, count;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
1019
count = hpt_get_logical_devices((DEVICEID *)&ids, sizeof(ids)/sizeof(ids[0]));
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
1021
for (i=0; i<count; i++)
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
161
f->tag, f->count, f->size, f->count*f->size));
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
162
for (i=0; i<f->count; i++) {
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
178
f->tag, f->count, f->size, f->count*f->size, order));
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
181
for (i=0; i<f->count;) {
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
184
for (j = size/f->size; j && i<f->count; i++,j--) {
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
214
if (f->count!=f->reserved_count) {
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
215
KdPrint(("memory leak for freelist %s (%d/%d)", f->tag, f->count, f->reserved_count));
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
231
if (f->count!=f->reserved_count) {
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
232
KdPrint(("memory leak for dma freelist %s (%d/%d)", f->tag, f->count, f->reserved_count));
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
290
HPT_UINT count;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
297
count = max(vd->u.array.transform->source->cmds_per_request,
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
300
count = vd->cmds_per_request;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
302
pCmd = ldm_alloc_cmds(vd->vbus, count);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
962
HPT_U32 count = nMaxCount-1;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
965
&count, sizeof(HPT_U32), pIds, sizeof(DEVICEID)*nMaxCount))
sys/dev/hpt27xx/ldm.h
102
#define freelist_reserve_dma_with_tag(list, osext, size, alignment, count) \
sys/dev/hpt27xx/ldm.h
105
freelist_reserve_dma(list, osext, (HPT_UINT)(size), (HPT_UINT)(alignment), (HPT_UINT)(count));\
sys/dev/hpt27xx/ldm.h
475
grp->grplist->count++;\
sys/dev/hpt27xx/ldm.h
485
grp->grplist->count--;\
sys/dev/hpt27xx/ldm.h
72
HPT_UINT count;
sys/dev/hpt27xx/ldm.h
86
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count);
sys/dev/hpt27xx/ldm.h
91
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count);
sys/dev/hpt27xx/ldm.h
96
#define freelist_reserve_with_tag(list, osext, size, count) \
sys/dev/hpt27xx/ldm.h
99
freelist_reserve(list, osext, (HPT_UINT)(size), (HPT_UINT)(count));\
sys/dev/hpt27xx/osm.h
133
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hpt27xx/osm.h
134
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hptmv/entry.c
1898
pNoUdmaParams->count = 0;
sys/dev/hptmv/gui_lib.c
479
int count = 0;
sys/dev/hptmv/gui_lib.c
498
for (j=0; j<count; j++)
sys/dev/hptmv/gui_lib.c
500
pIds[count++] = VDEV_TO_ID(pLogical);
sys/dev/hptmv/gui_lib.c
501
if (count>=nMaxCount) goto done;
sys/dev/hptmv/gui_lib.c
507
return count;
sys/dev/hptmv/mvSata.h
211
MV_U32 count;
sys/dev/hptmv/mvStorageDev.h
184
MV_U16 FAR *bufPtr, MV_U32 count,
sys/dev/hptnr/hptnr_os_bsd.c
137
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count)
sys/dev/hptnr/hptnr_os_bsd.c
152
list->count = count;
sys/dev/hptnr/hptnr_os_bsd.c
158
if (list->count) {
sys/dev/hptnr/hptnr_os_bsd.c
162
list->count--;
sys/dev/hptnr/hptnr_os_bsd.c
171
list->count++;
sys/dev/hptnr/hptnr_os_bsd.c
176
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count)
sys/dev/hptnr/hptnr_os_bsd.c
192
list->count = count;
sys/dev/hptnr/hptnr_os_bsd.c
208
list->count++;
sys/dev/hptnr/hptnr_os_bsd.c
45
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hptnr/hptnr_os_bsd.c
46
{ insw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
sys/dev/hptnr/hptnr_os_bsd.c
48
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hptnr/hptnr_os_bsd.c
49
{ outsw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
sys/dev/hptnr/hptnr_osm_bsd.c
1249
HPT_U32 count = nMaxCount-1;
sys/dev/hptnr/hptnr_osm_bsd.c
1252
&count, sizeof(HPT_U32), pIds, sizeof(DEVICEID)*nMaxCount))
sys/dev/hptnr/hptnr_osm_bsd.c
1304
int i, count;
sys/dev/hptnr/hptnr_osm_bsd.c
1306
count = hpt_get_logical_devices((DEVICEID *)&ids, sizeof(ids)/sizeof(ids[0]));
sys/dev/hptnr/hptnr_osm_bsd.c
1308
for (i=0; i<count; i++)
sys/dev/hptnr/hptnr_osm_bsd.c
165
f->tag, f->count, f->size, f->count*f->size));
sys/dev/hptnr/hptnr_osm_bsd.c
166
for (i=0; i<f->count; i++) {
sys/dev/hptnr/hptnr_osm_bsd.c
182
f->tag, f->count, f->size, f->count*f->size, order));
sys/dev/hptnr/hptnr_osm_bsd.c
185
for (i=0; i<f->count;) {
sys/dev/hptnr/hptnr_osm_bsd.c
188
for (j = size/f->size; j && i<f->count; i++,j--) {
sys/dev/hptnr/hptnr_osm_bsd.c
218
if (f->count!=f->reserved_count) {
sys/dev/hptnr/hptnr_osm_bsd.c
219
KdPrint(("memory leak for freelist %s (%d/%d)", f->tag, f->count, f->reserved_count));
sys/dev/hptnr/hptnr_osm_bsd.c
235
if (f->count!=f->reserved_count) {
sys/dev/hptnr/hptnr_osm_bsd.c
236
KdPrint(("memory leak for dma freelist %s (%d/%d)", f->tag, f->count, f->reserved_count));
sys/dev/hptnr/hptnr_osm_bsd.c
294
HPT_UINT count;
sys/dev/hptnr/hptnr_osm_bsd.c
301
count = max(vd->u.array.transform->source->cmds_per_request,
sys/dev/hptnr/hptnr_osm_bsd.c
304
count = vd->cmds_per_request;
sys/dev/hptnr/hptnr_osm_bsd.c
306
pCmd = ldm_alloc_cmds(vd->vbus, count);
sys/dev/hptnr/ldm.h
102
#define freelist_reserve_dma_with_tag(list, osext, size, alignment, count) \
sys/dev/hptnr/ldm.h
105
freelist_reserve_dma(list, osext, (HPT_UINT)(size), (HPT_UINT)(alignment), (HPT_UINT)(count));\
sys/dev/hptnr/ldm.h
474
grp->grplist->count++;\
sys/dev/hptnr/ldm.h
484
grp->grplist->count--;\
sys/dev/hptnr/ldm.h
72
HPT_UINT count;
sys/dev/hptnr/ldm.h
86
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count);
sys/dev/hptnr/ldm.h
91
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count);
sys/dev/hptnr/ldm.h
96
#define freelist_reserve_with_tag(list, osext, size, count) \
sys/dev/hptnr/ldm.h
99
freelist_reserve(list, osext, (HPT_UINT)(size), (HPT_UINT)(count));\
sys/dev/hptnr/osm.h
131
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hptnr/osm.h
132
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hptrr/hptrr_os_bsd.c
123
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count)
sys/dev/hptrr/hptrr_os_bsd.c
138
list->count = count;
sys/dev/hptrr/hptrr_os_bsd.c
144
if (list->count) {
sys/dev/hptrr/hptrr_os_bsd.c
148
list->count--;
sys/dev/hptrr/hptrr_os_bsd.c
157
list->count++;
sys/dev/hptrr/hptrr_os_bsd.c
162
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count)
sys/dev/hptrr/hptrr_os_bsd.c
178
list->count = count;
sys/dev/hptrr/hptrr_os_bsd.c
194
list->count++;
sys/dev/hptrr/hptrr_os_bsd.c
46
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hptrr/hptrr_os_bsd.c
47
{ insw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
sys/dev/hptrr/hptrr_os_bsd.c
49
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hptrr/hptrr_os_bsd.c
50
{ outsw((unsigned)(HPT_UPTR)port, (void *)buffer, count); }
sys/dev/hptrr/hptrr_osm_bsd.c
166
f->tag, f->count, f->size, f->count*f->size));
sys/dev/hptrr/hptrr_osm_bsd.c
167
for (i=0; i<f->count; i++) {
sys/dev/hptrr/hptrr_osm_bsd.c
184
f->tag, f->count, f->size, f->count*f->size, order));
sys/dev/hptrr/hptrr_osm_bsd.c
187
for (i=0; i<f->count;) {
sys/dev/hptrr/hptrr_osm_bsd.c
190
for (j = size/f->size; j && i<f->count; i++,j--) {
sys/dev/hptrr/hptrr_osm_bsd.c
220
if (f->count!=f->reserved_count) {
sys/dev/hptrr/hptrr_osm_bsd.c
221
KdPrint(("memory leak for freelist %s (%d/%d)", f->tag, f->count, f->reserved_count));
sys/dev/hptrr/hptrr_osm_bsd.c
237
if (f->count!=f->reserved_count) {
sys/dev/hptrr/hptrr_osm_bsd.c
238
KdPrint(("memory leak for dma freelist %s (%d/%d)", f->tag, f->count, f->reserved_count));
sys/dev/hptrr/hptrr_osm_bsd.c
296
HPT_UINT count;
sys/dev/hptrr/hptrr_osm_bsd.c
303
count = max(vd->u.array.transform->source->cmds_per_request,
sys/dev/hptrr/hptrr_osm_bsd.c
306
count = vd->cmds_per_request;
sys/dev/hptrr/hptrr_osm_bsd.c
308
pCmd = ldm_alloc_cmds(vd->vbus, count);
sys/dev/hptrr/hptrr_osm_bsd.c
893
HPT_U32 count = nMaxCount-1;
sys/dev/hptrr/hptrr_osm_bsd.c
896
&count, sizeof(HPT_U32), pIds, sizeof(DEVICEID)*nMaxCount))
sys/dev/hptrr/hptrr_osm_bsd.c
948
int i, count;
sys/dev/hptrr/hptrr_osm_bsd.c
950
count = hpt_get_logical_devices((DEVICEID *)&ids, sizeof(ids)/sizeof(ids[0]));
sys/dev/hptrr/hptrr_osm_bsd.c
952
for (i=0; i<count; i++)
sys/dev/hptrr/ldm.h
101
#define freelist_reserve_dma_with_tag(list, osext, size, alignment, count) \
sys/dev/hptrr/ldm.h
104
freelist_reserve_dma(list, osext, size, alignment, count);\
sys/dev/hptrr/ldm.h
468
grp->grplist->count++;\
sys/dev/hptrr/ldm.h
478
grp->grplist->count--;\
sys/dev/hptrr/ldm.h
71
HPT_UINT count;
sys/dev/hptrr/ldm.h
85
void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count);
sys/dev/hptrr/ldm.h
90
void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HPT_UINT count);
sys/dev/hptrr/ldm.h
95
#define freelist_reserve_with_tag(list, osext, size, count) \
sys/dev/hptrr/ldm.h
98
freelist_reserve(list, osext, size, count);\
sys/dev/hptrr/osm.h
101
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hptrr/osm.h
102
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hwpmc/hwpmc_amd.c
603
uint32_t active = 0, count = 0;
sys/dev/hwpmc/hwpmc_amd.c
684
if ((count = DPCPU_GET(nmi_counter))) {
sys/dev/hwpmc/hwpmc_amd.c
686
DPCPU_SET(nmi_counter, --count);
sys/dev/hwpmc/hwpmc_arm.c
113
return (count);
sys/dev/hwpmc/hwpmc_arm.c
121
int count;
sys/dev/hwpmc/hwpmc_arm.c
138
for (count = 1; count < maxsamples; count++) {
sys/dev/hwpmc/hwpmc_arm.c
157
return (count);
sys/dev/hwpmc/hwpmc_arm.c
78
int count;
sys/dev/hwpmc/hwpmc_arm.c
93
for (count = 1; count < maxsamples; count++) {
sys/dev/hwpmc/hwpmc_arm64_md.c
109
for (count = 1; count < maxsamples; count++) {
sys/dev/hwpmc/hwpmc_arm64_md.c
128
return (count);
sys/dev/hwpmc/hwpmc_arm64_md.c
61
int count;
sys/dev/hwpmc/hwpmc_arm64_md.c
76
for (count = 1; count < maxsamples; count++) {
sys/dev/hwpmc/hwpmc_arm64_md.c
84
return (count);
sys/dev/hwpmc/hwpmc_arm64_md.c
92
int count;
sys/dev/hwreset/hwreset_array.c
110
&count);
sys/dev/hwreset/hwreset_array.c
116
resets->rst_array = mallocarray(count, sizeof(hwreset_t), M_HWRESET,
sys/dev/hwreset/hwreset_array.c
119
for (i = 0; i < count; i++) {
sys/dev/hwreset/hwreset_array.c
127
count = i;
sys/dev/hwreset/hwreset_array.c
128
for (i = 0; i < count; i++) {
sys/dev/hwreset/hwreset_array.c
134
resets->count = count;
sys/dev/hwreset/hwreset_array.c
50
int count;
sys/dev/hwreset/hwreset_array.c
58
for (i = 0; i < rsts->count; i++) {
sys/dev/hwreset/hwreset_array.c
72
for (i = 0; i < rsts->count; i++) {
sys/dev/hwreset/hwreset_array.c
86
for (i = 0; i < rsts->count; i++) {
sys/dev/hwreset/hwreset_array.c
99
int count, i, rv;
sys/dev/hyperv/netvsc/if_hn.c
7416
int count, i, hlen;
sys/dev/hyperv/netvsc/if_hn.c
7444
count = pkt->cp_rxbuf_cnt;
sys/dev/hyperv/netvsc/if_hn.c
7446
__offsetof(struct vmbus_chanpkt_rxbuf, cp_rxbuf[count]))) {
sys/dev/hyperv/netvsc/if_hn.c
7447
if_printf(rxr->hn_ifp, "invalid rxbuf_cnt %d\n", count);
sys/dev/hyperv/netvsc/if_hn.c
7453
for (i = 0; i < count; ++i) {
sys/dev/hyperv/netvsc/if_hn.c
7464
rxr->rsc.is_last = (i == (count - 1));
sys/dev/hyperv/pcib/vmbus_pcib.c
1667
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/hyperv/pcib/vmbus_pcib.c
1677
start, end, count, flags));
sys/dev/hyperv/pcib/vmbus_pcib.c
1700
start, end, count, flags);
sys/dev/hyperv/pcib/vmbus_pcib.c
1705
if (res == NULL && start + count - 1 == end)
sys/dev/hyperv/pcib/vmbus_pcib.c
1707
start, end, count, flags);
sys/dev/hyperv/pcib/vmbus_pcib.c
1815
vmbus_pcib_alloc_msi(device_t pcib, device_t dev, int count,
sys/dev/hyperv/pcib/vmbus_pcib.c
1819
return (PCIB_ALLOC_MSI(device_get_parent(pcib), dev, count, maxcount,
sys/dev/hyperv/pcib/vmbus_pcib.c
1823
return (intr_alloc_msi(pcib, dev, ACPI_MSI_XREF, count, maxcount,
sys/dev/hyperv/pcib/vmbus_pcib.c
1829
vmbus_pcib_release_msi(device_t pcib, device_t dev, int count, int *irqs)
sys/dev/hyperv/pcib/vmbus_pcib.c
1832
return (PCIB_RELEASE_MSI(device_get_parent(pcib), dev, count, irqs));
sys/dev/hyperv/pcib/vmbus_pcib.c
1835
return(intr_release_msi(pcib, dev, ACPI_MSI_XREF, count, irqs));
sys/dev/hyperv/vmbus/vmbus.c
101
int count, int *irqs);
sys/dev/hyperv/vmbus/vmbus.c
1066
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/hyperv/vmbus/vmbus.c
1075
rid, start, end, count, flags);
sys/dev/hyperv/vmbus/vmbus.c
1078
end, count, flags);
sys/dev/hyperv/vmbus/vmbus.c
1085
vmbus_alloc_msi(device_t bus, device_t dev, int count, int maxcount, int *irqs)
sys/dev/hyperv/vmbus/vmbus.c
1088
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/dev/hyperv/vmbus/vmbus.c
1093
vmbus_release_msi(device_t bus, device_t dev, int count, int *irqs)
sys/dev/hyperv/vmbus/vmbus.c
1096
return (PCIB_RELEASE_MSI(device_get_parent(bus), dev, count, irqs));
sys/dev/hyperv/vmbus/vmbus.c
1238
int count;
sys/dev/hyperv/vmbus/vmbus.c
1243
if (device_get_children(acpi0, &children, &count) == 0) {
sys/dev/hyperv/vmbus/vmbus.c
1246
for (i = 0; i < count; ++i) {
sys/dev/hyperv/vmbus/vmbus.c
97
rman_res_t count, u_int flags);
sys/dev/hyperv/vmbus/vmbus.c
99
int count, int maxcount, int *irqs);
sys/dev/iavf/iavf_adminq.c
355
if (hw->aq.asq.count > 0) {
sys/dev/iavf/iavf_adminq.c
387
hw->aq.asq.count = hw->aq.num_asq_entries;
sys/dev/iavf/iavf_adminq.c
418
if (hw->aq.arq.count > 0) {
sys/dev/iavf/iavf_adminq.c
450
hw->aq.arq.count = hw->aq.num_arq_entries;
sys/dev/iavf/iavf_adminq.c
472
if (hw->aq.asq.count == 0) {
sys/dev/iavf/iavf_adminq.c
484
hw->aq.asq.count = 0; /* to indicate uninitialized queue */
sys/dev/iavf/iavf_adminq.c
506
if (hw->aq.arq.count == 0) {
sys/dev/iavf/iavf_adminq.c
518
hw->aq.arq.count = 0; /* to indicate uninitialized queue */
sys/dev/iavf/iavf_adminq.c
632
if (ntc == asq->count)
sys/dev/iavf/iavf_adminq.c
688
if (hw->aq.asq.count == 0) {
sys/dev/iavf/iavf_adminq.c
791
if (hw->aq.asq.next_to_use == hw->aq.asq.count)
sys/dev/iavf/iavf_adminq.c
914
if (hw->aq.arq.count == 0) {
sys/dev/iavf/iavf_adminq.c
983
*pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc);
sys/dev/iavf/iavf_adminq.h
54
u16 count; /* Number of descriptors */
sys/dev/iavf/iavf_txrx_iflib.c
132
int count, curseg, i, hlen, segsz, seglen, tsolen;
sys/dev/iavf/iavf_txrx_iflib.c
137
curseg = count = 0;
sys/dev/iavf/iavf_txrx_iflib.c
145
count++;
sys/dev/iavf/iavf_txrx_iflib.c
146
if (count > IAVF_MAX_TX_SEGS - 2)
sys/dev/iavf/iavf_txrx_iflib.c
162
count++;
sys/dev/iavf/iavf_txrx_iflib.c
163
if (count > IAVF_MAX_TX_SEGS - 2) {
sys/dev/iavf/iavf_txrx_iflib.c
178
count = 0;
sys/dev/iavf/iavf_txrx_iflib.c
577
uint16_t count;
sys/dev/iavf/iavf_txrx_iflib.c
582
count = iru->iru_count;
sys/dev/iavf/iavf_txrx_iflib.c
584
for (i = 0, next_pidx = pidx; i < count; i++) {
sys/dev/iavf/iavf_type.h
92
((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
sys/dev/iavf/virtchnl.h
583
u16 count; /* number of queues in a channel */
sys/dev/ice/ice_adminq_cmd.h
138
__le32 count;
sys/dev/ice/ice_adminq_cmd.h
2345
__le16 count;
sys/dev/ice/ice_adminq_cmd.h
2920
__le32 count;
sys/dev/ice/ice_bitops.h
451
u16 count = 0;
sys/dev/ice/ice_bitops.h
455
count++;
sys/dev/ice/ice_bitops.h
459
return count;
sys/dev/ice/ice_common.c
3153
*cap_count = LE32_TO_CPU(cmd->count);
sys/dev/ice/ice_common.c
5720
ice_dis_vsi_rdma_qset(struct ice_port_info *pi, u16 count, u32 *qset_teid,
sys/dev/ice/ice_common.c
5741
for (i = 0; i < count; i++) {
sys/dev/ice/ice_common.h
152
ice_aq_add_lan_txq(struct ice_hw *hw, u8 count,
sys/dev/ice/ice_common.h
290
ice_dis_vsi_rdma_qset(struct ice_port_info *pi, u16 count, u32 *qset_teid,
sys/dev/ice/ice_common_txrx.h
104
count = 0;
sys/dev/ice/ice_common_txrx.h
113
count++;
sys/dev/ice/ice_common_txrx.h
114
if (count > maxsegs) {
sys/dev/ice/ice_common_txrx.h
129
count = 0;
sys/dev/ice/ice_common_txrx.h
65
int count, curseg, i, hlen, segsz, seglen, tsolen, hdrs, maxsegs;
sys/dev/ice/ice_controlq.c
1040
if (!cq->sq.count) {
sys/dev/ice/ice_controlq.c
1111
if (cq->sq.next_to_use == cq->sq.count)
sys/dev/ice/ice_controlq.c
1262
if (!cq->rq.count) {
sys/dev/ice/ice_controlq.c
1325
*pending = (u16)((ntc > ntu ? cq->rq.count : 0) + (ntu - ntc));
sys/dev/ice/ice_controlq.c
356
if (cq->sq.count > 0) {
sys/dev/ice/ice_controlq.c
387
cq->sq.count = cq->num_sq_entries;
sys/dev/ice/ice_controlq.c
418
if (cq->rq.count > 0) {
sys/dev/ice/ice_controlq.c
449
cq->rq.count = cq->num_rq_entries;
sys/dev/ice/ice_controlq.c
476
if (!cq->sq.count) {
sys/dev/ice/ice_controlq.c
488
cq->sq.count = 0; /* to indicate uninitialized queue */
sys/dev/ice/ice_controlq.c
550
if (!cq->rq.count) {
sys/dev/ice/ice_controlq.c
563
cq->rq.count = 0;
sys/dev/ice/ice_controlq.c
887
if (head >= sq->count) {
sys/dev/ice/ice_controlq.c
900
if (ntc == sq->count)
sys/dev/ice/ice_controlq.c
905
if (head >= sq->count) {
sys/dev/ice/ice_controlq.h
46
((u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
sys/dev/ice/ice_controlq.h
94
u16 count; /* Number of descriptors */
sys/dev/ice/ice_ddp_common.c
1154
for (i = 0; i < LE32_TO_CPU(pkg->count); i++) {
sys/dev/ice/ice_ddp_common.c
1192
if (index >= LE16_TO_CPU(fv_section->count))
sys/dev/ice/ice_ddp_common.c
1716
ice_pkg_buf_reserve_section(struct ice_buf_build *bld, u16 count)
sys/dev/ice/ice_ddp_common.c
1732
if (bld->reserved_section_table_entries + count > ICE_MAX_S_COUNT)
sys/dev/ice/ice_ddp_common.c
1734
bld->reserved_section_table_entries += count;
sys/dev/ice/ice_ddp_common.c
1737
FLEX_ARRAY_SIZE(buf, section_entry, count);
sys/dev/ice/ice_ddp_common.c
1848
ice_pkg_buf_unreserve_section(struct ice_buf_build *bld, u16 count)
sys/dev/ice/ice_ddp_common.c
1864
if (count > bld->reserved_section_table_entries)
sys/dev/ice/ice_ddp_common.c
1866
bld->reserved_section_table_entries -= count;
sys/dev/ice/ice_ddp_common.c
1869
FLEX_ARRAY_SIZE(buf, section_entry, count);
sys/dev/ice/ice_ddp_common.c
2175
if (index >= LE16_TO_CPU(boost->count))
sys/dev/ice/ice_ddp_common.c
2256
for (i = 0; i < hw->tnl.count; i++) {
sys/dev/ice/ice_ddp_common.c
259
ice_update_pkg_no_lock(struct ice_hw *hw, struct ice_buf *bufs, u32 count)
sys/dev/ice/ice_ddp_common.c
264
for (i = 0; i < count; i++) {
sys/dev/ice/ice_ddp_common.c
266
bool last = ((i + 1) == count);
sys/dev/ice/ice_ddp_common.c
291
ice_update_pkg(struct ice_hw *hw, struct ice_buf *bufs, u32 count)
sys/dev/ice/ice_ddp_common.c
299
status = ice_update_pkg_no_lock(hw, bufs, count);
sys/dev/ice/ice_ddp_common.c
348
ice_is_last_download_buffer(struct ice_buf_hdr *buf, u32 idx, u32 count)
sys/dev/ice/ice_ddp_common.c
350
bool last = ((idx + 1) == count);
sys/dev/ice/ice_ddp_common.c
378
u32 count, bool indicate_last)
sys/dev/ice/ice_ddp_common.c
385
if (!bufs || !count)
sys/dev/ice/ice_ddp_common.c
396
for (i = 0; i < count; i++) {
sys/dev/ice/ice_ddp_common.c
403
last = ice_is_last_download_buffer(bh, i, count);
sys/dev/ice/ice_ddp_common.c
535
u32 idx, u32 start, u32 count, bool last_seg)
sys/dev/ice/ice_ddp_common.c
549
if (start >= buf_count || start + count > buf_count)
sys/dev/ice/ice_ddp_common.c
552
state = ice_dwnld_cfg_bufs_no_lock(hw, bufs->buf_array, start, count,
sys/dev/ice/ice_ddp_common.c
575
u32 count;
sys/dev/ice/ice_ddp_common.c
586
count = LE32_TO_CPU(seg->signed_buf_count);
sys/dev/ice/ice_ddp_common.c
596
if (count == 0) {
sys/dev/ice/ice_ddp_common.c
605
count, last_seg);
sys/dev/ice/ice_ddp_common.c
707
ice_dwnld_cfg_bufs(struct ice_hw *hw, struct ice_buf *bufs, u32 count)
sys/dev/ice/ice_ddp_common.c
713
if (!bufs || !count)
sys/dev/ice/ice_ddp_common.c
731
state = ice_dwnld_cfg_bufs_no_lock(hw, bufs, 0, count, true);
sys/dev/ice/ice_ddp_common.c
884
for (i = 0; i < LE32_TO_CPU(pkg_info->count); i++) {
sys/dev/ice/ice_ddp_common.c
947
if (index >= LE16_TO_CPU(labels->count))
sys/dev/ice/ice_ddp_common.h
428
ice_pkg_buf_reserve_section(struct ice_buf_build *bld, u16 count);
sys/dev/ice/ice_ddp_common.h
433
ice_pkg_buf_unreserve_section(struct ice_buf_build *bld, u16 count);
sys/dev/ice/ice_ddp_common.h
438
ice_update_pkg(struct ice_hw *hw, struct ice_buf *bufs, u32 count);
sys/dev/ice/ice_ddp_common.h
440
ice_update_pkg_no_lock(struct ice_hw *hw, struct ice_buf *bufs, u32 count);
sys/dev/ice/ice_flex_pipe.c
1033
sect->count = CPU_TO_LE16(1);
sys/dev/ice/ice_flex_pipe.c
1160
for (i = 0; i < xlt2->count; i++)
sys/dev/ice/ice_flex_pipe.c
132
if (hw->tnl.count < ICE_TUNNEL_MAX_ENTRIES) {
sys/dev/ice/ice_flex_pipe.c
1364
for (i = 0; i < (u8)es->count; i++) {
sys/dev/ice/ice_flex_pipe.c
147
hw->tnl.tbl[hw->tnl.count].type = tnls[i].type;
sys/dev/ice/ice_flex_pipe.c
148
hw->tnl.tbl[hw->tnl.count].valid = false;
sys/dev/ice/ice_flex_pipe.c
149
hw->tnl.tbl[hw->tnl.count].in_use = false;
sys/dev/ice/ice_flex_pipe.c
150
hw->tnl.tbl[hw->tnl.count].marked = false;
sys/dev/ice/ice_flex_pipe.c
151
hw->tnl.tbl[hw->tnl.count].boost_addr = val;
sys/dev/ice/ice_flex_pipe.c
1513
if (prof_id > hw->blk[blk].es.count)
sys/dev/ice/ice_flex_pipe.c
152
hw->tnl.tbl[hw->tnl.count].port = 0;
sys/dev/ice/ice_flex_pipe.c
153
hw->tnl.count++;
sys/dev/ice/ice_flex_pipe.c
1554
if (prof_id > hw->blk[blk].es.count)
sys/dev/ice/ice_flex_pipe.c
1619
for (pt = 0; pt < hw->blk[blk].xlt1.count; pt++) {
sys/dev/ice/ice_flex_pipe.c
1639
for (vsi = 0; vsi < hw->blk[blk].xlt2.count; vsi++) {
sys/dev/ice/ice_flex_pipe.c
1714
sect_len = LE16_TO_CPU(xlt1->count) *
sys/dev/ice/ice_flex_pipe.c
1717
dst_len = hw->blk[block_id].xlt1.count *
sys/dev/ice/ice_flex_pipe.c
1727
sect_len = LE16_TO_CPU(xlt2->count) *
sys/dev/ice/ice_flex_pipe.c
1730
dst_len = hw->blk[block_id].xlt2.count *
sys/dev/ice/ice_flex_pipe.c
1740
sect_len = LE16_TO_CPU(pid->count) *
sys/dev/ice/ice_flex_pipe.c
1743
dst_len = hw->blk[block_id].prof.count *
sys/dev/ice/ice_flex_pipe.c
1753
sect_len = LE16_TO_CPU(pr->count) *
sys/dev/ice/ice_flex_pipe.c
1756
dst_len = hw->blk[block_id].prof_redir.count *
sys/dev/ice/ice_flex_pipe.c
1766
sect_len = (u32)(LE16_TO_CPU(es->count) *
sys/dev/ice/ice_flex_pipe.c
1770
dst_len = (u32)(hw->blk[block_id].es.count *
sys/dev/ice/ice_flex_pipe.c
1840
xlt1->count = blk_sizes[i].xlt1;
sys/dev/ice/ice_flex_pipe.c
1843
ice_calloc(hw, xlt1->count, sizeof(*xlt1->ptypes));
sys/dev/ice/ice_flex_pipe.c
1854
xlt1->t = (u8 *)ice_calloc(hw, xlt1->count, sizeof(*xlt1->t));
sys/dev/ice/ice_flex_pipe.c
1859
xlt2->count = blk_sizes[i].xlt2;
sys/dev/ice/ice_flex_pipe.c
1862
ice_calloc(hw, xlt2->count, sizeof(*xlt2->vsis));
sys/dev/ice/ice_flex_pipe.c
1868
ice_calloc(hw, xlt2->count, sizeof(*xlt2->vsig_tbl));
sys/dev/ice/ice_flex_pipe.c
1872
for (j = 0; j < xlt2->count; j++)
sys/dev/ice/ice_flex_pipe.c
1875
xlt2->t = (u16 *)ice_calloc(hw, xlt2->count, sizeof(*xlt2->t));
sys/dev/ice/ice_flex_pipe.c
1880
prof->count = blk_sizes[i].prof_tcam;
sys/dev/ice/ice_flex_pipe.c
1884
ice_calloc(hw, prof->count, sizeof(*prof->t));
sys/dev/ice/ice_flex_pipe.c
1890
prof_redir->count = blk_sizes[i].prof_redir;
sys/dev/ice/ice_flex_pipe.c
1891
prof_redir->t = (u8 *)ice_calloc(hw, prof_redir->count,
sys/dev/ice/ice_flex_pipe.c
1898
es->count = blk_sizes[i].es;
sys/dev/ice/ice_flex_pipe.c
1901
ice_calloc(hw, (u32)(es->count * es->fvw),
sys/dev/ice/ice_flex_pipe.c
1907
ice_calloc(hw, es->count, sizeof(*es->ref_count));
sys/dev/ice/ice_flex_pipe.c
1913
ice_calloc(hw, es->count, sizeof(*es->written));
sys/dev/ice/ice_flex_pipe.c
2080
xlt1->count * sizeof(*xlt1->ptypes),
sys/dev/ice/ice_flex_pipe.c
2089
ice_memset(xlt1->t, 0, xlt1->count * sizeof(*xlt1->t),
sys/dev/ice/ice_flex_pipe.c
2094
xlt2->count * sizeof(*xlt2->vsis),
sys/dev/ice/ice_flex_pipe.c
2099
xlt2->count * sizeof(*xlt2->vsig_tbl),
sys/dev/ice/ice_flex_pipe.c
2103
ice_memset(xlt2->t, 0, xlt2->count * sizeof(*xlt2->t),
sys/dev/ice/ice_flex_pipe.c
2107
ice_memset(prof->t, 0, prof->count * sizeof(*prof->t),
sys/dev/ice/ice_flex_pipe.c
2112
prof_redir->count * sizeof(*prof_redir->t),
sys/dev/ice/ice_flex_pipe.c
2117
es->count * sizeof(*es->t) * es->fvw,
sys/dev/ice/ice_flex_pipe.c
2122
es->count * sizeof(*es->ref_count),
sys/dev/ice/ice_flex_pipe.c
2127
es->count * sizeof(*es->written),
sys/dev/ice/ice_flex_pipe.c
2303
p->count = CPU_TO_LE16(1);
sys/dev/ice/ice_flex_pipe.c
2341
p->count = CPU_TO_LE16(1);
sys/dev/ice/ice_flex_pipe.c
2381
p->count = CPU_TO_LE16(1);
sys/dev/ice/ice_flex_pipe.c
2419
p->count = CPU_TO_LE16(1);
sys/dev/ice/ice_flex_pipe.c
255
u16 count = 0;
sys/dev/ice/ice_flex_pipe.c
268
if (count == max)
sys/dev/ice/ice_flex_pipe.c
2691
u16 idx = vsig & ICE_VSIG_IDX_M, count = 0;
sys/dev/ice/ice_flex_pipe.c
2696
count++;
sys/dev/ice/ice_flex_pipe.c
2698
return count;
sys/dev/ice/ice_flex_pipe.c
272
count += ice_hweight8(mask[i]);
sys/dev/ice/ice_flex_pipe.c
273
if (count > max)
sys/dev/ice/ice_flex_pipe.c
343
for (i = 0; i < hw->tnl.count && i < ICE_TUNNEL_MAX_ENTRIES; i++)
sys/dev/ice/ice_flex_pipe.c
3685
ice_add_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
sys/dev/ice/ice_flex_pipe.c
3690
for (i = 0; i < count; i++) {
sys/dev/ice/ice_flex_pipe.c
3868
ice_rem_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
sys/dev/ice/ice_flex_pipe.c
3873
for (i = 0; i < count; i++) {
sys/dev/ice/ice_flex_pipe.c
389
for (i = 0; i < hw->tnl.count && i < ICE_TUNNEL_MAX_ENTRIES; i++)
sys/dev/ice/ice_flex_pipe.c
415
for (i = 0; i < hw->tnl.count && i < ICE_TUNNEL_MAX_ENTRIES; i++)
sys/dev/ice/ice_flex_pipe.c
441
for (i = 0; i < hw->tnl.count && i < ICE_TUNNEL_MAX_ENTRIES; i++)
sys/dev/ice/ice_flex_pipe.c
500
sect_rx->count = CPU_TO_LE16(1);
sys/dev/ice/ice_flex_pipe.c
507
sect_tx->count = CPU_TO_LE16(1);
sys/dev/ice/ice_flex_pipe.c
556
u16 count = 0;
sys/dev/ice/ice_flex_pipe.c
571
for (i = 0; i < hw->tnl.count && i < ICE_TUNNEL_MAX_ENTRIES; i++)
sys/dev/ice/ice_flex_pipe.c
574
count++;
sys/dev/ice/ice_flex_pipe.c
576
if (!count) {
sys/dev/ice/ice_flex_pipe.c
582
size = ice_struct_size(sect_rx, tcam, count);
sys/dev/ice/ice_flex_pipe.c
599
sect_rx->count = CPU_TO_LE16(count);
sys/dev/ice/ice_flex_pipe.c
606
sect_tx->count = CPU_TO_LE16(count);
sys/dev/ice/ice_flex_pipe.c
611
for (i = 0, j = 0; i < hw->tnl.count && i < ICE_TUNNEL_MAX_ENTRIES; i++)
sys/dev/ice/ice_flex_pipe.c
628
for (i = 0; i < hw->tnl.count &&
sys/dev/ice/ice_flex_pipe.c
659
for (i = 0; i < hw->tnl.count && i < ICE_TUNNEL_MAX_ENTRIES; i++) {
sys/dev/ice/ice_flex_pipe.c
708
if (prof >= hw->blk[blk].es.count)
sys/dev/ice/ice_flex_pipe.c
746
sect->count = CPU_TO_LE16(ICE_XLT1_CNT);
sys/dev/ice/ice_flex_pipe.c
980
u16 count = 0;
sys/dev/ice/ice_flex_pipe.c
984
count++;
sys/dev/ice/ice_flex_pipe.c
987
if (!count || count != chk_count)
sys/dev/ice/ice_flex_pipe.c
996
while (count--) {
sys/dev/ice/ice_flex_pipe.h
90
ice_add_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
sys/dev/ice/ice_flex_pipe.h
93
ice_rem_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
sys/dev/ice/ice_flex_type.h
133
__le16 count;
sys/dev/ice/ice_flex_type.h
142
__le16 count;
sys/dev/ice/ice_flex_type.h
195
__le16 count;
sys/dev/ice/ice_flex_type.h
206
__le16 count;
sys/dev/ice/ice_flex_type.h
212
__le16 count;
sys/dev/ice/ice_flex_type.h
218
__le16 count;
sys/dev/ice/ice_flex_type.h
256
u16 count;
sys/dev/ice/ice_flex_type.h
260
__le16 count;
sys/dev/ice/ice_flex_type.h
267
u16 count;
sys/dev/ice/ice_flex_type.h
348
u16 count;
sys/dev/ice/ice_flex_type.h
372
u16 count;
sys/dev/ice/ice_flex_type.h
391
u8 count;
sys/dev/ice/ice_flex_type.h
416
__le16 count;
sys/dev/ice/ice_flex_type.h
422
u16 count;
sys/dev/ice/ice_flex_type.h
431
u16 count;
sys/dev/ice/ice_flex_type.h
505
__le16 count;
sys/dev/ice/ice_iflib_txrx.c
476
uint16_t qsidx, count;
sys/dev/ice/ice_iflib_txrx.c
481
count = iru->iru_count;
sys/dev/ice/ice_iflib_txrx.c
485
_ice_ift_rxd_refill(rxq, pidx, paddrs, count);
sys/dev/ice/ice_iflib_txrx.c
500
uint64_t *paddrs, uint16_t count)
sys/dev/ice/ice_iflib_txrx.c
505
for (i = 0, next_pidx = pidx; i < count; i++) {
sys/dev/ice/ice_iflib_txrx.c
55
uint64_t *paddrs, uint16_t count);
sys/dev/ice/ice_iflib_txrx.c
723
uint16_t count;
sys/dev/ice/ice_iflib_txrx.c
727
count = iru->iru_count;
sys/dev/ice/ice_iflib_txrx.c
729
_ice_ift_rxd_refill(rxq, pidx, paddrs, count);
sys/dev/ice/ice_lib.c
5360
u_int __unused count)
sys/dev/ice/ice_lib.c
656
u16 count = 1;
sys/dev/ice/ice_lib.c
664
dest_vsi, count, &rule, NULL,
sys/dev/ice/ice_lib.c
678
dest_vsi, count, &rule, NULL, &rule_id);
sys/dev/ice/ice_nvm.c
261
*elem_count = LE16_TO_CPU(cmd->count);
sys/dev/ice/ice_nvm.c
291
cmd->count = CPU_TO_LE16(elem_count);
sys/dev/ice/ice_osdep.h
105
ice_calloc(struct ice_hw __unused *hw, size_t count, size_t size)
sys/dev/ice/ice_osdep.h
107
return malloc(count * size, M_ICE_OSDEP, M_ZERO | M_NOWAIT);
sys/dev/ice/ice_rdma.c
172
int count, i, ret = 0;
sys/dev/ice/ice_rdma.c
187
count = res->cnt_req;
sys/dev/ice/ice_rdma.c
191
count = res->res_allocated;
sys/dev/ice/ice_rdma.c
197
qset_teid = (uint32_t *)ice_calloc(hw, count, sizeof(*qset_teid));
sys/dev/ice/ice_rdma.c
201
qs_handle = (uint16_t *)ice_calloc(hw, count, sizeof(*qs_handle));
sys/dev/ice/ice_rdma.c
228
for (i = 0; i < count; i++) {
sys/dev/ice/ice_rdma.c
257
for (i = 0; i < count; i++) {
sys/dev/ice/ice_rdma.c
273
status = ice_dis_vsi_rdma_qset(hw->port_info, count, qset_teid, qs_handle);
sys/dev/ice/ice_rdma.c
650
entry->peer.msix.count = sc->irdma_vectors;
sys/dev/ice/ice_rdma.h
143
int count;
sys/dev/ice/ice_switch.c
761
u16 count, struct ice_mir_rule_buf *mr_buf,
sys/dev/ice/ice_switch.c
774
if (!(count && mr_buf))
sys/dev/ice/ice_switch.c
777
buf_size = count * sizeof(__le16);
sys/dev/ice/ice_switch.c
787
if (count || mr_buf)
sys/dev/ice/ice_switch.c
804
for (i = 0; i < count; i++) {
sys/dev/ice/ice_switch.c
835
cmd->num_entries = CPU_TO_LE16(count);
sys/dev/ice/ice_switch.h
488
u16 count, struct ice_mir_rule_buf *mr_buf,
sys/dev/ice/ice_vlan_mode.c
58
sect->count = CPU_TO_LE16(1);
sys/dev/ice/virtchnl.h
1292
u16 count; /* number of queues in a channel */
sys/dev/ice/virtchnl.h
1667
int count;
sys/dev/ice/virtchnl.h
1716
} count;
sys/dev/ice/virtchnl.h
1729
int count;
sys/dev/ichsmb/ichsmb.c
367
ichsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/ichsmb/ichsmb.c
372
DBG("slave=0x%02x cmd=0x%02x count=%d\n", slave, (u_char)cmd, count);
sys/dev/ichsmb/ichsmb.c
390
if (count < 1 || count > 32)
sys/dev/ichsmb/ichsmb.c
392
bcopy(buf, sc->block_data, count);
sys/dev/ichsmb/ichsmb.c
393
sc->block_count = count;
sys/dev/ichsmb/ichsmb.c
411
bus_write_1(sc->io_res, ICH_D0, count);
sys/dev/ichsmb/ichsmb.c
422
ichsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/ichsmb/ichsmb.c
453
*count = sc->block_count;
sys/dev/ichsmb/ichsmb.c
515
int count;
sys/dev/ichsmb/ichsmb.c
518
for (count = 0; count < maxloops; count++) {
sys/dev/ichsmb/ichsmb.c
524
|| count > 0) {
sys/dev/ichsmb/ichsmb.c
525
DBG("%d stat=0x%02x\n", count, status);
sys/dev/ichsmb/ichsmb.c
647
if (count == maxloops) {
sys/dev/igc/igc_i225.c
448
u16 i, count;
sys/dev/igc/igc_i225.c
457
count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ?
sys/dev/igc/igc_i225.c
460
status = igc_read_nvm_eerd(hw, offset, count,
sys/dev/igc/igc_i225.c
493
u16 i, count;
sys/dev/igc/igc_i225.c
502
count = (words - i) / IGC_EERD_EEWR_MAX_COUNT > 0 ?
sys/dev/igc/igc_i225.c
505
status = __igc_write_nvm_srwr(hw, offset, count,
sys/dev/igc/igc_nvm.c
114
static void igc_shift_out_eec_bits(struct igc_hw *hw, u16 data, u16 count)
sys/dev/igc/igc_nvm.c
122
mask = 0x01 << (count - 1);
sys/dev/igc/igc_nvm.c
158
static u16 igc_shift_in_eec_bits(struct igc_hw *hw, u16 count)
sys/dev/igc/igc_nvm.c
171
for (i = 0; i < count; i++) {
sys/dev/igc/igc_txrx.c
419
uint16_t count;
sys/dev/igc/igc_txrx.c
424
count = iru->iru_count;
sys/dev/igc/igc_txrx.c
426
for (i = 0, next_pidx = pidx; i < count; i++) {
sys/dev/iicbus/acpi_iicbus.c
155
acpi_iicbus_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/iicbus/acpi_iicbus.c
157
uint8_t bytes[2] = { cmd, count };
sys/dev/iicbus/acpi_iicbus.c
160
{ slave, IIC_M_WR | IIC_M_NOSTART, count, buf },
sys/dev/iicbus/acpi_iicbus.c
163
if (count == 0)
sys/dev/iicbus/acpi_iicbus.c
170
acpi_iicbus_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/iicbus/acpi_iicbus.c
205
*count = len;
sys/dev/iicbus/iic.c
494
CP(*s32, iicswab, count);
sys/dev/iicbus/iic.c
566
uvec.iov_len = s->count;
sys/dev/iicbus/iic.c
571
ubuf.uio_resid = s->count;
sys/dev/iicbus/iic.c
586
uvec.iov_len = s->count;
sys/dev/iicbus/iic.c
591
ubuf.uio_resid = s->count;
sys/dev/iicbus/iic.c
74
uint32_t count;
sys/dev/iicbus/iic.h
57
int count;
sys/dev/iicbus/iicbus.c
70
int count;
sys/dev/iicbus/iicbus.c
81
if (!iicbus_block_read(dev, (u_char)addr, &byte, 1, &count))
sys/dev/iicbus/iicsmb.c
424
iicsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/iicbus/iicsmb.c
426
uint8_t bytes[2] = { cmd, count };
sys/dev/iicbus/iicsmb.c
429
{ slave, IIC_M_WR | IIC_M_NOSTART, count, buf },
sys/dev/iicbus/iicsmb.c
433
if (count > SMB_MAXBLOCKSIZE || count == 0)
sys/dev/iicbus/iicsmb.c
440
iicsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/iicbus/iicsmb.c
444
{ slave, IIC_M_RD | IIC_M_NOSTOP, 1, count },
sys/dev/iicbus/iicsmb.c
461
if (*count > SMB_MAXBLOCKSIZE || *count == 0)
sys/dev/iicbus/iicsmb.c
464
block_msg[0].len = *count;
sys/dev/iicbus/iicsmb.c
466
if (*count > SMB_MAXBLOCKSIZE || *count == 0)
sys/dev/iicbus/iicsmb.c
98
static int iicsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf);
sys/dev/iicbus/iicsmb.c
99
static int iicsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf);
sys/dev/iicbus/sensor/htu21.c
124
htu21_get_measurement(device_t dev, uint8_t cmd, uint8_t *data, int count)
sys/dev/iicbus/sensor/htu21.c
139
msgs[1].len = count;
sys/dev/iicbus/sensor/htu21.c
148
uint8_t *data, int count)
sys/dev/iicbus/sensor/htu21.c
164
msgs[1].len = count;
sys/dev/iicbus/sensor/w83793g.c
303
int count;
sys/dev/iicbus/sensor/w83793g.c
312
count = ((int)reg_vals[0] << 8) | reg_vals[1];
sys/dev/iicbus/sensor/w83793g.c
313
error = sysctl_handle_int(oidp, &count, 0, req);
sys/dev/intpm/intpm.c
81
static int intsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf);
sys/dev/intpm/intpm.c
82
static int intsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf);
sys/dev/intpm/intpm.c
827
intsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/intpm/intpm.c
832
if (count > SMBBLOCKTRANS_MAX || count == 0)
sys/dev/intpm/intpm.c
847
for (i = 0; i < count; i++)
sys/dev/intpm/intpm.c
849
bus_write_1(sc->io_res, PIIX4_SMBHSTDAT0, count);
sys/dev/intpm/intpm.c
857
intsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/intpm/intpm.c
880
*count = nread;
sys/dev/ipmi/ipmi.c
1068
int count;
sys/dev/ipmi/ipmi.c
1071
if (devclass_get_devices(devclass_find("ipmi"), &devs, &count) != 0)
sys/dev/ipmi/ipmi.c
1073
for (i = 0; i < count; i++)
sys/dev/ipmi/ipmi.c
1086
int count = 0;
sys/dev/ipmi/ipmi.c
1097
buf[count] = *data;
sys/dev/ipmi/ipmi.c
1099
buf[count] = *data;
sys/dev/ipmi/ipmi.c
1101
buf[count] = '.';
sys/dev/ipmi/ipmi.c
1102
if (++count == 16) {
sys/dev/ipmi/ipmi.c
1103
buf[count] = '\000';
sys/dev/ipmi/ipmi.c
1104
count = 0;
sys/dev/ipmi/ipmi.c
1110
buf[count] = '\000';
sys/dev/ipmi/ipmi.c
1112
for (; count != 16; count++) {
sys/dev/ipmi/ipmi_acpi.c
102
count = IPMI_IF_BT_NRES;
sys/dev/ipmi/ipmi_acpi.c
142
if (sc->ipmi_io_res[1] != NULL && sc->ipmi_io_res[count - 1] == NULL) {
sys/dev/ipmi/ipmi_acpi.c
81
int count, error, i, type;
sys/dev/ipmi/ipmi_acpi.c
94
count = IPMI_IF_KCS_NRES;
sys/dev/ipmi/ipmi_acpi.c
98
count = IPMI_IF_SMIC_NRES;
sys/dev/ipmi/ipmi_bt.c
103
int count = 20000; /* about 5 seconds */
sys/dev/ipmi/ipmi_bt.c
105
while (count--) {
sys/dev/ipmi/ipmi_isa.c
176
int count, error, i, type;
sys/dev/ipmi/ipmi_isa.c
188
count = IPMI_IF_KCS_NRES;
sys/dev/ipmi/ipmi_isa.c
192
count = IPMI_IF_SMIC_NRES;
sys/dev/ipmi/ipmi_isa.c
196
count = IPMI_IF_BT_NRES;
sys/dev/ipmi/ipmi_isa.c
219
&sc->ipmi_io_rid, info.address, info.address + count - 1,
sys/dev/ipmi/ipmi_isa.c
220
count, RF_ACTIVE);
sys/dev/ipmi/ipmi_isa.c
226
for (i = 0; i < count; i++) {
sys/dev/ipmi/ipmi_ssif.c
183
count = SMBUS_DATA_SIZE;
sys/dev/ipmi/ipmi_ssif.c
185
sc->ipmi_ssif_smbus_address, SMBUS_READ_START, &count, ssif_buf));
sys/dev/ipmi/ipmi_ssif.c
209
if (count == SMBUS_DATA_SIZE && ssif_buf[0] == 0 && ssif_buf[1] == 1)
sys/dev/ipmi/ipmi_ssif.c
215
if (count < 3) {
sys/dev/ipmi/ipmi_ssif.c
238
dump_buffer(dev, "READ_SINGLE", ssif_buf, count);
sys/dev/ipmi/ipmi_ssif.c
240
len = count - 3;
sys/dev/ipmi/ipmi_ssif.c
251
dump_buffer(dev, "READ_START", ssif_buf + 2, count - 2);
sys/dev/ipmi/ipmi_ssif.c
253
bcopy(&ssif_buf[5], req->ir_reply, min(req->ir_replybuflen, count - 5));
sys/dev/ipmi/ipmi_ssif.c
254
len = count - 5;
sys/dev/ipmi/ipmi_ssif.c
259
count = SMBUS_DATA_SIZE;
sys/dev/ipmi/ipmi_ssif.c
261
sc->ipmi_ssif_smbus_address, SMBUS_READ_CONT, &count,
sys/dev/ipmi/ipmi_ssif.c
279
if (ssif_buf[0] != 0xff && count < SMBUS_DATA_SIZE) {
sys/dev/ipmi/ipmi_ssif.c
282
count);
sys/dev/ipmi/ipmi_ssif.c
287
dump_buffer(dev, "READ_END", ssif_buf + 1, count - 1);
sys/dev/ipmi/ipmi_ssif.c
289
dump_buffer(dev, "READ_CONT", ssif_buf + 1, count - 1);
sys/dev/ipmi/ipmi_ssif.c
293
min(req->ir_replybuflen - len, count - 1));
sys/dev/ipmi/ipmi_ssif.c
294
len += count - 1;
sys/dev/ipmi/ipmi_ssif.c
76
u_char *cp, block, count, offset;
sys/dev/ipw/if_ipw.c
2574
uint16_t count, size;
sys/dev/ipw/if_ipw.c
2581
count = info >> 16;
sys/dev/ipw/if_ipw.c
2583
total = count * size;
sys/dev/ipw/if_ipw.c
2598
bus_size_t count)
sys/dev/ipw/if_ipw.c
2600
for (; count > 0; offset++, datap++, count--) {
sys/dev/ipw/if_ipw.c
2609
bus_size_t count)
sys/dev/ipw/if_ipw.c
2611
for (; count > 0; offset++, datap++, count--) {
sys/dev/irdma/fbsd_kcompat.c
192
irdma_add_ipv6_cb(void *arg, struct ifaddr *addr, u_int count __unused)
sys/dev/irdma/fbsd_kcompat.c
231
irdma_add_ipv4_cb(void *arg, struct ifaddr *addr, u_int count __unused)
sys/dev/irdma/icrdma.c
549
rf->msix_count = peer->msix.count;
sys/dev/irdma/icrdma.c
551
rf->msix_info.vector = peer->msix.count;
sys/dev/irdma/irdma_cm.c
1811
irdma_add_mqh_ifa_cb(void *arg, struct ifaddr *ifa, u_int count)
sys/dev/irdma/irdma_cm.c
1822
if (count)
sys/dev/irdma/irdma_ctrl.c
2747
timeout->count = 0;
sys/dev/irdma/irdma_ctrl.c
2749
timeout->count++;
sys/dev/irdma/irdma_ctrl.c
2777
u32 count)
sys/dev/irdma/irdma_ctrl.c
2782
while (i++ < count) {
sys/dev/irdma/irdma_ctrl.c
4238
irdma_sc_repost_aeq_entries(struct irdma_sc_dev *dev, u32 count)
sys/dev/irdma/irdma_ctrl.c
4240
db_wr32(count, dev->aeq_alloc_db);
sys/dev/irdma/irdma_hmc.c
243
if ((info->start_idx + info->count) >
sys/dev/irdma/irdma_hmc.c
277
info->rsrc_type, info->start_idx, info->count,
sys/dev/irdma/irdma_hmc.c
283
if ((info->start_idx + info->count) >
sys/dev/irdma/irdma_hmc.c
287
info->rsrc_type, info->start_idx, info->count,
sys/dev/irdma/irdma_hmc.c
293
info->start_idx, info->count, &sd_idx,
sys/dev/irdma/irdma_hmc.c
301
info->start_idx, info->count, &pd_idx,
sys/dev/irdma/irdma_hmc.c
436
if ((info->start_idx + info->count) >
sys/dev/irdma/irdma_hmc.c
440
info->start_idx, info->count, info->rsrc_type,
sys/dev/irdma/irdma_hmc.c
446
info->start_idx, info->count, &pd_idx,
sys/dev/irdma/irdma_hmc.c
473
info->start_idx, info->count, &sd_idx,
sys/dev/irdma/irdma_hmc.h
160
u32 count;
sys/dev/irdma/irdma_hmc.h
171
u32 count;
sys/dev/irdma/irdma_hw.c
1584
info.count = 1;
sys/dev/irdma/irdma_hw.c
1615
info.count = 1;
sys/dev/irdma/irdma_hw.c
835
info.count = hmc_info->hmc_obj[obj_type].cnt;
sys/dev/irdma/irdma_hw.c
904
info.count = dev->hmc_info->hmc_obj[info.rsrc_type].cnt;
sys/dev/irdma/irdma_puda.c
1020
irdma_puda_allocbufs(struct irdma_puda_rsrc *rsrc, u32 count)
sys/dev/irdma/irdma_puda.c
1030
buf_mem.size = count * sizeof(*buf);
sys/dev/irdma/irdma_puda.c
1044
rsrc->buf_size * count, 1);
sys/dev/irdma/irdma_puda.c
1059
for (i = 0; i < count; i++) {
sys/dev/irdma/irdma_puda.c
1086
for (i = 0; i < count; i++) {
sys/dev/irdma/irdma_puda.c
1124
info->count = 1;
sys/dev/irdma/irdma_puda.c
1148
vsi->ilq_count = info->count;
sys/dev/irdma/irdma_puda.c
1153
vsi->ieq_count = info->count;
sys/dev/irdma/irdma_puda.h
121
u32 count;
sys/dev/irdma/irdma_type.h
1188
u32 count;
sys/dev/irdma/irdma_type.h
1221
void irdma_sc_repost_aeq_entries(struct irdma_sc_dev *dev, u32 count);
sys/dev/irdma/irdma_utils.c
571
if (cqp_timeout.count < CQP_TIMEOUT_THRESHOLD)
sys/dev/isci/scil/sati_mode_select.c
600
U16 count = 0;
sys/dev/isci/scil/sati_mode_select.c
642
count = (U16)((timer -1) / 50) + 1;
sys/dev/isci/scil/sati_mode_select.c
643
sati_ata_standby_construct(ata_io, sequence, count);
sys/dev/isci/scil/sati_mode_select.c
663
count = (U16)(timer / 18000) + 240;
sys/dev/isci/scil/sati_mode_select.c
664
sati_ata_standby_construct(ata_io, sequence, count);
sys/dev/isci/scil/sati_util.c
1550
U16 count
sys/dev/isci/scil/sati_util.c
1556
sati_set_ata_sector_count(register_fis, count);
sys/dev/isci/scil/sati_util.c
1558
sequence->device->ata_standby_timer = (U8) count;
sys/dev/isci/scil/sati_util.h
297
U16 count
sys/dev/isci/scil/scic_controller.h
843
U8 * count
sys/dev/isci/scil/scic_controller.h
848
U8 * count
sys/dev/isci/scil/scic_sds_controller.c
2840
ULONG count = 0;
sys/dev/isci/scil/scic_sds_controller.c
2853
if (count++ > 10)
sys/dev/isci/scil/scic_sds_controller.c
4522
this_controller->uf_control.buffers.count =
sys/dev/isci/scil/scic_sds_controller.c
4523
MIN(this_controller->uf_control.buffers.count, SCU_UNSOLICITED_FRAME_COUNT);
sys/dev/isci/scil/scic_sds_controller.c
4537
this_controller->uf_control.buffers.count =
sys/dev/isci/scil/scic_sds_controller.c
4538
MIN(this_controller->uf_control.buffers.count, SCU_MIN_UNSOLICITED_FRAMES);
sys/dev/isci/scil/scic_sds_controller.c
5153
U8 * count
sys/dev/isci/scil/scic_sds_controller.c
5156
*count = SCI_MAX_PORTS;
sys/dev/isci/scil/scic_sds_controller.c
5164
U8 * count
sys/dev/isci/scil/scic_sds_controller.c
5167
*count = SCI_MAX_PHYS;
sys/dev/isci/scil/scic_sds_controller.c
527
SCU_UFQC_GEN_VAL(QUEUE_SIZE, this_controller->uf_control.address_table.count);
sys/dev/isci/scil/scic_sds_controller.c
6558
this_controller->uf_control.buffers.count = SCU_UNSOLICITED_FRAME_COUNT;
sys/dev/isci/scil/scic_sds_controller.c
6559
this_controller->uf_control.address_table.count= SCU_UNSOLICITED_FRAME_COUNT;
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
198
used_uf_buffer_bytes = uf_control->buffers.count
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
200
unused_uf_header_entries = uf_control->address_table.count
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
201
- uf_control->buffers.count;
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
202
used_uf_header_entries = uf_control->buffers.count;
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
280
if (frame_index < uf_control->address_table.count)
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
308
if (frame_index < uf_control->address_table.count)
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
342
frame_get = uf_control->get & (uf_control->address_table.count - 1);
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
343
frame_cycle = uf_control->get & uf_control->address_table.count;
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
355
&& (frame_get < uf_control->address_table.count)
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
363
ASSERT(frame_get < uf_control->address_table.count);
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
365
if (frame_index < uf_control->address_table.count)
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
383
uf_control->address_table.count - 1,
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
384
uf_control->address_table.count
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
84
uf_control->address_table.count = SCU_MIN_UF_TABLE_ENTRIES;
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
86
(uf_control->address_table.count < uf_control->buffers.count)
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
87
&& (uf_control->address_table.count < SCU_ABSOLUTE_MAX_UNSOLICITED_FRAMES)
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.c
90
uf_control->address_table.count <<= 1;
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.h
176
U32 count;
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.h
211
U32 count;
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.h
297
( ((uf_control).buffers.count * SCU_UNSOLICITED_FRAME_BUFFER_SIZE) \
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.h
298
+ ((uf_control).address_table.count * sizeof(SCI_PHYSICAL_ADDRESS)) \
sys/dev/isci/scil/scic_sds_unsolicited_frame_control.h
299
+ ((uf_control).buffers.count * sizeof(SCU_UNSOLICITED_FRAME_HEADER_T)) )
sys/dev/isci/scil/scif_sas_domain.c
1274
U8 count = 0;
sys/dev/isci/scil/scif_sas_domain.c
1290
count++;
sys/dev/isci/scil/scif_sas_domain.c
1293
return count;
sys/dev/iser/iser_initiator.c
476
int outstanding, count, err;
sys/dev/iser/iser_initiator.c
517
count = min(iser_conn->qp_max_recv_dtos - outstanding,
sys/dev/iser/iser_initiator.c
519
err = iser_post_recvm(iser_conn, count);
sys/dev/iser/iser_initiator.c
521
ISER_ERR("posting %d rx bufs err %d", count, err);
sys/dev/iser/iser_verbs.c
875
iser_post_recvm(struct iser_conn *iser_conn, int count)
sys/dev/iser/iser_verbs.c
884
for (rx_wr = ib_conn->rx_wr, i = 0; i < count; i++, rx_wr++) {
sys/dev/iser/iser_verbs.c
896
ib_conn->post_recv_buf_count += count;
sys/dev/iser/iser_verbs.c
900
ib_conn->post_recv_buf_count -= count;
sys/dev/ismt/ismt.c
473
ismt_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/ismt/ismt.c
480
if (count == 0 || count > ISMT_MAX_BLOCK_SIZE)
sys/dev/ismt/ismt.c
486
desc->wr_len_cmd = count + 1;
sys/dev/ismt/ismt.c
488
memcpy(&sc->dma_buffer[1], buf, count);
sys/dev/ismt/ismt.c
494
ismt_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/ismt/ismt.c
502
if (*count == 0 || *count > ISMT_MAX_BLOCK_SIZE)
sys/dev/ismt/ismt.c
509
desc->rd_len = *count;
sys/dev/ismt/ismt.c
517
*count = desc->rxbytes;
sys/dev/isp/isp.c
4694
int count;
sys/dev/isp/isp.c
4697
for (count = 0; count < fcp->flt_region_entries; count++) {
sys/dev/isp/isp.c
4698
region[count].code =
sys/dev/isp/isp.c
4699
le16toh((uint16_t) (ISP2XXX_FLT_REG_CODE(flt_data, count)));
sys/dev/isp/isp.c
4700
region[count].attribute =
sys/dev/isp/isp.c
4701
(uint8_t) (ISP2XXX_FLT_REG_ATTR(flt_data, count));
sys/dev/isp/isp.c
4702
region[count].reserved =
sys/dev/isp/isp.c
4703
(uint8_t) (ISP2XXX_FLT_REG_RES(flt_data, count));
sys/dev/isp/isp.c
4704
region[count].size =
sys/dev/isp/isp.c
4705
le32toh((uint32_t) (ISP2XXX_FLT_REG_SIZE(flt_data, count)) >> 2);
sys/dev/isp/isp.c
4706
region[count].start =
sys/dev/isp/isp.c
4707
le32toh((uint32_t) (ISP2XXX_FLT_REG_START(flt_data, count)) >> 2);
sys/dev/isp/isp.c
4708
region[count].end =
sys/dev/isp/isp.c
4709
le32toh((uint32_t) (ISP2XXX_FLT_REG_END(flt_data, count)) >> 2);
sys/dev/isp/isp.c
4713
region[count].code, region[count].start, region[count].end,
sys/dev/isp/isp.c
4714
region[count].size, region[count].attribute);
sys/dev/isp/isp.c
4716
switch (region[count].code) {
sys/dev/isp/isp.c
4718
fcp->flt_region_fw = region[count].start;
sys/dev/isp/isp.c
4721
fcp->flt_region_boot = region[count].start;
sys/dev/isp/isp.c
4724
fcp->flt_region_vpd_nvram = region[count].start;
sys/dev/isp/isp.c
4726
fcp->flt_region_vpd = region[count].start;
sys/dev/isp/isp.c
4730
fcp->flt_region_vpd = region[count].start;
sys/dev/isp/isp.c
4736
fcp->flt_region_vpd = region[count].start;
sys/dev/isp/isp.c
4742
fcp->flt_region_vpd = region[count].start;
sys/dev/isp/isp.c
4746
fcp->flt_region_nvram = region[count].start;
sys/dev/isp/isp.c
4750
fcp->flt_region_nvram = region[count].start;
sys/dev/isp/isp.c
4756
fcp->flt_region_nvram = region[count].start;
sys/dev/isp/isp.c
4762
fcp->flt_region_nvram = region[count].start;
sys/dev/isp/isp.c
4765
fcp->flt_region_fdt = region[count].start;
sys/dev/isp/isp.c
4768
fcp->flt_region_flt = region[count].start;
sys/dev/isp/isp.c
4772
fcp->flt_region_npiv_conf = region[count].start;
sys/dev/isp/isp.c
4776
fcp->flt_region_npiv_conf = region[count].start;
sys/dev/isp/isp.c
4779
fcp->flt_region_gold_fw = region[count].start;
sys/dev/isp/isp.c
4783
fcp->flt_region_fcp_prio = region[count].start;
sys/dev/isp/isp.c
4787
fcp->flt_region_fcp_prio = region[count].start;
sys/dev/isp/isp.c
4791
fcp->flt_region_img_status_pri = region[count].start;
sys/dev/isp/isp.c
4795
fcp->flt_region_img_status_sec = region[count].start;
sys/dev/isp/isp.c
4799
fcp->flt_region_fw_sec = region[count].start;
sys/dev/isp/isp.c
4803
fcp->flt_region_boot_sec = region[count].start;
sys/dev/isp/isp.c
4807
fcp->flt_region_aux_img_status_pri = region[count].start;
sys/dev/isp/isp.c
4811
fcp->flt_region_aux_img_status_sec = region[count].start;
sys/dev/isp/isp.c
4816
fcp->flt_region_nvram_sec = region[count].start;
sys/dev/isp/isp.c
4821
fcp->flt_region_nvram_sec = region[count].start;
sys/dev/isp/isp.c
4826
fcp->flt_region_nvram_sec = region[count].start;
sys/dev/isp/isp.c
4831
fcp->flt_region_nvram_sec = region[count].start;
sys/dev/isp/isp.c
4836
fcp->flt_region_vpd_nvram_sec = region[count].start;
sys/dev/isp/isp.c
4838
fcp->flt_region_vpd_sec = region[count].start;
sys/dev/isp/isp.c
4845
fcp->flt_region_vpd_sec = region[count].start;
sys/dev/isp/isp.c
4851
fcp->flt_region_vpd_sec = region[count].start;
sys/dev/isp/isp.c
4857
fcp->flt_region_vpd_sec = region[count].start;
sys/dev/isp/isp_ioctl.h
184
uint16_t count;
sys/dev/iwi/if_iwi.c
3123
CSR_WRITE_4(sc, IWI_CSR_CMD_SIZE, sc->cmdq.count);
sys/dev/iwi/if_iwi.c
3127
CSR_WRITE_4(sc, IWI_CSR_TX1_SIZE, sc->txq[0].count);
sys/dev/iwi/if_iwi.c
3131
CSR_WRITE_4(sc, IWI_CSR_TX2_SIZE, sc->txq[1].count);
sys/dev/iwi/if_iwi.c
3135
CSR_WRITE_4(sc, IWI_CSR_TX3_SIZE, sc->txq[2].count);
sys/dev/iwi/if_iwi.c
3139
CSR_WRITE_4(sc, IWI_CSR_TX4_SIZE, sc->txq[3].count);
sys/dev/iwi/if_iwi.c
3142
for (i = 0; i < sc->rxq.count; i++) {
sys/dev/iwi/if_iwi.c
3147
CSR_WRITE_4(sc, IWI_CSR_RX_WIDX, sc->rxq.count - 1);
sys/dev/iwi/if_iwi.c
546
iwi_alloc_cmd_ring(struct iwi_softc *sc, struct iwi_cmd_ring *ring, int count)
sys/dev/iwi/if_iwi.c
550
ring->count = count;
sys/dev/iwi/if_iwi.c
556
count * IWI_CMD_DESC_SIZE, 1, count * IWI_CMD_DESC_SIZE, 0,
sys/dev/iwi/if_iwi.c
571
count * IWI_CMD_DESC_SIZE, iwi_dma_map_addr, &ring->physaddr, 0);
sys/dev/iwi/if_iwi.c
605
iwi_alloc_tx_ring(struct iwi_softc *sc, struct iwi_tx_ring *ring, int count,
sys/dev/iwi/if_iwi.c
610
ring->count = count;
sys/dev/iwi/if_iwi.c
618
count * IWI_TX_DESC_SIZE, 1, count * IWI_TX_DESC_SIZE, 0, NULL,
sys/dev/iwi/if_iwi.c
633
count * IWI_TX_DESC_SIZE, iwi_dma_map_addr, &ring->physaddr, 0);
sys/dev/iwi/if_iwi.c
639
ring->data = malloc(count * sizeof (struct iwi_tx_data), M_DEVBUF,
sys/dev/iwi/if_iwi.c
655
for (i = 0; i < count; i++) {
sys/dev/iwi/if_iwi.c
676
for (i = 0; i < ring->count; i++) {
sys/dev/iwi/if_iwi.c
714
for (i = 0; i < ring->count; i++) {
sys/dev/iwi/if_iwi.c
739
iwi_alloc_rx_ring(struct iwi_softc *sc, struct iwi_rx_ring *ring, int count)
sys/dev/iwi/if_iwi.c
744
ring->count = count;
sys/dev/iwi/if_iwi.c
747
ring->data = malloc(count * sizeof (struct iwi_rx_data), M_DEVBUF,
sys/dev/iwi/if_iwi.c
763
for (i = 0; i < count; i++) {
sys/dev/iwi/if_iwi.c
811
for (i = 0; i < ring->count; i++) {
sys/dev/iwi/if_iwireg.h
581
#define CSR_READ_REGION_4(sc, offset, datap, count) \
sys/dev/iwi/if_iwireg.h
583
(datap), (count))
sys/dev/iwi/if_iwireg.h
594
#define CSR_WRITE_REGION_1(sc, offset, datap, count) \
sys/dev/iwi/if_iwireg.h
596
(datap), (count))
sys/dev/iwi/if_iwivar.h
104
int count;
sys/dev/iwi/if_iwivar.h
67
int count;
sys/dev/iwi/if_iwivar.h
88
int count;
sys/dev/iwm/if_iwm.c
1022
for (i = 0; i < count; i++) {
sys/dev/iwm/if_iwm.c
1060
int count, i;
sys/dev/iwm/if_iwm.c
1066
count = sc->cfg->mqrx_supported ? IWM_RX_MQ_RING_COUNT :
sys/dev/iwm/if_iwm.c
1069
for (i = 0; i < count; i++) {
sys/dev/iwm/if_iwm.c
4875
cmd->count = 0;
sys/dev/iwm/if_iwm.c
5631
int count;
sys/dev/iwm/if_iwm.c
5639
count = IWM_RX_MQ_RING_COUNT;
sys/dev/iwm/if_iwm.c
5642
count = IWM_RX_LEGACY_RING_COUNT;
sys/dev/iwm/if_iwm.c
5662
ring->cur = (ring->cur + 1) % count;
sys/dev/iwm/if_iwm.c
5671
hw = (hw == 0) ? count - 1 : hw - 1;
sys/dev/iwm/if_iwm.c
5909
int count, error, rid;
sys/dev/iwm/if_iwm.c
5938
count = 1;
sys/dev/iwm/if_iwm.c
5940
if (pci_alloc_msi(dev, &count) == 0)
sys/dev/iwm/if_iwm.c
956
int count, i, error;
sys/dev/iwm/if_iwm.c
960
count = IWM_RX_MQ_RING_COUNT;
sys/dev/iwm/if_iwm.c
963
count = IWM_RX_LEGACY_RING_COUNT;
sys/dev/iwm/if_iwm.c
968
size = count * descsz;
sys/dev/iwm/if_iwm.c
989
size = count * sizeof(uint32_t);
sys/dev/iwm/if_iwm_scan.c
665
req->v7.channel.count = iwm_umac_scan_fill_channels(sc,
sys/dev/iwm/if_iwm_scan.c
678
req->v1.channel.count = iwm_umac_scan_fill_channels(sc,
sys/dev/iwm/if_iwmreg.h
3512
uint8_t count;
sys/dev/iwm/if_iwmreg.h
5920
uint8_t count;
sys/dev/iwn/if_iwn.c
1540
const uint32_t *data, int count)
sys/dev/iwn/if_iwn.c
1542
for (; count > 0; count--, data++, addr += 4)
sys/dev/iwn/if_iwn.c
1577
int count)
sys/dev/iwn/if_iwn.c
1579
for (; count > 0; count--, addr += 4)
sys/dev/iwn/if_iwn.c
1585
int count)
sys/dev/iwn/if_iwn.c
1587
for (; count > 0; count--, addr += 4)
sys/dev/iwn/if_iwn.c
1627
int count, error;
sys/dev/iwn/if_iwn.c
1660
for (count = 0; count < sc->base_params->max_ll_items;
sys/dev/iwn/if_iwn.c
1661
count++) {
sys/dev/iwn/if_iwn.c
1670
if (count == 0 || count == sc->base_params->max_ll_items)
sys/dev/iwn/if_iwn.c
1682
iwn_read_prom_data(struct iwn_softc *sc, uint32_t addr, void *data, int count)
sys/dev/iwn/if_iwn.c
1691
for (; count > 0; count -= 2, addr++) {
sys/dev/iwn/if_iwn.c
1719
if (count > 1)
sys/dev/iwx/if_iwx.c
10260
int count;
sys/dev/iwx/if_iwx.c
10310
count = 1;
sys/dev/iwx/if_iwx.c
10312
if (pci_alloc_msix(dev, &count) == 0)
sys/dev/iwx/if_iwx.c
10314
DPRINTF(("%s: count=%d\n", __func__, count));
sys/dev/iwx/if_iwx.c
6691
cp->count = iwx_umac_scan_fill_channels(sc, cp->channel_config,
sys/dev/iwx/if_iwx.c
8602
cmd->count = 0;
sys/dev/iwx/if_iwxreg.h
3870
uint8_t count;
sys/dev/iwx/if_iwxreg.h
6866
uint8_t count;
sys/dev/iwx/if_iwxreg.h
7039
uint8_t count;
sys/dev/ixgbe/if_bypass.c
508
int cmd, count = 0, error = 0;
sys/dev/ixgbe/if_bypass.c
528
if (count++ > 10) {
sys/dev/ixgbe/if_bypass.c
554
u32 log_off, count = 0;
sys/dev/ixgbe/if_bypass.c
595
while (count < BYPASS_MAX_LOGS) {
sys/dev/ixgbe/if_bypass.c
596
eeprom[count].logs = 0;
sys/dev/ixgbe/if_bypass.c
597
eeprom[count].actions = 0;
sys/dev/ixgbe/if_bypass.c
607
eeprom[count].logs += data << (8 * i);
sys/dev/ixgbe/if_bypass.c
612
log_off + i, &eeprom[count].actions);
sys/dev/ixgbe/if_bypass.c
618
if (!(eeprom[count].logs & BYPASS_LOG_CLEAR_M))
sys/dev/ixgbe/if_bypass.c
625
eeprom[count].clear_off = log_off;
sys/dev/ixgbe/if_bypass.c
627
count++;
sys/dev/ixgbe/if_bypass.c
633
while (count--) {
sys/dev/ixgbe/if_bypass.c
636
u32 time = eeprom[count].logs & BYPASS_LOG_TIME_M;
sys/dev/ixgbe/if_bypass.c
637
u32 event = (eeprom[count].logs & BYPASS_LOG_EVENT_M) >>
sys/dev/ixgbe/if_bypass.c
639
u8 action = eeprom[count].actions & BYPASS_LOG_ACTION_M;
sys/dev/ixgbe/if_bypass.c
676
cmd |= ((eeprom[count].clear_off + 3)
sys/dev/ixgbe/if_bypass.c
678
cmd |= ((eeprom[count].logs & ~BYPASS_LOG_CLEAR_M) >> 24);
sys/dev/ixgbe/if_ixv.c
1783
#define UPDATE_STAT_32(reg, last, count) \
sys/dev/ixgbe/if_ixv.c
1787
count += 0x100000000LL; \
sys/dev/ixgbe/if_ixv.c
1789
count &= 0xFFFFFFFF00000000LL; \
sys/dev/ixgbe/if_ixv.c
1790
count |= current; \
sys/dev/ixgbe/if_ixv.c
1793
#define UPDATE_STAT_36(lsb, msb, last, count) \
sys/dev/ixgbe/if_ixv.c
1799
count += 0x1000000000LL; \
sys/dev/ixgbe/if_ixv.c
1801
count &= 0xFFFFFFF000000000LL; \
sys/dev/ixgbe/if_ixv.c
1802
count |= current; \
sys/dev/ixgbe/ix_txrx.c
332
uint16_t count;
sys/dev/ixgbe/ix_txrx.c
336
count = iru->iru_count;
sys/dev/ixgbe/ix_txrx.c
338
for (i = 0, next_pidx = pidx; i < count; i++) {
sys/dev/ixgbe/ixgbe.h
502
#define IXGBE_SET_IPACKETS(sc, count) (sc)->ipackets = (count)
sys/dev/ixgbe/ixgbe.h
503
#define IXGBE_SET_IERRORS(sc, count) (sc)->ierrors = (count)
sys/dev/ixgbe/ixgbe.h
504
#define IXGBE_SET_OPACKETS(sc, count) (sc)->opackets = (count)
sys/dev/ixgbe/ixgbe.h
505
#define IXGBE_SET_OERRORS(sc, count) (sc)->oerrors = (count)
sys/dev/ixgbe/ixgbe.h
506
#define IXGBE_SET_COLLISIONS(sc, count)
sys/dev/ixgbe/ixgbe.h
507
#define IXGBE_SET_IBYTES(sc, count) (sc)->ibytes = (count)
sys/dev/ixgbe/ixgbe.h
508
#define IXGBE_SET_OBYTES(sc, count) (sc)->obytes = (count)
sys/dev/ixgbe/ixgbe.h
509
#define IXGBE_SET_IMCASTS(sc, count) (sc)->imcasts = (count)
sys/dev/ixgbe/ixgbe.h
510
#define IXGBE_SET_OMCASTS(sc, count) (sc)->omcasts = (count)
sys/dev/ixgbe/ixgbe.h
511
#define IXGBE_SET_IQDROPS(sc, count) (sc)->iqdrops = (count)
sys/dev/ixgbe/ixgbe_common.c
1319
u16 i, count;
sys/dev/ixgbe/ixgbe_common.c
1349
count = (words - i) / IXGBE_EEPROM_RD_BUFFER_MAX_COUNT > 0 ?
sys/dev/ixgbe/ixgbe_common.c
1352
count, &data[i]);
sys/dev/ixgbe/ixgbe_common.c
1486
u16 i, count;
sys/dev/ixgbe/ixgbe_common.c
1508
count = (words - i) / IXGBE_EEPROM_RD_BUFFER_MAX_COUNT > 0 ?
sys/dev/ixgbe/ixgbe_common.c
1512
count, &data[i]);
sys/dev/ixgbe/ixgbe_common.c
2057
u16 count)
sys/dev/ixgbe/ixgbe_common.c
2071
mask = 0x01 << (count - 1);
sys/dev/ixgbe/ixgbe_common.c
2073
for (i = 0; i < count; i++) {
sys/dev/ixgbe/ixgbe_common.c
2112
static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count)
sys/dev/ixgbe/ixgbe_common.c
2131
for (i = 0; i < count; i++) {
sys/dev/ixgbe/ixgbe_common.c
47
u16 count);
sys/dev/ixgbe/ixgbe_common.c
48
static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
sys/dev/ixgbe/ixgbe_common.c
5293
u32 count = 0;
sys/dev/ixgbe/ixgbe_common.c
5309
if (count++ > 5)
sys/dev/ixgbe/ixgbe_e610.c
1108
*cap_count = IXGBE_LE32_TO_CPU(cmd->count);
sys/dev/ixgbe/ixgbe_e610.c
2269
*elem_count = IXGBE_LE16_TO_CPU(cmd->count);
sys/dev/ixgbe/ixgbe_e610.c
2298
cmd->count = IXGBE_CPU_TO_LE16(elem_count);
sys/dev/ixgbe/ixgbe_osdep.h
239
ixgbe_calloc(struct ixgbe_hw __unused *hw, size_t count, size_t size)
sys/dev/ixgbe/ixgbe_osdep.h
241
return (malloc(count * size, M_DEVBUF, M_ZERO | M_NOWAIT));
sys/dev/ixgbe/ixgbe_type_e610.h
1402
__le16 count;
sys/dev/ixgbe/ixgbe_type_e610.h
689
__le32 count;
sys/dev/ixl/i40e_adminq.c
1085
if (hw->aq.arq.count == 0) {
sys/dev/ixl/i40e_adminq.c
1158
*pending = (ntc > ntu ? hw->aq.arq.count : 0) + (ntu - ntc);
sys/dev/ixl/i40e_adminq.c
378
if (hw->aq.asq.count > 0) {
sys/dev/ixl/i40e_adminq.c
410
hw->aq.asq.count = hw->aq.num_asq_entries;
sys/dev/ixl/i40e_adminq.c
441
if (hw->aq.arq.count > 0) {
sys/dev/ixl/i40e_adminq.c
473
hw->aq.arq.count = hw->aq.num_arq_entries;
sys/dev/ixl/i40e_adminq.c
495
if (hw->aq.asq.count == 0) {
sys/dev/ixl/i40e_adminq.c
507
hw->aq.asq.count = 0; /* to indicate uninitialized queue */
sys/dev/ixl/i40e_adminq.c
529
if (hw->aq.arq.count == 0) {
sys/dev/ixl/i40e_adminq.c
541
hw->aq.arq.count = 0; /* to indicate uninitialized queue */
sys/dev/ixl/i40e_adminq.c
803
if (ntc == asq->count)
sys/dev/ixl/i40e_adminq.c
859
if (hw->aq.asq.count == 0) {
sys/dev/ixl/i40e_adminq.c
962
if (hw->aq.asq.next_to_use == hw->aq.asq.count)
sys/dev/ixl/i40e_adminq.h
56
u16 count; /* Number of descriptors */
sys/dev/ixl/i40e_adminq_cmd.h
423
__le32 count;
sys/dev/ixl/i40e_common.c
3083
u16 count, struct i40e_asq_cmd_details *cmd_details)
sys/dev/ixl/i40e_common.c
3092
if (count == 0 || !mv_list || !hw)
sys/dev/ixl/i40e_common.c
3095
buf_size = count * sizeof(*mv_list);
sys/dev/ixl/i40e_common.c
3099
cmd->num_addresses = CPU_TO_LE16(count);
sys/dev/ixl/i40e_common.c
3104
for (i = 0; i < count; i++)
sys/dev/ixl/i40e_common.c
3131
u16 count, struct i40e_asq_cmd_details *cmd_details)
sys/dev/ixl/i40e_common.c
3139
if (count == 0 || !mv_list || !hw)
sys/dev/ixl/i40e_common.c
3142
buf_size = count * sizeof(*mv_list);
sys/dev/ixl/i40e_common.c
3146
cmd->num_addresses = CPU_TO_LE16(count);
sys/dev/ixl/i40e_common.c
3180
u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_common.c
3192
buf_size = count * sizeof(*mr_list);
sys/dev/ixl/i40e_common.c
3199
cmd->num_entries = CPU_TO_LE16(count);
sys/dev/ixl/i40e_common.c
3239
u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_common.c
3245
if (count == 0 || !mr_list)
sys/dev/ixl/i40e_common.c
3250
rule_type, dest_vsi, count, mr_list,
sys/dev/ixl/i40e_common.c
3270
u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_common.c
3280
if (count == 0 || !mr_list)
sys/dev/ixl/i40e_common.c
3285
rule_type, rule_id, count, mr_list,
sys/dev/ixl/i40e_common.c
3299
u8 count, struct i40e_asq_cmd_details *cmd_details)
sys/dev/ixl/i40e_common.c
3307
if (count == 0 || !v_list || !hw)
sys/dev/ixl/i40e_common.c
3310
buf_size = count * sizeof(*v_list);
sys/dev/ixl/i40e_common.c
3314
cmd->num_addresses = CPU_TO_LE16(count);
sys/dev/ixl/i40e_common.c
3339
u8 count, struct i40e_asq_cmd_details *cmd_details)
sys/dev/ixl/i40e_common.c
3347
if (count == 0 || !v_list || !hw)
sys/dev/ixl/i40e_common.c
3350
buf_size = count * sizeof(*v_list);
sys/dev/ixl/i40e_common.c
3354
cmd->num_addresses = CPU_TO_LE16(count);
sys/dev/ixl/i40e_common.c
4189
i40e_parse_discover_capabilities(hw, buff, LE32_TO_CPU(cmd->count),
sys/dev/ixl/i40e_common.c
4648
u16 count,
sys/dev/ixl/i40e_common.c
4655
u16 length = count * sizeof(*buf);
sys/dev/ixl/i40e_lan_hmc.c
347
if ((info->start_idx + info->count) >
sys/dev/ixl/i40e_lan_hmc.c
357
info->start_idx, info->count,
sys/dev/ixl/i40e_lan_hmc.c
366
info->start_idx, info->count, &pd_idx,
sys/dev/ixl/i40e_lan_hmc.c
492
info.count = 1;
sys/dev/ixl/i40e_lan_hmc.c
504
info.count = 1;
sys/dev/ixl/i40e_lan_hmc.c
600
if ((info->start_idx + info->count) >
sys/dev/ixl/i40e_lan_hmc.c
609
info->start_idx, info->count, &pd_idx,
sys/dev/ixl/i40e_lan_hmc.c
632
info->start_idx, info->count,
sys/dev/ixl/i40e_lan_hmc.c
677
info.count = 1;
sys/dev/ixl/i40e_lan_hmc.h
158
u32 count;
sys/dev/ixl/i40e_lan_hmc.h
167
u32 count;
sys/dev/ixl/i40e_prototype.h
217
u16 count, struct i40e_asq_cmd_details *cmd_details);
sys/dev/ixl/i40e_prototype.h
220
u16 count, struct i40e_asq_cmd_details *cmd_details);
sys/dev/ixl/i40e_prototype.h
222
u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_prototype.h
226
u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_prototype.h
232
u8 count, struct i40e_asq_cmd_details *cmd_details);
sys/dev/ixl/i40e_prototype.h
235
u8 count, struct i40e_asq_cmd_details *cmd_details);
sys/dev/ixl/i40e_prototype.h
329
u16 count,
sys/dev/ixl/i40e_type.h
105
((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
sys/dev/ixl/ixl.h
271
#define IXL_SET_IPACKETS(vsi, count) (vsi)->ipackets = (count)
sys/dev/ixl/ixl.h
272
#define IXL_SET_IERRORS(vsi, count) (vsi)->ierrors = (count)
sys/dev/ixl/ixl.h
273
#define IXL_SET_OPACKETS(vsi, count) (vsi)->opackets = (count)
sys/dev/ixl/ixl.h
274
#define IXL_SET_OERRORS(vsi, count) (vsi)->oerrors = (count)
sys/dev/ixl/ixl.h
275
#define IXL_SET_COLLISIONS(vsi, count) /* Do nothing; collisions is always 0. */
sys/dev/ixl/ixl.h
276
#define IXL_SET_IBYTES(vsi, count) (vsi)->ibytes = (count)
sys/dev/ixl/ixl.h
277
#define IXL_SET_OBYTES(vsi, count) (vsi)->obytes = (count)
sys/dev/ixl/ixl.h
278
#define IXL_SET_IMCASTS(vsi, count) (vsi)->imcasts = (count)
sys/dev/ixl/ixl.h
279
#define IXL_SET_OMCASTS(vsi, count) (vsi)->omcasts = (count)
sys/dev/ixl/ixl.h
280
#define IXL_SET_IQDROPS(vsi, count) (vsi)->iqdrops = (count)
sys/dev/ixl/ixl.h
281
#define IXL_SET_OQDROPS(vsi, count) (vsi)->oqdrops = (count)
sys/dev/ixl/ixl.h
282
#define IXL_SET_NOPROTO(vsi, count) (vsi)->noproto = (count)
sys/dev/ixl/ixl_iw.c
169
pf_info->iw_msix.count = IXL_IW_VEC_COUNT(pf);
sys/dev/ixl/ixl_iw.h
49
int count;
sys/dev/ixl/ixl_pf_main.c
3196
int count = 0;
sys/dev/ixl/ixl_pf_main.c
3197
while (count++ < 100) {
sys/dev/ixl/ixl_pf_qmgr.c
119
qtag->qidx[count] = i;
sys/dev/ixl/ixl_pf_qmgr.c
120
count++;
sys/dev/ixl/ixl_pf_qmgr.c
122
if (count == alloc_size)
sys/dev/ixl/ixl_pf_qmgr.c
167
int count = 0;
sys/dev/ixl/ixl_pf_qmgr.c
171
count++;
sys/dev/ixl/ixl_pf_qmgr.c
174
return (count);
sys/dev/ixl/ixl_pf_qmgr.c
301
int count = 0;
sys/dev/ixl/ixl_pf_qmgr.c
311
count++;
sys/dev/ixl/ixl_pf_qmgr.c
312
if (count == num)
sys/dev/ixl/ixl_pf_qmgr.c
316
count = 0;
sys/dev/ixl/ixl_pf_qmgr.c
98
int avail, count = 0;
sys/dev/ixl/ixl_txrx.c
158
int count, curseg, i, hlen, segsz, seglen, tsolen;
sys/dev/ixl/ixl_txrx.c
163
curseg = count = 0;
sys/dev/ixl/ixl_txrx.c
171
count++;
sys/dev/ixl/ixl_txrx.c
172
if (count > IXL_MAX_TX_SEGS - 2)
sys/dev/ixl/ixl_txrx.c
189
count++;
sys/dev/ixl/ixl_txrx.c
190
if (count > IXL_MAX_TX_SEGS - 2) {
sys/dev/ixl/ixl_txrx.c
208
count = 0;
sys/dev/ixl/ixl_txrx.c
554
uint16_t count;
sys/dev/ixl/ixl_txrx.c
559
count = iru->iru_count;
sys/dev/ixl/ixl_txrx.c
561
for (i = 0, next_pidx = pidx; i < count; i++) {
sys/dev/jme/if_jme.c
2479
int cons, count, nsegs;
sys/dev/jme/if_jme.c
2503
for (count = 0; count < nsegs; count++,
sys/dev/jme/if_jme.c
2511
for (; count < nsegs; count++) {
sys/dev/jme/if_jme.c
2543
if (count == nsegs - 1) {
sys/dev/jme/if_jme.c
2608
jme_rxintr(struct jme_softc *sc, int count)
sys/dev/jme/if_jme.c
2617
for (prog = 0; count > 0; prog++) {
sys/dev/jme/if_jme.c
2636
count -= nsegs;
sys/dev/jme/if_jme.c
2644
return (count > 0 ? 0 : EAGAIN);
sys/dev/led/led.c
109
sc->count = 0;
sys/dev/led/led.c
39
int count;
sys/dev/led/led.c
60
if (sc->count > 0) {
sys/dev/led/led.c
61
sc->count--;
sys/dev/led/led.c
75
sc->count = (*sc->ptr & 0xf) - 1;
sys/dev/led/led.c
78
sc->count = (*sc->ptr & 0xf) - 1;
sys/dev/lge/if_lge.c
354
lge_hash_maddr(void *arg, struct sockaddr_dl *sdl, u_int count)
sys/dev/liquidio/base/lio_common.h
114
lio_incr_index(uint32_t index, uint32_t count, uint32_t max)
sys/dev/liquidio/base/lio_common.h
116
if ((index + count) >= max)
sys/dev/liquidio/base/lio_common.h
117
index = index + count - max;
sys/dev/liquidio/base/lio_common.h
119
index += count;
sys/dev/liquidio/base/lio_device.c
520
oct->dispatch.count = 0;
sys/dev/liquidio/base/lio_device.c
557
oct->dispatch.count = 0;
sys/dev/liquidio/base/lio_device.c
580
if (octeon_dev->dispatch.count == 0) {
sys/dev/liquidio/base/lio_device.c
642
oct->dispatch.count++;
sys/dev/liquidio/base/lio_device.c
679
oct->dispatch.count++;
sys/dev/liquidio/base/lio_device.c
719
if (oct->dispatch.count == 0) {
sys/dev/liquidio/base/lio_device.c
758
oct->dispatch.count--;
sys/dev/liquidio/base/lio_device.h
156
uint32_t count;
sys/dev/liquidio/base/lio_droq.c
129
uint32_t count = 0;
sys/dev/liquidio/base/lio_droq.c
141
count += droq->buffer_size;
sys/dev/liquidio/base/lio_droq.c
142
} while (count < (64 * 1024));
sys/dev/liquidio/base/lio_droq.c
80
if (octeon_dev->dispatch.count == 0) {
sys/dev/liquidio/base/lio_iq.h
279
#define LIO_INCR_INSTRQUEUE_PKT_COUNT(octeon_dev_ptr, iq_no, field, count) \
sys/dev/liquidio/base/lio_iq.h
280
(((octeon_dev_ptr)->instr_queue[iq_no]->stats.field) += count)
sys/dev/malo/if_malohal.c
433
size_t count;
sys/dev/malo/if_malohal.c
450
for (count = 0; count < fw->datasize; count += blocksize) {
sys/dev/malo/if_malohal.c
451
blocksize = MIN(256, fw->datasize - count);
sys/dev/malo/if_malohal.c
452
fp = (const uint8_t *)fw->data + count;
sys/dev/mfi/mfi.c
1398
for (i = 0; i < pdlist->count; i++) {
sys/dev/mfi/mfi.c
1417
for (i = 0; i < pdlist->count; i++) {
sys/dev/mfi/mfi.c
1834
for (i = 0; i < el->count; i++) {
sys/dev/mfi/mfi.c
1850
seq = el->event[el->count - 1].seq + 1;
sys/dev/mfi/mfi_debug.c
243
uint32_t count = 0, data_len;
sys/dev/mfi/mfi_debug.c
246
count = 0;
sys/dev/mfi/mfi_debug.c
249
count += cm->cm_sg->sg_skinny[i].len;
sys/dev/mfi/mfi_debug.c
251
count += cm->cm_sg->sg64[i].len;
sys/dev/mfi/mfi_debug.c
253
count += cm->cm_sg->sg32[i].len;
sys/dev/mfi/mfi_debug.c
264
if (count != data_len) {
sys/dev/mfi/mfi_debug.c
267
function, line, cm, count, data_len, cm->cm_len,
sys/dev/mfi/mfi_debug.c
64
mfi_print_sgl(struct mfi_frame_header *hdr, union mfi_sgl *sgl, int count)
sys/dev/mfi/mfi_debug.c
69
for (i = 0; i < count; i++) {
sys/dev/mfi/mfi_pci.c
206
int count, error;
sys/dev/mfi/mfi_pci.c
257
count = 1;
sys/dev/mfi/mfi_pci.c
258
if (mfi_msi && pci_alloc_msi(sc->mfi_dev, &count) == 0) {
sys/dev/mfi/mfireg.h
1068
uint32_t count;
sys/dev/mfi/mfireg.h
1131
uint8_t count;
sys/dev/mfi/mfireg.h
1162
uint32_t count;
sys/dev/mfi/mfireg.h
970
uint64_t count;
sys/dev/mgb/if_mgb.c
1137
int count, len;
sys/dev/mgb/if_mgb.c
1139
count = iru->iru_count;
sys/dev/mgb/if_mgb.c
1149
while (count > 0) {
sys/dev/mgb/if_mgb.c
1150
idx = idxs[--count];
sys/dev/mgb/if_mgb.c
1155
htole32(CSR_TRANSLATE_ADDR_LOW32(paddrs[count]));
sys/dev/mgb/if_mgb.c
1157
htole32(CSR_TRANSLATE_ADDR_HIGH32(paddrs[count]));
sys/dev/mge/if_mge.c
1064
int i, count;
sys/dev/mge/if_mge.c
1155
count = 0x100000;
sys/dev/mge/if_mge.c
1161
if (--count == 0) {
sys/dev/mge/if_mge.c
119
static int mge_intr_rx_locked(struct mge_softc *sc, int count);
sys/dev/mge/if_mge.c
1297
mge_intr_rx_locked(struct mge_softc *sc, int count)
sys/dev/mge/if_mge.c
1308
while (count != 0) {
sys/dev/mge/if_mge.c
1354
if (count > 0)
sys/dev/mge/if_mge.c
1355
count -= 1;
sys/dev/mge/if_mge.c
1789
int count;
sys/dev/mge/if_mge.c
1839
count = 0x100000;
sys/dev/mge/if_mge.c
1840
while (count--) {
sys/dev/mge/if_mge.c
1848
if (count == 0)
sys/dev/mge/if_mge.c
722
mge_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/mge/if_mge.c
750
rx_npkts = mge_intr_rx_locked(sc, count);
sys/dev/mlx/mlx.c
1775
int error, count;
sys/dev/mlx/mlx.c
1785
count = 0;
sys/dev/mlx/mlx.c
1787
while ((mc->mc_status == MLX_STATUS_BUSY) && (count < 30)) {
sys/dev/mlx/mlx.c
1810
int error, count;
sys/dev/mlx/mlx.c
1820
count = 0;
sys/dev/mlx/mlx.c
1825
} while ((mc->mc_status == MLX_STATUS_BUSY) && (count++ < 15000000));
sys/dev/mlx4/cq.h
174
u16 count, u16 period);
sys/dev/mlx4/mlx4_core/mlx4.h
1446
u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count,
sys/dev/mlx4/mlx4_core/mlx4.h
1453
u32 uid, u32 obj, u32 count);
sys/dev/mlx4/mlx4_core/mlx4.h
1459
u32 mlx4_zone_free_entries_unique(struct mlx4_zone_allocator *zones, u32 obj, u32 count);
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
338
static u32 __mlx4_alloc_from_zone(struct mlx4_zone_entry *zone, int count,
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
346
res = mlx4_bitmap_alloc_range(zone->bitmap, count,
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
364
res = mlx4_bitmap_alloc_range(it->bitmap, count,
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
384
res = mlx4_bitmap_alloc_range(it->bitmap, count,
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
403
res = mlx4_bitmap_alloc_range(curr_node->bitmap, count,
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
421
u32 count)
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
423
mlx4_bitmap_free_range(zone->bitmap, obj - zone->offset, count, zone->use_rr);
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
510
u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count,
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
523
res = __mlx4_alloc_from_zone(zone, count, align, skip_mask, puid);
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
531
u32 mlx4_zone_free_entries(struct mlx4_zone_allocator *zones, u32 uid, u32 obj, u32 count)
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
545
__mlx4_free_from_zone(zone, obj, count);
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
553
u32 mlx4_zone_free_entries_unique(struct mlx4_zone_allocator *zones, u32 obj, u32 count)
sys/dev/mlx4/mlx4_core/mlx4_alloc.c
570
__mlx4_free_from_zone(zone, obj, count);
sys/dev/mlx4/mlx4_core/mlx4_cq.c
118
u16 count, u16 period)
sys/dev/mlx4/mlx4_core/mlx4_cq.c
129
cq_context->cq_max_count = cpu_to_be16(count);
sys/dev/mlx4/mlx4_core/mlx4_main.c
1169
const char *buf, size_t count)
sys/dev/mlx4/mlx4_core/mlx4_main.c
1197
return err ? err : count;
sys/dev/mlx4/mlx4_core/mlx4_main.c
1247
const char *buf, size_t count)
sys/dev/mlx4/mlx4_core/mlx4_main.c
1287
return err ? err : count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1225
static int add_res_range(struct mlx4_dev *dev, int slave, u64 base, int count,
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1235
res_arr = kzalloc(count * sizeof *res_arr, GFP_KERNEL);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1239
for (i = 0; i < count; ++i) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1251
for (i = 0; i < count; ++i) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1275
for (i = 0; i < count; ++i)
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1412
static int rem_res_range(struct mlx4_dev *dev, int slave, u64 base, int count,
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1422
for (i = base; i < base + count; ++i) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1437
for (i = base; i < base + count; ++i) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1737
int count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1745
count = get_param_l(&in_param) & 0xffffff;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1751
err = mlx4_grant_resource(dev, slave, RES_QP, count, 0);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1755
err = __mlx4_qp_reserve_range(dev, count, align, &base, flags);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1757
mlx4_release_resource(dev, slave, RES_QP, count, 0);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1761
err = add_res_range(dev, slave, base, count, RES_QP, 0);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1763
mlx4_release_resource(dev, slave, RES_QP, count, 0);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
1764
__mlx4_qp_release_range(dev, base, count);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
2310
int count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
2317
count = get_param_h(&in_param);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
2318
err = rem_res_range(dev, slave, base, count, RES_QP, 0);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
2321
mlx4_release_resource(dev, slave, RES_QP, count, 0);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
2322
__mlx4_qp_release_range(dev, base, count);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
306
enum mlx4_resource res_type, int count,
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
330
if (allocated + count > res_alloc->quota[slave]) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
332
slave, port, resource_str(res_type), count,
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
337
if (allocated + count <= guaranteed) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
339
from_rsvd = count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
343
from_free = count - (guaranteed - allocated);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
345
from_free = count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
347
from_rsvd = count - from_free;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
361
(dev->persist->num_vfs + 1) + slave] += count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
362
res_alloc->res_port_free[port - 1] -= count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
365
res_alloc->allocated[slave] += count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
366
res_alloc->res_free -= count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
377
enum mlx4_resource res_type, int count,
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
396
if (allocated - count >= guaranteed) {
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
401
from_rsvd = count - (allocated - guaranteed);
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
403
from_rsvd = count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
408
(dev->persist->num_vfs + 1) + slave] -= count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
409
res_alloc->res_port_free[port - 1] += count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
412
res_alloc->allocated[slave] -= count;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
413
res_alloc->res_free += count;
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1753
ssize_t (*store)(struct en_port *, struct en_port_attribute *, char *buf, size_t count);
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
2926
mlx4_en_debugnet_poll(if_t dev, int count)
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
657
static u_int mlx4_copy_maddr(void *arg, struct sockaddr_dl *sdl, u_int count)
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
876
int mlx4_ib_steer_qp_alloc(struct mlx4_ib_dev *dev, int count, int *qpn);
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
877
void mlx4_ib_steer_qp_free(struct mlx4_ib_dev *dev, u32 qpn, int count);
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
2762
int mlx4_ib_steer_qp_alloc(struct mlx4_ib_dev *dev, int count, int *qpn)
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
2770
get_count_order(count));
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
2778
void mlx4_ib_steer_qp_free(struct mlx4_ib_dev *dev, u32 qpn, int count)
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
2788
get_count_order(count));
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
1083
int count;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
1090
count = 0;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
1093
++count;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
1095
if (!count)
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
108
return count;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
169
const char *buf, size_t count)
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
398
const char *buf, size_t count);
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
460
const char *buf, size_t count)
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
488
return count;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
501
const char *buf, size_t count),
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
576
const char *buf, size_t count)
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
588
return count;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
70
const char *buf, size_t count)
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
85
return count;
sys/dev/mlx5/driver.h
666
unsigned int count;
sys/dev/mlx5/mlx5_core/mlx5_fs_core.c
1364
static int count = BIT(MLX5_SET_FTE_MODIFY_ENABLE_MASK_FLOW_COUNTERS);
sys/dev/mlx5/mlx5_core/mlx5_fs_core.c
1404
*modify_mask |= type ? count : dst;
sys/dev/mlx5/mlx5_core/mlx5_health.c
616
u32 count;
sys/dev/mlx5/mlx5_core/mlx5_health.c
621
count = ioread32be(health->health_counter);
sys/dev/mlx5/mlx5_core/mlx5_health.c
622
if (count == health->prev)
sys/dev/mlx5/mlx5_core/mlx5_health.c
627
health->prev = count;
sys/dev/mlx5/mlx5_core/mlx5_main.c
1849
u32 count;
sys/dev/mlx5/mlx5_core/mlx5_main.c
1871
count = ioread32be(health->health_counter);
sys/dev/mlx5/mlx5_core/mlx5_main.c
1872
if (count && count != 0xffffffff) {
sys/dev/mlx5/mlx5_core/mlx5_main.c
1874
"Counter value 0x%x after %d iterations\n", count, i);
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
5162
mlx5_en_debugnet_poll(if_t dev, int count)
sys/dev/mlx5/mlx5_fpga/mlx5fpga_ipsec.c
278
u32 count;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_ipsec.c
290
count = mlx5_fpga_ipsec_counters_count(mdev);
sys/dev/mlx5/mlx5_fpga/mlx5fpga_ipsec.c
292
data = kzalloc(sizeof(*data) * count * 2, GFP_KERNEL);
sys/dev/mlx5/mlx5_fpga/mlx5fpga_ipsec.c
298
ret = mlx5_fpga_mem_read(fdev, count * sizeof(u64), addr, data,
sys/dev/mlx5/mlx5_fpga/mlx5fpga_ipsec.c
307
if (count > counters_count)
sys/dev/mlx5/mlx5_fpga/mlx5fpga_ipsec.c
308
count = counters_count;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_ipsec.c
311
for (i = 0; i < count; i++)
sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_char.c
100
count, (uintmax_t)address, ret);
sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_char.c
66
mem_read(struct mlx5_fpga_tools_dev *tdev, void *buf, size_t count,
sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_char.c
74
ret = mlx5_fpga_mem_read(tdev->fdev, count, address, buf, access_type);
sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_char.c
79
count, (uintmax_t)address, ret);
sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_char.c
87
mem_write(struct mlx5_fpga_tools_dev *tdev, void *buf, size_t count,
sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_char.c
95
ret = mlx5_fpga_mem_write(tdev->fdev, count, address, buf, access_type);
sys/dev/mlx5/mlx5_fpga_tools/tools.h
57
void *buf, size_t count, u64 address,
sys/dev/mlx5/mlx5_fpga_tools/tools.h
60
size_t count, u64 address,
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
1010
int mlx5_mr_ib_cont_pages(struct ib_umem *umem, u64 addr, int *count, int *shift);
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
124
unsigned int *count;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
999
int *count, int *shift,
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
2453
size_t count, loff_t *pos)
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
2488
if (eventsz > count) {
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
2534
size_t count, loff_t *pos)
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
2588
if (eventsz > count) {
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1326
bfregi->count = kcalloc(bfregi->total_num_bfregs, sizeof(*bfregi->count),
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1328
if (!bfregi->count) {
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1425
kfree(bfregi->count);
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1445
kfree(bfregi->count);
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1621
if (bfregi->count[bfreg_dyn_idx]) {
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1627
bfregi->count[bfreg_dyn_idx]++;
sys/dev/mlx5/mlx5_ib/mlx5_ib_mem.c
44
int *count, int *shift,
sys/dev/mlx5/mlx5_ib/mlx5_ib_mem.c
96
*count = i;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
518
if (!bfregi->count[i]) {
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
519
bfregi->count[i]++;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
537
if (bfregi->count[i] < bfregi->count[minidx])
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
539
if (!bfregi->count[minidx])
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
543
bfregi->count[minidx]++;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
565
bfregi->count[bfregn]++;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
575
bfregi->count[bfregn]--;
sys/dev/mlx5/mlx5_lib/mlx5.h
38
int mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count);
sys/dev/mlx5/mlx5_lib/mlx5.h
39
void mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count);
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
117
return dev->roce.reserved_gids.count;
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
44
dev->roce.reserved_gids.count = 0;
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
51
dev->roce.reserved_gids.count = 0;
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
55
int mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count)
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
61
if (dev->roce.reserved_gids.start < count) {
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
63
count);
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
66
if (dev->roce.reserved_gids.count + count > MLX5_MAX_RESERVED_GIDS) {
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
67
mlx5_core_warn(dev, "Unable to reserve %d more GIDs\n", count);
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
71
dev->roce.reserved_gids.start -= count;
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
72
dev->roce.reserved_gids.count += count;
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
74
dev->roce.reserved_gids.count,
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
79
void mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count)
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
82
WARN(count > dev->roce.reserved_gids.count, "Unreserving %u GIDs when only %u reserved",
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
83
count, dev->roce.reserved_gids.count);
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
85
dev->roce.reserved_gids.start += count;
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
86
dev->roce.reserved_gids.count -= count;
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
88
dev->roce.reserved_gids.count,
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
95
dev->roce.reserved_gids.count;
sys/dev/mlxfw/mlxfw_mfa2.c
401
u16 count;
sys/dev/mlxfw/mlxfw_mfa2.c
410
&count);
sys/dev/mlxfw/mlxfw_mfa2.c
414
*p_count = count;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
110
u16 count = 0;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
120
count++;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
122
*p_count = count;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
72
const struct mlxfw_mfa2_tlv *from_tlv, u16 count)
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
77
mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, from_tlv, count)
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.h
49
const struct mlxfw_mfa2_tlv *from_tlv, u16 count);
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.h
61
#define mlxfw_mfa2_tlv_foreach(mfa2_file, tlv, idx, from_tlv, count) \
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.h
62
for (idx = 0, tlv = from_tlv; idx < (count); \
sys/dev/mmc/mmcsd.c
1088
mmcsd_set_blockcount(struct mmcsd_softc *sc, u_int count, bool reliable)
sys/dev/mmc/mmcsd.c
1098
cmd.arg = count & 0x0000FFFF;
sys/dev/mmc/mmcsd.c
191
static int mmcsd_set_blockcount(struct mmcsd_softc *sc, u_int count, bool rel);
sys/dev/mpi3mr/mpi3mr.c
132
U32 count = timeout * 1000;
sys/dev/mpi3mr/mpi3mr.c
134
while ((completion->done == 0) && count) {
sys/dev/mpi3mr/mpi3mr.c
136
count--;
sys/dev/mpi3mr/mpi3mr.c
147
U32 count = timeout * 1000;
sys/dev/mpi3mr/mpi3mr.c
149
while ((completion->done == 0) && count) {
sys/dev/mpi3mr/mpi3mr.c
152
count--;
sys/dev/mpi3mr/mpi3mr.h
154
uint16_t count;
sys/dev/mpi3mr/mpi3mr_app.c
108
mpi3mr_mgmt_info.count++;
sys/dev/mpi3mr/mpi3mr_app.c
1166
for (count = 0; count < bufcnt; count++, dma_buff++) {
sys/dev/mpi3mr/mpi3mr_app.c
1167
if ((count == 1) && is_rmrb) {
sys/dev/mpi3mr/mpi3mr_app.c
1210
for (count = 0; count < bufcnt; count++, dma_buff++) {
sys/dev/mpi3mr/mpi3mr_app.c
126
mpi3mr_mgmt_info.count--;
sys/dev/mpi3mr/mpi3mr_app.c
183
U8 count;
sys/dev/mpi3mr/mpi3mr_app.c
202
for (count = 0; count < bufcnt; count++, dma_buff++) {
sys/dev/mpi3mr/mpi3mr_app.c
272
U8 count;
sys/dev/mpi3mr/mpi3mr_app.c
313
for (count = 0; count < bufcnt; count++, dma_buff++) {
sys/dev/mpi3mr/mpi3mr_app.c
323
for (count = 0; count < dma_buff->num_dma_desc; count++) {
sys/dev/mpi3mr/mpi3mr_app.c
324
dma_addr = dma_buff->dma_desc[count].dma_addr;
sys/dev/mpi3mr/mpi3mr_app.c
625
U8 *sgl = (mpi_request + sgl_offset), count = 0;
sys/dev/mpi3mr/mpi3mr_app.c
655
count++;
sys/dev/mpi3mr/mpi3mr_app.c
661
count++;
sys/dev/mpi3mr/mpi3mr_app.c
686
for (; count < bufcnt; count++, dma_buff++) {
sys/dev/mpi3mr/mpi3mr_app.c
700
for (; count < bufcnt; count++, dma_buff++) {
sys/dev/mpi3mr/mpi3mr_app.c
784
U8 count, bufcnt = 0, is_rmcb = 0, is_rmrb = 0, din_cnt = 0, dout_cnt = 0;
sys/dev/mpi3mr/mpi3mr_app.c
872
for (count = 0; count < bufcnt; count++, buf_entries++, dma_buff++) {
sys/dev/mpi3mr/mpi3mr_app.c
880
if ((count != 0) || !buf_entries->buf_len)
sys/dev/mpi3mr/mpi3mr_app.c
886
if (count != 1 || !is_rmcb || !buf_entries->buf_len)
sys/dev/mpi3mr/mpi3mr_app.c
905
mpirep_offset = count;
sys/dev/mpi3mr/mpi3mr_app.c
911
erb_offset = count;
sys/dev/mpi3mr/mpi3mr_app.c
958
for (count = 0; count < bufcnt; count++, dma_buff++) {
sys/dev/mpi3mr/mpi3mr_app.c
962
if (is_rmcb && !count) {
sys/dev/mpi3mr/mpi3mr_app.c
976
} else if (is_rmrb && (count == 1)) {
sys/dev/mpr/mpr.c
1016
count = (req_sz + 3) / 4;
sys/dev/mpr/mpr.c
1019
(count << MPI2_DOORBELL_ADD_DWORDS_SHIFT));
sys/dev/mpr/mpr.c
1036
for (i = 0; i < count; i++) {
sys/dev/mpr/mpr.c
1081
count = MIN((reply_sz / 4), ioc_sz) * 2;
sys/dev/mpr/mpr.c
1082
if (count < ioc_sz * 2) {
sys/dev/mpr/mpr.c
1083
residual = ioc_sz * 2 - count;
sys/dev/mpr/mpr.c
1088
for (i = 2; i < count; i++) {
sys/dev/mpr/mpr.c
934
u32 cntdn, count;
sys/dev/mpr/mpr.c
938
count = 0;
sys/dev/mpr/mpr.c
944
"timeout(%d)\n", __func__, count, timeout);
sys/dev/mpr/mpr.c
968
count++;
sys/dev/mpr/mpr.c
973
"int_status(%x)!\n", __func__, count, int_status);
sys/dev/mpr/mpr.c
999
int i, count, ioc_sz, residual;
sys/dev/mps/mps.c
1009
for (i = 0; i < count; i++) {
sys/dev/mps/mps.c
1048
count = MIN((reply_sz / 4), ioc_sz) * 2;
sys/dev/mps/mps.c
1049
if (count < ioc_sz * 2) {
sys/dev/mps/mps.c
1050
residual = ioc_sz * 2 - count;
sys/dev/mps/mps.c
1055
for (i = 2; i < count; i++) {
sys/dev/mps/mps.c
907
u32 cntdn, count;
sys/dev/mps/mps.c
911
count = 0;
sys/dev/mps/mps.c
918
__func__, count, timeout);
sys/dev/mps/mps.c
940
count++;
sys/dev/mps/mps.c
945
"int_status(%x)!\n", __func__, count, int_status);
sys/dev/mps/mps.c
972
int i, count, ioc_sz, residual;
sys/dev/mps/mps.c
989
count = (req_sz + 3) / 4;
sys/dev/mps/mps.c
992
(count << MPI2_DOORBELL_ADD_DWORDS_SHIFT));
sys/dev/mrsas/mrsas.c
1012
mrsas_mgmt_info.count++;
sys/dev/mrsas/mrsas.c
1069
mrsas_mgmt_info.count--;
sys/dev/mrsas/mrsas.c
1886
evt_detail_size, count, pd_info_size;
sys/dev/mrsas/mrsas.c
1998
count = sc->msix_vectors > 0 ? sc->msix_vectors : 1;
sys/dev/mrsas/mrsas.c
2002
reply_desc_size = sc->reply_alloc_sz * count;
sys/dev/mrsas/mrsas.c
2611
int count = sc->msix_vectors > 0 ? sc->msix_vectors : 1;
sys/dev/mrsas/mrsas.c
2613
for (i = 0; i < count; i++)
sys/dev/mrsas/mrsas.c
2819
u_int32_t max_fw_cmds, count;
sys/dev/mrsas/mrsas.c
2892
count = sc->msix_vectors > 0 ? sc->msix_vectors : 1;
sys/dev/mrsas/mrsas.c
2893
for (i = 0; i < sc->reply_q_depth * count; i++, reply_desc++) {
sys/dev/mrsas/mrsas.c
3184
int i, count;
sys/dev/mrsas/mrsas.c
3187
count = sc->msix_vectors > 0 ? sc->msix_vectors : 1;
sys/dev/mrsas/mrsas.c
3188
for (i = 0; i < count; i++)
sys/dev/mrsas/mrsas.c
3473
u_int32_t count, MSIxIndex;
sys/dev/mrsas/mrsas.c
3475
count = sc->msix_vectors > 0 ? sc->msix_vectors : 1;
sys/dev/mrsas/mrsas.c
3482
for (MSIxIndex = 0; MSIxIndex < count; MSIxIndex++)
sys/dev/mrsas/mrsas.c
3501
u_int32_t fw_state, count, MSIxIndex;
sys/dev/mrsas/mrsas.c
3516
count = sc->msix_vectors > 0 ? sc->msix_vectors : 1;
sys/dev/mrsas/mrsas.c
3518
for (MSIxIndex = 0; MSIxIndex < count; MSIxIndex++)
sys/dev/mrsas/mrsas.c
3537
count = sc->msix_vectors > 0 ? sc->msix_vectors : 1;
sys/dev/mrsas/mrsas.c
3539
for (MSIxIndex = 0; MSIxIndex < count; MSIxIndex++)
sys/dev/mrsas/mrsas.c
4279
if (le32toh(pd_sync->count) > MAX_PHYSICAL_DEVICES) {
sys/dev/mrsas/mrsas.c
4282
MAX_PHYSICAL_DEVICES, pd_sync->count);
sys/dev/mrsas/mrsas.c
4613
if (le32toh(pd_list_mem->count) < pd_count) {
sys/dev/mrsas/mrsas.c
4616
for (pd_index = 0; pd_index < le32toh(pd_list_mem->count); pd_index++) {
sys/dev/mrsas/mrsas.h
1116
u_int32_t count;
sys/dev/mrsas/mrsas.h
1855
u_int32_t count;
sys/dev/mrsas/mrsas.h
2863
u_int64_t count;
sys/dev/mrsas/mrsas.h
2974
u_int16_t count;
sys/dev/mrsas/mrsas.h
3300
u_int8_t count;
sys/dev/mrsas/mrsas_cam.c
1927
int retCode = FAIL, count, i, outstanding;
sys/dev/mrsas/mrsas_cam.c
2033
count = sc->msix_vectors > 0 ? sc->msix_vectors : 1;
sys/dev/mrsas/mrsas_cam.c
2035
for (MSIxIndex = 0; MSIxIndex < count; MSIxIndex++)
sys/dev/mrsas/mrsas_fp.c
1221
u_int8_t span, count;
sys/dev/mrsas/mrsas_fp.c
1247
for (count = 0, span_row_width = 0;
sys/dev/mrsas/mrsas_fp.c
1248
count < raid->spanDepth; count++) {
sys/dev/mrsas/mrsas_fp.c
1249
if (le32toh(map->raidMap.ldSpanMap[ld].spanBlock[count].
sys/dev/mrsas/mrsas_fp.c
1251
span_set->strip_offset[count] = span_row_width;
sys/dev/mrsas/mrsas_fp.c
1253
MR_LdSpanPtrGet(ld, count, map)->spanRowDataSize;
sys/dev/mrsas/mrsas_fp.c
1255
printf("AVAGO Debug span %x rowDataSize %x\n", count,
sys/dev/mrsas/mrsas_fp.c
1256
MR_LdSpanPtrGet(ld, count, map)->spanRowDataSize);
sys/dev/mrsas/mrsas_fp.c
1556
u_int32_t count = io_info->numBlocks;
sys/dev/mrsas/mrsas_fp.c
1596
lbInfo->last_accessed_block[bestArm == arm ? pd0 : pd1] = block + count - 1;
sys/dev/msk/if_msk.c
2107
int count, error;
sys/dev/msk/if_msk.c
2116
count = 3 * MSK_RX_RING_CNT + MSK_TX_RING_CNT;
sys/dev/msk/if_msk.c
2117
count = imin(4096, roundup2(count, 1024));
sys/dev/msk/if_msk.c
2118
sc->msk_stat_count = count;
sys/dev/msk/if_msk.c
2119
stat_sz = count * sizeof(struct msk_stat_desc);
sys/dev/msk/if_msk.c
4087
uint32_t count)
sys/dev/msk/if_msk.c
4102
count);
sys/dev/mvs/mvs.h
639
#define ATA_INSW(res, offset, addr, count) \
sys/dev/mvs/mvs.h
640
bus_read_multi_2((res), (offset), (addr), (count))
sys/dev/mvs/mvs.h
641
#define ATA_INSW_STRM(res, offset, addr, count) \
sys/dev/mvs/mvs.h
642
bus_read_multi_stream_2((res), (offset), (addr), (count))
sys/dev/mvs/mvs.h
643
#define ATA_INSL(res, offset, addr, count) \
sys/dev/mvs/mvs.h
644
bus_read_multi_4((res), (offset), (addr), (count))
sys/dev/mvs/mvs.h
645
#define ATA_INSL_STRM(res, offset, addr, count) \
sys/dev/mvs/mvs.h
646
bus_read_multi_stream_4((res), (offset), (addr), (count))
sys/dev/mvs/mvs.h
653
#define ATA_OUTSW(res, offset, addr, count) \
sys/dev/mvs/mvs.h
654
bus_write_multi_2((res), (offset), (addr), (count))
sys/dev/mvs/mvs.h
655
#define ATA_OUTSW_STRM(res, offset, addr, count) \
sys/dev/mvs/mvs.h
656
bus_write_multi_stream_2((res), (offset), (addr), (count))
sys/dev/mvs/mvs.h
657
#define ATA_OUTSL(res, offset, addr, count) \
sys/dev/mvs/mvs.h
658
bus_write_multi_4((res), (offset), (addr), (count))
sys/dev/mvs/mvs.h
659
#define ATA_OUTSL_STRM(res, offset, addr, count) \
sys/dev/mvs/mvs.h
660
bus_write_multi_stream_4((res), (offset), (addr), (count))
sys/dev/mvs/mvs_pci.c
393
rman_res_t start, rman_res_t end, rman_res_t count,
sys/dev/mvs/mvs_soc.c
333
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/mwl/mwlhal.c
885
const MWL_HAL_CHANNEL *nextchan, uint32_t mode, uint32_t count)
sys/dev/mwl/mwlhal.c
896
pCmd->InitialCount = htole32(count+1);
sys/dev/mwl/mwlhal.h
336
const MWL_HAL_CHANNEL *nextchan, uint32_t mode, uint32_t count);
sys/dev/mxge/if_mxge.c
4402
int count, err, i, rid;
sys/dev/mxge/if_mxge.c
4413
count = sc->num_slices;
sys/dev/mxge/if_mxge.c
4414
err = pci_alloc_msix(sc->dev, &count);
sys/dev/mxge/if_mxge.c
4420
if (count < sc->num_slices) {
sys/dev/mxge/if_mxge.c
4422
count, sc->num_slices);
sys/dev/mxge/if_mxge.c
4425
count);
sys/dev/mxge/if_mxge.c
4507
int count, err, rid;
sys/dev/mxge/if_mxge.c
4509
count = pci_msi_count(sc->dev);
sys/dev/mxge/if_mxge.c
4510
if (count == 1 && pci_alloc_msi(sc->dev, &count) == 0) {
sys/dev/neta/if_mvneta.c
2948
mvneta_rx(struct mvneta_softc *sc, int q, int count)
sys/dev/neta/if_mvneta.c
2960
if (count > 0 && npkt > count) {
sys/dev/neta/if_mvneta.c
2962
npkt = count;
sys/dev/netmap/if_ptnet.c
1381
unsigned int count = 0;
sys/dev/netmap/if_ptnet.c
1414
while (count < budget) {
sys/dev/netmap/if_ptnet.c
1542
count ++;
sys/dev/netmap/if_ptnet.c
1553
if (count >= budget && may_resched) {
sys/dev/netmap/if_ptnet.c
1561
return count;
sys/dev/netmap/if_ptnet.c
1681
unsigned int count = 0;
sys/dev/netmap/if_ptnet.c
1693
while (count < budget) {
sys/dev/netmap/if_ptnet.c
1853
count ++;
sys/dev/netmap/if_ptnet.c
1889
if (count >= budget && may_resched) {
sys/dev/netmap/if_ptnet.c
1899
return count;
sys/dev/netmap/if_ptnet.c
1928
unsigned int count = 0;
sys/dev/netmap/if_ptnet.c
1970
count += rcnt;
sys/dev/netmap/if_ptnet.c
1976
return count;
sys/dev/netmap/netmap_mbq.c
105
q->count--;
sys/dev/netmap/netmap_mbq.c
51
q->count = 0;
sys/dev/netmap/netmap_mbq.c
77
q->count++;
sys/dev/netmap/netmap_mbq.h
55
int count;
sys/dev/netmap/netmap_mbq.h
95
return q->count;
sys/dev/nfe/if_nfe.c
1603
nfe_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/nfe/if_nfe.c
1617
rx_npkts = nfe_jrxeof(sc, count, &rx_npkts);
sys/dev/nfe/if_nfe.c
1619
rx_npkts = nfe_rxeof(sc, count, &rx_npkts);
sys/dev/nfe/if_nfe.c
2064
nfe_rxeof(struct nfe_softc *sc, int count, int *rx_npktsp)
sys/dev/nfe/if_nfe.c
2082
if (count <= 0)
sys/dev/nfe/if_nfe.c
2084
count--;
sys/dev/nfe/if_nfe.c
2174
return (count > 0 ? 0 : EAGAIN);
sys/dev/nfe/if_nfe.c
2178
nfe_jrxeof(struct nfe_softc *sc, int count, int *rx_npktsp)
sys/dev/nfe/if_nfe.c
2197
if (count <= 0)
sys/dev/nfe/if_nfe.c
2199
count--;
sys/dev/nfe/if_nfe.c
2289
return (count > 0 ? 0 : EAGAIN);
sys/dev/nfe/if_nfe.c
290
nfe_alloc_msix(struct nfe_softc *sc, int count)
sys/dev/nfe/if_nfe.c
314
if (pci_alloc_msix(sc->nfe_dev, &count) == 0) {
sys/dev/nfe/if_nfe.c
315
if (count == NFE_MSI_MESSAGES) {
sys/dev/nfe/if_nfe.c
318
"Using %d MSIX messages\n", count);
sys/dev/nfe/if_nfe.c
820
int count, n, use_msix;
sys/dev/nfe/if_nfe.c
830
count = nitems(msix_blacklists);
sys/dev/nfe/if_nfe.c
832
for (n = 0; n < count; n++) {
sys/dev/nfsmb/nfsmb.c
334
int error, count;
sys/dev/nfsmb/nfsmb.c
339
count = 10000;
sys/dev/nfsmb/nfsmb.c
342
} while (NFSMB_SMBINB(sc, SMB_PRTCL) != 0 && count--);
sys/dev/nfsmb/nfsmb.c
343
if (count == 0)
sys/dev/nfsmb/nfsmb.c
531
nfsmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/nfsmb/nfsmb.c
537
if (count < 1 || count > 32)
sys/dev/nfsmb/nfsmb.c
542
NFSMB_SMBOUTB(sc, SMB_BCNT, count);
sys/dev/nfsmb/nfsmb.c
543
for (i = 0; i < count; i++)
sys/dev/nfsmb/nfsmb.c
550
NFSMB_DEBUG(printf("nfsmb: WRITEBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, count, cmd, error));
sys/dev/nfsmb/nfsmb.c
557
nfsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/nfsmb/nfsmb.c
563
if (*count < 1 || *count > 32)
sys/dev/nfsmb/nfsmb.c
575
if (i < *count)
sys/dev/nfsmb/nfsmb.c
578
*count = len;
sys/dev/nfsmb/nfsmb.c
581
NFSMB_DEBUG(printf("nfsmb: READBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, *count, cmd, error));
sys/dev/nge/if_nge.c
1744
nge_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/nge/if_nge.c
1764
sc->rxcycles = count;
sys/dev/ntsync/linux_ntsync.h
17
__u32 count;
sys/dev/ntsync/linux_ntsync.h
23
__u32 count;
sys/dev/ntsync/linux_ntsync.h
36
__u32 count;
sys/dev/ntsync/ntsync.c
1201
if (nwa->count > NTSYNC_MAX_WAIT_COUNT)
sys/dev/ntsync/ntsync.c
1212
nwa->count * sizeof(state->fds[0]));
sys/dev/ntsync/ntsync.c
1236
for (; i < nwa->count; i++) {
sys/dev/ntsync/ntsync.c
1251
state->obj_count = nwa->count;
sys/dev/ntsync/ntsync.c
1252
for (i = 0; i < nwa->count; i++)
sys/dev/ntsync/ntsync.c
1310
for (i = 0; i < state->nwa->count; i++)
sys/dev/ntsync/ntsync.c
335
return (sem->a.count != 0);
sys/dev/ntsync/ntsync.c
347
MPASS(sem->a.count != 0);
sys/dev/ntsync/ntsync.c
348
sem->a.count--;
sys/dev/ntsync/ntsync.c
360
if (sem->a.count == 0)
sys/dev/ntsync/ntsync.c
363
sem->a1.count--;
sys/dev/ntsync/ntsync.c
413
if (sem->a.count + *val < sem->a.count ||
sys/dev/ntsync/ntsync.c
414
sem->a.count + *val > sem->a.max) {
sys/dev/ntsync/ntsync.c
417
prev = sem->a.count;
sys/dev/ntsync/ntsync.c
418
sem->a.count += *val;
sys/dev/ntsync/ntsync.c
419
if (sem->a.count != 0)
sys/dev/ntsync/ntsync.c
480
sbp->st_nlink = sem->a.count;
sys/dev/ntsync/ntsync.c
500
kif->kf_un.kf_ntsync.kf_ntsync_un.kf_ntsync_sem.count = sem->a.count;
sys/dev/ntsync/ntsync.c
528
if (args->count > args->max)
sys/dev/ntsync/ntsync.c
551
(mutex->a.owner == nwa_owner && mutex->a.count < UINT32_MAX) ||
sys/dev/ntsync/ntsync.c
582
mutex->a.count = 1;
sys/dev/ntsync/ntsync.c
584
mutex->a.count++;
sys/dev/ntsync/ntsync.c
609
mutex->a1.count = 1;
sys/dev/ntsync/ntsync.c
611
mutex->a1.count++;
sys/dev/ntsync/ntsync.c
671
prev = mutex->a.count;
sys/dev/ntsync/ntsync.c
672
MPASS(mutex->a.count > 0);
sys/dev/ntsync/ntsync.c
673
mutex->a.count--;
sys/dev/ntsync/ntsync.c
674
a->count = prev;
sys/dev/ntsync/ntsync.c
675
if (mutex->a.count == 0) {
sys/dev/ntsync/ntsync.c
706
mutex->a.count = 0;
sys/dev/ntsync/ntsync.c
786
sbp->st_nlink = mutex->a.count;
sys/dev/ntsync/ntsync.c
808
kif->kf_un.kf_ntsync.kf_ntsync_un.kf_ntsync_mutex.count =
sys/dev/ntsync/ntsync.c
809
mutex->a.count;
sys/dev/ntsync/ntsync.c
836
if ((args->owner != 0 && args->count == 0) ||
sys/dev/ntsync/ntsync.c
837
(args->owner == 0 && args->count != 0))
sys/dev/ntsync/ntsync.h
17
uint32_t count;
sys/dev/ntsync/ntsync.h
23
uint32_t count;
sys/dev/ntsync/ntsync.h
34
uint32_t count;
sys/dev/nvdimm/nvdimm_nfit.c
51
int count;
sys/dev/nvdimm/nvdimm_nfit.c
57
count = 0;
sys/dev/nvdimm/nvdimm_nfit.c
65
ptrs[count] = h;
sys/dev/nvdimm/nvdimm_nfit.c
68
count++;
sys/dev/nvdimm/nvdimm_nfit.c
75
return (count);
sys/dev/nvdimm/nvdimm_nfit.c
82
int count;
sys/dev/nvdimm/nvdimm_nfit.c
84
count = find_matches(nfitbl, type, offset, mask, value, NULL, 0);
sys/dev/nvdimm/nvdimm_nfit.c
85
*ptrs_len = count;
sys/dev/nvdimm/nvdimm_nfit.c
86
if (count == 0) {
sys/dev/nvdimm/nvdimm_nfit.c
90
*ptrs = mallocarray(count, sizeof(void *), M_NVDIMM, M_WAITOK);
sys/dev/nvme/nvme.h
2035
uint64_t lba, uint32_t count)
sys/dev/nvme/nvme.h
2041
cmd->cdw12 = htole32(count-1);
sys/dev/nvme/nvme.h
2046
uint64_t lba, uint32_t count)
sys/dev/nvme/nvme.h
2048
nvme_ns_rw_cmd(cmd, NVME_OPC_WRITE, nsid, lba, count);
sys/dev/nvme/nvme.h
2053
uint64_t lba, uint32_t count)
sys/dev/nvme/nvme.h
2055
nvme_ns_rw_cmd(cmd, NVME_OPC_READ, nsid, lba, count);
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
229
u_int i, count;
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
232
count = 0;
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
236
nslist->ns[count] = htole32(np->active_ns[i]);
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
237
count++;
sys/dev/nvmf/controller/ctl_frontend_nvmf.c
238
if (count == nitems(nslist->ns))
sys/dev/oce/oce_hw.h
1256
uint32_t count:3;
sys/dev/oce/oce_hw.h
1274
uint32_t count:3;
sys/dev/oce/oce_hw.h
1334
uint32_t count:2;
sys/dev/oce/oce_hw.h
1353
uint32_t count:2;
sys/dev/oce/oce_hw.h
1378
uint32_t count:2;
sys/dev/oce/oce_hw.h
1402
uint32_t count:2;
sys/dev/oce/oce_if.c
1862
oce_alloc_rx_bufs(struct oce_rq *rq, int count)
sys/dev/oce/oce_if.c
1875
for (i = 0; i < count; i++) {
sys/dev/oce/oce_if.h
1088
int oce_alloc_rx_bufs(struct oce_rq *rq, int count);
sys/dev/oce/oce_mbox.c
1777
fwcmd->params.req.ctx.count = OCE_LOG2(eq->eq_cfg.q_len / 256);
sys/dev/oce/oce_mbox.c
1836
ctx->v2.count = OCE_LOG2(cq->cq_cfg.q_len / 256);
sys/dev/oce/oce_mbox.c
1841
if (ctx->v2.count == 3) {
sys/dev/oce/oce_mbox.c
1851
ctx->v0.count = OCE_LOG2(cq->cq_cfg.q_len / 256);
sys/dev/ocs_fc/ocs_domain.c
587
uint32_t count = drec->map.loop[0];
sys/dev/ocs_fc/ocs_domain.c
588
ocs_log_debug(ocs, "%d position map entries\n", count);
sys/dev/ocs_fc/ocs_domain.c
589
for (i = 1; i <= count; i++) {
sys/dev/ocs_fc/ocs_hw.c
11582
ocs_hw_rx_buffer_alloc(ocs_hw_t *hw, uint32_t rqindex, uint32_t count, uint32_t size)
sys/dev/ocs_fc/ocs_hw.c
11589
if (count != 0) {
sys/dev/ocs_fc/ocs_hw.c
11590
rq_buf = ocs_malloc(hw->os, sizeof(*rq_buf) * count, OCS_M_NOWAIT | OCS_M_ZERO);
sys/dev/ocs_fc/ocs_hw.c
11596
for (i = 0, prq = rq_buf; i < count; i ++, prq++) {
sys/dev/ocs_fc/ocs_hw.c
11600
ocs_free(hw->os, rq_buf, sizeof(*rq_buf) * count);
sys/dev/ocs_fc/ocs_hw.c
11622
ocs_hw_rx_buffer_free(ocs_hw_t *hw, ocs_hw_rq_buffer_t *rq_buf, uint32_t count)
sys/dev/ocs_fc/ocs_hw.c
11629
for (i = 0, prq = rq_buf; i < count; i++, prq++) {
sys/dev/ocs_fc/ocs_hw.c
11632
ocs_free(hw->os, rq_buf, sizeof(*rq_buf) * count);
sys/dev/ocs_fc/ocs_hw.c
2994
uint32_t count = 0;
sys/dev/ocs_fc/ocs_hw.c
3025
count = ocs_atomic_add_return(&hw->rpi_ref[rnode->index].rpi_count, 1);
sys/dev/ocs_fc/ocs_hw.c
3026
if (count) {
sys/dev/ocs_fc/ocs_hw.c
3033
sli_get_hlm(&hw->sli), count);
sys/dev/ocs_fc/ocs_hw.c
3052
if (count || rc) {
sys/dev/ocs_fc/ocs_hw.c
3055
ocs_log_err(hw->os, "%s error\n", count ? "HLM" : "REG_RPI");
sys/dev/ocs_fc/ocs_hw.c
3139
uint32_t count = 0;
sys/dev/ocs_fc/ocs_hw.c
3152
count = ocs_atomic_sub_return(&hw->rpi_ref[index].rpi_count, 1);
sys/dev/ocs_fc/ocs_hw.c
3154
if (count <= 1) {
sys/dev/ocs_fc/ocs_hw.c
3163
count);
sys/dev/ocs_fc/ocs_hw.c
542
uint32_t count;
sys/dev/ocs_fc/ocs_hw.c
784
uint32_t count = 0;
sys/dev/ocs_fc/ocs_hw.c
789
count += hw->hw_rq[i]->entry_count;
sys/dev/ocs_fc/ocs_hw.c
792
hw->seq_pool = ocs_array_alloc(hw->os, sizeof(ocs_hw_sequence_t), count);
sys/dev/ocs_fc/ocs_hw.c
8007
uint32_t count = 0;
sys/dev/ocs_fc/ocs_hw.c
8014
count++;
sys/dev/ocs_fc/ocs_hw.c
8019
count++;
sys/dev/ocs_fc/ocs_hw.c
8024
count++;
sys/dev/ocs_fc/ocs_hw.c
8029
count++;
sys/dev/ocs_fc/ocs_hw.c
8033
count = hw->config.n_io;
sys/dev/ocs_fc/ocs_hw.c
8039
return count;
sys/dev/ocs_fc/ocs_hw.c
8052
uint32_t count = 0;
sys/dev/ocs_fc/ocs_hw.c
8061
count++;
sys/dev/ocs_fc/ocs_hw.c
8067
return count;
sys/dev/ocs_fc/ocs_hw.c
989
if ((count = ocs_varray_get_count(hw->wq_class_array[1])) > 0) {
sys/dev/ocs_fc/ocs_hw.c
990
for (i = 0; i < count; i++) {
sys/dev/ocs_fc/ocs_os.h
1244
uint32_t count; /* ref count; no need to be atomic if we have a lock */
sys/dev/ocs_fc/ocs_os.h
1260
ocs_atomic_init(&ref->count, 1);
sys/dev/ocs_fc/ocs_os.h
1274
return ocs_atomic_read(&ref->count);
sys/dev/ocs_fc/ocs_os.h
1287
ocs_atomic_set(&ref->count, i);
sys/dev/ocs_fc/ocs_os.h
1309
ocs_atomic_add_return(&ref->count, 1);
sys/dev/ocs_fc/ocs_os.h
1329
rc = ocs_atomic_read(&ref->count);
sys/dev/ocs_fc/ocs_os.h
1331
ocs_atomic_add_return(&ref->count, 1);
sys/dev/ocs_fc/ocs_os.h
1354
if (ocs_atomic_sub_return(&ref->count, 1) == 1) {
sys/dev/ocs_fc/ocs_scsi.c
1031
count++;
sys/dev/ocs_fc/ocs_scsi.c
1062
if (count == 0 ) {
sys/dev/ocs_fc/ocs_scsi.c
1293
uint32_t count = total_count - max_sgl + 1;
sys/dev/ocs_fc/ocs_scsi.c
1294
rc = ocs_dma_alloc(ocs, &io->ovfl_sgl, count*sizeof(sli4_sge_t), 64);
sys/dev/ocs_fc/ocs_scsi.c
1299
rc = ocs_hw_io_register_sgl(&ocs->hw, io->hio, &io->ovfl_sgl, count);
sys/dev/ocs_fc/ocs_scsi.c
658
uint32_t count = 0;
sys/dev/ocs_fc/ocs_scsi.c
665
count++;
sys/dev/ocs_fc/ocs_scsi.c
671
count += 2;
sys/dev/ocs_fc/ocs_scsi.c
674
count++;
sys/dev/ocs_fc/ocs_scsi.c
677
count = sgl_count;
sys/dev/ocs_fc/ocs_scsi.c
679
return count;
sys/dev/ocs_fc/ocs_scsi.c
995
int count = 0;
sys/dev/ocs_fc/ocs_utils.c
106
array->count = count;
sys/dev/ocs_fc/ocs_utils.c
108
array->n_rows = (count + array->elems_per_row - 1) / array->elems_per_row;
sys/dev/ocs_fc/ocs_utils.c
1276
uint32_t count;
sys/dev/ocs_fc/ocs_utils.c
1282
count = addrlen[j].length / 2;
sys/dev/ocs_fc/ocs_utils.c
1283
for (i=0; i < count; i++) {
sys/dev/ocs_fc/ocs_utils.c
169
if (idx < array->count) {
sys/dev/ocs_fc/ocs_utils.c
189
return array->count;
sys/dev/ocs_fc/ocs_utils.c
2572
ocs_pool_alloc(ocs_os_handle_t os, uint32_t size, uint32_t count, uint32_t use_lock)
sys/dev/ocs_fc/ocs_utils.c
2588
pool->a = ocs_array_alloc(os, size + sizeof(pool_hdr_t), count);
sys/dev/ocs_fc/ocs_utils.c
2595
for (i = 0; i < count; i++) {
sys/dev/ocs_fc/ocs_utils.c
2619
uint32_t count = ocs_array_get_count(pool->a);
sys/dev/ocs_fc/ocs_utils.c
2638
for (i = 0; i < count; i++) {
sys/dev/ocs_fc/ocs_utils.c
2748
uint32_t count;
sys/dev/ocs_fc/ocs_utils.c
2752
count = ocs_array_get_count(pool->a);
sys/dev/ocs_fc/ocs_utils.c
2756
return count;
sys/dev/ocs_fc/ocs_utils.c
2792
uint32_t count = 0;
sys/dev/ocs_fc/ocs_utils.c
2800
count++;
sys/dev/ocs_fc/ocs_utils.c
2806
return count;
sys/dev/ocs_fc/ocs_utils.c
46
uint32_t count;
sys/dev/ocs_fc/ocs_utils.c
560
uint32_t count = MIN(ocs_array_get_count(array), cbuf->entry_count);
sys/dev/ocs_fc/ocs_utils.c
562
for (i = 0; i < count; i++) {
sys/dev/ocs_fc/ocs_utils.c
679
uint32_t count;
sys/dev/ocs_fc/ocs_utils.c
681
count = size / sizeof(uint32_t);
sys/dev/ocs_fc/ocs_utils.c
683
if (count == 0) {
sys/dev/ocs_fc/ocs_utils.c
690
for (i = 0; i < count; i++) {
sys/dev/ocs_fc/ocs_utils.c
86
ocs_array_alloc(ocs_os_handle_t os, uint32_t size, uint32_t count)
sys/dev/ocs_fc/ocs_utils.h
121
extern ocs_pool_t *ocs_pool_alloc(ocs_os_handle_t os, uint32_t size, uint32_t count, uint32_t use_lock);
sys/dev/ocs_fc/ocs_utils.h
44
extern ocs_array_t *ocs_array_alloc(ocs_os_handle_t os, uint32_t size, uint32_t count);
sys/dev/ocs_fc/sli4.c
2101
eq->count = SLI4_EQ_CNT_1024;
sys/dev/ocs_fc/sli4.c
2105
eq->count = SLI4_EQ_CNT_2048;
sys/dev/ocs_fc/sli4.c
2109
eq->count = SLI4_EQ_CNT_4096;
sys/dev/ocs_fc/sli4.h
1753
count:3,
sys/dev/ocs_fc/sli4.h
3612
uint32_t count = 0;
sys/dev/ocs_fc/sli4.h
3615
count = 1 << ocs_lg2(mask);
sys/dev/ocs_fc/sli4.h
3616
count *= 16;
sys/dev/ocs_fc/sli4.h
3618
count = mask;
sys/dev/ocs_fc/sli4.h
3621
return count;
sys/dev/ofw/ofw_bus_subr.c
1070
const char *cells_name, int *count)
sys/dev/ofw/ofw_bus_subr.c
1074
-1, NULL, count, NULL));
sys/dev/ofw/ofw_bus_subr.h
151
const char *cells_name, int *count);
sys/dev/ofw/ofw_cpu.c
414
int count, rv;
sys/dev/ofw/ofw_cpu.c
416
count = 0;
sys/dev/ofw/ofw_cpu.c
460
count++;
sys/dev/ofw/ofw_cpu.c
463
return (only_runnable ? count : id);
sys/dev/ofw/ofw_pcib.c
423
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/ofw/ofw_pcib.c
431
start, end, count, flags));
sys/dev/ofw/ofw_pcib.c
435
start, end, count, flags));
sys/dev/ofw/ofw_pcib.c
438
start, end, count, flags));
sys/dev/ofw/ofwbus.c
134
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/ofw/ofwbus.c
153
count = ummax(count, rle->count);
sys/dev/ofw/ofwbus.c
154
end = ummax(rle->end, start + count - 1);
sys/dev/ofw/ofwbus.c
159
count, flags);
sys/dev/ofw/ofwbus.c
167
rle->count = rle->end - rle->start + 1;
sys/dev/pccbb/pccbb.c
1003
} while (err != 0 && count-- > 0);
sys/dev/pccbb/pccbb.c
1177
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pccbb/pccbb.c
1187
if (start > tmp || end < tmp || count != 1) {
sys/dev/pccbb/pccbb.c
1190
start, end, count);
sys/dev/pccbb/pccbb.c
1201
if (count > (1 << RF_ALIGNMENT(flags)))
sys/dev/pccbb/pccbb.c
1203
rman_make_alignment_flags(count);
sys/dev/pccbb/pccbb.c
1210
if (count < CBB_MEMALIGN)
sys/dev/pccbb/pccbb.c
1213
align = count;
sys/dev/pccbb/pccbb.c
1220
start, end, count, flags & ~RF_ACTIVE);
sys/dev/pccbb/pccbb.c
1342
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pccbb/pccbb.c
1355
if (count < CBB_MEMALIGN)
sys/dev/pccbb/pccbb.c
1358
align = count;
sys/dev/pccbb/pccbb.c
1371
if (start > tmp || end < tmp || count != 1) {
sys/dev/pccbb/pccbb.c
1374
start, end, count);
sys/dev/pccbb/pccbb.c
1382
start, end, count, flags & ~RF_ACTIVE);
sys/dev/pccbb/pccbb.c
1479
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pccbb/pccbb.c
1485
start, end, count, flags));
sys/dev/pccbb/pccbb.c
1488
start, end, count, flags));
sys/dev/pccbb/pccbb.c
163
rman_res_t end, rman_res_t count, u_int flags);
sys/dev/pccbb/pccbb.c
910
int delay, count, zero_seen, func;
sys/dev/pccbb/pccbb.c
942
count = 1100 / 20;
sys/dev/pccbb/pccbb.c
946
0xfffffffful && --count >= 0);
sys/dev/pccbb/pccbb.c
947
if (count < 0)
sys/dev/pccbb/pccbb.c
987
int err, count;
sys/dev/pccbb/pccbb.c
992
count = 10;
sys/dev/pccbb/pccbb_pci.c
753
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pccbb/pccbb_pci.c
760
count, flags));
sys/dev/pccbb/pccbb_pci.c
761
return (cbb_alloc_resource(bus, child, type, rid, start, end, count,
sys/dev/pccbb/pccbbvar.h
113
int type, int rid, rman_res_t start, rman_res_t end, rman_res_t count,
sys/dev/pcf/pcf_isa.c
101
rman_res_t start, count;
sys/dev/pcf/pcf_isa.c
109
bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count);
sys/dev/pci/hostb_pci.c
102
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/hostb_pci.c
105
return (bus_alloc_resource(dev, type, rid, start, end, count, flags));
sys/dev/pci/isa_pci.c
169
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/isa_pci.c
176
end, count, flags);
sys/dev/pci/isa_pci.c
191
rid, start, end, count, flags);
sys/dev/pci/isa_pci.c
198
start, end, count, flags));
sys/dev/pci/isa_pci.c
56
rman_res_t count, u_int flags);
sys/dev/pci/pci.c
1050
int count = PCI_VPD_TIMEOUT;
sys/dev/pci/pci.c
1057
if (--count < 0)
sys/dev/pci/pci.c
1070
int count = PCI_VPD_TIMEOUT;
sys/dev/pci/pci.c
1077
if (--count < 0)
sys/dev/pci/pci.c
1829
pci_alloc_msix_method(device_t dev, device_t child, int *count)
sys/dev/pci/pci.c
1839
if (*count < 1)
sys/dev/pci/pci.c
1881
*count, msgnum);
sys/dev/pci/pci.c
1882
max = min(*count, msgnum);
sys/dev/pci/pci.c
1969
*count = actual;
sys/dev/pci/pci.c
2013
pci_remap_msix_method(device_t dev, device_t child, int count,
sys/dev/pci/pci.c
2027
if (count < 1 || count > PCI_MSIX_MSGNUM(msix->msix_ctrl))
sys/dev/pci/pci.c
2031
for (i = 0; i < count; i++)
sys/dev/pci/pci.c
2042
for (i = 0; i < count; i++)
sys/dev/pci/pci.c
2083
msix->msix_table = mallocarray(count, sizeof(struct msix_table_entry),
sys/dev/pci/pci.c
2085
for (i = 0; i < count; i++)
sys/dev/pci/pci.c
2087
msix->msix_table_len = count;
sys/dev/pci/pci.c
2110
for (i = 0; i < count; i++) {
sys/dev/pci/pci.c
2120
for (i = 0; i < count; i++) {
sys/dev/pci/pci.c
2627
pci_alloc_msi_method(device_t dev, device_t child, int *count)
sys/dev/pci/pci.c
2637
if (*count < 1)
sys/dev/pci/pci.c
2662
*count, msgnum);
sys/dev/pci/pci.c
2665
actual = min(*count, msgnum);
sys/dev/pci/pci.c
2742
*count = actual;
sys/dev/pci/pci.c
3362
pci_addr_t start, end, count;
sys/dev/pci/pci.c
3468
count = (pci_addr_t)1 << mapsize;
sys/dev/pci/pci.c
3477
end = base + count - 1;
sys/dev/pci/pci.c
3479
resource_list_add(rl, type, reg, start, end, count);
sys/dev/pci/pci.c
3487
res = resource_list_reserve(rl, bus, dev, type, reg, start, end, count,
sys/dev/pci/pci.c
3499
resource_list_add(rl, type, reg, 0, ~0, count);
sys/dev/pci/pci.c
3501
count, flags);
sys/dev/pci/pci.c
3820
rman_res_t start, end, count;
sys/dev/pci/pci.c
3888
count = end - start + 1;
sys/dev/pci/pci.c
3890
resource_list_add(rl, PCI_RES_BUS, 0, 0, ~0, count);
sys/dev/pci/pci.c
3902
start, end, count, 0);
sys/dev/pci/pci.c
3920
rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci.c
3948
resource_list_add(rl, PCI_RES_BUS, rid, start, end, count);
sys/dev/pci/pci.c
3951
start, end, count, flags & ~RF_ACTIVE);
sys/dev/pci/pci.c
3955
count, count == 1 ? "" : "es");
sys/dev/pci/pci.c
3960
"Lazy allocation of %ju bus%s at %ju\n", count,
sys/dev/pci/pci.c
3961
count == 1 ? "" : "es", rman_get_start(res));
sys/dev/pci/pci.c
3966
end, count, flags));
sys/dev/pci/pci.c
4026
pci_addr_t start, end, count;
sys/dev/pci/pci.c
4101
count = ea->eae_max_offset + 1;
sys/dev/pci/pci.c
4104
count = count * iov->iov_num_vfs;
sys/dev/pci/pci.c
4106
end = start + count - 1;
sys/dev/pci/pci.c
4107
if (count == 0)
sys/dev/pci/pci.c
4110
resource_list_add(rl, type, rid, start, end, count);
sys/dev/pci/pci.c
4111
res = resource_list_reserve(rl, bus, dev, type, rid, start, end, count,
sys/dev/pci/pci.c
5512
rman_res_t start, rman_res_t end, rman_res_t count, u_int num,
sys/dev/pci/pci.c
5585
count = ((pci_addr_t)1 << mapsize) * num;
sys/dev/pci/pci.c
5595
resource_list_add(rl, type, rid, start, end, count);
sys/dev/pci/pci.c
5597
count, flags & ~RF_ACTIVE);
sys/dev/pci/pci.c
5602
count, rid, type, start, end);
sys/dev/pci/pci.c
5608
count, rid, type, rman_get_start(res));
sys/dev/pci/pci.c
5626
rman_res_t start, rman_res_t end, rman_res_t count, u_long num,
sys/dev/pci/pci.c
5643
return (pci_alloc_secbus(dev, child, rid, start, end, count,
sys/dev/pci/pci.c
5680
type, rid, start, end, count, flags));
sys/dev/pci/pci.c
5687
count, num, flags);
sys/dev/pci/pci.c
5693
start, end, count, flags));
sys/dev/pci/pci.c
5698
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci.c
5706
type, rid, start, end, count, flags));
sys/dev/pci/pci.c
5717
start, end, count, flags));
sys/dev/pci/pci.c
5725
count, 1, flags));
sys/dev/pci/pci_dw.c
611
pci_dw_alloc_msi(device_t pci, device_t child, int count,
sys/dev/pci/pci_dw.c
622
return (intr_alloc_msi(pci, child, msi_parent, count, maxcount,
sys/dev/pci/pci_dw.c
627
pci_dw_release_msi(device_t pci, device_t child, int count, int *irqs)
sys/dev/pci/pci_dw.c
636
return (intr_release_msi(pci, child, msi_parent, count, irqs));
sys/dev/pci/pci_host_generic.c
513
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci_host_generic.c
523
count, flags);
sys/dev/pci/pci_host_generic.c
528
start, end, count, flags);
sys/dev/pci/pci_host_generic.c
532
end, count, flags);
sys/dev/pci/pci_host_generic.c
538
__func__, type, rid, start, end, count, flags);
sys/dev/pci/pci_host_generic_acpi.c
436
generic_pcie_acpi_alloc_msi(device_t pci, device_t child, int count,
sys/dev/pci/pci_host_generic_acpi.c
442
count, maxcount, irqs));
sys/dev/pci/pci_host_generic_acpi.c
449
generic_pcie_acpi_release_msi(device_t pci, device_t child, int count,
sys/dev/pci/pci_host_generic_acpi.c
455
count, irqs));
sys/dev/pci/pci_host_generic_fdt.c
297
generic_pcie_fdt_alloc_msi(device_t pci, device_t child, int count,
sys/dev/pci/pci_host_generic_fdt.c
308
return (intr_alloc_msi(pci, child, msi_parent, count, maxcount,
sys/dev/pci/pci_host_generic_fdt.c
316
generic_pcie_fdt_release_msi(device_t pci, device_t child, int count, int *irqs)
sys/dev/pci/pci_host_generic_fdt.c
326
return (intr_release_msi(pci, child, msi_parent, count, irqs));
sys/dev/pci/pci_iov.c
1048
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci_iov.c
1071
if (bar_start >= end || bar_end <= bar_start || count != 1)
sys/dev/pci/pci_pci.c
1216
int count, error, mem_rid, rid;
sys/dev/pci/pci_pci.c
1226
count = pci_msix_count(dev);
sys/dev/pci/pci_pci.c
1227
if (count == 1) {
sys/dev/pci/pci_pci.c
1235
error = pci_alloc_msix(dev, &count);
sys/dev/pci/pci_pci.c
1242
count = 1;
sys/dev/pci/pci_pci.c
1243
error = pci_alloc_msi(dev, &count);
sys/dev/pci/pci_pci.c
1683
rman_res_t count, u_int flags)
sys/dev/pci/pci_pci.c
1690
res = rman_reserve_resource(&w->rman, start, end, count,
sys/dev/pci/pci_pci.c
1716
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci_pci.c
1743
if (start + count > limit - 0x400)
sys/dev/pci/pci_pci.c
1750
if (end - count + 1 < 0x400)
sys/dev/pci/pci_pci.c
1753
if (end - count + 1 < base)
sys/dev/pci/pci_pci.c
1773
count = roundup2(count, (rman_res_t)1 << w->step);
sys/dev/pci/pci_pci.c
1775
res = bus_alloc_resource(sc->dev, type, &rid, start, end, count,
sys/dev/pci/pci_pci.c
1835
for (i = 0; i < w->count; i++) {
sys/dev/pci/pci_pci.c
1839
KASSERT(i != w->count, ("did not find existing resource"));
sys/dev/pci/pci_pci.c
1887
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci_pci.c
1901
if (sc->bridgectl & PCIB_BCR_ISA_ENABLE && count > 0x100 &&
sys/dev/pci/pci_pci.c
1906
if (start + count - 1 > end || start + count < start)
sys/dev/pci/pci_pci.c
1915
error = pcib_alloc_new_window(sc, w, type, start, end, count,
sys/dev/pci/pci_pci.c
1921
w->name, start, end, count);
sys/dev/pci/pci_pci.c
1953
w->name, start, end, count);
sys/dev/pci/pci_pci.c
1965
front = end_free - (count - 1);
sys/dev/pci/pci_pci.c
1993
back = start_free + count - 1;
sys/dev/pci/pci_pci.c
2054
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci_pci.c
2070
rid, start, end, count, flags));
sys/dev/pci/pci_pci.c
2078
count, flags));
sys/dev/pci/pci_pci.c
2080
if (pcib_is_isa_range(sc, start, end, count))
sys/dev/pci/pci_pci.c
2083
end, count, flags);
sys/dev/pci/pci_pci.c
2086
if (pcib_grow_window(sc, &sc->io, type, start, end, count,
sys/dev/pci/pci_pci.c
2089
rid, start, end, count, flags);
sys/dev/pci/pci_pci.c
2102
rid, start, end, count, flags);
sys/dev/pci/pci_pci.c
2107
start, end, count, flags);
sys/dev/pci/pci_pci.c
2112
count, flags) == 0) {
sys/dev/pci/pci_pci.c
2114
type, rid, start, end, count, flags);
sys/dev/pci/pci_pci.c
2119
if (pcib_grow_window(sc, &sc->mem, type, start, end, count,
sys/dev/pci/pci_pci.c
2122
rid, start, end, count, flags);
sys/dev/pci/pci_pci.c
2126
start, end, count, flags));
sys/dev/pci/pci_pci.c
2135
start, end, count, flags));
sys/dev/pci/pci_pci.c
2276
for (int i = 0; i < w->count; i++) {
sys/dev/pci/pci_pci.c
249
rman_res_t count)
sys/dev/pci/pci_pci.c
2517
pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs)
sys/dev/pci/pci_pci.c
2525
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/dev/pci/pci_pci.c
2531
pcib_release_msi(device_t pcib, device_t dev, int count, int *irqs)
sys/dev/pci/pci_pci.c
2536
return (PCIB_RELEASE_MSI(device_get_parent(bus), dev, count, irqs));
sys/dev/pci/pci_pci.c
257
if (start + count - 1 != end)
sys/dev/pci/pci_pci.c
290
int count)
sys/dev/pci/pci_pci.c
295
newarray = malloc(sizeof(struct resource *) * (w->count + count),
sys/dev/pci/pci_pci.c
298
bcopy(w->res, newarray, sizeof(struct resource *) * w->count);
sys/dev/pci/pci_pci.c
299
bcopy(res, newarray + w->count, sizeof(struct resource *) * count);
sys/dev/pci/pci_pci.c
302
w->count += count;
sys/dev/pci/pci_pci.c
304
for (i = 0; i < count; i++) {
sys/dev/pci/pci_pci.c
357
int count, error;
sys/dev/pci/pci_pci.c
376
as->res[as->count] = bus_alloc_resource(as->sc->dev, SYS_RES_IOPORT,
sys/dev/pci/pci_pci.c
378
if (as->res[as->count] == NULL)
sys/dev/pci/pci_pci.c
381
as->count++;
sys/dev/pci/pci_pci.c
398
as.count = 0;
sys/dev/pci/pci_pci.c
402
for (i = 0; i < as.count; i++)
sys/dev/pci/pci_pci.c
408
KASSERT(as.count == new_count, ("%s: count mismatch", __func__));
sys/dev/pci/pci_pci.c
411
pcib_add_window_resources(&sc->io, as.res, as.count);
sys/dev/pci/pci_pci.c
605
for (i = 0; i < w->count; i++) {
sys/dev/pci/pci_pci.c
717
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci_pci.c
721
res = rman_reserve_resource(&bus->rman, start, end, count, flags,
sys/dev/pci/pci_pci.c
767
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci_pci.c
776
res = pcib_suballoc_bus(bus, child, rid, start, end, count, flags);
sys/dev/pci/pci_pci.c
790
new_end = start_free + count - 1;
sys/dev/pci/pci_pci.c
802
"attempting to grow bus range for %ju buses\n", count);
sys/dev/pci/pci_pci.c
807
return (pcib_suballoc_bus(bus, child, rid, start, end, count,
sys/dev/pci/pci_private.h
151
rman_res_t count, u_int num, u_int flags);
sys/dev/pci/pci_private.h
155
rman_res_t count, u_long num, u_int flags);
sys/dev/pci/pci_private.h
159
rman_res_t count, u_int flags);
sys/dev/pci/pci_subr.c
203
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci_subr.c
220
start, end, count, flags));
sys/dev/pci/pci_subr.c
234
new_start + count - 1 > new_end ||
sys/dev/pci/pci_subr.c
235
new_start + count < new_start)
sys/dev/pci/pci_subr.c
238
new_start, new_end, count, flags);
sys/dev/pci/pci_subr.c
331
rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/pci_subr.c
339
res = rman_reserve_resource(&d->pd_bus_rman, start, end, count, flags,
sys/dev/pci/pcib_private.h
142
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags);
sys/dev/pci/pcib_private.h
152
int rid, rman_res_t start, rman_res_t end, rman_res_t count,
sys/dev/pci/pcib_private.h
168
int pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs);
sys/dev/pci/pcib_private.h
169
int pcib_release_msi(device_t pcib, device_t dev, int count, int *irqs);
sys/dev/pci/pcib_private.h
56
rman_res_t end, rman_res_t count, u_int flags);
sys/dev/pci/pcib_private.h
76
int count; /* size of 'res' array */
sys/dev/pci/pcivar.h
585
pci_alloc_msi(device_t dev, int *count)
sys/dev/pci/pcivar.h
587
return (PCI_ALLOC_MSI(device_get_parent(dev), dev, count));
sys/dev/pci/pcivar.h
591
pci_alloc_msix(device_t dev, int *count)
sys/dev/pci/pcivar.h
593
return (PCI_ALLOC_MSIX(device_get_parent(dev), dev, count));
sys/dev/pci/pcivar.h
615
pci_remap_msix(device_t dev, int count, const u_int *vectors)
sys/dev/pci/pcivar.h
617
return (PCI_REMAP_MSIX(device_get_parent(dev), dev, count, vectors));
sys/dev/pci/vga_pci.c
426
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/pci/vga_pci.c
442
end, count, flags);
sys/dev/pci/vga_pci.c
447
return (bus_alloc_resource(dev, type, rid, start, end, count, flags));
sys/dev/pci/vga_pci.c
626
vga_pci_alloc_msi(device_t dev, device_t child, int *count)
sys/dev/pci/vga_pci.c
634
error = pci_alloc_msi(dev, count);
sys/dev/pci/vga_pci.c
641
vga_pci_alloc_msix(device_t dev, device_t child, int *count)
sys/dev/pci/vga_pci.c
649
error = pci_alloc_msix(dev, count);
sys/dev/pci/vga_pci.c
656
vga_pci_remap_msix(device_t dev, device_t child, int count,
sys/dev/pci/vga_pci.c
664
return (pci_remap_msix(dev, count, vectors));
sys/dev/pci/vga_pci.c
70
int type, int rid, rman_res_t start, rman_res_t end, rman_res_t count,
sys/dev/pms/RefTisa/discovery/api/dm.h
135
bit32 count;
sys/dev/pms/RefTisa/discovery/dm/dminit.c
165
memoryRequirement->count = memoryReqCount;
sys/dev/pms/RefTisa/discovery/dm/dminit.c
207
DM_DBG3(("dmGetRequirements: memoryReqCount %d\n", memoryRequirement->count));
sys/dev/pms/RefTisa/discovery/dm/dminit.c
246
DM_ASSERT((DM_ROOT_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/discovery/dm/dminit.c
247
DM_ASSERT((DM_PORT_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/discovery/dm/dminit.c
248
DM_ASSERT((DM_DEVICE_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/discovery/dm/dminit.c
249
DM_ASSERT((DM_EXPANDER_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/discovery/dm/dminit.c
250
DM_ASSERT((DM_SMP_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/discovery/dm/dminit.c
251
DM_ASSERT((DM_INDIRECT_SMP_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/discovery/dm/dminit.c
254
for ( i = 0; i < memoryAllocated->count; i ++ )
sys/dev/pms/RefTisa/discovery/dm/dmmisc.c
57
*dm_memcpy(void *dst, void *src, bit32 count)
sys/dev/pms/RefTisa/discovery/dm/dmmisc.c
63
for (x=0; x < count; x++)
sys/dev/pms/RefTisa/discovery/dm/dmproto.h
34
*dm_memcpy(void *dst, void *src, bit32 count);
sys/dev/pms/RefTisa/sallsdk/api/sa.h
2534
bit32 count; /**< The number of memory chunks used
sys/dev/pms/RefTisa/sallsdk/api/saapi.h
48
bit32 count
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
100
memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
101
SA_DBG2(("mpiRequirementsGet:numInboundQueues region[%d] 0x%X\n",memoryMap->count,memoryMap->region[memoryMap->count].totalLength ));
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
102
memoryMap->count++;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
105
memoryMap->region[memoryMap->count].numElements = 1;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
106
memoryMap->region[memoryMap->count].elementSize = sizeof(bit32) * config->numOutboundQueues;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
107
memoryMap->region[memoryMap->count].totalLength = sizeof(bit32) * config->numOutboundQueues;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
108
memoryMap->region[memoryMap->count].alignment = 4;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
109
memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
110
SA_DBG2(("mpiRequirementsGet:numOutboundQueues region[%d] 0x%X\n",memoryMap->count,memoryMap->region[memoryMap->count].totalLength ));
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
111
memoryMap->count++;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
130
memoryMap->region[memoryMap->count].numElements = 1;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
131
memoryMap->region[memoryMap->count].elementSize = memSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
132
memoryMap->region[memoryMap->count].totalLength = memSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
133
memoryMap->region[memoryMap->count].alignment = 128;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
134
memoryMap->region[memoryMap->count].type = AGSA_CACHED_DMA_MEM;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
138
memoryMap->region[memoryMap->count].elementSize += memSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
139
memoryMap->region[memoryMap->count].totalLength += memSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
148
memoryMap->count, memoryMap->region[memoryMap->count].elementSize));
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
150
memoryMap->count, memoryMap->region[memoryMap->count].numElements));
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
152
memoryMap->count++;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
175
memoryMap->region[memoryMap->count].numElements = 1;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
176
memoryMap->region[memoryMap->count].elementSize = memSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
177
memoryMap->region[memoryMap->count].totalLength = memSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
178
memoryMap->region[memoryMap->count].alignment = 128;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
179
memoryMap->region[memoryMap->count].type = AGSA_CACHED_DMA_MEM;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
183
memoryMap->region[memoryMap->count].elementSize += memSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
184
memoryMap->region[memoryMap->count].totalLength += memSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
193
memoryMap->count, memoryMap->region[memoryMap->count].elementSize));
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
195
memoryMap->count, memoryMap->region[memoryMap->count].numElements));
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
198
memoryMap->count++;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
74
memoryMap->count = 0;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
77
memoryMap->region[memoryMap->count].numElements = 1;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
78
memoryMap->region[memoryMap->count].elementSize = sizeof(bit8) * config->mainConfig.eventLogSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
79
memoryMap->region[memoryMap->count].totalLength = sizeof(bit8) * config->mainConfig.eventLogSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
80
memoryMap->region[memoryMap->count].alignment = 32;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
81
memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
82
SA_DBG2(("mpiRequirementsGet:eventLogSize region[%d] 0x%X\n",memoryMap->count,memoryMap->region[memoryMap->count].totalLength ));
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
83
memoryMap->count++;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
85
SA_DBG2(("mpiRequirementsGet:eventLogSize region[%d] 0x%X\n",memoryMap->count,memoryMap->region[memoryMap->count].totalLength ));
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
87
memoryMap->region[memoryMap->count].numElements = 1;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
88
memoryMap->region[memoryMap->count].elementSize = sizeof(bit8) * config->mainConfig.IOPeventLogSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
89
memoryMap->region[memoryMap->count].totalLength = sizeof(bit8) * config->mainConfig.IOPeventLogSize;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
90
memoryMap->region[memoryMap->count].alignment = 32;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
91
memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
92
SA_DBG2(("mpiRequirementsGet:IOPeventLogSize region[%d] 0x%X\n",memoryMap->count,memoryMap->region[memoryMap->count].totalLength ));
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
93
memoryMap->count++;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
96
memoryMap->region[memoryMap->count].numElements = 1;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
97
memoryMap->region[memoryMap->count].elementSize = sizeof(bit32) * config->numInboundQueues;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
98
memoryMap->region[memoryMap->count].totalLength = sizeof(bit32) * config->numInboundQueues;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.c
99
memoryMap->region[memoryMap->count].alignment = 4;
sys/dev/pms/RefTisa/sallsdk/spc/mpi.h
136
bit32 count; /**< The number of element in the mpiMemory array */
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
142
bit32 count;
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
154
for (count = 0; count < 10; count++)
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
156
saRoot->traceBuffLookup[count] = (bit8)('0' + count);
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
158
for (count = 0; count < 6; count++)
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
160
saRoot->traceBuffLookup[(bitptr)count + 10] = (bit8)('a' + count);
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
194
for (count = 0; count < saRoot->TraceBufferLength; count++)
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
196
saRoot->TraceBuffer[count] = (bit8)' ';
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
415
bit32 count;
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
419
for ( count = 0; count < saRoot->TraceBufferLength; count++ )
sys/dev/pms/RefTisa/sallsdk/spc/mpidebug.c
421
saRoot->TraceBuffer[count] = (bit8)' ';
sys/dev/pms/RefTisa/sallsdk/spc/sahw.c
1943
for(i=0,biggest = 0,save = 0; i < saRoot->memoryAllocated.count; i++)
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
1945
if (memoryAllocated->count == TOTAL_MPI_MEM_CHUNKS)
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
224
for ( i = 0; i < mpiMemoryRequirement.count; i ++ )
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
262
memoryRequirement->count = memoryReqCount;
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
335
SA_ASSERT((LLROOT_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
336
SA_ASSERT((DEVICELINK_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
337
SA_ASSERT((IOREQLINK_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
338
SA_ASSERT((TIMERLINK_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
365
for ( i = 0; i < memoryAllocated->count; i ++ )
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
997
mpiMemoryAllocated.count = memoryAllocated->count - MPI_MEM_INDEX;
sys/dev/pms/RefTisa/sallsdk/spc/sainit.c
998
for ( i = 0; i < mpiMemoryAllocated.count; i ++ )
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
1142
bit32 count,
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
1236
while(count > processedMsgCount);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
1476
bit32 count = 0;
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
1499
count = *(bit32 *)((bit8 *)pRespIU + param + padCount);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
1508
count);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
2376
bit32 count = 0;
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
2386
for (count = 0; count < pIomb->coalescedCount; count++)
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
2388
tag = pIomb->sspComplCxt[count].tag;
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
2389
sspTag = pIomb->sspComplCxt[count].SSPTag;
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
2443
bit32 count;
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
2455
for (count = 0; count < pIomb->coalescedCount; count++)
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
2457
tag = pIomb->stpComplCxt[count].tag;
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
72
bit32 count,
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
774
bit32 count
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
792
smTrace(hpDBG_VERY_LOUD,"Vc",count);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
851
return siProcessOBMsg(agRoot, count, interruptVectorIndex);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
864
processedMsgCount += siProcessOBMsg(agRoot, count, i);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
869
processedMsgCount += siProcessOBMsg(agRoot, count, i);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
875
processedMsgCount += siProcessOBMsg(agRoot, count, i);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
885
processedMsgCount += siProcessOBMsg(agRoot, count, i);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
892
processedMsgCount += siProcessOBMsg(agRoot, count, i);
sys/dev/pms/RefTisa/sallsdk/spc/saint.c
898
processedMsgCount += siProcessOBMsg(agRoot, count, i);
sys/dev/pms/RefTisa/sallsdk/spc/samacro.h
237
#define MPI_DEBUG_TRACE( queue, pici, ib,iomb,count) \
sys/dev/pms/RefTisa/sallsdk/spc/samacro.h
239
mpiTraceAdd( (queue), (pici),(ib), (iomb), (count)); \
sys/dev/pms/RefTisa/sallsdk/spc/samacro.h
242
#define MPI_DEBUG_TRACE( queue, pici, ib,iomb,count)
sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c
134
bit32 count;
sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c
146
for (count = 0; count < pIomb->coalescedCount; count++)
sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c
148
tag = pIomb->stpComplCxt[count].tag;
sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c
84
bit32 count = 0;
sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c
94
for (count = 0; count < pIomb->coalescedCount; count++)
sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c
96
tag = pIomb->sspComplCxt[count].tag;
sys/dev/pms/RefTisa/sallsdk/spc/sampirsp.c
97
sspTag = pIomb->sspComplCxt[count].SSPTag;
sys/dev/pms/RefTisa/sallsdk/spc/saphy.c
433
bit32 count = 100;
sys/dev/pms/RefTisa/sallsdk/spc/saphy.c
605
if(--count == 0)
sys/dev/pms/RefTisa/sallsdk/spc/saphy.c
753
if(--count == 0)
sys/dev/pms/RefTisa/sallsdk/spc/saproto.h
243
GLOBAL FORCEINLINE void* si_memcpy(void *dst, void *src, bit32 count);
sys/dev/pms/RefTisa/sallsdk/spc/saproto.h
248
bit32 count);
sys/dev/pms/RefTisa/sallsdk/spc/sautil.c
131
bit32 count)
sys/dev/pms/RefTisa/sallsdk/spc/sautil.c
178
for ( j = 0; j < count; j ++ )
sys/dev/pms/RefTisa/sallsdk/spc/sautil.c
195
if(count)
sys/dev/pms/RefTisa/sallsdk/spc/sautil.c
75
si_memcpy(void *dst, void *src, bit32 count)
sys/dev/pms/RefTisa/sallsdk/spc/sautil.c
87
return memcpy(dst, src, count);
sys/dev/pms/RefTisa/sat/api/sm.h
179
bit32 count;
sys/dev/pms/RefTisa/sat/src/sminit.c
140
memoryRequirement->count = memoryReqCount;
sys/dev/pms/RefTisa/sat/src/sminit.c
188
SM_ASSERT((SM_ROOT_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/sat/src/sminit.c
189
SM_ASSERT((SM_DEVICE_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/sat/src/sminit.c
190
SM_ASSERT((SM_IO_MEM_INDEX < memoryAllocated->count), "");
sys/dev/pms/RefTisa/sat/src/sminit.c
193
for ( i = 0; i < memoryAllocated->count; i ++ )
sys/dev/pms/RefTisa/sat/src/sminit.c
213
for ( i = 0; i < memoryAllocated->count; i ++ )
sys/dev/pms/RefTisa/sat/src/smmisc.c
59
sm_memcpy(void *dst, const void *src, bit32 count)
sys/dev/pms/RefTisa/sat/src/smmisc.c
71
return memcpy(dst, src, count);
sys/dev/pms/RefTisa/sat/src/smproto.h
33
sm_memcpy(void *dst, const void *src, bit32 count);
sys/dev/pms/RefTisa/tisa/api/tiapi.h
117
bit32 count,
sys/dev/pms/RefTisa/tisa/api/tiapi.h
130
bit32 count,
sys/dev/pms/RefTisa/tisa/api/titypes.h
352
bit32 count;
sys/dev/pms/RefTisa/tisa/api/titypes.h
442
bit32 count,
sys/dev/pms/RefTisa/tisa/api/titypes.h
451
bit32 count;
sys/dev/pms/RefTisa/tisa/api/titypes.h
81
bit32 count;
sys/dev/pms/RefTisa/tisa/sassata/common/tddefs.h
96
#define AG_ALIGNSIZE(count, alignment) (bit32) ( (bitptr)(count)+(bitptr)(alignment) )
sys/dev/pms/RefTisa/tisa/sassata/common/tdesgl.c
158
pEsglAllInfo->physAddrUpper = tdsaAllShared->loResource.loLevelMem.mem[memRequirement.count].physAddrUpper;
sys/dev/pms/RefTisa/tisa/sassata/common/tdesgl.c
159
pEsglAllInfo->physAddrLower = tdsaAllShared->loResource.loLevelMem.mem[memRequirement.count].physAddrLower;
sys/dev/pms/RefTisa/tisa/sassata/common/tdesgl.c
160
pEsglAllInfo->virtPtr = tdsaAllShared->loResource.loLevelMem.mem[memRequirement.count].virtPtr;
sys/dev/pms/RefTisa/tisa/sassata/common/tdesgl.c
161
pEsglAllInfo->NumEsglPages = tdsaAllShared->loResource.loLevelMem.mem[memRequirement.count].numElements; /* NUM_ESGL_PAGES; number of esgl pages; configurable */
sys/dev/pms/RefTisa/tisa/sassata/common/tdesgl.c
162
pEsglAllInfo->EsglPageSize = tdsaAllShared->loResource.loLevelMem.mem[memRequirement.count].singleElementLength; /* sizeof(agsaEsgl_t) */
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2096
TI_DBG1(("tdsaLoLevelGetResource:memRequirement.count %d\n", memRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2098
for (i=0;i< memRequirement.count;i++)
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2125
TI_DBG1(("tdsaLoLevelGetResource:dmMemRequirement.count %d\n", dmMemRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2127
for (i=memRequirement.count;i< (memRequirement.count + dmMemRequirement.count);i++)
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2130
loResource->loLevelMem.mem[i].numElements = dmMemRequirement.dmMemory[i-memRequirement.count].numElements;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2131
loResource->loLevelMem.mem[i].totalLength = dmMemRequirement.dmMemory[i-memRequirement.count].totalLength;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2132
loResource->loLevelMem.mem[i].singleElementLength = dmMemRequirement.dmMemory[i-memRequirement.count].singleElementLength;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2133
loResource->loLevelMem.mem[i].alignment = dmMemRequirement.dmMemory[i-memRequirement.count].alignment;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2135
if ( AGSA_DMA_MEM == dmMemRequirement.dmMemory[i-memRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2141
else if ( AGSA_CACHED_MEM == dmMemRequirement.dmMemory[i-memRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2146
else if ( AGSA_CACHED_DMA_MEM == dmMemRequirement.dmMemory[i-memRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2154
TI_DBG1(("tdsaLoLevelGetResource:smMemRequirement.count %d\n", smMemRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2156
for (i=(memRequirement.count + dmMemRequirement.count);i< (memRequirement.count + dmMemRequirement.count + smMemRequirement.count);i++)
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2159
loResource->loLevelMem.mem[i].numElements = smMemRequirement.smMemory[i-memRequirement.count-dmMemRequirement.count].numElements;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2160
loResource->loLevelMem.mem[i].totalLength = smMemRequirement.smMemory[i-memRequirement.count-dmMemRequirement.count].totalLength;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2161
loResource->loLevelMem.mem[i].singleElementLength = smMemRequirement.smMemory[i-memRequirement.count-dmMemRequirement.count].singleElementLength;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2162
loResource->loLevelMem.mem[i].alignment = smMemRequirement.smMemory[i-memRequirement.count-dmMemRequirement.count].alignment;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2164
if ( AGSA_DMA_MEM == smMemRequirement.smMemory[i-memRequirement.count-dmMemRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2170
else if ( AGSA_CACHED_MEM == smMemRequirement.smMemory[i-memRequirement.count-dmMemRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2175
else if ( AGSA_CACHED_DMA_MEM == smMemRequirement.smMemory[i-memRequirement.count-dmMemRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2187
loResource->loLevelMem.count = memRequirement.count + dmMemRequirement.count + smMemRequirement.count;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2197
TI_DBG6(("tdsaLoLevelGetResource: total memRequirement count %d TI_DMA_MEM\n", loResource->loLevelMem.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2215
TI_DBG1(("tdsaLoLevelGetResource:memRequirement.count %d\n", memRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2217
for (i=0;i< memRequirement.count;i++)
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2243
TI_DBG1(("tdsaLoLevelGetResource:dmMemRequirement.count %d\n", dmMemRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2245
for (i=memRequirement.count;i< (memRequirement.count + dmMemRequirement.count);i++)
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2248
loResource->loLevelMem.mem[i].numElements = dmMemRequirement.dmMemory[i-memRequirement.count].numElements;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2249
loResource->loLevelMem.mem[i].totalLength = dmMemRequirement.dmMemory[i-memRequirement.count].totalLength;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2250
loResource->loLevelMem.mem[i].singleElementLength = dmMemRequirement.dmMemory[i-memRequirement.count].singleElementLength;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2251
loResource->loLevelMem.mem[i].alignment = dmMemRequirement.dmMemory[i-memRequirement.count].alignment;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2253
if ( AGSA_DMA_MEM == dmMemRequirement.dmMemory[i-memRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2259
else if ( AGSA_CACHED_MEM == dmMemRequirement.dmMemory[i-memRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2264
else if ( AGSA_CACHED_DMA_MEM == dmMemRequirement.dmMemory[i-memRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2278
loResource->loLevelMem.count = memRequirement.count + dmMemRequirement.count;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2288
TI_DBG6(("tdsaLoLevelGetResource: total memRequirement count %d TI_DMA_MEM\n", loResource->loLevelMem.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2306
TI_DBG1(("tdsaLoLevelGetResource:memRequirement.count %d\n", memRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2308
for (i=0;i< memRequirement.count;i++)
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2334
TI_DBG1(("tdsaLoLevelGetResource:smMemRequirement.count %d\n", smMemRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2336
for (i=memRequirement.count;i< (memRequirement.count + smMemRequirement.count);i++)
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2339
loResource->loLevelMem.mem[i].numElements = smMemRequirement.smMemory[i-memRequirement.count].numElements;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2340
loResource->loLevelMem.mem[i].totalLength = smMemRequirement.smMemory[i-memRequirement.count].totalLength;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2341
loResource->loLevelMem.mem[i].singleElementLength = smMemRequirement.smMemory[i-memRequirement.count].singleElementLength;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2342
loResource->loLevelMem.mem[i].alignment = smMemRequirement.smMemory[i-memRequirement.count].alignment;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2344
if ( AGSA_DMA_MEM == smMemRequirement.smMemory[i-memRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2350
else if ( AGSA_CACHED_MEM == smMemRequirement.smMemory[i-memRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2355
else if ( AGSA_CACHED_DMA_MEM == smMemRequirement.smMemory[i-memRequirement.count].type )
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2369
loResource->loLevelMem.count = memRequirement.count + smMemRequirement.count;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2379
TI_DBG6(("tdsaLoLevelGetResource: total memRequirement count %d TI_DMA_MEM\n", loResource->loLevelMem.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2399
for (i=0;i< memRequirement.count;i++)
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2432
loResource->loLevelMem.count = memRequirement.count;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2441
TI_DBG6(("tdsaLoLevelGetResource: index %d numElements %d totalLength %d singleElementLength %d alignment %d\n",memRequirement.count, loResource->loLevelMem.mem[memRequirement.count].numElements,loResource->loLevelMem.mem[memRequirement.count].totalLength, loResource->loLevelMem.mem[memRequirement.count].singleElementLength,loResource->loLevelMem.mem[memRequirement.count].alignment ));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
2442
TI_DBG6(("tdsaLoLevelGetResource: memRequirement.count %d TI_DMA_MEM\n", memRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
799
memRequirement.count = 0;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
834
dmMemRequirement.count = 0;
sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c
843
smMemRequirement.count = 0;
sys/dev/pms/RefTisa/tisa/sassata/common/tdint.c
146
bit32 count,
sys/dev/pms/RefTisa/tisa/sassata/common/tdint.c
166
completed = saDelayedInterruptHandler(agRoot, channelNum, count);
sys/dev/pms/RefTisa/tisa/sassata/common/tdioctl.c
3647
bit32 count = 0;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4082
TI_DBG1(("tiCOMPortInit: LL memRequirement.count %d\n", memRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4083
TI_DBG1(("tiCOMPortInit: loResource->loLevelMem.count %d\n", loResource->loLevelMem.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4084
LLMemCount = memRequirement.count;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4097
TI_DBG1(("tiCOMPortInit: DM dmmemRequirement.count %d\n", dmMemRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4098
TI_DBG1(("tiCOMPortInit: loResource->loLevelMem.count %d\n", loResource->loLevelMem.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4100
DMMemCount = dmMemRequirement.count;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4101
SMMemCount = loResource->loLevelMem.count - LLMemCount - DMMemCount;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4102
agMemoryRequirement.count = LLMemCount;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4120
TI_DBG1(("tiCOMPortInit: memRequirement.count %d\n", memRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4121
TI_DBG1(("tiCOMPortInit: loResource->loLevelMem.count %d\n", loResource->loLevelMem.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4123
LLMemCount = memRequirement.count;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4124
DMMemCount = loResource->loLevelMem.count - LLMemCount;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4126
agMemoryRequirement.count = LLMemCount;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4138
TI_DBG1(("tiCOMPortInit: memRequirement.count %d\n", memRequirement.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4139
TI_DBG1(("tiCOMPortInit: loResource->loLevelMem.count %d\n", loResource->loLevelMem.count));
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4141
LLMemCount = memRequirement.count;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4142
SMMemCount = loResource->loLevelMem.count - LLMemCount;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4144
agMemoryRequirement.count = LLMemCount;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4148
agMemoryRequirement.count = loResource->loLevelMem.count;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4177
for(i=0;i<(int)agMemoryRequirement.count;i++)
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4401
dmMemRequirement.count = DMMemCount;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4446
smMemRequirement.count = SMMemCount;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4491
dmMemRequirement.count = DMMemCount;
sys/dev/pms/RefTisa/tisa/sassata/common/tdport.c
4527
smMemRequirement.count = SMMemCount;
sys/dev/pms/RefTisa/tisa/sassata/sas/ini/itdinit.c
105
iniMem->count = 1; /* Only 1 memory descriptors are used */
sys/dev/pms/RefTisa/tisa/sassata/sas/ini/itdinit.c
142
for (i = iniMem->count; i < 6; i++)
sys/dev/pms/RefTisa/tisa/sassata/sas/ini/itdio.c
1671
bit32 count
sys/dev/pms/RefTisa/tisa/sassata/sas/ini/itdio.c
1714
tiStatus = saIntCoalesceInit(agRoot, agIntCoalCxt, count);
sys/dev/pms/RefTisa/tisa/sassata/sas/tgt/ttdinit.c
326
tgtMem->count = 4;
sys/dev/pms/freebsd/driver/common/lxutil.c
208
if (pRscInfo->tiLoLevelResource.loLevelMem.count != 0) {
sys/dev/pms/freebsd/driver/common/lxutil.c
218
for( numVal = 0; numVal < pRscInfo->tiLoLevelResource.loLevelMem.count;
sys/dev/pms/freebsd/driver/common/lxutil.c
325
if ( pRscInfo->tiInitiatorResource.initiatorMem.count != 0 ) {
sys/dev/pms/freebsd/driver/common/lxutil.c
339
numVal < pRscInfo->tiInitiatorResource.initiatorMem.count;
sys/dev/pms/freebsd/driver/common/lxutil.c
501
if (pRscInfo->tiLoLevelResource.loLevelMem.count != 0) {
sys/dev/pms/freebsd/driver/common/lxutil.c
502
for( numVal = 0; numVal < pRscInfo->tiLoLevelResource.loLevelMem.count;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
1206
U32 count;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
1249
for (count = 0; count < pmsc->portCount; count++)
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
301
bit32 count, total;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
326
count = tiINIGetDeviceHandlesForWinIOCTL(&pCard->tiRoot,
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
329
if (count == DISCOVERY_IN_PROGRESS)
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
338
total += count;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
339
pDeviceHandleList+= count*sizeof(tiDeviceHandle_t *);
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
340
MaxDeviceCount-= count;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
347
count = 0;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
357
pDeviceInfo = (tdDeviceInfoIOCTL_t*)(pDeviceInfoOrg + sizeof(tdDeviceInfoIOCTL_t) * count);
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
412
count++;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
415
pIoctlPayload->realDeviceCount = count;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
416
AGTIAPI_PRINTK( "agtiapi_getdevlist: Exit RealDeviceCount = %d\n", count );
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
4855
U32 count;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
4862
for (count = 0; count < pCard->portCount; count++, pPortalData++)
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
4874
pPortalData, count );
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
4905
for (count = 0; count < pCard->portCount; count++, pPortalData++)
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
4925
count );
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
4937
for (count = 0; count < pCard->portCount; count++, pPortalData++)
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
6040
U32 count, loop;
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
6149
for( count = 0; count < pCard->portCount; count++ ) {
sys/dev/ppbus/if_plip.c
683
int count = 0;
sys/dev/ppbus/if_plip.c
712
count += 14; /* Ethernet header len */
sys/dev/ppbus/if_plip.c
716
count += mm->m_len;
sys/dev/ppbus/if_plip.c
718
if (clpoutbyte(count & 0xFF, LPMAXSPIN1, ppbus))
sys/dev/ppbus/if_plip.c
720
if (clpoutbyte((count >> 8) & 0xFF, LPMAXSPIN1, ppbus))
sys/dev/ppc/ppc.c
1968
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/ppc/ppcvar.h
44
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags);
sys/dev/proto/proto_bus_isa.c
100
return (count);
sys/dev/proto/proto_bus_isa.c
87
int count, rid;
sys/dev/proto/proto_bus_isa.c
90
count = 0;
sys/dev/proto/proto_bus_isa.c
96
count++;
sys/dev/proto/proto_bus_isa.c
98
if (type == SYS_RES_DRQ && count > 0)
sys/dev/pst/pst-iop.c
264
msg->sgl[0].count = sizeof(reply);
sys/dev/pst/pst-iop.c
267
msg->sgl[1].count = 1;
sys/dev/pst/pst-iop.c
316
msg->sgl.count = ALLOCSIZE;
sys/dev/pst/pst-iop.c
368
msg->sgl[0].count = sizeof(struct i2o_get_param_operation);
sys/dev/pst/pst-iop.c
372
msg->sgl[1].count = PAGE_SIZE;
sys/dev/pst/pst-iop.c
466
iop_create_sgl(struct i2o_basic_message *msg, caddr_t data, int count, int dir)
sys/dev/pst/pst-iop.c
472
if (((uintptr_t)data & 3) || (count & 3)) {
sys/dev/pst/pst-iop.c
476
if (!count) {
sys/dev/pst/pst-iop.c
481
sgl_count = min(count, (PAGE_SIZE - ((uintptr_t)data & PAGE_MASK)));
sys/dev/pst/pst-iop.c
484
sgl->count = count;
sys/dev/pst/pst-iop.c
486
count -= sgl_count;
sys/dev/pst/pst-iop.c
488
while (count) {
sys/dev/pst/pst-iop.c
491
data += min(count, PAGE_SIZE);
sys/dev/pst/pst-iop.c
492
count -= min(count, PAGE_SIZE);
sys/dev/pst/pst-iop.h
91
u_int32_t count:24;
sys/dev/puc/puc.c
473
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/puc/puc_pci.c
132
int error, count;
sys/dev/puc/puc_pci.c
137
count = 1;
sys/dev/puc/puc_pci.c
139
if (pci_alloc_msi(dev, &count) == 0) {
sys/dev/qat/qat_api/common/compression/dc_header_footer.c
144
*count = DC_ZLIB_HEADER_SIZE;
sys/dev/qat/qat_api/common/compression/dc_header_footer.c
149
*count = 0;
sys/dev/qat/qat_api/common/compression/dc_header_footer.c
153
*count = 0;
sys/dev/qat/qat_api/common/compression/dc_header_footer.c
35
Cpa32U *count)
sys/dev/qat/qat_api/common/compression/dc_header_footer.c
42
LAC_CHECK_NULL_PARAM(count);
sys/dev/qat/qat_api/common/compression/dc_header_footer.c
91
*count = DC_GZIP_HEADER_SIZE;
sys/dev/qat/qat_api/common/compression/dc_ns_header_footer.c
33
Cpa32U *count)
sys/dev/qat/qat_api/common/include/lac_common.h
340
#define LAC_OS_BZERO(pBuffer, count) memset(pBuffer, 0, count);
sys/dev/qat/qat_api/common/utils/lac_mem_pools.c
298
Cpa32U count = 0;
sys/dev/qat/qat_api/common/utils/lac_mem_pools.c
310
for (count = 0; count < pPoolID->numElementsInPool; count++) {
sys/dev/qat/qat_api/common/utils/lac_mem_pools.c
311
pFreePtr = (pPoolID->trackBlks[count])->pMemAllocPtr;
sys/dev/qat/qat_api/common/utils/lac_mem_pools.c
391
Cpa32U count = 0;
sys/dev/qat/qat_api/common/utils/lac_mem_pools.c
393
for (count = 0; count < pPoolID->numElementsInPool; count++) {
sys/dev/qat/qat_api/common/utils/lac_mem_pools.c
394
pCurrentBlk = pPoolID->trackBlks[count];
sys/dev/qat/qat_api/common/utils/lac_mem_pools.c
422
Cpa32U count = 0;
sys/dev/qat/qat_api/common/utils/lac_mem_pools.c
424
for (count = 0; count < pPoolID->numElementsInPool; count++) {
sys/dev/qat/qat_api/common/utils/lac_mem_pools.c
425
pCurrentBlk = pPoolID->trackBlks[count];
sys/dev/qat/qat_api/include/dc/cpa_dc.h
2272
CpaFlatBuffer *pDestBuff, Cpa32U *count );
sys/dev/qat/qat_api/include/dc/cpa_dc.h
2419
Cpa32U *count );
sys/dev/qat/qat_api/qat_kernel/src/lac_adf_interface_freebsd.c
252
Cpa16U count = 0;
sys/dev/qat/qat_api/qat_kernel/src/lac_adf_interface_freebsd.c
256
count++;
sys/dev/qat/qat_api/qat_kernel/src/lac_adf_interface_freebsd.c
258
*pNumInstances = count;
sys/dev/qat/qat_common/adf_freebsd_dev_processes.c
189
ssize_t count;
sys/dev/qat/qat_common/adf_freebsd_dev_processes.c
202
count = uio->uio_resid;
sys/dev/qat/qat_common/adf_freebsd_dev_processes.c
203
if ((count <= 0) || (count > ADF_CFG_MAX_SECTION_LEN_IN_BYTES)) {
sys/dev/qat/qat_common/adf_freebsd_dev_processes.c
204
printf("QAT: wrong size %d\n", (int)count);
sys/dev/qat/qat_common/adf_freebsd_dev_processes.c
208
error = uiomove(usr_name, count, uio);
sys/dev/qat/qat_common/adf_fw_counters.c
167
struct adf_fw_counters_val *count =
sys/dev/qat/qat_common/adf_fw_counters.c
171
sbuf_printf(sbuf, "%s:%s\n", count->key, count->val);
sys/dev/qat/qat_common/adf_fw_counters.c
187
unsigned long count = 0;
sys/dev/qat/qat_common/adf_fw_counters.c
192
count = (*ras_event == ADF_FW_COUNTERS_NO_RESPONSE ?
sys/dev/qat/qat_common/adf_fw_counters.c
197
accel_dev, aeidstr, 16, ADF_RAS_EVENT_STR, (void *)&count);
sys/dev/qat/qat_common/adf_heartbeat.c
153
u16 *count = count_s + ae * hb_ctrs;
sys/dev/qat/qat_common/adf_heartbeat.c
162
u16 retry = ++count[thr];
sys/dev/qat/qat_common/adf_heartbeat.c
167
count[thr] = 0;
sys/dev/qat/qat_common/adf_isr.c
35
int count = 0;
sys/dev/qat/qat_common/adf_isr.c
56
count = msix_num_entries;
sys/dev/qat/qat_common/adf_isr.c
57
error = pci_alloc_msix(info_pci_dev->pci_dev, &count);
sys/dev/qat/qat_common/adf_isr.c
58
if (error == 0 && count != msix_num_entries) {
sys/dev/qat/qat_common/adf_vf_isr.c
37
int count = 1;
sys/dev/qat/qat_common/adf_vf_isr.c
38
stat = pci_alloc_msi(accel_to_pci_dev(accel_dev), &count);
sys/dev/qat/qat_hw/qat_c4xxx/adf_c4xxx_reset.c
27
u8 count = 0;
sys/dev/qat/qat_hw/qat_c4xxx/adf_c4xxx_reset.c
46
count++;
sys/dev/qat/qat_hw/qat_c4xxx/adf_c4xxx_reset.c
48
} while (count < ADF_PCIE_FLR_ATTEMPT);
sys/dev/qat_c2xxx/qat.c
330
int bar, count, error, i;
sys/dev/qat_c2xxx/qat.c
397
count = sc->sc_hw.qhw_num_banks + 1;
sys/dev/qat_c2xxx/qat.c
398
if (pci_msix_count(dev) < count) {
sys/dev/qat_c2xxx/qat.c
400
pci_msix_count(dev), count);
sys/dev/qat_c2xxx/qat.c
403
error = pci_alloc_msix(dev, &count);
sys/dev/qcom_clk/qcom_clk_branch2.c
164
int count;
sys/dev/qcom_clk/qcom_clk_branch2.c
166
for (count = 0; count < 200; count++) {
sys/dev/qcom_clk/qcom_clk_rcg2.c
83
uint32_t reg, count;
sys/dev/qcom_clk/qcom_clk_rcg2.c
98
for (count = 0; count < 1000; count++) {
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
157
ring->sw_desc = mallocarray(count, sw_desc_size, M_TEMP,
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
192
ring->ring_count = count;
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
342
uint16_t count = 0;
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
348
count = ring->ring_count;
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
350
return (count + sw_next_to_clean - sw_next_to_fill - 1);
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
80
int count,
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.c
99
hw_ring_size = count * hw_desc_size;
sys/dev/qcom_ess_edma/qcom_ess_edma_desc.h
38
int count,
sys/dev/qlnx/qlnxe/ecore_cxt.c
129
u32 count;
sys/dev/qlnx/qlnxe/ecore_cxt.c
1964
p_tid->count);
sys/dev/qlnx/qlnxe/ecore_cxt.c
1968
p_tid->count);
sys/dev/qlnx/qlnxe/ecore_cxt.c
2272
u32 count = 0;
sys/dev/qlnx/qlnxe/ecore_cxt.c
2283
count = p_params->num_arfs_filters;
sys/dev/qlnx/qlnxe/ecore_cxt.c
2287
p_hwfn->p_cxt_mngr->arfs_count = count;
sys/dev/qlnx/qlnxe/ecore_cxt.c
2548
u32 start_iid, u32 count)
sys/dev/qlnx/qlnxe/ecore_cxt.c
2554
u32 end_iid = start_iid + count;
sys/dev/qlnx/qlnxe/ecore_cxt.c
361
iids->pf_tids[j] += segs[j].count;
sys/dev/qlnx/qlnxe/ecore_cxt.c
367
iids->per_vf_tids += segs[NUM_TASK_PF_SEGMENTS].count;
sys/dev/qlnx/qlnxe/ecore_cxt.c
398
iids->tids += segs[j].count;
sys/dev/qlnx/qlnxe/ecore_cxt.c
404
vf_tids += segs[NUM_TASK_PF_SEGMENTS].count;
sys/dev/qlnx/qlnxe/ecore_cxt.c
425
if (p_cfg->conn_cfg[i].tid_seg[seg].count)
sys/dev/qlnx/qlnxe/ecore_cxt.c
529
cnt += p_hwfn->p_cxt_mngr->conn_cfg[type].tid_seg[i].count;
sys/dev/qlnx/qlnxe/ecore_cxt.c
538
u32 count,
sys/dev/qlnx/qlnxe/ecore_cxt.c
544
p_seg->count = count;
sys/dev/qlnx/qlnxe/ecore_cxt.c
701
if (!p_seg || p_seg->count == 0)
sys/dev/qlnx/qlnxe/ecore_cxt.c
705
total = p_seg->count * p_mngr->task_type_size[p_seg->type];
sys/dev/qlnx/qlnxe/ecore_cxt.c
716
if (!p_seg || p_seg->count == 0)
sys/dev/qlnx/qlnxe/ecore_cxt.c
744
total = p_seg->count * p_mngr->task_type_size[p_seg->type];
sys/dev/qlnx/qlnxe/ecore_cxt.c
757
if (p_seg && p_seg->count) {
sys/dev/qlnx/qlnxe/ecore_cxt.c
763
total = p_seg->count * p_mngr->task_type_size[p_seg->type];
sys/dev/qlnx/qlnxe/ecore_cxt.c
931
if (!p_seg || p_seg->count == 0)
sys/dev/qlnx/qlnxe/ecore_cxt.h
245
u32 start_iid, u32 count);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
334
int count, u8 dcbx_version)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
346
count, pri_tc_tbl, dcbx_version);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
351
for (i = 0; i < count; i++) {
sys/dev/qlnx/qlnxe/ecore_dev.c
2697
u32 command = 0, addr, count = FINAL_CLEANUP_POLL_CNT;
sys/dev/qlnx/qlnxe/ecore_dev.c
2734
while (!REG_RD(p_hwfn, addr) && count--)
sys/dev/qlnx/qlnxe/ecore_int.c
438
u8 count = ECORE_DB_REC_COUNT;
sys/dev/qlnx/qlnxe/ecore_int.c
451
while (count-- && usage) {
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1617
int count;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1621
count = ECORE_IWARP_PREALLOC_CNT;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1623
count = 1;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1625
for (i = 0; i < count; i++) {
sys/dev/qlnx/qlnxe/ecore_mcp.c
2792
int i, count = 0, num_pfs;
sys/dev/qlnx/qlnxe/ecore_mcp.c
2808
count++;
sys/dev/qlnx/qlnxe/ecore_mcp.c
2811
return count;
sys/dev/qlnx/qlnxe/qlnx_os.c
6974
uint64_t count;
sys/dev/qlnx/qlnxe/qlnx_os.c
6980
count = ha->hw_stats.common.rx_ucast_pkts +
sys/dev/qlnx/qlnxe/qlnx_os.c
6986
count = ha->hw_stats.common.rx_crc_errors +
sys/dev/qlnx/qlnxe/qlnx_os.c
6993
count = ha->hw_stats.common.tx_ucast_pkts +
sys/dev/qlnx/qlnxe/qlnx_os.c
6999
count = ha->hw_stats.common.tx_err_drop_pkts;
sys/dev/qlnx/qlnxe/qlnx_os.c
7006
count = ha->hw_stats.common.rx_ucast_bytes +
sys/dev/qlnx/qlnxe/qlnx_os.c
7012
count = ha->hw_stats.common.tx_ucast_bytes +
sys/dev/qlnx/qlnxe/qlnx_os.c
7018
count = ha->hw_stats.common.rx_mcast_bytes;
sys/dev/qlnx/qlnxe/qlnx_os.c
7022
count = ha->hw_stats.common.tx_mcast_bytes;
sys/dev/qlnx/qlnxe/qlnx_os.c
7032
return (count);
sys/dev/qlnx/qlnxr/qlnxr_os.c
863
qlnxr_add_ip_based_gid_cb(void *arg, struct ifaddr *ifa, u_int count)
sys/dev/qlxgb/qla_hw.c
1814
int i, done, count = 100;
sys/dev/qlxgb/qla_hw.c
1816
while (count--) {
sys/dev/qlxgb/qla_hw.c
411
uint32_t count = 400; /* 4 seconds or 400 10ms intervals */
sys/dev/qlxgb/qla_hw.c
434
while (count) {
sys/dev/qlxgb/qla_hw.c
441
count--;
sys/dev/qlxgb/qla_hw.c
443
if ((!count) || (data != 1))
sys/dev/qlxgb/qla_hw.c
490
int count = 100;
sys/dev/qlxgb/qla_hw.c
497
while (count--) {
sys/dev/qlxgb/qla_inline.h
60
int count = QL8_SEMLOCK_TIMEOUT;
sys/dev/qlxgb/qla_inline.h
62
while (count) {
sys/dev/qlxgb/qla_inline.h
65
count--;
sys/dev/qlxgb/qla_inline.h
67
if (!count)
sys/dev/qlxgb/qla_isr.c
162
int count = jumbo_replenish;
sys/dev/qlxgb/qla_isr.c
170
while (count--) {
sys/dev/qlxgb/qla_isr.c
213
int count = std_replenish;
sys/dev/qlxgb/qla_isr.c
221
while (count--) {
sys/dev/qlxgb/qla_isr.c
265
qla_rcv_isr(qla_host_t *ha, uint32_t sds_idx, uint32_t count)
sys/dev/qlxgb/qla_isr.c
291
while (count--) {
sys/dev/qlxgb/qla_misc.c
207
int count = 100;
sys/dev/qlxgb/qla_misc.c
234
count--;
sys/dev/qlxgb/qla_misc.c
235
if (!count) {
sys/dev/qlxgb/qla_misc.c
261
uint32_t count = 100;
sys/dev/qlxgb/qla_misc.c
277
while (count--) {
sys/dev/qlxgb/qla_misc.c
307
uint32_t count = 100;
sys/dev/qlxgb/qla_misc.c
328
count--;
sys/dev/qlxgb/qla_misc.c
329
if (!count) {
sys/dev/qlxgb/qla_misc.c
417
uint32_t offset, count, i;
sys/dev/qlxgb/qla_misc.c
426
count = val >> 16;
sys/dev/qlxgb/qla_misc.c
431
__func__, sig, val, count));
sys/dev/qlxgb/qla_misc.c
433
addr_val_map = avmap = malloc((sizeof(addr_val_t) * count),
sys/dev/qlxgb/qla_misc.c
440
memset(avmap, 0, (sizeof(addr_val_t) * count));
sys/dev/qlxgb/qla_misc.c
442
count = count << 1;
sys/dev/qlxgb/qla_misc.c
443
for (i = 0; i < count; ) {
sys/dev/qlxgb/qla_misc.c
499
uint32_t count;
sys/dev/qlxgb/qla_misc.c
503
for (count = 0; count < 0x20000 ; ) {
sys/dev/qlxgb/qla_misc.c
505
count = count + 4;
sys/dev/qlxgb/qla_misc.c
509
count = count + 4;
sys/dev/qlxgb/qla_misc.c
513
count = count + 4;
sys/dev/qlxgb/qla_misc.c
517
count = count + 4;
sys/dev/qlxgb/qla_misc.c
651
uint32_t count = 100;
sys/dev/qlxgb/qla_misc.c
656
while (count--) {
sys/dev/qlxgb/qla_misc.c
748
uint32_t count = 1000;
sys/dev/qlxgb/qla_misc.c
751
while (count--) {
sys/dev/qlxgb/qla_misc.c
890
uint32_t val, count = 1000;
sys/dev/qlxgb/qla_misc.c
893
while (count--) {
sys/dev/qlxgbe/ql_def.h
112
uint64_t count;
sys/dev/qlxgbe/ql_glbl.h
42
extern uint32_t ql_rcv_isr(qla_host_t *ha, uint32_t sds_idx, uint32_t count);
sys/dev/qlxgbe/ql_hw.c
1673
qla_set_rss_ind_table(qla_host_t *ha, uint32_t start_idx, uint32_t count,
sys/dev/qlxgbe/ql_hw.c
1681
if ((count > Q8_RSS_IND_TBL_SIZE) ||
sys/dev/qlxgbe/ql_hw.c
1682
((start_idx + count - 1) > Q8_RSS_IND_TBL_MAX_IDX)) {
sys/dev/qlxgbe/ql_hw.c
1684
start_idx, count);
sys/dev/qlxgbe/ql_hw.c
1696
c_rss_ind->end_idx = start_idx + count - 1;
sys/dev/qlxgbe/ql_hw.c
1698
bcopy(ind_table, c_rss_ind->ind_table, count);
sys/dev/qlxgbe/ql_hw.c
2726
uint32_t i, count;
sys/dev/qlxgbe/ql_hw.c
2736
count = Q8_RSS_IND_TBL_MAX_IDX - i + 1;
sys/dev/qlxgbe/ql_hw.c
2738
count = Q8_CONFIG_IND_TBL_SIZE;
sys/dev/qlxgbe/ql_hw.c
2741
if (qla_set_rss_ind_table(ha, i, count, ha->hw.rcv_cntxt_id,
sys/dev/qlxgbe/ql_hw.c
3505
uint32_t count = 0;
sys/dev/qlxgbe/ql_hw.c
3525
count++;
sys/dev/qlxgbe/ql_hw.c
3534
if (count == Q8_MAX_MAC_ADDRS) {
sys/dev/qlxgbe/ql_hw.c
3536
add_mcast, count)) {
sys/dev/qlxgbe/ql_hw.c
3542
count = 0;
sys/dev/qlxgbe/ql_hw.c
3552
if (count) {
sys/dev/qlxgbe/ql_hw.c
3554
count)) {
sys/dev/qlxgbe/ql_hw.c
3663
uint32_t count = 0;
sys/dev/qlxgbe/ql_hw.c
3675
count++;
sys/dev/qlxgbe/ql_hw.c
3681
count++;
sys/dev/qlxgbe/ql_hw.c
3685
if (count == Q8_MAX_MAC_ADDRS) {
sys/dev/qlxgbe/ql_hw.c
3687
add_mac, count)) {
sys/dev/qlxgbe/ql_hw.c
3695
count);
sys/dev/qlxgbe/ql_hw.c
3698
count);
sys/dev/qlxgbe/ql_hw.c
3701
count = 0;
sys/dev/qlxgbe/ql_hw.c
3709
if (count) {
sys/dev/qlxgbe/ql_hw.c
3711
count)) {
sys/dev/qlxgbe/ql_hw.c
3716
qla_hw_add_mcast(ha, ha->hw.mac_addr_arr, count);
sys/dev/qlxgbe/ql_hw.c
3718
qla_hw_del_mcast(ha, ha->hw.mac_addr_arr, count);
sys/dev/qlxgbe/ql_hw.c
4004
int count = 300;
sys/dev/qlxgbe/ql_hw.c
4038
while (count && !ha->hw.imd_compl) {
sys/dev/qlxgbe/ql_hw.c
4040
count--;
sys/dev/qlxgbe/ql_hw.c
4043
if (!count)
sys/dev/qlxgbe/ql_hw.c
4046
device_printf(dev, "%s: count %d\n", __func__, count);
sys/dev/qlxgbe/ql_hw.c
4058
int count = 300;
sys/dev/qlxgbe/ql_hw.c
4092
while (count && !ha->hw.imd_compl) {
sys/dev/qlxgbe/ql_hw.c
4094
count--;
sys/dev/qlxgbe/ql_hw.c
4096
if (count) {
sys/dev/qlxgbe/ql_hw.c
4097
device_printf(dev, "%s: count %d\n", __func__, count);
sys/dev/qlxgbe/ql_hw.c
4487
int count;
sys/dev/qlxgbe/ql_hw.c
4490
count = ha->hw.dma_buf.minidump.size / sizeof (uint32_t);
sys/dev/qlxgbe/ql_hw.c
4493
while (count-- > 0) {
sys/dev/qlxgbe/ql_hw.c
5248
int count;
sys/dev/qlxgbe/ql_hw.c
5254
for (count = 0; count < crbEntry->op_count; count++) {
sys/dev/qlxgbe/ql_hw.c
827
CTLFLAG_RD, &ha->hw.rds[i].count,
sys/dev/qlxgbe/ql_hw.c
871
CTLFLAG_RD, &ha->tx_ring[i].count,
sys/dev/qlxgbe/ql_hw.h
1549
uint64_t count;
sys/dev/qlxgbe/ql_inline.h
52
int count = QL8_SEMLOCK_TIMEOUT;
sys/dev/qlxgbe/ql_inline.h
54
while (count) {
sys/dev/qlxgbe/ql_inline.h
57
count--;
sys/dev/qlxgbe/ql_inline.h
59
if (!count)
sys/dev/qlxgbe/ql_ioctl.c
283
count = QLNX_DUMP_WAIT_SECS * 1000;
sys/dev/qlxgbe/ql_ioctl.c
285
while (count) {
sys/dev/qlxgbe/ql_ioctl.c
289
count -= 100;
sys/dev/qlxgbe/ql_ioctl.c
91
int count;
sys/dev/qlxgbe/ql_isr.c
207
ha->hw.rds[r_idx].count++;
sys/dev/qlxgbe/ql_isr.c
464
ql_rcv_isr(qla_host_t *ha, uint32_t sds_idx, uint32_t count)
sys/dev/qlxgbe/ql_isr.c
493
while (count-- && !ha->stop_rcv) {
sys/dev/qlxgbe/ql_isr.c
78
ha->hw.rds[r_idx].count++;
sys/dev/qlxgbe/ql_isr.c
890
int count = sdsp->rx_free;
sys/dev/qlxgbe/ql_isr.c
901
while (count--) {
sys/dev/qlxgbe/ql_misc.c
101
uint32_t count = 100;
sys/dev/qlxgbe/ql_misc.c
163
while (count--) {
sys/dev/qlxgbe/ql_misc.c
258
int count;
sys/dev/qlxgbe/ql_misc.c
263
for (count = 0; count < sizeof(qla_flash_desc_table_t); count+=4) {
sys/dev/qlxgbe/ql_misc.c
264
if (ql_rd_flash32(ha, QL_FDT_OFFSET + count,
sys/dev/qlxgbe/ql_misc.c
265
(uint32_t *)&hw->fdt + (count >> 2))) {
sys/dev/qlxgbe/ql_misc.c
268
__func__, count);
sys/dev/qlxgbe/ql_misc.c
298
count = 0;
sys/dev/qlxgbe/ql_misc.c
301
if (count < 1000) {
sys/dev/qlxgbe/ql_misc.c
303
count += 10;
sys/dev/qlxgbe/ql_misc.c
306
count += 1000;
sys/dev/qlxgbe/ql_misc.c
321
} while ((count < 10000) && (data32 != 0x6));
sys/dev/qlxgbe/ql_misc.c
352
int count = 0;
sys/dev/qlxgbe/ql_misc.c
383
if (count < 1000) {
sys/dev/qlxgbe/ql_misc.c
385
count += 10;
sys/dev/qlxgbe/ql_misc.c
388
count += 1000;
sys/dev/qlxgbe/ql_misc.c
401
} while ((count < 10000) && (data32 != 0x6));
sys/dev/qlxgbe/ql_misc.c
417
int count = 0;
sys/dev/qlxgbe/ql_misc.c
432
} while (((count++) < 1000) && (data32 != 0x6));
sys/dev/qlxgbe/ql_misc.c
465
count = 0;
sys/dev/qlxgbe/ql_misc.c
479
} while (((count++) < 1000) && (data32 != 0x6));
sys/dev/qlxgbe/ql_misc.c
531
int count = 0;
sys/dev/qlxgbe/ql_misc.c
557
if (count < 1000) {
sys/dev/qlxgbe/ql_misc.c
559
count += 10;
sys/dev/qlxgbe/ql_misc.c
562
count += 1000;
sys/dev/qlxgbe/ql_misc.c
575
} while ((count < 10000) && (data32 != 0x6));
sys/dev/qlxgbe/ql_misc.c
66
uint32_t count = 100;
sys/dev/qlxgbe/ql_misc.c
673
uint32_t count, mem_size;
sys/dev/qlxgbe/ql_misc.c
683
for (count = 0; count < mem_size ; ) {
sys/dev/qlxgbe/ql_misc.c
685
count = count + 4;
sys/dev/qlxgbe/ql_misc.c
689
count = count + 4;
sys/dev/qlxgbe/ql_misc.c
693
count = count + 4;
sys/dev/qlxgbe/ql_misc.c
697
count = count + 4;
sys/dev/qlxgbe/ql_misc.c
72
while (count--) {
sys/dev/qlxgbe/ql_misc.c
77
if (!count || QL_ERR_INJECT(ha, INJCT_RDWR_INDREG_FAILURE)) {
sys/dev/qlxgbe/ql_misc.c
845
uint32_t count = size >> 1; /* size in 16 bit words */
sys/dev/qlxgbe/ql_misc.c
847
while (count-- > 0)
sys/dev/qlxgbe/ql_os.c
1343
ha->tx_ring[txr_idx].count++;
sys/dev/qlxgbe/ql_os.c
2006
int count, i, slot;
sys/dev/qlxgbe/ql_os.c
2009
if (device_get_children(device_get_parent(ha->pci_dev), &peers, &count))
sys/dev/qlxgbe/ql_os.c
2012
for (i = 0; i < count; i++) {
sys/dev/qlxge/qls_def.h
106
uint64_t count;
sys/dev/qlxge/qls_dump.c
1156
qls_get_mpi_regs(qla_host_t *ha, uint32_t *buf, uint32_t offset, uint32_t count)
sys/dev/qlxge/qls_dump.c
1160
for (i = 0; i < count; i++, buf++) {
sys/dev/qlxge/qls_dump.c
377
int count = 10;
sys/dev/qlxge/qls_dump.c
379
while (count) {
sys/dev/qlxge/qls_dump.c
388
count--;
sys/dev/qlxge/qls_dump.c
522
int count = 10;
sys/dev/qlxge/qls_dump.c
524
while (count) {
sys/dev/qlxge/qls_dump.c
533
count--;
sys/dev/qlxge/qls_dump.c
823
int count = 10;
sys/dev/qlxge/qls_dump.c
836
count--;
sys/dev/qlxge/qls_dump.c
838
} while (count);
sys/dev/qlxge/qls_dump.c
840
return ((count == 0) ? -1 : 0);
sys/dev/qlxge/qls_hw.c
1757
uint32_t count = 3;
sys/dev/qlxge/qls_hw.c
1759
while (count--) {
sys/dev/qlxge/qls_hw.c
1883
uint32_t count = 30;
sys/dev/qlxge/qls_hw.c
1886
while (count--) {
sys/dev/qlxge/qls_hw.c
1911
uint32_t count = 3;
sys/dev/qlxge/qls_hw.c
1913
while (count--) {
sys/dev/qlxge/qls_hw.c
1986
int count;
sys/dev/qlxge/qls_hw.c
1996
count = 10;
sys/dev/qlxge/qls_hw.c
1997
while (count--) {
sys/dev/qlxge/qls_hw.c
2003
if (count == 0) {
sys/dev/qlxge/qls_hw.c
2016
int count;
sys/dev/qlxge/qls_hw.c
2037
count = 5;
sys/dev/qlxge/qls_hw.c
2038
while (count--) {
sys/dev/qlxge/qls_hw.c
2044
if (count == 0) {
sys/dev/qlxge/qls_hw.c
2049
count = 5;
sys/dev/qlxge/qls_hw.c
2050
while (count--) {
sys/dev/qlxge/qls_hw.c
2058
if (count == 0)
sys/dev/qlxge/qls_hw.c
2136
uint32_t count = 50;
sys/dev/qlxge/qls_hw.c
217
uint32_t count = 3;
sys/dev/qlxge/qls_hw.c
2177
while (count--) {
sys/dev/qlxge/qls_hw.c
219
while (count--) {
sys/dev/qlxge/qls_hw.c
2207
count = 50;
sys/dev/qlxge/qls_hw.c
2384
int count;
sys/dev/qlxge/qls_hw.c
2391
count = 10;
sys/dev/qlxge/qls_hw.c
2392
while (count--) {
sys/dev/qlxge/qls_hw.c
2401
if (count == 0) {
sys/dev/qlxge/qls_hw.c
356
uint32_t count = 3;
sys/dev/qlxge/qls_hw.c
358
while (count--) {
sys/dev/qlxge/qls_hw.c
957
uint32_t count = 3;
sys/dev/qlxge/qls_hw.c
959
while (count--) {
sys/dev/qlxge/qls_isr.c
77
int count;
sys/dev/qlxge/qls_isr.c
82
count = rxr->rx_free;
sys/dev/qlxge/qls_isr.c
85
while (count--) {
sys/dev/qlxge/qls_os.c
1183
ha->tx_ring[txr_idx].count++;
sys/dev/quicc/quicc_core.c
255
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/quicc/quicc_core.c
274
rle->start + rle->count - 1, rle->count, flags, child);
sys/dev/quicc/quicc_core.c
301
*countp = rle->count;
sys/dev/ral/if_ral_pci.c
201
int count, error, rid;
sys/dev/ral/if_ral_pci.c
233
count = 1;
sys/dev/ral/if_ral_pci.c
234
if (pci_alloc_msi(dev, &count) == 0)
sys/dev/ral/rt2560.c
454
int count)
sys/dev/ral/rt2560.c
458
ring->count = count;
sys/dev/ral/rt2560.c
465
count * RT2560_TX_DESC_SIZE, 1, count * RT2560_TX_DESC_SIZE,
sys/dev/ral/rt2560.c
480
count * RT2560_TX_DESC_SIZE, rt2560_dma_map_addr, &ring->physaddr,
sys/dev/ral/rt2560.c
487
ring->data = malloc(count * sizeof (struct rt2560_tx_data), M_DEVBUF,
sys/dev/ral/rt2560.c
504
for (i = 0; i < count; i++) {
sys/dev/ral/rt2560.c
526
for (i = 0; i < ring->count; i++) {
sys/dev/ral/rt2560.c
570
for (i = 0; i < ring->count; i++) {
sys/dev/ral/rt2560.c
596
int count)
sys/dev/ral/rt2560.c
603
ring->count = count;
sys/dev/ral/rt2560.c
609
count * RT2560_RX_DESC_SIZE, 1, count * RT2560_RX_DESC_SIZE,
sys/dev/ral/rt2560.c
624
count * RT2560_RX_DESC_SIZE, rt2560_dma_map_addr, &ring->physaddr,
sys/dev/ral/rt2560.c
631
ring->data = malloc(count * sizeof (struct rt2560_rx_data), M_DEVBUF,
sys/dev/ral/rt2560.c
650
for (i = 0; i < count; i++) {
sys/dev/ral/rt2560.c
694
for (i = 0; i < ring->count; i++) {
sys/dev/ral/rt2560.c
722
for (i = 0; i < ring->count; i++) {
sys/dev/ral/rt2560var.h
70
int count;
sys/dev/ral/rt2560var.h
91
int count;
sys/dev/ral/rt2661.c
465
int count)
sys/dev/ral/rt2661.c
469
ring->count = count;
sys/dev/ral/rt2661.c
475
count * RT2661_TX_DESC_SIZE, 1, count * RT2661_TX_DESC_SIZE,
sys/dev/ral/rt2661.c
490
count * RT2661_TX_DESC_SIZE, rt2661_dma_map_addr, &ring->physaddr,
sys/dev/ral/rt2661.c
497
ring->data = malloc(count * sizeof (struct rt2661_tx_data), M_DEVBUF,
sys/dev/ral/rt2661.c
513
for (i = 0; i < count; i++) {
sys/dev/ral/rt2661.c
535
for (i = 0; i < ring->count; i++) {
sys/dev/ral/rt2661.c
578
for (i = 0; i < ring->count; i++) {
sys/dev/ral/rt2661.c
604
int count)
sys/dev/ral/rt2661.c
611
ring->count = count;
sys/dev/ral/rt2661.c
616
count * RT2661_RX_DESC_SIZE, 1, count * RT2661_RX_DESC_SIZE,
sys/dev/ral/rt2661.c
631
count * RT2661_RX_DESC_SIZE, rt2661_dma_map_addr, &ring->physaddr,
sys/dev/ral/rt2661.c
638
ring->data = malloc(count * sizeof (struct rt2661_rx_data), M_DEVBUF,
sys/dev/ral/rt2661.c
657
for (i = 0; i < count; i++) {
sys/dev/ral/rt2661.c
701
for (i = 0; i < ring->count; i++)
sys/dev/ral/rt2661.c
726
for (i = 0; i < ring->count; i++) {
sys/dev/ral/rt2661.c
914
if (++txq->stat >= txq->count) /* faster than % count */
sys/dev/ral/rt2661.c
950
if (++txq->next >= txq->count) /* faster than % count */
sys/dev/ral/rt2661reg.h
320
#define RAL_READ_REGION_4(sc, offset, datap, count) \
sys/dev/ral/rt2661reg.h
322
(datap), (count))
sys/dev/ral/rt2661reg.h
327
#define RAL_WRITE_REGION_1(sc, offset, datap, count) \
sys/dev/ral/rt2661reg.h
329
(datap), (count))
sys/dev/ral/rt2661var.h
66
int count;
sys/dev/ral/rt2661var.h
85
int count;
sys/dev/ral/rt2860reg.h
1011
#define RAL_WRITE_REGION_1(sc, offset, datap, count) \
sys/dev/ral/rt2860reg.h
1013
(datap), (count))
sys/dev/ral/rt2860reg.h
1015
#define RAL_SET_REGION_4(sc, offset, val, count) \
sys/dev/ral/rt2860reg.h
1017
(val), (count))
sys/dev/random/armv8rng.c
79
u_int count;
sys/dev/random/armv8rng.c
82
for (count = 0; count < c; count += sizeof(*b)) {
sys/dev/random/armv8rng.c
89
return (count);
sys/dev/random/darn.c
104
return (c - count);
sys/dev/random/darn.c
95
u_int count;
sys/dev/random/darn.c
99
for (count = c; count > 0; count -= sizeof(*b)) {
sys/dev/random/ivy.c
100
u_int count;
sys/dev/random/ivy.c
104
for (count = c; count > 0; count -= sizeof(*b)) {
sys/dev/random/ivy.c
109
return (c - count);
sys/dev/random/nehemiah.c
78
size_t count, ret;
sys/dev/random/nehemiah.c
83
for (count = c; count > 0; count -= ret) {
sys/dev/random/nehemiah.c
84
ret = MIN(VIA_RNG_store(&tmp), count);
sys/dev/random/other_algorithm.c
162
random_other_read(uint8_t *buf, size_t count)
sys/dev/random/random_harvestq.c
961
int error, count;
sys/dev/random/random_harvestq.c
968
count = 0;
sys/dev/random/random_harvestq.c
971
sbuf_cat(&sbuf, (count++ ? ",'" : "'"));
sys/dev/random/randomdev.c
295
randomdev_accumulate(uint8_t *buf, u_int count)
sys/dev/random/randomdev.c
308
randomdev_hash_iterate(&hash, buf, count);
sys/dev/random/rdseed.c
90
u_int count;
sys/dev/random/rdseed.c
94
for (count = c; count > 0; count -= sizeof(*b)) {
sys/dev/random/rdseed.c
99
return (c - count);
sys/dev/re/if_re.c
2526
re_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/re/if_re.c
2533
rx_npkts = re_poll_locked(ifp, cmd, count);
sys/dev/re/if_re.c
2539
re_poll_locked(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/re/if_re.c
2546
sc->rxcycles = count;
sys/dev/re/if_re.c
4279
re_debugnet_poll(if_t ifp, int count)
sys/dev/rge/if_rge.c
2013
uint32_t count, i, prod, cons;
sys/dev/rge/if_rge.c
2019
count = rx_ring_space(q);
sys/dev/rge/if_rge.c
2022
if (count <= 1)
sys/dev/rge/if_rge.c
2024
count--;
sys/dev/rge/if_rge.c
2027
__func__, prod, cons, count);
sys/dev/rge/if_rge.c
2033
for (i = 0; i < count; i++) {
sys/dev/rge/if_rge_hw.c
323
rge_mcu_get_bin_version(rtl8126_1_mac_bps_vals, bps->count);
sys/dev/rge/if_rge_hw.c
327
for (i = 0; i < bps->count; i++)
sys/dev/rge/if_rge_hw.c
342
rge_mcu_get_bin_version(rtl8126_2_mac_bps_vals, bps->count);
sys/dev/rge/if_rge_hw.c
351
for (; i < bps->count; i++)
sys/dev/rge/if_rge_hw.c
365
rge_mcu_get_bin_version(rtl8127_mac_bps_vals, bps->count);
sys/dev/rge/if_rge_hw.c
374
for (; i < bps->count; i++)
sys/dev/rge/if_rge_microcode.h
195
int count;
sys/dev/rl/if_rl.c
1427
rl_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/rl/if_rl.c
1434
rx_npkts = rl_poll_locked(ifp, cmd, count);
sys/dev/rl/if_rl.c
1440
rl_poll_locked(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/rl/if_rl.c
1447
sc->rxcycles = count;
sys/dev/rl/if_rl.c
1481
int count;
sys/dev/rl/if_rl.c
1502
for (count = 16; count > 0; count--) {
sys/dev/rl/if_rl.c
196
static int rl_poll(if_t ifp, enum poll_cmd cmd, int count);
sys/dev/rl/if_rl.c
197
static int rl_poll_locked(if_t ifp, enum poll_cmd cmd, int count);
sys/dev/rtwn/if_rtwnreg.h
130
int count;
sys/dev/rtwn/if_rtwnreg.h
138
int count;
sys/dev/rtwn/if_rtwnreg.h
148
int count;
sys/dev/rtwn/rtl8192c/r92c_init.c
139
for (j = 0; j < bb_prog->count; j++) {
sys/dev/rtwn/rtl8192c/r92c_init.c
176
for (j = 0; j < agc_prog->count; j++) {
sys/dev/rtwn/rtl8192c/r92c_init.c
209
for (j = 0; j < prog->count; j++) {
sys/dev/rtwn/rtl8192e/r92e_init.c
121
for (j = 0; j < bb_prog->count; j++) {
sys/dev/rtwn/rtl8192e/r92e_init.c
142
for (j = 0; j < agc_prog->count; j++) {
sys/dev/rtwn/rtl8812a/r12a_init.c
159
for (j = 0; j < bb_prog->count; j++) {
sys/dev/rtwn/rtl8812a/r12a_init.c
182
for (j = 0; j < agc_prog->count; j++) {
sys/dev/safe/safe.c
212
default_harvest(struct rndtest_state *rsp, void *buf, u_int count)
sys/dev/safe/safe.c
215
random_harvest_queue(buf, count, RANDOM_PURE_SAFE);
sys/dev/safexcel/safexcel.c
2056
safexcel_cmd_descr_rollback(struct safexcel_ring *ring, int count)
sys/dev/safexcel/safexcel.c
2063
cring->write -= count;
sys/dev/safexcel/safexcel.c
2069
safexcel_res_descr_rollback(struct safexcel_ring *ring, int count)
sys/dev/safexcel/safexcel.c
2076
rring->write -= count;
sys/dev/safexcel/safexcel.c
438
int count;
sys/dev/safexcel/safexcel.c
446
for (count = 0;;) {
sys/dev/safexcel/safexcel.c
452
if (count++ > 10000) {
sys/dev/scc/scc_core.c
410
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/scc/scc_core.c
451
*countp = rle->count;
sys/dev/sdhci/fsl_sdhci.c
369
uint32_t *data, bus_size_t count)
sys/dev/sdhci/fsl_sdhci.c
373
bus_read_multi_4(sc->mem_res, off, data, count);
sys/dev/sdhci/fsl_sdhci.c
513
uint32_t *data, bus_size_t count)
sys/dev/sdhci/fsl_sdhci.c
517
bus_write_multi_4(sc->mem_res, off, data, count);
sys/dev/sdhci/sdhci.c
84
#define RD_MULTI_4(slot, off, ptr, count) \
sys/dev/sdhci/sdhci.c
85
SDHCI_READ_MULTI_4((slot)->bus, (slot), (off), (ptr), (count))
sys/dev/sdhci/sdhci.c
90
#define WR_MULTI_4(slot, off, ptr, count) \
sys/dev/sdhci/sdhci.c
91
SDHCI_WRITE_MULTI_4((slot)->bus, (slot), (off), (ptr), (count))
sys/dev/sdhci/sdhci_acpi.c
176
bus_size_t off, uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_acpi.c
180
bus_read_multi_stream_4(sc->mem_res, off, data, count);
sys/dev/sdhci/sdhci_acpi.c
185
bus_size_t off, uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_acpi.c
189
bus_write_multi_stream_4(sc->mem_res, off, data, count);
sys/dev/sdhci/sdhci_fdt.c
310
bus_size_t off, uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_fdt.c
314
bus_read_multi_4(sc->mem_res[slot->num], off, data, count);
sys/dev/sdhci/sdhci_fdt.c
319
bus_size_t off, uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_fdt.c
323
bus_write_multi_4(sc->mem_res[slot->num], off, data, count);
sys/dev/sdhci/sdhci_fsl_fdt.c
459
uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_fsl_fdt.c
464
bus_read_multi_4(sc->mem_res, off, data, count);
sys/dev/sdhci/sdhci_fsl_fdt.c
579
bus_size_t off, uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_fsl_fdt.c
584
bus_write_multi_4(sc->mem_res, off, data, count);
sys/dev/sdhci/sdhci_pci.c
239
uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_pci.c
243
bus_read_multi_stream_4(sc->mem_res[slot->num], off, data, count);
sys/dev/sdhci/sdhci_pci.c
248
uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_pci.c
252
bus_write_multi_stream_4(sc->mem_res[slot->num], off, data, count);
sys/dev/sdhci/sdhci_xenon.c
121
bus_size_t off, uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_xenon.c
125
bus_read_multi_4(sc->mem_res, off, data, count);
sys/dev/sdhci/sdhci_xenon.c
130
bus_size_t off, uint32_t *data, bus_size_t count)
sys/dev/sdhci/sdhci_xenon.c
134
bus_write_multi_4(sc->mem_res, off, data, count);
sys/dev/sdio/sdiob.c
666
int start, i, count, ret;
sys/dev/sdio/sdiob.c
700
for (count = 0, start = 0, i = 0;
sys/dev/sdio/sdiob.c
701
(count < 4) && ((i + 4) < 256); i++) {
sys/dev/sdio/sdiob.c
705
"(%#02x)\n", __func__, count, start, i, ch);
sys/dev/sdio/sdiob.c
710
cis1_info[count] =
sys/dev/sdio/sdiob.c
713
count++;
sys/dev/sfxge/common/ef10_ev.c
578
__in unsigned int count)
sys/dev/sfxge/common/ef10_ev.c
584
rptr = count & eep->ee_mask;
sys/dev/sfxge/common/ef10_filter.c
1228
__in_ecount(6*count) uint8_t const *addrs,
sys/dev/sfxge/common/ef10_filter.c
1229
__in uint32_t count,
sys/dev/sfxge/common/ef10_filter.c
1242
count = 0;
sys/dev/sfxge/common/ef10_filter.c
1244
if (count + (brdcst ? 1 : 0) >
sys/dev/sfxge/common/ef10_filter.c
1253
for (i = 0; i < count; i++) {
sys/dev/sfxge/common/ef10_filter.c
1539
__in_ecount(6*count) uint8_t const *addrs,
sys/dev/sfxge/common/ef10_filter.c
1540
__in uint32_t count)
sys/dev/sfxge/common/ef10_filter.c
1675
brdcst, addrs, count, filter_flags, B_FALSE);
sys/dev/sfxge/common/ef10_filter.c
1688
addrs, count, filter_flags, B_TRUE);
sys/dev/sfxge/common/ef10_filter.c
1706
addrs, count, filter_flags, B_FALSE);
sys/dev/sfxge/common/ef10_impl.h
107
__in unsigned int count);
sys/dev/sfxge/common/ef10_impl.h
1138
__in_ecount(6*count) uint8_t const *addrs,
sys/dev/sfxge/common/ef10_impl.h
1139
__in uint32_t count);
sys/dev/sfxge/common/ef10_impl.h
680
__out_opt __drv_when(count > 0, __notnull)
sys/dev/sfxge/common/ef10_impl.h
682
__out_ecount_opt(count) __drv_when(count > 0, __notnull)
sys/dev/sfxge/common/ef10_impl.h
684
__in size_t count);
sys/dev/sfxge/common/ef10_impl.h
816
__out_ecount(count) efx_desc_t *edp,
sys/dev/sfxge/common/ef10_impl.h
817
__in int count);
sys/dev/sfxge/common/ef10_phy.c
657
__out_opt __drv_when(count > 0, __notnull)
sys/dev/sfxge/common/ef10_phy.c
659
__out_ecount_opt(count) __drv_when(count > 0, __notnull)
sys/dev/sfxge/common/ef10_phy.c
661
__in size_t count)
sys/dev/sfxge/common/ef10_phy.c
704
if (count > 0)
sys/dev/sfxge/common/ef10_phy.c
705
(void) memset(valuesp, '\0', count * sizeof (unsigned long));
sys/dev/sfxge/common/ef10_phy.c
711
count > EFX_BIST_MEM_ECC_FATAL) {
sys/dev/sfxge/common/ef10_phy.c
741
count > EFX_BIST_FAULT_CODE) {
sys/dev/sfxge/common/ef10_tlv_layout.h
192
uint16_t count;
sys/dev/sfxge/common/ef10_tlv_layout.h
492
uint16_t count;
sys/dev/sfxge/common/ef10_tx.c
644
__out_ecount(count) efx_desc_t *edp,
sys/dev/sfxge/common/ef10_tx.c
645
__in int count)
sys/dev/sfxge/common/ef10_tx.c
647
_NOTE(ARGUNUSED(etp, count))
sys/dev/sfxge/common/ef10_tx.c
653
EFSYS_ASSERT(count >= EFX_TX_FATSOV2_OPT_NDESCS);
sys/dev/sfxge/common/efx.h
1241
__out_ecount_opt(count) unsigned long *valuesp,
sys/dev/sfxge/common/efx.h
1242
__in size_t count);
sys/dev/sfxge/common/efx.h
2213
__in unsigned int count);
sys/dev/sfxge/common/efx.h
2220
__in unsigned int count);
sys/dev/sfxge/common/efx.h
2245
__in unsigned int count);
sys/dev/sfxge/common/efx.h
2764
__out_ecount(count) efx_desc_t *edp,
sys/dev/sfxge/common/efx.h
2765
__in int count);
sys/dev/sfxge/common/efx.h
3044
__in_ecount(count) uint32_t const *input,
sys/dev/sfxge/common/efx.h
3045
__in size_t count,
sys/dev/sfxge/common/efx.h
567
__in_ecount(6*count) uint8_t const *addrs,
sys/dev/sfxge/common/efx.h
568
__in int count);
sys/dev/sfxge/common/efx_bootcfg.c
104
count = 1;
sys/dev/sfxge/common/efx_bootcfg.c
112
count = BOOTCFG_PF_COUNT;
sys/dev/sfxge/common/efx_bootcfg.c
113
if (pf >= count) {
sys/dev/sfxge/common/efx_bootcfg.c
126
count = BOOTCFG_PF_COUNT;
sys/dev/sfxge/common/efx_bootcfg.c
127
if (pf >= count) {
sys/dev/sfxge/common/efx_bootcfg.c
144
*sector_countp = count;
sys/dev/sfxge/common/efx_bootcfg.c
720
size_t count = &bufferp[buffer_length] -
sys/dev/sfxge/common/efx_bootcfg.c
723
memmove(destp, DHCP_NEXT_TAG(hdrp), count);
sys/dev/sfxge/common/efx_bootcfg.c
86
uint32_t count;
sys/dev/sfxge/common/efx_bootcfg.c
96
count = 1;
sys/dev/sfxge/common/efx_ev.c
1208
__in unsigned int count)
sys/dev/sfxge/common/efx_ev.c
1214
rptr = count & eep->ee_mask;
sys/dev/sfxge/common/efx_ev.c
321
__in unsigned int count)
sys/dev/sfxge/common/efx_ev.c
334
if ((rc = eevop->eevo_qprime(eep, count)) != 0)
sys/dev/sfxge/common/efx_ev.c
349
__in unsigned int count)
sys/dev/sfxge/common/efx_ev.c
356
offset = (count & eep->ee_mask) * sizeof (efx_qword_t);
sys/dev/sfxge/common/efx_ev.c
367
__in unsigned int count)
sys/dev/sfxge/common/efx_ev.c
373
offset = (count & eep->ee_mask) * sizeof (efx_qword_t);
sys/dev/sfxge/common/efx_ev.c
391
unsigned int count;
sys/dev/sfxge/common/efx_ev.c
413
count = *countp;
sys/dev/sfxge/common/efx_ev.c
416
batch = EFX_EV_BATCH - (count & (EFX_EV_BATCH - 1));
sys/dev/sfxge/common/efx_ev.c
417
offset = (count & eep->ee_mask) * sizeof (efx_qword_t);
sys/dev/sfxge/common/efx_ev.c
450
offset = (count + batch) & eep->ee_mask;
sys/dev/sfxge/common/efx_ev.c
524
offset = (count & eep->ee_mask) * sizeof (efx_qword_t);
sys/dev/sfxge/common/efx_ev.c
530
count += total;
sys/dev/sfxge/common/efx_ev.c
534
*countp = count;
sys/dev/sfxge/common/efx_ev.c
82
__in unsigned int count);
sys/dev/sfxge/common/efx_filter.c
290
__in_ecount(6*count) uint8_t const *addrs,
sys/dev/sfxge/common/efx_filter.c
291
__in uint32_t count)
sys/dev/sfxge/common/efx_filter.c
303
addrs, count)) != 0)
sys/dev/sfxge/common/efx_hash.c
114
__in_ecount(count) uint32_t const *input,
sys/dev/sfxge/common/efx_hash.c
115
__in size_t count,
sys/dev/sfxge/common/efx_hash.c
124
(((uint32_t)count) * sizeof (uint32_t)) + init;
sys/dev/sfxge/common/efx_hash.c
127
while (count > 3) {
sys/dev/sfxge/common/efx_hash.c
133
count -= 3;
sys/dev/sfxge/common/efx_hash.c
138
switch (count) {
sys/dev/sfxge/common/efx_impl.h
1192
__in_ecount(6*count) uint8_t const *addrs,
sys/dev/sfxge/common/efx_impl.h
1193
__in int count,
sys/dev/sfxge/common/efx_impl.h
290
__in_ecount(6*count) uint8_t const *addrs,
sys/dev/sfxge/common/efx_impl.h
291
__in uint32_t count);
sys/dev/sfxge/common/efx_intr.c
405
unsigned int count;
sys/dev/sfxge/common/efx_intr.c
433
count = 0;
sys/dev/sfxge/common/efx_intr.c
438
} while (EFX_OWORD_FIELD(oword, FRF_AZ_KER_INT_KER) && ++count < 1000);
sys/dev/sfxge/common/efx_mac.c
403
__in_ecount(6*count) uint8_t const *addrs,
sys/dev/sfxge/common/efx_mac.c
404
__in int count)
sys/dev/sfxge/common/efx_mac.c
415
if (count > EFX_MAC_MULTICAST_LIST_MAX) {
sys/dev/sfxge/common/efx_mac.c
438
count * EFX_MAC_ADDR_LEN);
sys/dev/sfxge/common/efx_mac.c
439
epp->ep_mulcst_addr_count = count;
sys/dev/sfxge/common/efx_mac.c
913
__in_ecount(6*count) uint8_t const *addrs,
sys/dev/sfxge/common/efx_mac.c
914
__in int count,
sys/dev/sfxge/common/efx_mac.c
927
for (i = 0; i < count; i++) {
sys/dev/sfxge/common/efx_phy.c
556
__out_ecount_opt(count) unsigned long *valuesp,
sys/dev/sfxge/common/efx_phy.c
557
__in size_t count)
sys/dev/sfxge/common/efx_phy.c
576
valuesp, count)) != 0)
sys/dev/sfxge/common/efx_sram.c
105
count = 0;
sys/dev/sfxge/common/efx_sram.c
107
EFSYS_PROBE1(wait, unsigned int, count);
sys/dev/sfxge/common/efx_sram.c
121
} while (++count < 100);
sys/dev/sfxge/common/efx_sram.c
49
unsigned int count;
sys/dev/sfxge/common/efx_tx.c
647
__out_ecount(count) efx_desc_t *edp,
sys/dev/sfxge/common/efx_tx.c
648
__in int count)
sys/dev/sfxge/common/efx_tx.c
657
tcp_seq, mss, edp, count);
sys/dev/sfxge/common/siena_impl.h
389
__out_opt __drv_when(count > 0, __notnull)
sys/dev/sfxge/common/siena_impl.h
391
__out_ecount_opt(count) __drv_when(count > 0, __notnull)
sys/dev/sfxge/common/siena_impl.h
393
__in size_t count);
sys/dev/sfxge/common/siena_nic.c
621
__in size_t count)
sys/dev/sfxge/common/siena_nic.c
629
while (count > 0) {
sys/dev/sfxge/common/siena_nic.c
677
--count;
sys/dev/sfxge/common/siena_nic.c
699
__in size_t count)
sys/dev/sfxge/common/siena_nic.c
711
while (count > 0) {
sys/dev/sfxge/common/siena_nic.c
739
--count;
sys/dev/sfxge/common/siena_nic.c
757
unsigned int count;
sys/dev/sfxge/common/siena_nic.c
766
for (count = 0; count < nitems; ++count) {
sys/dev/sfxge/common/siena_nic.c
767
rsp = __siena_registers + count;
sys/dev/sfxge/common/siena_nic.c
780
for (count = 0; count < nitems; ++count) {
sys/dev/sfxge/common/siena_nic.c
781
rsp = __siena_tables + count;
sys/dev/sfxge/common/siena_phy.c
645
__out_opt __drv_when(count > 0, __notnull)
sys/dev/sfxge/common/siena_phy.c
647
__out_ecount_opt(count) __drv_when(count > 0, __notnull)
sys/dev/sfxge/common/siena_phy.c
649
__in size_t count)
sys/dev/sfxge/common/siena_phy.c
677
if (count > 0)
sys/dev/sfxge/common/siena_phy.c
678
(void) memset(valuesp, '\0', count * sizeof (unsigned long));
sys/dev/sfxge/common/siena_phy.c
690
if (count > EFX_BIST_PHY_CABLE_LENGTH_A) {
sys/dev/sfxge/common/siena_phy.c
698
if (count > EFX_BIST_PHY_CABLE_LENGTH_B) {
sys/dev/sfxge/common/siena_phy.c
706
if (count > EFX_BIST_PHY_CABLE_LENGTH_C) {
sys/dev/sfxge/common/siena_phy.c
714
if (count > EFX_BIST_PHY_CABLE_LENGTH_D) {
sys/dev/sfxge/common/siena_phy.c
722
if (count > EFX_BIST_PHY_CABLE_STATUS_A) {
sys/dev/sfxge/common/siena_phy.c
732
if (count > EFX_BIST_PHY_CABLE_STATUS_B) {
sys/dev/sfxge/common/siena_phy.c
742
if (count > EFX_BIST_PHY_CABLE_STATUS_C) {
sys/dev/sfxge/common/siena_phy.c
752
if (count > EFX_BIST_PHY_CABLE_STATUS_D) {
sys/dev/sfxge/common/siena_phy.c
765
count > EFX_BIST_FAULT_CODE) {
sys/dev/sfxge/sfxge_ev.c
747
int count;
sys/dev/sfxge/sfxge_ev.c
781
count = 0;
sys/dev/sfxge/sfxge_ev.c
790
} while (++count < 20);
sys/dev/sfxge/sfxge_intr.c
235
sfxge_intr_alloc(struct sfxge_softc *sc, int count)
sys/dev/sfxge/sfxge_intr.c
249
table = malloc(count * sizeof(struct sfxge_intr_hdl),
sys/dev/sfxge/sfxge_intr.c
253
for (i = 0; i < count; i++) {
sys/dev/sfxge/sfxge_intr.c
268
count = i - 1;
sys/dev/sfxge/sfxge_intr.c
269
for (i = 0; i < count; i++)
sys/dev/sfxge/sfxge_intr.c
297
int count;
sys/dev/sfxge/sfxge_intr.c
304
count = pci_msix_count(dev);
sys/dev/sfxge/sfxge_intr.c
305
if (count == 0)
sys/dev/sfxge/sfxge_intr.c
310
count = MIN(count, sc->evq_max);
sys/dev/sfxge/sfxge_intr.c
317
if (pci_alloc_msix(dev, &count) != 0) {
sys/dev/sfxge/sfxge_intr.c
323
if (sfxge_intr_alloc(sc, count) != 0) {
sys/dev/sfxge/sfxge_intr.c
330
intr->n_alloc = count;
sys/dev/sfxge/sfxge_intr.c
341
int count;
sys/dev/sfxge/sfxge_intr.c
352
count = pci_msi_count(dev) ? 1 : 0;
sys/dev/sfxge/sfxge_intr.c
353
if (count == 0)
sys/dev/sfxge/sfxge_intr.c
356
if ((error = pci_alloc_msi(dev, &count)) != 0)
sys/dev/sfxge/sfxge_intr.c
360
if (sfxge_intr_alloc(sc, count) != 0) {
sys/dev/sfxge/sfxge_intr.c
366
intr->n_alloc = count;
sys/dev/sfxge/sfxge_port.c
573
unsigned int count;
sys/dev/sfxge/sfxge_port.c
593
for (count = 0; count < 100; ++count) {
sys/dev/sfxge/sfxge_port.c
594
EFSYS_PROBE1(wait, unsigned int, count);
sys/dev/sfxge/sfxge_port.c
63
unsigned int count;
sys/dev/sfxge/sfxge_port.c
85
for (count = 0; count < 100; ++count) {
sys/dev/sfxge/sfxge_port.c
86
EFSYS_PROBE1(wait, unsigned int, count);
sys/dev/sfxge/sfxge_rx.c
925
unsigned int count;
sys/dev/sfxge/sfxge_rx.c
954
count = 0;
sys/dev/sfxge/sfxge_rx.c
962
} while (++count < 20);
sys/dev/sfxge/sfxge_tx.c
1473
unsigned int count;
sys/dev/sfxge/sfxge_tx.c
1500
count = 0;
sys/dev/sfxge/sfxge_tx.c
1506
} while (++count < 20);
sys/dev/sfxge/sfxge_tx.c
277
unsigned int count;
sys/dev/sfxge/sfxge_tx.c
296
count = 0;
sys/dev/sfxge/sfxge_tx.c
307
count++;
sys/dev/sfxge/sfxge_tx.c
310
if (count > stdp->std_put_hiwat)
sys/dev/sfxge/sfxge_tx.c
311
stdp->std_put_hiwat = count;
sys/dev/sfxge/sfxge_tx.c
317
stdp->std_get_count += count;
sys/dev/sfxge/sfxge_tx.c
539
unsigned int count;
sys/dev/sfxge/sfxge_tx.c
556
count = stdp->std_get_count;
sys/dev/sfxge/sfxge_tx.c
559
if (count > stdp->std_get_hiwat)
sys/dev/sfxge/sfxge_tx.c
560
stdp->std_get_hiwat = count;
sys/dev/sfxge/sfxge_tx.c
562
while (count != 0) {
sys/dev/sfxge/sfxge_tx.c
574
--count;
sys/dev/sfxge/sfxge_tx.c
590
if (count == 0) {
sys/dev/sfxge/sfxge_tx.c
600
stdp->std_get_count = count;
sys/dev/sge/if_sge.c
442
sge_hash_maddr(void *arg, struct sockaddr_dl *sdl, u_int count)
sys/dev/siis/siis.c
318
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/siis/siis.h
435
#define ATA_INSW(res, offset, addr, count) \
sys/dev/siis/siis.h
436
bus_read_multi_2((res), (offset), (addr), (count))
sys/dev/siis/siis.h
437
#define ATA_INSW_STRM(res, offset, addr, count) \
sys/dev/siis/siis.h
438
bus_read_multi_stream_2((res), (offset), (addr), (count))
sys/dev/siis/siis.h
439
#define ATA_INSL(res, offset, addr, count) \
sys/dev/siis/siis.h
440
bus_read_multi_4((res), (offset), (addr), (count))
sys/dev/siis/siis.h
441
#define ATA_INSL_STRM(res, offset, addr, count) \
sys/dev/siis/siis.h
442
bus_read_multi_stream_4((res), (offset), (addr), (count))
sys/dev/siis/siis.h
449
#define ATA_OUTSW(res, offset, addr, count) \
sys/dev/siis/siis.h
450
bus_write_multi_2((res), (offset), (addr), (count))
sys/dev/siis/siis.h
451
#define ATA_OUTSW_STRM(res, offset, addr, count) \
sys/dev/siis/siis.h
452
bus_write_multi_stream_2((res), (offset), (addr), (count))
sys/dev/siis/siis.h
453
#define ATA_OUTSL(res, offset, addr, count) \
sys/dev/siis/siis.h
454
bus_write_multi_4((res), (offset), (addr), (count))
sys/dev/siis/siis.h
455
#define ATA_OUTSL_STRM(res, offset, addr, count) \
sys/dev/siis/siis.h
456
bus_write_multi_stream_4((res), (offset), (addr), (count))
sys/dev/sis/if_sis.c
1637
sis_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/sis/if_sis.c
1655
sc->rxcycles = count;
sys/dev/smartpqi/smartpqi_init.c
628
int count = 0;
sys/dev/smartpqi/smartpqi_init.c
650
count++;
sys/dev/smartpqi/smartpqi_init.c
651
if(count % 1000 == 0) {
sys/dev/smartpqi/smartpqi_init.c
652
DBG_WARN("Waited for %d seconds\n", count/1000);
sys/dev/smartpqi/smartpqi_init.c
654
if (count >= PQI_QUIESCE_TIMEOUT) {
sys/dev/smbios/smbios.c
287
int count;
sys/dev/smbios/smbios.c
294
devclass_get_devices(devclass_find("smbios"), &devs, &count);
sys/dev/smbios/smbios.c
295
for (i = 0; i < count; i++) {
sys/dev/smbus/smbconf.h
113
#define smbus_bwrite(bus,slave,cmd,count,buf) \
sys/dev/smbus/smbconf.h
114
(SMBUS_BWRITE(device_get_parent(bus), slave, cmd, count, buf))
sys/dev/smbus/smbconf.h
115
#define smbus_bread(bus,slave,cmd,count,buf) \
sys/dev/smbus/smbconf.h
116
(SMBUS_BREAD(device_get_parent(bus), slave, cmd, count, buf))
sys/dev/smc/if_smc.c
199
bus_size_t count)
sys/dev/smc/if_smc.c
202
bus_read_multi_2(sc->smc_reg, offset, datap, count);
sys/dev/smc/if_smc.c
207
bus_size_t count)
sys/dev/smc/if_smc.c
210
bus_write_multi_2(sc->smc_reg, offset, datap, count);
sys/dev/smc/if_smc.c
799
smc_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/sound/pci/als4000.c
349
uint32_t buf, bufsz, count, dma_prog;
sys/dev/sound/pci/als4000.c
353
count = bufsz / 2;
sys/dev/sound/pci/als4000.c
355
count /= 2;
sys/dev/sound/pci/als4000.c
356
count--;
sys/dev/sound/pci/als4000.c
369
als_esp_wr(sc, count & 0xff);
sys/dev/sound/pci/als4000.c
370
als_esp_wr(sc, count >> 8);
sys/dev/sound/pci/als4000.c
452
uint32_t buf, bufsz, count, dma_prog;
sys/dev/sound/pci/als4000.c
456
count = bufsz / 2;
sys/dev/sound/pci/als4000.c
458
count /= 2;
sys/dev/sound/pci/als4000.c
459
count--;
sys/dev/sound/pci/als4000.c
467
als_mix_wr(sc, ALS_FIFO1_LENGTH_LO, count & 0xff);
sys/dev/sound/pci/als4000.c
468
als_mix_wr(sc, ALS_FIFO1_LENGTH_HI, count >> 8);
sys/dev/sound/pci/csa.c
357
rman_res_t start, rman_res_t end, rman_res_t count, unsigned int flags)
sys/dev/sound/pci/csa.c
84
rman_res_t count, unsigned int flags);
sys/dev/sound/pci/csapcm.c
866
int count, i;
sys/dev/sound/pci/csapcm.c
869
for (count = 0x2, i=0;
sys/dev/sound/pci/csapcm.c
870
(count <= CS461x_AC97_HIGHESTREGTORESTORE) &&
sys/dev/sound/pci/csapcm.c
872
count += 2, i++)
sys/dev/sound/pci/csapcm.c
873
csa_readcodec(&csa->res, BA0_AC97_RESET + count, &csa->ac97[i]);
sys/dev/sound/pci/csapcm.c
908
int count, i;
sys/dev/sound/pci/csapcm.c
931
for (count = 0x2, i=0;
sys/dev/sound/pci/csapcm.c
932
(count <= CS461x_AC97_HIGHESTREGTORESTORE) &&
sys/dev/sound/pci/csapcm.c
934
count += 2, i++)
sys/dev/sound/pci/csapcm.c
935
csa_writecodec(&csa->res, BA0_AC97_RESET + count, csa->ac97[i]);
sys/dev/sound/pci/emu10kx.c
2385
emu_rm_gpr_alloc(struct emu_rm *rm, int count)
sys/dev/sound/pci/emu10kx.c
2393
if (rm->last_free_gpr + count <= rm->num_gprs) {
sys/dev/sound/pci/emu10kx.c
2395
rm->last_free_gpr += count;
sys/dev/sound/pci/emu10kx.c
2396
rm->allocmap[allocated_gpr] = count;
sys/dev/sound/pci/emu10kx.c
2397
for (i = 1; i < count; i++)
sys/dev/sound/pci/emu10kx.c
2398
rm->allocmap[allocated_gpr + i] = -(count - i);
sys/dev/sound/pci/emu10kx.c
2403
while (i < rm->last_free_gpr - count) {
sys/dev/sound/pci/emu10kx.c
2408
for (j = 1; j < count; j++) {
sys/dev/sound/pci/emu10kx.c
2416
if (allocated_gpr + count < rm->last_free_gpr) {
sys/dev/sound/pci/emu10kx.c
2417
rm->allocmap[allocated_gpr] = count;
sys/dev/sound/pci/emu10kx.c
2418
for (i = 1; i < count; i++)
sys/dev/sound/pci/emu10kx.c
2419
rm->allocmap[allocated_gpr + i] = -(count - i);
sys/dev/sound/pci/emu10kx.c
2425
rm->num_used += count;
sys/dev/sound/pci/emu10kx.c
400
static int emu_rm_gpr_alloc(struct emu_rm *rm, int count);
sys/dev/sound/pci/fm801.c
712
rman_res_t start, rman_res_t end, rman_res_t count,
sys/dev/sound/pci/hda/hdac.c
439
int count, i;
sys/dev/sound/pci/hda/hdac.c
469
count = 10000;
sys/dev/sound/pci/hda/hdac.c
475
} while (--count);
sys/dev/sound/pci/hda/hdac.c
488
count = 10000;
sys/dev/sound/pci/hda/hdac.c
494
} while (--count);
sys/dev/sound/pci/hdspe-pcm.c
131
unsigned int count = 0;
sys/dev/sound/pci/hdspe-pcm.c
136
count += 2;
sys/dev/sound/pci/hdspe-pcm.c
138
count += 4;
sys/dev/sound/pci/hdspe-pcm.c
140
count += 2;
sys/dev/sound/pci/hdspe-pcm.c
142
count += 2;
sys/dev/sound/pci/hdspe-pcm.c
144
count += 2;
sys/dev/sound/pci/hdspe-pcm.c
146
count += adat_width;
sys/dev/sound/pci/hdspe-pcm.c
150
count += 2;
sys/dev/sound/pci/hdspe-pcm.c
152
count += 2;
sys/dev/sound/pci/hdspe-pcm.c
154
count += adat_width;
sys/dev/sound/pci/hdspe-pcm.c
156
count += adat_width;
sys/dev/sound/pci/hdspe-pcm.c
158
count += adat_width;
sys/dev/sound/pci/hdspe-pcm.c
160
count += adat_width;
sys/dev/sound/pci/hdspe-pcm.c
163
return (count);
sys/dev/sound/pci/via8233.c
617
uint32_t v, index, count, ptr;
sys/dev/sound/pci/via8233.c
627
count = v & 0x00ffffff; /* Bytes remaining */
sys/dev/sound/pci/via8233.c
628
ptr = (index + 1) * ch->blksz - count;
sys/dev/sound/pci/via8233.c
775
uint32_t v, index, count;
sys/dev/sound/pci/via8233.c
785
count = v & 0x00ffffff;
sys/dev/sound/pci/via8233.c
786
ptr = ((index + 1) * ch->blksz) - count;
sys/dev/sound/pci/via82c686.c
252
ch->count = VIA_PLAY_DMAOPS_COUNT;
sys/dev/sound/pci/via82c686.c
260
ch->count = VIA_RECORD_DMAOPS_COUNT;
sys/dev/sound/pci/via82c686.c
372
len = via_rd(via, ch->count, 4);
sys/dev/sound/pci/via82c686.c
375
len = via_rd(via, ch->count, 4);
sys/dev/sound/pci/via82c686.c
72
int base, count, mode, ctrl;
sys/dev/sound/pci/vibes.c
171
uint32_t base, uint32_t count, uint8_t mode)
sys/dev/sound/pci/vibes.c
174
bus_space_write_4(st, sh, SV_DMA_COUNT, count & 0xffffff);
sys/dev/sound/pci/vibes.c
178
base, count, mode));
sys/dev/sound/pci/vibes.c
317
uint32_t count, enable;
sys/dev/sound/pci/vibes.c
331
count = ch->buffer->bufsize / 2; /* DMAC uses words */
sys/dev/sound/pci/vibes.c
334
count - 1,
sys/dev/sound/pci/vibes.c
336
count = count / SV_INTR_PER_BUFFER - 1;
sys/dev/sound/pci/vibes.c
337
sv_indirect_set(sc, SV_REG_DMAC_COUNT_HI, count >> 8);
sys/dev/sound/pci/vibes.c
338
sv_indirect_set(sc, SV_REG_DMAC_COUNT_LO, count & 0xff);
sys/dev/sound/pci/vibes.c
389
uint32_t count, enable, speed;
sys/dev/sound/pci/vibes.c
407
count = ch->buffer->bufsize;
sys/dev/sound/pci/vibes.c
410
count - 1,
sys/dev/sound/pci/vibes.c
412
count = count / SV_INTR_PER_BUFFER - 1;
sys/dev/sound/pci/vibes.c
413
sv_indirect_set(sc, SV_REG_DMAA_COUNT_HI, count >> 8);
sys/dev/sound/pci/vibes.c
414
sv_indirect_set(sc, SV_REG_DMAA_COUNT_LO, count & 0xff);
sys/dev/sound/pci/vibes.c
724
rman_res_t count, midi_start, games_start;
sys/dev/sound/pci/vibes.c
801
bus_get_resource(dev, SYS_RES_IOPORT, SV_PCI_MIDI, &midi_start, &count);
sys/dev/sound/pci/vibes.c
802
bus_get_resource(dev, SYS_RES_IOPORT, SV_PCI_GAMES, &games_start, &count);
sys/dev/sound/pcm/ac97.c
597
codec->count = AC97_INIT(codec->methods, codec->devinfo);
sys/dev/sound/pcm/ac97.c
598
if (codec->count == 0) {
sys/dev/sound/pcm/ac97.c
64
unsigned count, caps, se, extcaps, extid, extstat, noext:1;
sys/dev/sound/pcm/ac97.c
781
codec->count = AC97_INIT(codec->methods, codec->devinfo);
sys/dev/sound/pcm/ac97.c
782
if (codec->count == 0) {
sys/dev/sound/pcm/buffer.c
485
sndbuf_acquire(struct snd_dbuf *b, uint8_t *from, unsigned int count)
sys/dev/sound/pcm/buffer.c
489
KASSERT(count <= sndbuf_getfree(b), ("%s: count %d > free %d", __func__, count, sndbuf_getfree(b)));
sys/dev/sound/pcm/buffer.c
491
b->total += count;
sys/dev/sound/pcm/buffer.c
493
while (count > 0) {
sys/dev/sound/pcm/buffer.c
494
l = min(count, b->bufsize - sndbuf_getfreeptr(b));
sys/dev/sound/pcm/buffer.c
498
count -= l;
sys/dev/sound/pcm/buffer.c
501
b->rl += count;
sys/dev/sound/pcm/buffer.c
502
KASSERT((b->rl >= 0) && (b->rl <= b->bufsize), ("%s: b->rl invalid %d, count %d", __func__, b->rl, count));
sys/dev/sound/pcm/buffer.c
522
sndbuf_dispose(struct snd_dbuf *b, uint8_t *to, unsigned int count)
sys/dev/sound/pcm/buffer.c
526
KASSERT(count <= sndbuf_getready(b), ("%s: count %d > ready %d", __func__, count, sndbuf_getready(b)));
sys/dev/sound/pcm/buffer.c
529
while (count > 0) {
sys/dev/sound/pcm/buffer.c
530
l = min(count, b->bufsize - sndbuf_getreadyptr(b));
sys/dev/sound/pcm/buffer.c
535
count -= l;
sys/dev/sound/pcm/buffer.c
538
b->rl -= count;
sys/dev/sound/pcm/buffer.c
539
b->rp = (b->rp + count) % b->bufsize;
sys/dev/sound/pcm/buffer.c
541
KASSERT((b->rl >= 0) && (b->rl <= b->bufsize), ("%s: b->rl invalid %d, count %d", __func__, b->rl, count));
sys/dev/sound/pcm/buffer.c
548
sndbuf_feed(struct snd_dbuf *from, struct snd_dbuf *to, struct pcm_channel *channel, struct pcm_feeder *feeder, unsigned int count)
sys/dev/sound/pcm/buffer.c
552
KASSERT(count > 0, ("can't feed 0 bytes"));
sys/dev/sound/pcm/buffer.c
554
if (sndbuf_getfree(to) < count)
sys/dev/sound/pcm/buffer.c
561
min(count, maxfeed), from);
sys/dev/sound/pcm/buffer.c
565
count -= cnt;
sys/dev/sound/pcm/buffer.c
566
} while (count != 0);
sys/dev/sound/pcm/buffer.c
74
unsigned int count __diagused;
sys/dev/sound/pcm/buffer.c
77
count = refcount_acquire(&b->refcount);
sys/dev/sound/pcm/buffer.c
78
KASSERT(count > 0, ("sndbuf %p refcount 0", b));
sys/dev/sound/pcm/buffer.h
96
int sndbuf_acquire(struct snd_dbuf *b, uint8_t *from, unsigned int count);
sys/dev/sound/pcm/buffer.h
97
int sndbuf_dispose(struct snd_dbuf *b, uint8_t *to, unsigned int count);
sys/dev/sound/pcm/buffer.h
98
int sndbuf_feed(struct snd_dbuf *from, struct snd_dbuf *to, struct pcm_channel *channel, struct pcm_feeder *feeder, unsigned int count);
sys/dev/sound/pcm/channel.c
695
int ret, count, hcount, minflush, resid, residp, syncdelay, blksz;
sys/dev/sound/pcm/channel.c
759
count = sndbuf_xbytes(minflush + resid, bs, b) / blksz;
sys/dev/sound/pcm/channel.c
760
hcount = count;
sys/dev/sound/pcm/channel.c
765
"minflush=%d resid=%d\n", __func__, c->timeout, count,
sys/dev/sound/pcm/channel.c
770
while (count > 0 && (resid > 0 || minflush > 0)) {
sys/dev/sound/pcm/channel.c
778
--count;
sys/dev/sound/pcm/channel.c
784
__func__, c->timeout, count,
sys/dev/sound/pcm/channel.c
786
} else if (resid < residp && count < hcount) {
sys/dev/sound/pcm/channel.c
787
++count;
sys/dev/sound/pcm/channel.c
793
__func__, c->timeout, count,
sys/dev/sound/pcm/channel.c
815
__func__, c->timeout, count, hcount, resid, residp,
sys/dev/sound/pcm/feeder.c
307
feed_root(struct pcm_feeder *feeder, struct pcm_channel *ch, uint8_t *buffer, uint32_t count, void *source)
sys/dev/sound/pcm/feeder.c
312
KASSERT(count > 0, ("feed_root: count == 0"));
sys/dev/sound/pcm/feeder.c
317
l = min(count, sndbuf_getready(src));
sys/dev/sound/pcm/feeder.c
325
offset = count - l;
sys/dev/sound/pcm/feeder.c
334
offset, count, l, ch->feedcount);
sys/dev/sound/pcm/feeder.c
352
return count;
sys/dev/sound/pcm/feeder_eq.c
138
feed_eq_biquad(struct feed_eq_info *info, uint8_t *dst, uint32_t count,
sys/dev/sound/pcm/feeder_eq.c
190
} while (--count != 0);
sys/dev/sound/pcm/feeder_eq.c
341
uint32_t count, void *source)
sys/dev/sound/pcm/feeder_eq.c
350
count = SND_FXROUND(count, info->align);
sys/dev/sound/pcm/feeder_eq.c
353
if (count < info->align)
sys/dev/sound/pcm/feeder_eq.c
356
j = SND_FXDIV(FEEDER_FEED(f->source, c, dst, count, source),
sys/dev/sound/pcm/feeder_eq.c
379
count -= j;
sys/dev/sound/pcm/feeder_eq.c
381
} while (count != 0);
sys/dev/sound/pcm/feeder_format.c
124
uint32_t count, void *source)
sys/dev/sound/pcm/feeder_format.c
133
count = SND_FXROUND(count, info->oalign);
sys/dev/sound/pcm/feeder_format.c
136
if (count < info->oalign)
sys/dev/sound/pcm/feeder_format.c
139
if (count < info->ialign) {
sys/dev/sound/pcm/feeder_format.c
144
j = count;
sys/dev/sound/pcm/feeder_format.c
146
j = SND_FXROUND(count, info->ialign);
sys/dev/sound/pcm/feeder_format.c
148
j = SND_FXDIV(count, info->oalign) *
sys/dev/sound/pcm/feeder_format.c
150
src = dst + count - j;
sys/dev/sound/pcm/feeder_format.c
159
count -= j * info->obps;
sys/dev/sound/pcm/feeder_format.c
168
} while (count != 0);
sys/dev/sound/pcm/feeder_matrix.c
119
uint32_t count, const uint32_t fmt)
sys/dev/sound/pcm/feeder_matrix.c
157
} while (--count != 0);
sys/dev/sound/pcm/feeder_matrix.c
329
uint32_t count, void *source)
sys/dev/sound/pcm/feeder_matrix.c
337
return (FEEDER_FEED(f->source, c, b, count, source));
sys/dev/sound/pcm/feeder_matrix.c
340
count = SND_FXROUND(count, info->oalign);
sys/dev/sound/pcm/feeder_matrix.c
352
if (count < info->oalign)
sys/dev/sound/pcm/feeder_matrix.c
355
if (count < inmax) {
sys/dev/sound/pcm/feeder_matrix.c
360
j = count - info->oalign;
sys/dev/sound/pcm/feeder_matrix.c
362
j = SND_FXROUND(count - info->oalign,
sys/dev/sound/pcm/feeder_matrix.c
365
j = (SND_FXDIV(count, info->oalign) - 1) *
sys/dev/sound/pcm/feeder_matrix.c
367
src = dst + count - j;
sys/dev/sound/pcm/feeder_matrix.c
393
count -= j;
sys/dev/sound/pcm/feeder_matrix.c
395
} while (count != 0);
sys/dev/sound/pcm/feeder_mixer.c
223
uint32_t count, void *source)
sys/dev/sound/pcm/feeder_mixer.c
236
if (sz < count)
sys/dev/sound/pcm/feeder_mixer.c
237
count = sz;
sys/dev/sound/pcm/feeder_mixer.c
241
count = SND_FXROUND(count, sz);
sys/dev/sound/pcm/feeder_mixer.c
242
if (count < sz)
sys/dev/sound/pcm/feeder_mixer.c
274
b, count, ch->bufsoft), sz);
sys/dev/sound/pcm/feeder_mixer.c
277
FEEDER_FEED(ch->feeder, ch, tmp, count,
sys/dev/sound/pcm/feeder_mixer.c
287
b, count, ch->bufsoft), sz);
sys/dev/sound/pcm/feeder_mixer.c
290
FEEDER_FEED(ch->feeder, ch, tmp, count,
sys/dev/sound/pcm/feeder_mixer.c
295
b, count, ch->bufsoft), sz);
sys/dev/sound/pcm/feeder_mixer.c
296
mcnt = count - rcnt;
sys/dev/sound/pcm/feeder_mixer.c
299
tmp, count, ch->bufsoft), sz);
sys/dev/sound/pcm/feeder_mixer.c
53
feed_mixer_apply(uint8_t *src, uint8_t *dst, uint32_t count, const uint32_t fmt)
sys/dev/sound/pcm/feeder_mixer.c
58
src += count;
sys/dev/sound/pcm/feeder_mixer.c
59
dst += count;
sys/dev/sound/pcm/feeder_mixer.c
64
count -= AFMT_BPS(fmt);
sys/dev/sound/pcm/feeder_mixer.c
70
} while (count != 0);
sys/dev/sound/pcm/feeder_rate.c
1508
uint8_t *b, uint32_t count, void *source)
sys/dev/sound/pcm/feeder_rate.c
1517
return (z_feed(f->source, c, b, count, source));
sys/dev/sound/pcm/feeder_rate.c
1525
ocount = SND_FXDIV(count, align);
sys/dev/sound/pcm/feeder_rate.c
1637
uint32_t count, void *source)
sys/dev/sound/pcm/feeder_rate.c
1645
left = count;
sys/dev/sound/pcm/feeder_rate.c
1654
return (count - left);
sys/dev/sound/pcm/feeder_volume.c
229
uint32_t count, void *source)
sys/dev/sound/pcm/feeder_volume.c
248
return (FEEDER_FEED(f->source, c, b, count, source));
sys/dev/sound/pcm/feeder_volume.c
269
return (FEEDER_FEED(f->source, c, b, count, source));
sys/dev/sound/pcm/feeder_volume.c
285
if (count < align)
sys/dev/sound/pcm/feeder_volume.c
288
j = SND_FXDIV(FEEDER_FEED(f->source, c, dst, count, source),
sys/dev/sound/pcm/feeder_volume.c
297
count -= j;
sys/dev/sound/pcm/feeder_volume.c
299
} while (count != 0);
sys/dev/sound/pcm/feeder_volume.c
54
uint32_t channels, uint8_t *dst, uint32_t count) \
sys/dev/sound/pcm/feeder_volume.c
60
dst += count * PCM_##BIT##_BPS * channels; \
sys/dev/sound/pcm/feeder_volume.c
74
} while (--count != 0); \
sys/dev/spibus/acpi_spibus.c
420
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/spibus/acpi_spibus.c
428
type, rid, start, end, count, flags));
sys/dev/spibus/acpi_spibus.c
435
start, end, count, flags);
sys/dev/ste/if_ste.c
460
ste_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/ste/if_ste.c
467
rx_npkts = ste_poll_locked(ifp, cmd, count);
sys/dev/ste/if_ste.c
473
ste_poll_locked(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/ste/if_ste.c
480
rx_npkts = ste_rxeof(sc, count);
sys/dev/ste/if_ste.c
589
ste_rxeof(struct ste_softc *sc, int count)
sys/dev/ste/if_ste.c
611
if (count == 0)
sys/dev/ste/if_ste.c
613
count--;
sys/dev/stge/if_stge.c
1769
stge_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/stge/if_stge.c
1783
sc->sc_cdata.stge_rxcycles = count;
sys/dev/stge/if_stge.c
2517
int count;
sys/dev/stge/if_stge.c
2545
count = if_foreach_llmaddr(ifp, stge_hash_maddr, mchash);
sys/dev/stge/if_stge.c
2548
if (count > 0)
sys/dev/sume/if_sume.c
563
int error, count, capmem;
sys/dev/sume/if_sume.c
585
count = pci_msi_count(dev);
sys/dev/sume/if_sume.c
586
error = pci_alloc_msi(dev, &count);
sys/dev/superio/superio.c
516
rman_res_t count;
sys/dev/superio/superio.c
524
error = bus_get_resource(dev, SYS_RES_IOPORT, 0, &port, &count);
sys/dev/superio/superio.c
527
if (port > UINT16_MAX || count < NUMPORTS) {
sys/dev/syscons/fade/fade_saver.c
47
static int count = 0;
sys/dev/syscons/fade/fade_saver.c
53
if (count <= 0)
sys/dev/syscons/fade/fade_saver.c
55
if (count < 256) {
sys/dev/syscons/fade/fade_saver.c
58
if (palette[i] - count > 60)
sys/dev/syscons/fade/fade_saver.c
59
pal[i] = palette[i] - count;
sys/dev/syscons/fade/fade_saver.c
64
count++;
sys/dev/syscons/fade/fade_saver.c
72
count = 0;
sys/dev/syscons/scgfbrndr.c
133
gfb_draw(scr_stat *scp, int from, int count, int flip)
sys/dev/syscons/scgfbrndr.c
146
if (from + count > scp->xsize*scp->ysize) {
sys/dev/syscons/scgfbrndr.c
151
count = (from + count) -
sys/dev/syscons/scgfbrndr.c
158
n = (count / adp->va_info.vi_width) + 1;
sys/dev/syscons/scgfbrndr.c
168
(u_int16_t *)sc_vtb_pointer(&scp->vtb, from), count);
sys/dev/syscons/scgfbrndr.c
182
for (i = count; i-- > 0; ++from) {
sys/dev/syscons/scgfbrndr.c
191
count);
sys/dev/syscons/sctermvar.h
102
mark_for_update(scp, scp->cursor_pos + n + count - 1);
sys/dev/syscons/sctermvar.h
108
int count;
sys/dev/syscons/sctermvar.h
114
count = scp->xsize - (scp->xpos + n);
sys/dev/syscons/sctermvar.h
115
sc_vtb_move(&scp->vtb, scp->cursor_pos + n, scp->cursor_pos, count);
sys/dev/syscons/sctermvar.h
116
sc_vtb_erase(&scp->vtb, scp->cursor_pos + count, n, ch, attr);
sys/dev/syscons/sctermvar.h
118
mark_for_update(scp, scp->cursor_pos + n + count - 1);
sys/dev/syscons/sctermvar.h
92
int count;
sys/dev/syscons/sctermvar.h
98
count = scp->xsize - (scp->xpos + n);
sys/dev/syscons/sctermvar.h
99
sc_vtb_move(&scp->vtb, scp->cursor_pos, scp->cursor_pos + n, count);
sys/dev/syscons/scvgarndr.c
462
vga_txtdraw(scr_stat *scp, int from, int count, int flip)
sys/dev/syscons/scvgarndr.c
468
if (from + count > scp->xsize*scp->ysize)
sys/dev/syscons/scvgarndr.c
469
count = scp->xsize*scp->ysize - from;
sys/dev/syscons/scvgarndr.c
472
for (p = sc_vtb_pointer(&scp->scr, from); count-- > 0; ++from) {
sys/dev/syscons/scvgarndr.c
479
sc_vtb_copy(&scp->vtb, from, &scp->scr, from, count);
sys/dev/syscons/scvgarndr.c
886
vga_vgadraw_direct(scr_stat *scp, int from, int count, int flip)
sys/dev/syscons/scvgarndr.c
901
if (from + count > scp->xsize * scp->ysize)
sys/dev/syscons/scvgarndr.c
902
count = scp->xsize * scp->ysize - from;
sys/dev/syscons/scvgarndr.c
904
for (i = from; count-- > 0; ++i) {
sys/dev/syscons/scvgarndr.c
933
vga_vgadraw_planar(scr_stat *scp, int from, int count, int flip)
sys/dev/syscons/scvgarndr.c
956
if (from + count > scp->xsize*scp->ysize)
sys/dev/syscons/scvgarndr.c
957
count = scp->xsize*scp->ysize - from;
sys/dev/syscons/scvgarndr.c
958
for (i = from; count-- > 0; ++i) {
sys/dev/syscons/scvtb.c
176
sc_vtb_copy(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int to, int count)
sys/dev/syscons/scvtb.c
182
count*sizeof(u_int16_t));
sys/dev/syscons/scvtb.c
186
count*sizeof(u_int16_t));
sys/dev/syscons/scvtb.c
190
count*sizeof(u_int16_t));
sys/dev/syscons/scvtb.c
194
sc_vtb_append(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int count)
sys/dev/syscons/scvtb.c
201
while (count > 0) {
sys/dev/syscons/scvtb.c
202
len = imin(count, vtb2->vtb_size - vtb2->vtb_tail);
sys/dev/syscons/scvtb.c
212
count -= len;
sys/dev/syscons/scvtb.c
224
sc_vtb_erase(sc_vtb_t *vtb, int at, int count, int c, int attr)
sys/dev/syscons/scvtb.c
226
if (at + count > vtb->vtb_size)
sys/dev/syscons/scvtb.c
227
count = vtb->vtb_size - at;
sys/dev/syscons/scvtb.c
229
fillw_io(attr | c, sc_vtb_pointer(vtb, at), count);
sys/dev/syscons/scvtb.c
231
fillw(attr | c, (void *)sc_vtb_pointer(vtb, at), count);
sys/dev/syscons/scvtb.c
235
sc_vtb_move(sc_vtb_t *vtb, int from, int to, int count)
sys/dev/syscons/scvtb.c
237
if (from + count > vtb->vtb_size)
sys/dev/syscons/scvtb.c
238
count = vtb->vtb_size - from;
sys/dev/syscons/scvtb.c
239
if (to + count > vtb->vtb_size)
sys/dev/syscons/scvtb.c
240
count = vtb->vtb_size - to;
sys/dev/syscons/scvtb.c
241
if (count <= 0)
sys/dev/syscons/scvtb.c
245
sc_vtb_pointer(vtb, to), count*sizeof(u_int16_t));
sys/dev/syscons/scvtb.c
248
(void *)sc_vtb_pointer(vtb, to), count*sizeof(u_int16_t));
sys/dev/syscons/scvtb.c
252
sc_vtb_delete(sc_vtb_t *vtb, int at, int count, int c, int attr)
sys/dev/syscons/scvtb.c
256
if (at + count > vtb->vtb_size)
sys/dev/syscons/scvtb.c
257
count = vtb->vtb_size - at;
sys/dev/syscons/scvtb.c
258
len = vtb->vtb_size - at - count;
sys/dev/syscons/scvtb.c
261
bcopy_io(sc_vtb_pointer(vtb, at + count),
sys/dev/syscons/scvtb.c
265
bcopy((void *)sc_vtb_pointer(vtb, at + count),
sys/dev/syscons/scvtb.c
278
sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr)
sys/dev/syscons/scvtb.c
280
if (at + count > vtb->vtb_size)
sys/dev/syscons/scvtb.c
281
count = vtb->vtb_size - at;
sys/dev/syscons/scvtb.c
285
sc_vtb_pointer(vtb, at + count),
sys/dev/syscons/scvtb.c
286
(vtb->vtb_size - at - count)*sizeof(u_int16_t));
sys/dev/syscons/scvtb.c
289
(void *)sc_vtb_pointer(vtb, at + count),
sys/dev/syscons/scvtb.c
290
(vtb->vtb_size - at - count)*sizeof(u_int16_t));
sys/dev/syscons/scvtb.c
293
fillw_io(attr | c, sc_vtb_pointer(vtb, at), count);
sys/dev/syscons/scvtb.c
295
fillw(attr | c, (void *)sc_vtb_pointer(vtb, at), count);
sys/dev/syscons/syscons.c
4204
int base, int count)
sys/dev/syscons/syscons.c
4210
vidd_load_font(sc->adp, page, size, width, buf, base, count);
sys/dev/syscons/syscons.c
4216
int base, int count)
sys/dev/syscons/syscons.c
4222
vidd_save_font(sc->adp, page, size, width, buf, base, count);
sys/dev/syscons/syscons.c
4234
sc_paste(scr_stat *scp, const u_char *p, int count)
sys/dev/syscons/syscons.c
4243
for (; count > 0; --count)
sys/dev/syscons/syscons.c
4249
sc_respond(scr_stat *scp, const u_char *p, int count, int wakeup)
sys/dev/syscons/syscons.c
4256
ttydisc_rint_simple(tp, p, count);
sys/dev/syscons/syscons.h
440
typedef void vr_draw_t(scr_stat *scp, int from, int count, int flip);
sys/dev/syscons/syscons.h
556
u_char *font, int base, int count);
sys/dev/syscons/syscons.h
558
u_char *font, int base, int count);
sys/dev/syscons/syscons.h
571
void sc_paste(scr_stat *scp, const u_char *p, int count);
sys/dev/syscons/syscons.h
573
int count, int wakeup);
sys/dev/syscons/syscons.h
652
int count);
sys/dev/syscons/syscons.h
654
int count);
sys/dev/syscons/syscons.h
656
void sc_vtb_erase(sc_vtb_t *vtb, int at, int count, int c, int attr);
sys/dev/syscons/syscons.h
657
void sc_vtb_move(sc_vtb_t *vtb, int from, int to, int count);
sys/dev/syscons/syscons.h
658
void sc_vtb_delete(sc_vtb_t *vtb, int at, int count, int c, int attr);
sys/dev/syscons/syscons.h
659
void sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr);
sys/dev/thunderbolt/nhi.c
1008
u_int count;
sys/dev/thunderbolt/nhi.c
1021
count = r->tx_ring_depth;
sys/dev/thunderbolt/nhi.c
1022
while (count-- > 0) {
sys/dev/thunderbolt/nhi.c
1047
count = r->rx_ring_depth;
sys/dev/thunderbolt/nhi.c
1050
while (count-- > 0) {
sys/dev/thunderbolt/nhi.c
792
int error, count;
sys/dev/thunderbolt/nhi.c
801
count = cmd->timeout * 100;
sys/dev/thunderbolt/nhi.c
804
while ((count-- > 0) && (cmd->flags & CMD_REQ_COMPLETE) == 0) {
sys/dev/ti/if_ti.c
1884
ti_add_mcast(void *arg, struct sockaddr_dl *sdl, u_int count)
sys/dev/ti/if_ti.c
1912
ti_del_mcast(void *arg, struct sockaddr_dl *sdl, u_int count)
sys/dev/tpm/tpm.c
1062
tpm_legacy_read(struct tpm_softc *sc, void *buf, int len, size_t *count,
sys/dev/tpm/tpm.c
1082
*count = cnt;
sys/dev/tpm/tpm.c
769
tpm_tis12_read(struct tpm_softc *sc, void *buf, int len, size_t *count,
sys/dev/tpm/tpm.c
802
if (count)
sys/dev/tpm/tpm.c
803
*count = cnt;
sys/dev/tpm/tpm_tis_core.c
285
tpmtis_read_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf)
sys/dev/tpm/tpm_tis_core.c
289
while (count > 0) {
sys/dev/tpm/tpm_tis_core.c
294
burst_count = MIN(burst_count, count);
sys/dev/tpm/tpm_tis_core.c
295
count -= burst_count;
sys/dev/tpm/tpm_tis_core.c
305
tpmtis_write_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf)
sys/dev/tpm/tpm_tis_core.c
309
while (count > 0) {
sys/dev/tpm/tpm_tis_core.c
314
burst_count = MIN(burst_count, count);
sys/dev/tpm/tpm_tis_core.c
315
count -= burst_count;
sys/dev/tpm/tpm_tis_core.c
84
static bool tpmtis_read_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf);
sys/dev/tpm/tpm_tis_core.c
85
static bool tpmtis_write_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf);
sys/dev/tsec/if_tsec.c
101
static int tsec_receive_intr_locked(struct tsec_softc *sc, int count);
sys/dev/tsec/if_tsec.c
103
static void tsec_error_intr_locked(struct tsec_softc *sc, int count);
sys/dev/tsec/if_tsec.c
1275
tsec_receive_intr_locked(struct tsec_softc *sc, int count)
sys/dev/tsec/if_tsec.c
1295
if (count >= 0 && count-- == 0)
sys/dev/tsec/if_tsec.c
1503
tsec_error_intr_locked(struct tsec_softc *sc, int count)
sys/dev/tsec/if_tsec.c
1749
uint32_t count;
sys/dev/tsec/if_tsec.c
1752
count = (arg2 == TSEC_IC_RX) ? sc->rx_ic_count : sc->tx_ic_count;
sys/dev/tsec/if_tsec.c
1754
error = sysctl_handle_int(oidp, &count, 0, req);
sys/dev/tsec/if_tsec.c
1758
if (count > 255)
sys/dev/tsec/if_tsec.c
1763
sc->rx_ic_count = count;
sys/dev/tsec/if_tsec.c
1766
sc->tx_ic_count = count;
sys/dev/tsec/if_tsec.c
885
tsec_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/tsec/if_tsec.c
900
tsec_error_intr_locked(sc, count);
sys/dev/tsec/if_tsec.c
911
rx_npkts = tsec_receive_intr_locked(sc, count);
sys/dev/tsec/if_tsec.h
134
#define TSEC_INC(count, wrap) (count = ((count) + 1) & ((wrap) - 1))
sys/dev/tsec/if_tsec.h
136
#define TSEC_GET_GENERIC(hand, tab, count, wrap) \
sys/dev/tsec/if_tsec.h
137
((hand)->tab[TSEC_INC((hand)->count, wrap)])
sys/dev/tsec/if_tsec.h
139
#define TSEC_PUT_GENERIC(hand, tab, count, wrap, val) \
sys/dev/tsec/if_tsec.h
140
((hand)->tab[TSEC_INC((hand)->count, wrap)] = val)
sys/dev/tsec/if_tsec.h
142
#define TSEC_BACK_GENERIC(sc, count, wrap) do { \
sys/dev/tsec/if_tsec.h
143
if ((sc)->count > 0) \
sys/dev/tsec/if_tsec.h
144
(sc)->count--; \
sys/dev/tsec/if_tsec.h
146
(sc)->count = (wrap) - 1; \
sys/dev/tws/tws_hdm.c
264
cmd->count = 0;
sys/dev/tws/tws_hdm.h
267
u_int16_t count; /* block cnt, parameter cnt, message credits */
sys/dev/uart/uart_bus_pci.c
312
int count, result;
sys/dev/uart/uart_bus_pci.c
342
count = 1;
sys/dev/uart/uart_bus_pci.c
343
if (pci_alloc_msi(dev, &count) == 0) {
sys/dev/uart/uart_bus_pci.c
345
device_printf(dev, "Using %d MSI message\n", count);
sys/dev/uart/uart_dev_ns8250.c
1019
count = 0;
sys/dev/uart/uart_dev_ns8250.c
1022
} while ((lsr & LSR_OE) == 0 && count < 260);
sys/dev/uart/uart_dev_ns8250.c
1023
count--;
sys/dev/uart/uart_dev_ns8250.c
1031
if (count >= 14 && count <= 16) {
sys/dev/uart/uart_dev_ns8250.c
1034
} else if (count >= 28 && count <= 32) {
sys/dev/uart/uart_dev_ns8250.c
1037
} else if (count >= 56 && count <= 64) {
sys/dev/uart/uart_dev_ns8250.c
1040
} else if (count >= 112 && count <= 128) {
sys/dev/uart/uart_dev_ns8250.c
1043
} else if (count >= 224 && count <= 256) {
sys/dev/uart/uart_dev_ns8250.c
919
int count, delay, error, limit;
sys/dev/uart/uart_dev_ns8250.c
970
count = 0;
sys/dev/uart/uart_dev_ns8250.c
992
count++;
sys/dev/usb/controller/atmegadci.c
246
uint16_t count;
sys/dev/usb/controller/atmegadci.c
266
count =
sys/dev/usb/controller/atmegadci.c
271
count &= 0x7FF;
sys/dev/usb/controller/atmegadci.c
274
if (count != td->remainder) {
sys/dev/usb/controller/atmegadci.c
276
"length, %d bytes\n", count);
sys/dev/usb/controller/atmegadci.c
279
if (count != sizeof(req)) {
sys/dev/usb/controller/atmegadci.c
281
"length, %d bytes\n", count);
sys/dev/usb/controller/atmegadci.c
331
uint16_t count;
sys/dev/usb/controller/atmegadci.c
374
count =
sys/dev/usb/controller/atmegadci.c
379
count &= 0x7FF;
sys/dev/usb/controller/atmegadci.c
382
if (count != td->max_packet_size) {
sys/dev/usb/controller/atmegadci.c
383
if (count < td->max_packet_size) {
sys/dev/usb/controller/atmegadci.c
394
if (count > td->remainder) {
sys/dev/usb/controller/atmegadci.c
399
while (count > 0) {
sys/dev/usb/controller/atmegadci.c
403
if (buf_res.length > count) {
sys/dev/usb/controller/atmegadci.c
404
buf_res.length = count;
sys/dev/usb/controller/atmegadci.c
411
count -= buf_res.length;
sys/dev/usb/controller/atmegadci.c
445
uint16_t count;
sys/dev/usb/controller/atmegadci.c
479
count = td->max_packet_size;
sys/dev/usb/controller/atmegadci.c
480
if (td->remainder < count) {
sys/dev/usb/controller/atmegadci.c
483
count = td->remainder;
sys/dev/usb/controller/atmegadci.c
485
while (count > 0) {
sys/dev/usb/controller/atmegadci.c
489
if (buf_res.length > count) {
sys/dev/usb/controller/atmegadci.c
490
buf_res.length = count;
sys/dev/usb/controller/atmegadci.c
497
count -= buf_res.length;
sys/dev/usb/controller/avr32dci.c
277
uint16_t count;
sys/dev/usb/controller/avr32dci.c
294
count = AVR32_EPTSTA_BYTE_COUNT(temp);
sys/dev/usb/controller/avr32dci.c
297
if (count != td->remainder) {
sys/dev/usb/controller/avr32dci.c
299
"length, %d bytes\n", count);
sys/dev/usb/controller/avr32dci.c
302
if (count != sizeof(req)) {
sys/dev/usb/controller/avr32dci.c
304
"length, %d bytes\n", count);
sys/dev/usb/controller/avr32dci.c
352
uint16_t count;
sys/dev/usb/controller/avr32dci.c
391
count = AVR32_EPTSTA_BYTE_COUNT(temp);
sys/dev/usb/controller/avr32dci.c
394
if (count != td->max_packet_size) {
sys/dev/usb/controller/avr32dci.c
395
if (count < td->max_packet_size) {
sys/dev/usb/controller/avr32dci.c
406
if (count > td->remainder) {
sys/dev/usb/controller/avr32dci.c
411
while (count > 0) {
sys/dev/usb/controller/avr32dci.c
415
if (buf_res.length > count) {
sys/dev/usb/controller/avr32dci.c
416
buf_res.length = count;
sys/dev/usb/controller/avr32dci.c
423
count -= buf_res.length;
sys/dev/usb/controller/avr32dci.c
451
uint16_t count;
sys/dev/usb/controller/avr32dci.c
479
count = td->max_packet_size;
sys/dev/usb/controller/avr32dci.c
480
if (td->remainder < count) {
sys/dev/usb/controller/avr32dci.c
483
count = td->remainder;
sys/dev/usb/controller/avr32dci.c
485
while (count > 0) {
sys/dev/usb/controller/avr32dci.c
489
if (buf_res.length > count) {
sys/dev/usb/controller/avr32dci.c
490
buf_res.length = count;
sys/dev/usb/controller/avr32dci.c
498
count -= buf_res.length;
sys/dev/usb/controller/dwc_otg.c
1098
uint16_t count;
sys/dev/usb/controller/dwc_otg.c
1134
count = GRXSTSRD_BCNT_GET(sc->sc_last_rx_status);
sys/dev/usb/controller/dwc_otg.c
1136
if (count != sizeof(req)) {
sys/dev/usb/controller/dwc_otg.c
1138
"length, %d bytes\n", count);
sys/dev/usb/controller/dwc_otg.c
1256
uint32_t count;
sys/dev/usb/controller/dwc_otg.c
1284
count = GRXSTSRD_BCNT_GET(sc->sc_last_rx_status);
sys/dev/usb/controller/dwc_otg.c
1296
if (count != td->remainder) {
sys/dev/usb/controller/dwc_otg.c
1304
if (count != td->max_packet_size) {
sys/dev/usb/controller/dwc_otg.c
1305
if (count < td->max_packet_size) {
sys/dev/usb/controller/dwc_otg.c
1323
if (count > td->remainder) {
sys/dev/usb/controller/dwc_otg.c
1333
dwc_otg_read_fifo(sc, td->pc, td->offset, count);
sys/dev/usb/controller/dwc_otg.c
1335
td->remainder -= count;
sys/dev/usb/controller/dwc_otg.c
1336
td->offset += count;
sys/dev/usb/controller/dwc_otg.c
1664
uint16_t count;
sys/dev/usb/controller/dwc_otg.c
1704
count = GRXSTSRD_BCNT_GET(sc->sc_last_rx_status);
sys/dev/usb/controller/dwc_otg.c
1707
if (count != td->max_packet_size) {
sys/dev/usb/controller/dwc_otg.c
1708
if (count < td->max_packet_size) {
sys/dev/usb/controller/dwc_otg.c
171
uint32_t offset, uint32_t fifo, uint32_t count)
sys/dev/usb/controller/dwc_otg.c
1722
if (count > td->remainder) {
sys/dev/usb/controller/dwc_otg.c
1732
dwc_otg_read_fifo(sc, td->pc, td->offset, count);
sys/dev/usb/controller/dwc_otg.c
1734
td->remainder -= count;
sys/dev/usb/controller/dwc_otg.c
1735
td->offset += count;
sys/dev/usb/controller/dwc_otg.c
176
temp = count & ~3;
sys/dev/usb/controller/dwc_otg.c
1791
uint32_t count;
sys/dev/usb/controller/dwc_otg.c
183
count -= temp;
sys/dev/usb/controller/dwc_otg.c
1963
count = td->remainder;
sys/dev/usb/controller/dwc_otg.c
1964
if (count > HCSPLT_XACTLEN_BURST) {
sys/dev/usb/controller/dwc_otg.c
1990
count = td->max_packet_size;
sys/dev/usb/controller/dwc_otg.c
1992
if (rem_bytes < count) {
sys/dev/usb/controller/dwc_otg.c
1995
count = rem_bytes;
sys/dev/usb/controller/dwc_otg.c
1997
if (count == rem_bytes) {
sys/dev/usb/controller/dwc_otg.c
2002
(count << HCTSIZ_XFERSIZE_SHIFT) |
sys/dev/usb/controller/dwc_otg.c
2009
(count << HCTSIZ_XFERSIZE_SHIFT) |
sys/dev/usb/controller/dwc_otg.c
2015
(count << HCTSIZ_XFERSIZE_SHIFT) |
sys/dev/usb/controller/dwc_otg.c
2024
(count << HCTSIZ_XFERSIZE_SHIFT) |
sys/dev/usb/controller/dwc_otg.c
2031
(count << HCTSIZ_XFERSIZE_SHIFT) |
sys/dev/usb/controller/dwc_otg.c
204
if (count != 0) {
sys/dev/usb/controller/dwc_otg.c
2052
if (count != 0) {
sys/dev/usb/controller/dwc_otg.c
2055
td->tx_bytes, DOTG_DFIFO(channel), count);
sys/dev/usb/controller/dwc_otg.c
2059
td->tx_bytes += count;
sys/dev/usb/controller/dwc_otg.c
206
sc->sc_bounce_buffer[(count - 1) / 4] = 0;
sys/dev/usb/controller/dwc_otg.c
2065
if (count == rem_bytes)
sys/dev/usb/controller/dwc_otg.c
210
sc->sc_bounce_buffer, count);
sys/dev/usb/controller/dwc_otg.c
2130
uint32_t count;
sys/dev/usb/controller/dwc_otg.c
215
(count + 3) / 4);
sys/dev/usb/controller/dwc_otg.c
2187
count = td->tx_bytes;
sys/dev/usb/controller/dwc_otg.c
2188
if (count > fifo_left)
sys/dev/usb/controller/dwc_otg.c
2189
count = fifo_left;
sys/dev/usb/controller/dwc_otg.c
2191
if (count != 0) {
sys/dev/usb/controller/dwc_otg.c
2194
DOTG_DFIFO(td->ep_no), count);
sys/dev/usb/controller/dwc_otg.c
2196
td->tx_bytes -= count;
sys/dev/usb/controller/dwc_otg.c
2197
td->remainder -= count;
sys/dev/usb/controller/dwc_otg.c
2198
td->offset += count;
sys/dev/usb/controller/dwc_otg.c
221
uint32_t offset, uint32_t count)
sys/dev/usb/controller/dwc_otg.c
2238
count = td->remainder;
sys/dev/usb/controller/dwc_otg.c
2239
if (count > 0x7FFFFF)
sys/dev/usb/controller/dwc_otg.c
2240
count = 0x7FFFFF - (0x7FFFFF % td->max_packet_size);
sys/dev/usb/controller/dwc_otg.c
2242
td->npkt = count / td->max_packet_size;
sys/dev/usb/controller/dwc_otg.c
2254
count = td->max_packet_size * mpkt;
sys/dev/usb/controller/dwc_otg.c
2255
} else if ((count == 0) || (count % td->max_packet_size)) {
sys/dev/usb/controller/dwc_otg.c
226
temp = count & ~3;
sys/dev/usb/controller/dwc_otg.c
2263
count = td->max_packet_size;
sys/dev/usb/controller/dwc_otg.c
2264
if (td->remainder < count) {
sys/dev/usb/controller/dwc_otg.c
2267
count = td->remainder;
sys/dev/usb/controller/dwc_otg.c
2274
DXEPTSIZ_SET_NBYTES(count));
sys/dev/usb/controller/dwc_otg.c
2299
td->tx_bytes = count;
sys/dev/usb/controller/dwc_otg.c
233
count -= temp;
sys/dev/usb/controller/dwc_otg.c
255
if (count != 0) {
sys/dev/usb/controller/dwc_otg.c
259
sc->sc_bounce_buffer, (count + 3) / 4);
sys/dev/usb/controller/dwc_otg.c
262
usbd_copy_in(pc, offset, sc->sc_bounce_buffer, count);
sys/dev/usb/controller/dwc_otg.c
265
count = (count + 3) & ~3;
sys/dev/usb/controller/dwc_otg.c
268
sc->sc_current_rx_bytes -= count;
sys/dev/usb/controller/dwc_otg.c
2680
uint32_t count;
sys/dev/usb/controller/dwc_otg.c
269
sc->sc_current_rx_fifo += count;
sys/dev/usb/controller/dwc_otg.c
2693
count = 0;
sys/dev/usb/controller/dwc_otg.c
2695
if (++count == 16) {
sys/dev/usb/controller/musb_otg.c
1006
temp = count & 3;
sys/dev/usb/controller/musb_otg.c
1011
(void *)(&sc->sc_bounce_buf[count / 4]), temp);
sys/dev/usb/controller/musb_otg.c
1014
sc->sc_bounce_buf, count);
sys/dev/usb/controller/musb_otg.c
1017
td->offset += count;
sys/dev/usb/controller/musb_otg.c
1018
td->remainder -= count;
sys/dev/usb/controller/musb_otg.c
1031
count -= temp;
sys/dev/usb/controller/musb_otg.c
1041
count -= buf_res.length;
sys/dev/usb/controller/musb_otg.c
1072
uint16_t count;
sys/dev/usb/controller/musb_otg.c
1154
count = td->max_frame_size;
sys/dev/usb/controller/musb_otg.c
1155
if (td->remainder < count) {
sys/dev/usb/controller/musb_otg.c
1158
count = td->remainder;
sys/dev/usb/controller/musb_otg.c
1161
while (count > 0) {
sys/dev/usb/controller/musb_otg.c
1167
if (buf_res.length > count) {
sys/dev/usb/controller/musb_otg.c
1168
buf_res.length = count;
sys/dev/usb/controller/musb_otg.c
1173
sc->sc_bounce_buf, count);
sys/dev/usb/controller/musb_otg.c
1175
temp = count & ~3;
sys/dev/usb/controller/musb_otg.c
1183
temp = count & 3;
sys/dev/usb/controller/musb_otg.c
1188
((void *)&sc->sc_bounce_buf[count / 4]), temp);
sys/dev/usb/controller/musb_otg.c
1191
td->offset += count;
sys/dev/usb/controller/musb_otg.c
1192
td->remainder -= count;
sys/dev/usb/controller/musb_otg.c
1205
count -= temp;
sys/dev/usb/controller/musb_otg.c
1216
count -= buf_res.length;
sys/dev/usb/controller/musb_otg.c
1432
uint16_t count;
sys/dev/usb/controller/musb_otg.c
1471
count = MUSB2_READ_2(sc, MUSB2_REG_RXCOUNT);
sys/dev/usb/controller/musb_otg.c
1473
DPRINTFN(4, "count=0x%04x\n", count);
sys/dev/usb/controller/musb_otg.c
1478
if (count != td->max_frame_size) {
sys/dev/usb/controller/musb_otg.c
1479
if (count < td->max_frame_size) {
sys/dev/usb/controller/musb_otg.c
1491
if (count > td->remainder) {
sys/dev/usb/controller/musb_otg.c
1497
while (count > 0) {
sys/dev/usb/controller/musb_otg.c
1503
if (buf_res.length > count) {
sys/dev/usb/controller/musb_otg.c
1504
buf_res.length = count;
sys/dev/usb/controller/musb_otg.c
1508
temp = count & ~3;
sys/dev/usb/controller/musb_otg.c
1516
temp = count & 3;
sys/dev/usb/controller/musb_otg.c
1521
((void *)&sc->sc_bounce_buf[count / 4]), temp);
sys/dev/usb/controller/musb_otg.c
1524
sc->sc_bounce_buf, count);
sys/dev/usb/controller/musb_otg.c
1527
td->offset += count;
sys/dev/usb/controller/musb_otg.c
1528
td->remainder -= count;
sys/dev/usb/controller/musb_otg.c
1541
count -= temp;
sys/dev/usb/controller/musb_otg.c
1552
count -= buf_res.length;
sys/dev/usb/controller/musb_otg.c
1580
uint16_t count;
sys/dev/usb/controller/musb_otg.c
1615
count = td->max_frame_size;
sys/dev/usb/controller/musb_otg.c
1616
if (td->remainder < count) {
sys/dev/usb/controller/musb_otg.c
1619
count = td->remainder;
sys/dev/usb/controller/musb_otg.c
1621
while (count > 0) {
sys/dev/usb/controller/musb_otg.c
1627
if (buf_res.length > count) {
sys/dev/usb/controller/musb_otg.c
1628
buf_res.length = count;
sys/dev/usb/controller/musb_otg.c
1633
sc->sc_bounce_buf, count);
sys/dev/usb/controller/musb_otg.c
1635
temp = count & ~3;
sys/dev/usb/controller/musb_otg.c
1643
temp = count & 3;
sys/dev/usb/controller/musb_otg.c
1648
((void *)&sc->sc_bounce_buf[count / 4]), temp);
sys/dev/usb/controller/musb_otg.c
1651
td->offset += count;
sys/dev/usb/controller/musb_otg.c
1652
td->remainder -= count;
sys/dev/usb/controller/musb_otg.c
1665
count -= temp;
sys/dev/usb/controller/musb_otg.c
1676
count -= buf_res.length;
sys/dev/usb/controller/musb_otg.c
1707
uint16_t count;
sys/dev/usb/controller/musb_otg.c
1815
count = MUSB2_READ_2(sc, MUSB2_REG_RXCOUNT);
sys/dev/usb/controller/musb_otg.c
1816
DPRINTFN(4, "count=0x%04x\n", count);
sys/dev/usb/controller/musb_otg.c
1821
if (count != td->max_frame_size) {
sys/dev/usb/controller/musb_otg.c
1822
if (count < td->max_frame_size) {
sys/dev/usb/controller/musb_otg.c
1835
if (count > td->remainder) {
sys/dev/usb/controller/musb_otg.c
1842
while (count > 0) {
sys/dev/usb/controller/musb_otg.c
1848
if (buf_res.length > count) {
sys/dev/usb/controller/musb_otg.c
1849
buf_res.length = count;
sys/dev/usb/controller/musb_otg.c
1853
temp = count & ~3;
sys/dev/usb/controller/musb_otg.c
1861
temp = count & 3;
sys/dev/usb/controller/musb_otg.c
1866
((void *)&sc->sc_bounce_buf[count / 4]), temp);
sys/dev/usb/controller/musb_otg.c
1869
sc->sc_bounce_buf, count);
sys/dev/usb/controller/musb_otg.c
1872
td->offset += count;
sys/dev/usb/controller/musb_otg.c
1873
td->remainder -= count;
sys/dev/usb/controller/musb_otg.c
1886
count -= temp;
sys/dev/usb/controller/musb_otg.c
1897
count -= buf_res.length;
sys/dev/usb/controller/musb_otg.c
1929
uint16_t count;
sys/dev/usb/controller/musb_otg.c
2011
count = td->max_frame_size;
sys/dev/usb/controller/musb_otg.c
2012
if (td->remainder < count) {
sys/dev/usb/controller/musb_otg.c
2015
count = td->remainder;
sys/dev/usb/controller/musb_otg.c
2018
while (count > 0) {
sys/dev/usb/controller/musb_otg.c
2024
if (buf_res.length > count) {
sys/dev/usb/controller/musb_otg.c
2025
buf_res.length = count;
sys/dev/usb/controller/musb_otg.c
2030
sc->sc_bounce_buf, count);
sys/dev/usb/controller/musb_otg.c
2032
temp = count & ~3;
sys/dev/usb/controller/musb_otg.c
2040
temp = count & 3;
sys/dev/usb/controller/musb_otg.c
2045
((void *)&sc->sc_bounce_buf[count / 4]), temp);
sys/dev/usb/controller/musb_otg.c
2048
td->offset += count;
sys/dev/usb/controller/musb_otg.c
2049
td->remainder -= count;
sys/dev/usb/controller/musb_otg.c
2062
count -= temp;
sys/dev/usb/controller/musb_otg.c
2073
count -= buf_res.length;
sys/dev/usb/controller/musb_otg.c
402
uint16_t count;
sys/dev/usb/controller/musb_otg.c
462
count = MUSB2_READ_2(sc, MUSB2_REG_RXCOUNT);
sys/dev/usb/controller/musb_otg.c
465
if (count != td->remainder) {
sys/dev/usb/controller/musb_otg.c
467
"length, %d bytes\n", count);
sys/dev/usb/controller/musb_otg.c
474
if (count != sizeof(req)) {
sys/dev/usb/controller/musb_otg.c
476
"length, %d bytes\n", count);
sys/dev/usb/controller/musb_otg.c
637
uint16_t count;
sys/dev/usb/controller/musb_otg.c
679
count = MUSB2_READ_2(sc, MUSB2_REG_RXCOUNT);
sys/dev/usb/controller/musb_otg.c
682
if (count != td->max_frame_size) {
sys/dev/usb/controller/musb_otg.c
683
if (count < td->max_frame_size) {
sys/dev/usb/controller/musb_otg.c
694
if (count > td->remainder) {
sys/dev/usb/controller/musb_otg.c
699
while (count > 0) {
sys/dev/usb/controller/musb_otg.c
705
if (buf_res.length > count) {
sys/dev/usb/controller/musb_otg.c
706
buf_res.length = count;
sys/dev/usb/controller/musb_otg.c
710
temp = count & ~3;
sys/dev/usb/controller/musb_otg.c
718
temp = count & 3;
sys/dev/usb/controller/musb_otg.c
723
(void *)(&sc->sc_bounce_buf[count / 4]), temp);
sys/dev/usb/controller/musb_otg.c
726
sc->sc_bounce_buf, count);
sys/dev/usb/controller/musb_otg.c
729
td->offset += count;
sys/dev/usb/controller/musb_otg.c
730
td->remainder -= count;
sys/dev/usb/controller/musb_otg.c
743
count -= temp;
sys/dev/usb/controller/musb_otg.c
753
count -= buf_res.length;
sys/dev/usb/controller/musb_otg.c
778
uint16_t count;
sys/dev/usb/controller/musb_otg.c
809
count = td->max_frame_size;
sys/dev/usb/controller/musb_otg.c
810
if (td->remainder < count) {
sys/dev/usb/controller/musb_otg.c
813
count = td->remainder;
sys/dev/usb/controller/musb_otg.c
815
while (count > 0) {
sys/dev/usb/controller/musb_otg.c
821
if (buf_res.length > count) {
sys/dev/usb/controller/musb_otg.c
822
buf_res.length = count;
sys/dev/usb/controller/musb_otg.c
827
sc->sc_bounce_buf, count);
sys/dev/usb/controller/musb_otg.c
829
temp = count & ~3;
sys/dev/usb/controller/musb_otg.c
837
temp = count & 3;
sys/dev/usb/controller/musb_otg.c
842
((void *)&sc->sc_bounce_buf[count / 4]), temp);
sys/dev/usb/controller/musb_otg.c
845
td->offset += count;
sys/dev/usb/controller/musb_otg.c
846
td->remainder -= count;
sys/dev/usb/controller/musb_otg.c
859
count -= temp;
sys/dev/usb/controller/musb_otg.c
869
count -= buf_res.length;
sys/dev/usb/controller/musb_otg.c
894
uint16_t count;
sys/dev/usb/controller/musb_otg.c
965
count = MUSB2_READ_2(sc, MUSB2_REG_RXCOUNT);
sys/dev/usb/controller/musb_otg.c
968
if (count != td->max_frame_size) {
sys/dev/usb/controller/musb_otg.c
969
if (count < td->max_frame_size) {
sys/dev/usb/controller/musb_otg.c
981
if (count > td->remainder) {
sys/dev/usb/controller/musb_otg.c
987
while (count > 0) {
sys/dev/usb/controller/musb_otg.c
993
if (buf_res.length > count) {
sys/dev/usb/controller/musb_otg.c
994
buf_res.length = count;
sys/dev/usb/controller/musb_otg.c
998
temp = count & ~3;
sys/dev/usb/controller/uss820dci.c
251
uint16_t count;
sys/dev/usb/controller/uss820dci.c
281
count = USS820_READ_1(sc, USS820_RXCNTL);
sys/dev/usb/controller/uss820dci.c
282
count |= (USS820_READ_1(sc, USS820_RXCNTH) << 8);
sys/dev/usb/controller/uss820dci.c
283
count &= 0x3FF;
sys/dev/usb/controller/uss820dci.c
286
if (count != td->remainder) {
sys/dev/usb/controller/uss820dci.c
288
"length, %d bytes\n", count);
sys/dev/usb/controller/uss820dci.c
291
if (count != sizeof(req)) {
sys/dev/usb/controller/uss820dci.c
293
"length, %d bytes\n", count);
sys/dev/usb/controller/uss820dci.c
376
uint16_t count;
sys/dev/usb/controller/uss820dci.c
437
count = USS820_READ_1(sc, USS820_RXCNTL);
sys/dev/usb/controller/uss820dci.c
438
count |= (USS820_READ_1(sc, USS820_RXCNTH) << 8);
sys/dev/usb/controller/uss820dci.c
439
count &= 0x3FF;
sys/dev/usb/controller/uss820dci.c
441
DPRINTFN(5, "count=0x%04x\n", count);
sys/dev/usb/controller/uss820dci.c
444
if (count != td->max_packet_size) {
sys/dev/usb/controller/uss820dci.c
445
if (count < td->max_packet_size) {
sys/dev/usb/controller/uss820dci.c
456
if (count > td->remainder) {
sys/dev/usb/controller/uss820dci.c
461
while (count > 0) {
sys/dev/usb/controller/uss820dci.c
465
if (buf_res.length > count) {
sys/dev/usb/controller/uss820dci.c
466
buf_res.length = count;
sys/dev/usb/controller/uss820dci.c
473
count -= buf_res.length;
sys/dev/usb/controller/uss820dci.c
501
uint16_t count;
sys/dev/usb/controller/uss820dci.c
550
count = td->max_packet_size;
sys/dev/usb/controller/uss820dci.c
551
if (td->remainder < count) {
sys/dev/usb/controller/uss820dci.c
554
count = td->remainder;
sys/dev/usb/controller/uss820dci.c
556
count_copy = count;
sys/dev/usb/controller/uss820dci.c
557
while (count > 0) {
sys/dev/usb/controller/uss820dci.c
561
if (buf_res.length > count) {
sys/dev/usb/controller/uss820dci.c
562
buf_res.length = count;
sys/dev/usb/controller/uss820dci.c
569
count -= buf_res.length;
sys/dev/usb/controller/xhci_pci.c
300
int count, err, msix_table, rid;
sys/dev/usb/controller/xhci_pci.c
372
count = 1;
sys/dev/usb/controller/xhci_pci.c
373
if (pci_alloc_msix(self, &count) == 0) {
sys/dev/usb/controller/xhci_pci.c
388
count = 1;
sys/dev/usb/controller/xhci_pci.c
389
if (pci_alloc_msi(self, &count) == 0) {
sys/dev/usb/input/ukbd.c
856
if (tmp_loc.count > UKBD_NKEYCODE)
sys/dev/usb/input/ukbd.c
857
tmp_loc.count = UKBD_NKEYCODE;
sys/dev/usb/input/ukbd.c
858
while (tmp_loc.count--) {
sys/dev/usb/net/if_cdce.c
962
cdce_m_crc32_cb(void *arg, void *src, uint32_t count)
sys/dev/usb/net/if_cdce.c
966
*p_crc = crc32_raw(src, count, *p_crc);
sys/dev/usb/net/if_cdceem.c
769
cdceem_m_crc32_cb(void *arg, void *src, uint32_t count)
sys/dev/usb/net/if_cdceem.c
773
*p_crc = crc32_raw(src, count, *p_crc);
sys/dev/usb/net/if_muge.c
1530
uint32_t count;
sys/dev/usb/net/if_muge.c
1535
count = proplen / sizeof( uint32_t );
sys/dev/usb/net/if_muge.c
1536
sc->sc_leds = (count > 0) * ETH_HW_CFG_LEDO_EN_ |
sys/dev/usb/net/if_muge.c
1537
(count > 1) * ETH_HW_CFG_LED1_EN_ |
sys/dev/usb/net/if_muge.c
1538
(count > 2) * ETH_HW_CFG_LED2_EN_ |
sys/dev/usb/net/if_muge.c
1539
(count > 3) * ETH_HW_CFG_LED3_EN_;
sys/dev/usb/net/if_muge.c
1540
while (count-- > 0) {
sys/dev/usb/net/if_muge.c
1541
sc->sc_led_modes |= (modes[count] & 0xf) << (4 * count);
sys/dev/usb/net/if_muge.c
1542
sc->sc_led_modes_mask |= 0xf << (4 * count);
sys/dev/usb/usb_busdma.c
227
usbd_m_copy_in_cb(void *arg, void *src, uint32_t count)
sys/dev/usb/usb_busdma.c
231
usbd_copy_in(ua->cache, ua->dst_offset, src, count);
sys/dev/usb/usb_busdma.c
232
ua->dst_offset += count;
sys/dev/usb/usb_device.c
481
usbd_interface_count(struct usb_device *udev, uint8_t *count)
sys/dev/usb/usb_device.c
484
*count = 0;
sys/dev/usb/usb_device.c
487
*count = udev->ifaces_max;
sys/dev/usb/usb_parse.c
266
uint8_t count = 0;
sys/dev/usb/usb_parse.c
270
count++;
sys/dev/usb/usb_parse.c
271
if (count == 0xFF)
sys/dev/usb/usb_parse.c
275
return (count);
sys/dev/usb/usb_transfer.c
225
usb_size_t count)
sys/dev/usb/usb_transfer.c
242
if (count == 0) {
sys/dev/usb/usb_transfer.c
256
n_dma_pc = count;
sys/dev/usb/usb_transfer.c
260
n_dma_pc = count;
sys/dev/usb/usb_transfer.c
274
n_dma_pc = howmany(count, n_obj);
sys/dev/usb/usb_transfer.c
290
parm->dma_page_ptr += count * n_dma_pg;
sys/dev/usb/usb_transfer.c
291
parm->xfer_page_cache_ptr += count;
sys/dev/usb/usb_transfer.c
299
for (x = 0; x != count; x++) {
sys/dev/usb/usb_transfer.c
311
r = count; /* set remainder count */
sys/dev/usb/usb_transfer.h
126
usb_size_t count);
sys/dev/usb/usbdi.h
578
usb_error_t usbd_interface_count(struct usb_device *udev, uint8_t *count);
sys/dev/usb/video/uvideo.c
3648
DPRINTFN(1, "reqbufs: count=%d\n", rb->count);
sys/dev/usb/video/uvideo.c
3650
if (rb->count == 0)
sys/dev/usb/video/uvideo.c
3658
if (rb->count > UVIDEO_MAX_BUFFERS)
sys/dev/usb/video/uvideo.c
3661
sc->sc_mmap_count = rb->count;
sys/dev/usb/video/uvideo.c
3730
rb->count = sc->sc_mmap_count;
sys/dev/usb/video/uvideo_v4l2.h
258
u_int32_t count;
sys/dev/usb/wlan/if_mtw.c
1332
mtw_set_region_4(struct mtw_softc *sc, uint16_t reg, uint32_t val, int count)
sys/dev/usb/wlan/if_mtw.c
1336
KASSERT((count & 3) == 0, ("mte_set_region_4: Invalid data length.\n"));
sys/dev/usb/wlan/if_mtw.c
1337
for (i = 0; i < count && error == 0; i += 4)
sys/dev/usb/wlan/if_run.c
1458
run_efuse_read(struct run_softc *sc, uint16_t addr, uint16_t *val, int count)
sys/dev/usb/wlan/if_run.c
1467
if (count == 2)
sys/dev/usb/wlan/if_zyd.c
647
uint16_t count = le16toh(retry->count);
sys/dev/usb/wlan/if_zyd.c
652
count & 0xff, count);
sys/dev/usb/wlan/if_zyd.c
664
int retrycnt = count & 0xff;
sys/dev/usb/wlan/if_zyd.c
669
if (count & 0x100) {
sys/dev/usb/wlan/if_zyd.c
680
if (count & 0x100)
sys/dev/usb/wlan/if_zyd.c
698
int count;
sys/dev/usb/wlan/if_zyd.c
702
count = rqp->olen / sizeof(struct zyd_pair);
sys/dev/usb/wlan/if_zyd.c
703
for (i = 0; i < count; i++) {
sys/dev/usb/wlan/if_zyd.c
708
if (i != count)
sys/dev/usb/wlan/if_zydreg.h
1125
uint16_t count;
sys/dev/vge/if_vge.c
1424
vge_rxeof(struct vge_softc *sc, int count)
sys/dev/vge/if_vge.c
1442
for (prog = 0; count > 0 &&
sys/dev/vge/if_vge.c
1449
count--;
sys/dev/vge/if_vge.c
1692
vge_poll (if_t ifp, enum poll_cmd cmd, int count)
sys/dev/vge/if_vge.c
1701
rx_npkts = vge_rxeof(sc, count);
sys/dev/vge/if_vge.c
1726
vge_rxeof(sc, count);
sys/dev/viapm/viapm.c
590
int count = 10000;
sys/dev/viapm/viapm.c
597
while(count--) {
sys/dev/viapm/viapm.c
610
if (!count)
sys/dev/viapm/viapm.c
848
viasmb_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf)
sys/dev/viapm/viapm.c
854
if (count < 1 || count > 32)
sys/dev/viapm/viapm.c
866
VIAPM_OUTB(SMBHDATA0, count);
sys/dev/viapm/viapm.c
870
for (i = 0; i < count; i++) {
sys/dev/viapm/viapm.c
879
VIAPM_DEBUG(printf("viapm: WRITEBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, count, cmd, error));
sys/dev/viapm/viapm.c
887
viasmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf)
sys/dev/viapm/viapm.c
893
if (*count < 1 || *count > 32)
sys/dev/viapm/viapm.c
916
if (i < *count)
sys/dev/viapm/viapm.c
920
*count = len;
sys/dev/viapm/viapm.c
923
VIAPM_DEBUG(printf("viapm: READBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, *count, cmd, error));
sys/dev/virtio/network/if_vtnet.c
2265
int deq, count;
sys/dev/virtio/network/if_vtnet.c
2271
count = sc->vtnet_rx_process_limit;
sys/dev/virtio/network/if_vtnet.c
2276
while (count-- > 0) {
sys/dev/virtio/network/if_vtnet.c
2400
return (count > 0 ? 0 : EAGAIN);
sys/dev/virtio/network/if_vtnet.c
5179
vtnet_debugnet_poll(if_t ifp, int count)
sys/dev/virtio/virtio.c
232
int size, int count)
sys/dev/virtio/virtio.c
239
for (i = 0; i < count; i++) {
sys/dev/virtio/virtio.h
99
void *dst, int size, int count);
sys/dev/vmd/vmd.c
436
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/vmd/vmd.c
445
start, end, count, flags | RF_SHAREABLE));
sys/dev/vmd/vmd.c
448
end, count, flags);
sys/dev/vmd/vmd.c
568
vmd_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/dev/vmd/vmd.c
577
child, count, maxcount, irqs));
sys/dev/vmd/vmd.c
580
if (count > vmd_max_msi)
sys/dev/vmd/vmd.c
598
sc->vmd_irq[ibest].vi_nusers += count;
sys/dev/vmd/vmd.c
600
for (i = 0; i < count; i++)
sys/dev/vmd/vmd.c
606
vmd_release_msi(device_t dev, device_t child, int count, int *irqs)
sys/dev/vmd/vmd.c
613
child, count, irqs));
sys/dev/vmd/vmd.c
618
sc->vmd_irq[u->viu_vector].vi_nusers -= count;
sys/dev/vmm/vmm_dev.c
336
vm_get_register_set(struct vcpu *vcpu, unsigned int count, int *regnum,
sys/dev/vmm/vmm_dev.c
342
for (i = 0; i < count; i++) {
sys/dev/vmm/vmm_dev.c
351
vm_set_register_set(struct vcpu *vcpu, unsigned int count, int *regnum,
sys/dev/vmm/vmm_dev.c
357
for (i = 0; i < count; i++) {
sys/dev/vmm/vmm_dev.c
651
if (vmregset->count > VM_REG_LAST) {
sys/dev/vmm/vmm_dev.c
655
regvals = mallocarray(vmregset->count, sizeof(regvals[0]),
sys/dev/vmm/vmm_dev.c
657
regnums = mallocarray(vmregset->count, sizeof(regnums[0]),
sys/dev/vmm/vmm_dev.c
660
vmregset->count);
sys/dev/vmm/vmm_dev.c
663
vmregset->count, regnums, regvals);
sys/dev/vmm/vmm_dev.c
666
sizeof(regvals[0]) * vmregset->count);
sys/dev/vmm/vmm_dev.c
677
if (vmregset->count > VM_REG_LAST) {
sys/dev/vmm/vmm_dev.c
681
regvals = mallocarray(vmregset->count, sizeof(regvals[0]),
sys/dev/vmm/vmm_dev.c
683
regnums = mallocarray(vmregset->count, sizeof(regnums[0]),
sys/dev/vmm/vmm_dev.c
686
vmregset->count);
sys/dev/vmm/vmm_dev.c
689
sizeof(regvals[0]) * vmregset->count);
sys/dev/vmm/vmm_dev.c
692
vmregset->count, regnums, regvals);
sys/dev/vmm/vmm_mem.c
433
int i, count, pageoff;
sys/dev/vmm/vmm_mem.c
439
count = 0;
sys/dev/vmm/vmm_mem.c
443
count = vm_fault_quick_hold_pages(
sys/dev/vmm/vmm_mem.c
450
if (count == 1) {
sys/dev/vmm/vmm_stat.c
77
vmm_stat_copy(struct vcpu *vcpu, int index, int count, int *num_stats,
sys/dev/vmm/vmm_stat.c
84
if (index < 0 || count < 0)
sys/dev/vmm/vmm_stat.c
95
tocopy = min(vst_num_elems - index, count);
sys/dev/vmm/vmm_stat.h
87
int vmm_stat_copy(struct vcpu *vcpu, int index, int count,
sys/dev/vmware/pvscsi/pvscsi.c
1489
int count;
sys/dev/vmware/pvscsi/pvscsi.c
1497
count = 1;
sys/dev/vmware/pvscsi/pvscsi.c
1498
if (pci_alloc_msix(sc->dev, &count) == 0 && count == 1) {
sys/dev/vmware/pvscsi/pvscsi.c
1507
count = 1;
sys/dev/vmware/pvscsi/pvscsi.c
1508
if (pci_alloc_msi(sc->dev, &count) == 0 && count == 1) {
sys/dev/vmware/vmxnet3/if_vmx.c
1661
int count;
sys/dev/vmware/vmxnet3/if_vmx.c
1668
count = iru->iru_count;
sys/dev/vmware/vmxnet3/if_vmx.c
1707
} while (i != count);
sys/dev/vmware/vmxnet3/if_vmx.c
2098
vmxnet3_hash_maddr(void *arg, struct sockaddr_dl *sdl, u_int count)
sys/dev/vmware/vmxnet3/if_vmx.c
2102
if (count < VMXNET3_MULTICAST_MAX)
sys/dev/vmware/vmxnet3/if_vmx.c
2103
bcopy(LLADDR(sdl), &sc->vmx_mcast[count * ETHER_ADDR_LEN],
sys/dev/vnic/mrml_bridge.c
132
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/dev/vnic/mrml_bridge.c
152
count = rle->count;
sys/dev/vnic/mrml_bridge.c
178
count, flags));
sys/dev/vnic/nic_main.c
1032
int rid, count;
sys/dev/vnic/nic_main.c
1045
count = nic->num_vec = NIC_PF_MSIX_VECTORS;
sys/dev/vnic/nic_main.c
1047
ret = pci_alloc_msix(nic->dev, &count);
sys/dev/vnic/nic_main.c
1048
if ((ret != 0) || (count != nic->num_vec)) {
sys/dev/vnic/nicvf_main.c
1194
int rid, count;
sys/dev/vnic/nicvf_main.c
1207
count = nic->num_vec = NIC_VF_MSIX_VECTORS;
sys/dev/vnic/nicvf_main.c
1209
ret = pci_alloc_msix(nic->dev, &count);
sys/dev/vnic/nicvf_main.c
1210
if ((ret != 0) || (count != nic->num_vec)) {
sys/dev/vr/if_vr.c
1573
vr_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/vr/if_vr.c
1583
rx_npkts = vr_poll_locked(ifp, cmd, count);
sys/dev/vr/if_vr.c
1589
vr_poll_locked(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/vr/if_vr.c
1598
sc->rxcycles = count;
sys/dev/wpi/if_wpi.c
2475
uint32_t i, offset, count;
sys/dev/wpi/if_wpi.c
2490
count = wpi_mem_read(sc, sc->errptr);
sys/dev/wpi/if_wpi.c
2491
if (count == 0 || count * sizeof (dump) > WPI_FW_DATA_MAXSZ) {
sys/dev/wpi/if_wpi.c
2493
count);
sys/dev/wpi/if_wpi.c
2499
printf("firmware error log (count = %u):\n", count);
sys/dev/wpi/if_wpi.c
2500
for (i = 0; i < count; i++) {
sys/dev/wpi/if_wpi.c
3505
node.count = 1;
sys/dev/wpi/if_wpi.c
831
const uint32_t *data, uint32_t count)
sys/dev/wpi/if_wpi.c
833
for (; count != 0; count--, data++, addr += 4)
sys/dev/wpi/if_wpi.c
847
int count)
sys/dev/wpi/if_wpi.c
849
for (; count > 0; count--, addr += 4)
sys/dev/wpi/if_wpi.c
854
wpi_read_prom_data(struct wpi_softc *sc, uint32_t addr, void *data, int count)
sys/dev/wpi/if_wpi.c
865
for (; count > 0; count -= 2, addr++) {
sys/dev/wpi/if_wpi.c
879
if (count > 1)
sys/dev/wpi/if_wpireg.h
1016
#define WPI_WRITE_REGION_4(sc, offset, datap, count) \
sys/dev/wpi/if_wpireg.h
1018
(datap), (count))
sys/dev/wpi/if_wpireg.h
488
uint8_t count;
sys/dev/xen/cpu/xen_acpi_cpu.c
135
.u.set_pminfo.u.power.count = sc->cpu_cx_count,
sys/dev/xen/cpu/xen_acpi_cpu.c
265
uint32_t count;
sys/dev/xen/cpu/xen_acpi_cpu.c
276
if (!ACPI_PKG_VALID(top, 2) || acpi_PkgInt32(top, 0, &count) != 0) {
sys/dev/xen/cpu/xen_acpi_cpu.c
281
if (count != top->Package.Count - 1) {
sys/dev/xen/cpu/xen_acpi_cpu.c
284
count, top->Package.Count - 1);
sys/dev/xen/cpu/xen_acpi_cpu.c
285
count = top->Package.Count - 1;
sys/dev/xen/cpu/xen_acpi_cpu.c
288
sc->cpu_cx_states = mallocarray(count, sizeof(struct xen_processor_cx),
sys/dev/xen/cpu/xen_acpi_cpu.c
292
for (i = 0; i < count; i++) {
sys/dev/xen/cpu/xen_acpi_cpu.c
339
unsigned int count, i;
sys/dev/xen/cpu/xen_acpi_cpu.c
355
count = pkg->Package.Count;
sys/dev/xen/cpu/xen_acpi_cpu.c
357
sc->cpu_px_states = mallocarray(count, sizeof(struct xen_processor_px),
sys/dev/xen/cpu/xen_acpi_cpu.c
366
for (i = 0; i < count; i++) {
sys/dev/xen/evtchn/evtchn_dev.c
238
int error, count;
sys/dev/xen/evtchn/evtchn_dev.c
247
count = uio->uio_resid;
sys/dev/xen/evtchn/evtchn_dev.c
248
count &= ~(sizeof(evtchn_port_t)-1);
sys/dev/xen/evtchn/evtchn_dev.c
250
if (count == 0)
sys/dev/xen/evtchn/evtchn_dev.c
253
if (count > PAGE_SIZE)
sys/dev/xen/evtchn/evtchn_dev.c
254
count = PAGE_SIZE;
sys/dev/xen/evtchn/evtchn_dev.c
289
if (bytes1 > count) {
sys/dev/xen/evtchn/evtchn_dev.c
290
bytes1 = count;
sys/dev/xen/evtchn/evtchn_dev.c
292
} else if ((bytes1 + bytes2) > count) {
sys/dev/xen/evtchn/evtchn_dev.c
293
bytes2 = count - bytes1;
sys/dev/xen/evtchn/evtchn_dev.c
314
int error, i, count;
sys/dev/xen/evtchn/evtchn_dev.c
324
count = uio->uio_resid;
sys/dev/xen/evtchn/evtchn_dev.c
326
count &= ~(sizeof(evtchn_port_t)-1);
sys/dev/xen/evtchn/evtchn_dev.c
329
if (count == 0)
sys/dev/xen/evtchn/evtchn_dev.c
332
if (count > PAGE_SIZE)
sys/dev/xen/evtchn/evtchn_dev.c
333
count = PAGE_SIZE;
sys/dev/xen/evtchn/evtchn_dev.c
335
error = uiomove(kbuf, count, uio);
sys/dev/xen/evtchn/evtchn_dev.c
341
for (i = 0; i < (count/sizeof(evtchn_port_t)); i++) {
sys/dev/xen/gntdev/gntdev.c
102
uint64_t count;
sys/dev/xen/gntdev/gntdev.c
1047
uint32_t count, vm_size_t size, struct vm_object **object)
sys/dev/xen/gntdev/gntdev.c
1059
for (gref = gref_start; gref != NULL && count > 0; gref =
sys/dev/xen/gntdev/gntdev.c
1067
count--;
sys/dev/xen/gntdev/gntdev.c
1072
if (count) {
sys/dev/xen/gntdev/gntdev.c
1130
for (i = 0; i < gmap_start->count; i++) {
sys/dev/xen/gntdev/gntdev.c
1139
gmap_start->grant_map_ops, gmap_start->count);
sys/dev/xen/gntdev/gntdev.c
1152
for (i = 0; i < gmap_start->count; i++) {
sys/dev/xen/gntdev/gntdev.c
1196
uint32_t count;
sys/dev/xen/gntdev/gntdev.c
1205
count = OFF_TO_IDX(size);
sys/dev/xen/gntdev/gntdev.c
1207
gref_start = gntdev_find_grefs(priv_user, *offset, count);
sys/dev/xen/gntdev/gntdev.c
1209
error = mmap_gref(priv_user, gref_start, count, size, object);
sys/dev/xen/gntdev/gntdev.c
1213
gmap_start = gntdev_find_gmap(priv_user, *offset, count);
sys/dev/xen/gntdev/gntdev.c
126
get_file_offset(struct per_user_data *priv_user, uint32_t count,
sys/dev/xen/gntdev/gntdev.c
131
if (count == 0)
sys/dev/xen/gntdev/gntdev.c
136
if (offset->count >= count) {
sys/dev/xen/gntdev/gntdev.c
137
offset->count -= count;
sys/dev/xen/gntdev/gntdev.c
138
*file_offset = offset->file_offset + offset->count *
sys/dev/xen/gntdev/gntdev.c
140
if (offset->count == 0) {
sys/dev/xen/gntdev/gntdev.c
155
put_file_offset(struct per_user_data *priv_user, uint32_t count,
sys/dev/xen/gntdev/gntdev.c
162
offset->count = count;
sys/dev/xen/gntdev/gntdev.c
169
offset_nxt->file_offset == offset->file_offset + offset->count *
sys/dev/xen/gntdev/gntdev.c
171
offset->count += offset_nxt->count;
sys/dev/xen/gntdev/gntdev.c
177
offset->file_offset == offset_prv->file_offset + offset_prv->count *
sys/dev/xen/gntdev/gntdev.c
179
offset_prv->count += offset->count;
sys/dev/xen/gntdev/gntdev.c
309
uint64_t index, uint32_t count)
sys/dev/xen/gntdev/gntdev.c
317
for (gref = gref_start; gref != NULL && count > 0; gref =
sys/dev/xen/gntdev/gntdev.c
322
count--;
sys/dev/xen/gntdev/gntdev.c
326
if (count)
sys/dev/xen/gntdev/gntdev.c
357
error = get_file_offset(priv_user, arg->count, &file_offset);
sys/dev/xen/gntdev/gntdev.c
362
grefs = malloc(sizeof(*grefs) * arg->count, M_GNTDEV, M_WAITOK);
sys/dev/xen/gntdev/gntdev.c
364
for (i = 0; i < arg->count; i++) {
sys/dev/xen/gntdev/gntdev.c
388
for (i = 0; error == 0 && i < arg->count; i++) {
sys/dev/xen/gntdev/gntdev.c
401
for (i = 0; i < arg->count; i++)
sys/dev/xen/gntdev/gntdev.c
413
for (i = 0; i < arg->count; i++)
sys/dev/xen/gntdev/gntdev.c
430
uint32_t count;
sys/dev/xen/gntdev/gntdev.c
438
gref = gntdev_find_grefs(priv_user, arg->index, arg->count);
sys/dev/xen/gntdev/gntdev.c
445
count = arg->count;
sys/dev/xen/gntdev/gntdev.c
448
for (; gref != NULL && count > 0; gref = gref_tmp) {
sys/dev/xen/gntdev/gntdev.c
453
count--;
sys/dev/xen/gntdev/gntdev.c
459
put_file_offset(priv_user, arg->count, arg->index);
sys/dev/xen/gntdev/gntdev.c
479
uint32_t count;
sys/dev/xen/gntdev/gntdev.c
540
uint64_t index, uint32_t count)
sys/dev/xen/gntdev/gntdev.c
550
if (gmap != NULL && gmap->count == count)
sys/dev/xen/gntdev/gntdev.c
565
int error, count;
sys/dev/xen/gntdev/gntdev.c
568
unmap_ops = malloc(sizeof(struct gnttab_unmap_grant_ref) * gmap->count,
sys/dev/xen/gntdev/gntdev.c
572
count = 0;
sys/dev/xen/gntdev/gntdev.c
573
for (i = 0; i < gmap->count; i++) {
sys/dev/xen/gntdev/gntdev.c
575
unmap_ops[count].handle = gmap->grant_map_ops[i].handle;
sys/dev/xen/gntdev/gntdev.c
576
unmap_ops[count].host_addr =
sys/dev/xen/gntdev/gntdev.c
578
unmap_ops[count].dev_bus_addr = 0;
sys/dev/xen/gntdev/gntdev.c
579
count++;
sys/dev/xen/gntdev/gntdev.c
584
if (count > 0 && gmap->notify) {
sys/dev/xen/gntdev/gntdev.c
598
unmap_ops, count);
sys/dev/xen/gntdev/gntdev.c
600
for (i = 0; i < gmap->count; i++) {
sys/dev/xen/gntdev/gntdev.c
639
gmap->count = arg->count;
sys/dev/xen/gntdev/gntdev.c
641
malloc(sizeof(struct gnttab_map_grant_ref) * arg->count,
sys/dev/xen/gntdev/gntdev.c
644
for (i = 0; i < arg->count; i++) {
sys/dev/xen/gntdev/gntdev.c
659
error = get_file_offset(priv_user, arg->count, &gmap->file_index);
sys/dev/xen/gntdev/gntdev.c
693
gmap = gntdev_find_gmap(priv_user, arg->index, arg->count);
sys/dev/xen/gntdev/gntdev.c
710
put_file_offset(priv_user, arg->count, arg->index);
sys/dev/xen/gntdev/gntdev.c
753
(entry->end - entry->start) != (gmap->count * PAGE_SIZE)) {
sys/dev/xen/gntdev/gntdev.c
758
arg->count = gmap->count;
sys/dev/xen/gntdev/gntdev.c
800
if (ridx >= gmap->count ||
sys/dev/xen/gntdev/gntdev.c
909
arg->index < gmap->file_index + gmap->count * PAGE_SIZE) {
sys/dev/xen/gntdev/gntdev.c
989
offset->count = MAX_OFFSET_COUNT;
sys/dev/xen/grant_table/grant_table.c
208
gnttab_end_foreign_access_references(u_int count, grant_ref_t *refs)
sys/dev/xen/grant_table/grant_table.c
216
last_ref = refs + count;
sys/dev/xen/grant_table/grant_table.c
228
count--;
sys/dev/xen/grant_table/grant_table.c
233
if (count != 0) {
sys/dev/xen/grant_table/grant_table.c
235
gnttab_free_count += count;
sys/dev/xen/grant_table/grant_table.c
323
int count = 1;
sys/dev/xen/grant_table/grant_table.c
331
count++;
sys/dev/xen/grant_table/grant_table.c
336
gnttab_free_count += count;
sys/dev/xen/grant_table/grant_table.c
342
gnttab_alloc_grant_references(uint16_t count, grant_ref_t *head)
sys/dev/xen/grant_table/grant_table.c
346
error = get_free_entries(count, &ref);
sys/dev/xen/grant_table/grant_table.c
382
void (*fn)(void *), void *arg, uint16_t count)
sys/dev/xen/grant_table/grant_table.c
390
callback->count = count;
sys/dev/xen/grant_table/grant_table.c
66
get_free_entries(int count, int *entries)
sys/dev/xen/grant_table/grant_table.c
72
if ((gnttab_free_count < count) &&
sys/dev/xen/grant_table/grant_table.c
73
((error = gnttab_expand(count - gnttab_free_count)) != 0)) {
sys/dev/xen/grant_table/grant_table.c
78
gnttab_free_count -= count;
sys/dev/xen/grant_table/grant_table.c
79
while (count-- > 1)
sys/dev/xen/grant_table/grant_table.c
99
if (gnttab_free_count >= callback->count) {
sys/dev/xen/netfront/netfront.c
1610
KASSERT(tag->count == 0, ("tag already in-use"));
sys/dev/xen/netfront/netfront.c
208
u_int count;
sys/dev/xen/netfront/netfront.c
326
ref->count++;
sys/dev/xen/netfront/netfront.c
336
KASSERT(ref->count > 0, ("Invalid reference count"));
sys/dev/xen/netfront/netfront.c
338
if (--ref->count == 0) {
sys/dev/xen/netfront/netfront.c
354
KASSERT(ref->count == 0, ("Free mbuf tag with pending refcnt"));
sys/dev/xen/xenstore/xenstore.c
1394
u_int count;
sys/dev/xen/xenstore/xenstore.c
1397
error = xs_directory(xbt, cur_path, "", &count, &dir);
sys/dev/xen/xenstore/xenstore.c
1401
for (i = 0; i < count; i++) {
sys/dev/xen/xenstore/xenstore.c
1424
if (i == count) {
sys/dev/xilinx/xlnx_pcib.c
552
xlnx_pcib_alloc_msi(device_t pci, device_t child, int count, int maxcount,
sys/dev/xilinx/xlnx_pcib.c
560
return (intr_alloc_msi(pci, child, msi_parent, count, maxcount,
sys/dev/xilinx/xlnx_pcib.c
565
xlnx_pcib_release_msi(device_t pci, device_t child, int count, int *irqs)
sys/dev/xilinx/xlnx_pcib.c
572
return (intr_release_msi(pci, child, msi_parent, count, irqs));
sys/dev/xilinx/xlnx_pcib.c
588
xlnx_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/dev/xilinx/xlnx_pcib.c
601
for (irq = 0; (irq + count - 1) < XLNX_PCIB_MAX_MSI; irq++) {
sys/dev/xilinx/xlnx_pcib.c
606
for (end_irq = irq; end_irq < irq + count; end_irq++) {
sys/dev/xilinx/xlnx_pcib.c
625
for (i = 0; i < count; i++)
sys/dev/xilinx/xlnx_pcib.c
630
for (i = 0; i < count; i++)
sys/dev/xilinx/xlnx_pcib.c
639
xlnx_pcib_msi_release_msi(device_t dev, device_t child, int count,
sys/dev/xilinx/xlnx_pcib.c
648
for (i = 0; i < count; i++) {
sys/dev/xl/if_xl.c
2200
xl_poll(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/xl/if_xl.c
2207
rx_npkts = xl_poll_locked(ifp, cmd, count);
sys/dev/xl/if_xl.c
2213
xl_poll_locked(if_t ifp, enum poll_cmd cmd, int count)
sys/dev/xl/if_xl.c
2220
sc->rxcycles = count;
sys/dev/xl/if_xl.c
255
static int xl_poll(if_t ifp, enum poll_cmd cmd, int count);
sys/dev/xl/if_xl.c
256
static int xl_poll_locked(if_t ifp, enum poll_cmd cmd, int count);
sys/dev/xl/if_xl.c
662
xl_check_maddr_90xB(void *arg, struct sockaddr_dl *sdl, u_int count)
sys/fs/cd9660/cd9660_rrip.c
353
u_int count;
sys/fs/cd9660/cd9660_rrip.c
358
count = 0;
sys/fs/cd9660/cd9660_rrip.c
360
count++;
sys/fs/cd9660/cd9660_rrip.c
362
count++;
sys/fs/cd9660/cd9660_rrip.c
364
count++;
sys/fs/cd9660/cd9660_rrip.c
366
count++;
sys/fs/cd9660/cd9660_rrip.c
368
count *= 17;
sys/fs/cd9660/cd9660_rrip.c
370
count *= 7;
sys/fs/cd9660/cd9660_rrip.c
371
if (offsetof(ISO_RRIP_TSTAMP, time) + count > len)
sys/fs/devfs/devfs_vnops.c
331
int count;
sys/fs/devfs/devfs_vnops.c
336
count = devfs_usecountl(vp);
sys/fs/devfs/devfs_vnops.c
339
return (count);
sys/fs/ext2fs/ext2_acl.c
133
int n, count, s;
sys/fs/ext2fs/ext2_acl.c
151
count = -1;
sys/fs/ext2fs/ext2_acl.c
153
count = (size - sizeof(struct ext2_acl_header)) /
sys/fs/ext2fs/ext2_acl.c
157
count = -1;
sys/fs/ext2fs/ext2_acl.c
159
count = s / sizeof(struct ext2_acl_entry) + 4;
sys/fs/ext2fs/ext2_acl.c
161
if (count <= 0 || count > acl->acl_maxcnt)
sys/fs/ext2fs/ext2_acl.c
166
for (n = 0; n < count; n++) {
sys/fs/ext2fs/ext2_acl.c
206
acl->acl_cnt = count;
sys/fs/ext2fs/ext2_csum.c
295
int count, struct ext2fs_htree_tail *tp)
sys/fs/ext2fs/ext2_csum.c
306
size = count_offset + (count * sizeof(struct ext2fs_htree_entry));
sys/fs/ext2fs/ext2_csum.c
327
int count_offset, limit, count;
sys/fs/ext2fs/ext2_csum.c
334
count = le16toh(cp->h_entries_num);
sys/fs/ext2fs/ext2_csum.c
340
calculated = ext2_dx_csum(ip, ep, count_offset, count, tp);
sys/fs/ext2fs/ext2_csum.c
398
int count_offset, limit, count;
sys/fs/ext2fs/ext2_csum.c
410
count = le16toh(cp->h_entries_num);
sys/fs/ext2fs/ext2_csum.c
416
tp->ht_checksum = ext2_dx_csum(ip, ep, count_offset, count, tp);
sys/fs/ext2fs/ext2_extents.c
1364
struct ucred *cred, unsigned long *count, int *perror)
sys/fs/ext2fs/ext2_extents.c
1372
if (*count > 1)
sys/fs/ext2fs/ext2_extents.c
367
unsigned int count)
sys/fs/ext2fs/ext2_extents.c
374
(start_blk + count < start_blk) ||
sys/fs/ext2fs/ext2_extents.c
375
(start_blk + count > fs->e2fs_bcount))
sys/fs/ext2fs/ext2_extents.c
406
unsigned int count;
sys/fs/ext2fs/ext2_extents.c
408
count = le16toh(eh->eh_ecount);
sys/fs/ext2fs/ext2_extents.c
409
if (count == 0)
sys/fs/ext2fs/ext2_extents.c
417
while (count) {
sys/fs/ext2fs/ext2_extents.c
429
count--;
sys/fs/ext2fs/ext2_extents.c
434
while (count) {
sys/fs/ext2fs/ext2_extents.c
439
count--;
sys/fs/ext2fs/ext2_extents.c
899
ext4_ext_blkfree(struct inode *ip, uint64_t blk, int count, int flags)
sys/fs/ext2fs/ext2_extents.c
905
blocksreleased = count;
sys/fs/ext2fs/ext2_extents.c
907
for(i = 0; i < count; i++)
sys/fs/ext2fs/ext2_inode.c
239
e4fs_daddr_t count, nblocks, blocksreleased = 0;
sys/fs/ext2fs/ext2_inode.c
378
fsbtodb(fs, bn), lastiblock[level], level, &count);
sys/fs/ext2fs/ext2_inode.c
381
blocksreleased += count;
sys/fs/ext2fs/ext2_lookup.c
1164
ssize_t count;
sys/fs/ext2fs/ext2_lookup.c
1170
NOCRED, &count, (struct thread *)0);
sys/fs/ext2fs/ext2_lookup.c
1175
if (error || count != 0)
sys/fs/fuse/fuse_kernel.h
576
uint32_t count;
sys/fs/fuse/fuse_kernel.h
992
uint32_t count;
sys/fs/msdosfs/fat.h
100
int clusteralloc(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith, u_long *retcluster, u_long *got);
sys/fs/msdosfs/fat.h
103
int extendfile(struct denode *dep, u_long count, struct buf **bpp, u_long *ncp, int flags);
sys/fs/msdosfs/msdosfs_conv.c
1119
size_t count, newlen;
sys/fs/msdosfs/msdosfs_conv.c
1131
count = strlen(name);
sys/fs/msdosfs/msdosfs_conv.c
1132
newlen = nbp->nb_len + count;
sys/fs/msdosfs/msdosfs_conv.c
1144
if (count != WIN_CHARS && nbp->nb_len != 0) {
sys/fs/msdosfs/msdosfs_conv.c
1145
if ((id * WIN_CHARS + count + nbp->nb_len) >
sys/fs/msdosfs/msdosfs_conv.c
1149
memmove(slot + count, slot + WIN_CHARS, nbp->nb_len);
sys/fs/msdosfs/msdosfs_conv.c
1153
memcpy(slot, name, count);
sys/fs/msdosfs/msdosfs_denode.c
507
u_long count;
sys/fs/msdosfs/msdosfs_denode.c
528
count = de_clcount(pmp, length) - de_clcount(pmp, dep->de_FileSize);
sys/fs/msdosfs/msdosfs_denode.c
529
if (count > 0) {
sys/fs/msdosfs/msdosfs_denode.c
530
if (count > pmp->pm_freeclustercount)
sys/fs/msdosfs/msdosfs_denode.c
532
error = extendfile(dep, count, NULL, NULL, DE_CLEAR);
sys/fs/msdosfs/msdosfs_fat.c
1025
while (count > 0) {
sys/fs/msdosfs/msdosfs_fat.c
1039
error = clusteralloc(pmp, cn, count, CLUST_EOFE, &cn, &got);
sys/fs/msdosfs/msdosfs_fat.c
1043
count -= got;
sys/fs/msdosfs/msdosfs_fat.c
575
fatchain(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith)
sys/fs/msdosfs/msdosfs_fat.c
583
pmp, start, count, fillwith);
sys/fs/msdosfs/msdosfs_fat.c
588
if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
sys/fs/msdosfs/msdosfs_fat.c
591
while (count > 0) {
sys/fs/msdosfs/msdosfs_fat.c
598
while (count > 0) {
sys/fs/msdosfs/msdosfs_fat.c
600
newc = --count > 0 ? start : fillwith;
sys/fs/msdosfs/msdosfs_fat.c
645
chainlength(struct msdosfsmount *pmp, u_long start, u_long count)
sys/fs/msdosfs/msdosfs_fat.c
662
len = MIN(len, count);
sys/fs/msdosfs/msdosfs_fat.c
668
if (len >= count) {
sys/fs/msdosfs/msdosfs_fat.c
669
len = count;
sys/fs/msdosfs/msdosfs_fat.c
675
if (len >= count)
sys/fs/msdosfs/msdosfs_fat.c
68
u_long count, u_long fillwith, u_long *retcluster,
sys/fs/msdosfs/msdosfs_fat.c
684
len = MIN(len, count);
sys/fs/msdosfs/msdosfs_fat.c
702
chainalloc(struct msdosfsmount *pmp, u_long start, u_long count,
sys/fs/msdosfs/msdosfs_fat.c
71
u_long count);
sys/fs/msdosfs/msdosfs_fat.c
712
for (cl = start, n = count; n-- > 0;)
sys/fs/msdosfs/msdosfs_fat.c
714
pmp->pm_nxtfree = start + count;
sys/fs/msdosfs/msdosfs_fat.c
718
error = fatchain(pmp, start, count, fillwith);
sys/fs/msdosfs/msdosfs_fat.c
720
for (cl = start, n = count; n-- > 0;)
sys/fs/msdosfs/msdosfs_fat.c
726
start, count);
sys/fs/msdosfs/msdosfs_fat.c
731
*got = count;
sys/fs/msdosfs/msdosfs_fat.c
74
static int fatchain(struct msdosfsmount *pmp, u_long start, u_long count,
sys/fs/msdosfs/msdosfs_fat.c
747
clusteralloc(struct msdosfsmount *pmp, u_long start, u_long count,
sys/fs/msdosfs/msdosfs_fat.c
753
error = clusteralloc1(pmp, start, count, fillwith, retcluster, got);
sys/fs/msdosfs/msdosfs_fat.c
759
clusteralloc1(struct msdosfsmount *pmp, u_long start, u_long count,
sys/fs/msdosfs/msdosfs_fat.c
770
printf("clusteralloc(): find %lu clusters\n", count);
sys/fs/msdosfs/msdosfs_fat.c
773
if ((len = chainlength(pmp, start, count)) >= count)
sys/fs/msdosfs/msdosfs_fat.c
774
return (chainalloc(pmp, start, count, fillwith, retcluster, got));
sys/fs/msdosfs/msdosfs_fat.c
787
if ((l = chainlength(pmp, cn, count)) >= count)
sys/fs/msdosfs/msdosfs_fat.c
788
return (chainalloc(pmp, cn, count, fillwith, retcluster, got));
sys/fs/msdosfs/msdosfs_fat.c
804
if ((l = chainlength(pmp, cn, count)) >= count)
sys/fs/msdosfs/msdosfs_fat.c
805
return (chainalloc(pmp, cn, count, fillwith, retcluster, got));
sys/fs/msdosfs/msdosfs_fat.c
84
u_long count, u_long fillwith, u_long *retcluster,
sys/fs/msdosfs/msdosfs_fat.c
988
extendfile(struct denode *dep, u_long count, struct buf **bpp, u_long *ncp,
sys/fs/msdosfs/msdosfs_vnops.c
621
u_long count;
sys/fs/msdosfs/msdosfs_vnops.c
698
count = de_clcount(pmp, uio->uio_offset + resid) -
sys/fs/msdosfs/msdosfs_vnops.c
700
error = extendfile(dep, count, NULL, NULL, 0);
sys/fs/nfsclient/nfs_clbio.c
116
int i, error, nextoff, size, toff, count, npages;
sys/fs/nfsclient/nfs_clbio.c
188
count = npages << PAGE_SHIFT;
sys/fs/nfsclient/nfs_clbio.c
190
iov.iov_len = count;
sys/fs/nfsclient/nfs_clbio.c
194
uio.uio_resid = count;
sys/fs/nfsclient/nfs_clbio.c
204
if (error && (uio.uio_resid == count)) {
sys/fs/nfsclient/nfs_clbio.c
215
size = count - uio.uio_resid;
sys/fs/nfsclient/nfs_clbio.c
267
int i, error, npages, count;
sys/fs/nfsclient/nfs_clbio.c
287
count = ap->a_count;
sys/fs/nfsclient/nfs_clbio.c
289
npages = btoc(count);
sys/fs/nfsclient/nfs_clbio.c
310
if (offset + count > np->n_size) {
sys/fs/nfsclient/nfs_clbio.c
311
count = np->n_size - offset;
sys/fs/nfsclient/nfs_clbio.c
312
if (count < 0)
sys/fs/nfsclient/nfs_clbio.c
313
count = 0;
sys/fs/nfsclient/nfs_clbio.c
321
VM_CNT_ADD(v_vnodepgsout, count);
sys/fs/nfsclient/nfs_clbio.c
324
iov.iov_len = count;
sys/fs/nfsclient/nfs_clbio.c
328
uio.uio_resid = count;
sys/fs/nfsclient/nfs_clbio.c
338
vnode_pager_undirty_pages(pages, rtvals, count - uio.uio_resid,
sys/fs/nfsserver/nfs_fha_new.c
442
fha_hash_entry_add_op(struct fha_hash_entry *fhe, int locktype, int count)
sys/fs/nfsserver/nfs_fha_new.c
447
fhe->num_exclusive += count;
sys/fs/nfsserver/nfs_fha_new.c
449
fhe->num_rw += count;
sys/fs/p9fs/p9_client.c
1000
if (count > rsize) {
sys/fs/p9fs/p9_client.c
1001
count = rsize;
sys/fs/p9fs/p9_client.c
1009
offset, count, data);
sys/fs/p9fs/p9_client.c
1023
if (count < ret) {
sys/fs/p9fs/p9_client.c
1024
P9_DEBUG(PROTO, "RWRITE count (%d > %d)\n", count, ret);
sys/fs/p9fs/p9_client.c
1025
ret = count;
sys/fs/p9fs/p9_client.c
1029
if (count == 0) {
sys/fs/p9fs/p9_client.c
734
uint16_t nwqids, count;
sys/fs/p9fs/p9_client.c
788
for (count = 0; count < nwqids; count++)
sys/fs/p9fs/p9_client.c
790
__func__, count, wqids[count].type,
sys/fs/p9fs/p9_client.c
791
(unsigned long long)wqids[count].path,
sys/fs/p9fs/p9_client.c
792
wqids[count].version);
sys/fs/p9fs/p9_client.c
861
uint32_t count)
sys/fs/p9fs/p9_client.c
870
fid->fid, (unsigned long long) offset, count);
sys/fs/p9fs/p9_client.c
879
if (count < rsize)
sys/fs/p9fs/p9_client.c
880
rsize = count;
sys/fs/p9fs/p9_client.c
891
error = p9_buf_readf(&req->rc, clnt->proto_version, "D", &count,
sys/fs/p9fs/p9_client.c
900
P9_DEBUG(PROTO, "RREADDIR count %u\n", count);
sys/fs/p9fs/p9_client.c
903
memmove(data, dataptr, count);
sys/fs/p9fs/p9_client.c
905
return (count);
sys/fs/p9fs/p9_client.c
916
p9_client_read(struct p9_fid *fid, uint64_t offset, uint32_t count, char *data)
sys/fs/p9fs/p9_client.c
928
fid->fid, (unsigned long long) offset, count);
sys/fs/p9fs/p9_client.c
933
if (count < rsize)
sys/fs/p9fs/p9_client.c
934
rsize = count;
sys/fs/p9fs/p9_client.c
944
error = p9_buf_readf(&req->rc, clnt->proto_version, "D", &count,
sys/fs/p9fs/p9_client.c
952
if (rsize < count) {
sys/fs/p9fs/p9_client.c
953
P9_DEBUG(PROTO, "RREAD count (%d > %d)\n", count, rsize);
sys/fs/p9fs/p9_client.c
954
count = rsize;
sys/fs/p9fs/p9_client.c
957
P9_DEBUG(PROTO, "RREAD count %d\n", count);
sys/fs/p9fs/p9_client.c
959
if (count == 0) {
sys/fs/p9fs/p9_client.c
966
memmove(data, dataptr, count);
sys/fs/p9fs/p9_client.c
968
return (count);
sys/fs/p9fs/p9_client.c
982
p9_client_write(struct p9_fid *fid, uint64_t offset, uint32_t count, char *data)
sys/fs/p9fs/p9_client.c
994
fid->fid, (unsigned long long) offset, count);
sys/fs/p9fs/p9_client.h
140
int p9_client_readdir(struct p9_fid *fid, char *data, uint64_t offset, uint32_t count);
sys/fs/p9fs/p9_client.h
141
int p9_client_read(struct p9_fid *fid, uint64_t offset, uint32_t count, char *data);
sys/fs/p9fs/p9_client.h
142
int p9_client_write(struct p9_fid *fid, uint64_t offset, uint32_t count, char *data);
sys/fs/p9fs/p9_protocol.c
227
uint32_t *count = va_arg(ap, uint32_t *);
sys/fs/p9fs/p9_protocol.c
230
error = buf_read(buf, count, sizeof(uint32_t));
sys/fs/p9fs/p9_protocol.c
232
*count = MIN(*count, buf->size - buf->offset);
sys/fs/p9fs/p9_protocol.c
430
uint32_t count = va_arg(ap, uint32_t);
sys/fs/p9fs/p9_protocol.c
433
error = buf_write(buf, &count, sizeof(uint32_t));
sys/fs/p9fs/p9_protocol.c
434
if ((error == 0) && buf_write(buf, data, count))
sys/fs/p9fs/p9fs_vnops.c
1365
uint32_t count;
sys/fs/p9fs/p9fs_vnops.c
1404
count = MIN(filesize - uio->uio_offset , resid);
sys/fs/p9fs/p9fs_vnops.c
1405
if (count == 0)
sys/fs/p9fs/p9fs_vnops.c
1409
ret = p9_client_read(ostate.vofid, offset, count, io_buffer);
sys/fs/p9fs/p9fs_vnops.c
1449
uint32_t count;
sys/fs/p9fs/p9fs_vnops.c
1498
count = MIN(resid, P9FS_IOUNIT);
sys/fs/p9fs/p9fs_vnops.c
1499
error = uiomove(io_buffer, count, uio);
sys/fs/p9fs/p9fs_vnops.c
1507
while (count > 0) {
sys/fs/p9fs/p9fs_vnops.c
1509
ret = p9_client_write(ostate.vofid, offset, count,
sys/fs/p9fs/p9fs_vnops.c
1525
count -= ret;
sys/fs/p9fs/p9fs_vnops.c
1805
int32_t count;
sys/fs/p9fs/p9fs_vnops.c
1817
count = 0;
sys/fs/p9fs/p9fs_vnops.c
1849
count = P9FS_IOUNIT;
sys/fs/p9fs/p9fs_vnops.c
1851
count = p9_client_readdir(vofid, (char *)io_buffer,
sys/fs/p9fs/p9fs_vnops.c
1852
diroffset, count);
sys/fs/p9fs/p9fs_vnops.c
1854
if (count == 0) {
sys/fs/p9fs/p9fs_vnops.c
1860
if (count < 0) {
sys/fs/p9fs/p9fs_vnops.c
1866
while (offset + QEMU_DIRENTRY_SZ <= count) {
sys/fs/p9fs/p9fs_vnops.c
1874
offset = p9_dirent_read(clnt, io_buffer, offset, count,
sys/fs/p9fs/p9fs_vnops.c
1876
if (offset < 0 || offset > count) {
sys/fs/p9fs/p9fs_vnops.c
1922
uint32_t count;
sys/fs/p9fs/p9fs_vnops.c
1963
count = min(filesize - uiov->uio_offset, resid);
sys/fs/p9fs/p9fs_vnops.c
1964
if (count == 0)
sys/fs/p9fs/p9fs_vnops.c
1971
ret = p9_client_read(vofid, offset, count, io_buffer);
sys/fs/p9fs/p9fs_vnops.c
2005
count = MIN(resid, P9FS_IOUNIT);
sys/fs/p9fs/p9fs_vnops.c
2006
error = uiomove(io_buffer, count, uiov);
sys/fs/p9fs/p9fs_vnops.c
2011
while (count > 0) {
sys/fs/p9fs/p9fs_vnops.c
2013
ret = p9_client_write(vofid, offset, count,
sys/fs/p9fs/p9fs_vnops.c
2022
count -= ret;
sys/fs/p9fs/p9fs_vnops.c
2198
int i, error, npages, count;
sys/fs/p9fs/p9fs_vnops.c
2214
count = ap->a_count;
sys/fs/p9fs/p9fs_vnops.c
2216
npages = btoc(count);
sys/fs/p9fs/p9fs_vnops.c
2222
if (offset + count > np->inode.i_size) {
sys/fs/p9fs/p9fs_vnops.c
2223
count = np->inode.i_size - offset;
sys/fs/p9fs/p9fs_vnops.c
2224
if (count < 0)
sys/fs/p9fs/p9fs_vnops.c
2225
count = 0;
sys/fs/p9fs/p9fs_vnops.c
2236
VM_CNT_ADD(v_vnodepgsout, count);
sys/fs/p9fs/p9fs_vnops.c
2239
iov.iov_len = count;
sys/fs/p9fs/p9fs_vnops.c
2243
uio.uio_resid = count;
sys/fs/p9fs/p9fs_vnops.c
2257
vnode_pager_undirty_pages(pages, rtvals, count - uio.uio_resid,
sys/fs/smbfs/smbfs_io.c
425
int i, error, nextoff, size, toff, npages, count;
sys/fs/smbfs/smbfs_io.c
474
count = npages << PAGE_SHIFT;
sys/fs/smbfs/smbfs_io.c
476
iov.iov_len = count;
sys/fs/smbfs/smbfs_io.c
480
uio.uio_resid = count;
sys/fs/smbfs/smbfs_io.c
491
if (error && (uio.uio_resid == count)) {
sys/fs/smbfs/smbfs_io.c
496
size = count - uio.uio_resid;
sys/fs/smbfs/smbfs_io.c
564
int i, npages, count;
sys/fs/smbfs/smbfs_io.c
577
count = ap->a_count;
sys/fs/smbfs/smbfs_io.c
579
npages = btoc(count);
sys/fs/smbfs/smbfs_io.c
590
VM_CNT_ADD(v_vnodepgsout, count);
sys/fs/smbfs/smbfs_io.c
593
iov.iov_len = count;
sys/fs/smbfs/smbfs_io.c
597
uio.uio_resid = count;
sys/fs/smbfs/smbfs_io.c
616
vnode_pager_undirty_pages(pages, rtvals, count - uio.uio_resid,
sys/fs/unionfs/union_subr.c
1359
int count;
sys/fs/unionfs/union_subr.c
1384
if ((count = MAXBSIZE - uio.uio_resid) == 0)
sys/fs/unionfs/union_subr.c
1388
while (bufoffset < count) {
sys/fs/unionfs/union_subr.c
1392
iov.iov_len = count - bufoffset;
sys/fs/unionfs/union_subr.c
1400
bufoffset += (count - bufoffset) - uio.uio_resid;
sys/fs/unionfs/union_subr.c
466
int count;
sys/fs/unionfs/union_subr.c
522
for (count = 0; count <= UNIONFSHASHMASK; count++) {
sys/fs/unionfs/union_subr.c
523
hd = unp->un_hashtbl + count;
sys/fs/unionfs/union_subr.c
771
unsigned count, lockrec;
sys/fs/unionfs/union_subr.c
786
for (count = 0; count < lockrec; count++)
sys/fs/unionfs/union_subr.c
793
for (count = 0; count < lockrec + 1; count++)
sys/gdb/netgdb.c
121
uint32_t rlen, count;
sys/gdb/netgdb.c
141
count = min((uint32_t)m->m_len, rlen);
sys/gdb/netgdb.c
142
(void)sbuf_bcat(&netgdb_rxsb, mtod(m, const void *), count);
sys/gdb/netgdb.c
143
rlen -= count;
sys/geom/eli/pkcs5v2.c
67
uint32_t count;
sys/geom/eli/pkcs5v2.c
75
for (count = 1; keylen > 0; count++, keylen -= bsize, keyp += bsize) {
sys/geom/eli/pkcs5v2.c
78
be32enc(counter, count);
sys/geom/linux_lvm/g_linux_lvm.c
1124
int count = 0;
sys/geom/linux_lvm/g_linux_lvm.c
1137
GRAB_INT("stripe_count", v, tok, count);
sys/geom/linux_lvm/g_linux_lvm.c
1138
if (count != 1)
sys/geom/linux_lvm/g_linux_lvm.c
1183
if (count != 1 || sg->sg_count == 0)
sys/geom/linux_lvm/g_linux_lvm.c
204
u_int count;
sys/geom/linux_lvm/g_linux_lvm.c
298
count = 0;
sys/geom/linux_lvm/g_linux_lvm.c
306
count++;
sys/geom/linux_lvm/g_linux_lvm.c
308
if (count == 0) { /* We handled everything locally */
sys/geom/part/g_part_ldm.c
1047
vh.count = be16dec(p + LDM_VBLK_COUNT_OFF);
sys/geom/part/g_part_ldm.c
1048
if (vh.count == 0 || vh.count > 4 ||
sys/geom/part/g_part_ldm.c
1055
if (vh.count > 1) {
sys/geom/part/g_part_ldm.c
1099
volume->count++;
sys/geom/part/g_part_ldm.c
1107
comp->count++;
sys/geom/part/g_part_ldm.c
1417
if (comp->count > 1 || part->offset != 0) {
sys/geom/part/g_part_ldm.c
1421
comp->count);
sys/geom/part/g_part_ldm.c
1428
if (vol->count > 1 && show_mirrors == 0) {
sys/geom/part/g_part_ldm.c
1432
vol->count);
sys/geom/part/g_part_ldm.c
185
int count;
sys/geom/part/g_part_ldm.c
196
int count;
sys/geom/part/g_part_ldm.c
259
uint16_t count; /* number of entries in the group */
sys/geom/part/g_part_ldm.c
711
blk->size = size * vh->count + 16;
sys/geom/part/g_part_ldm.c
713
blk->map = 0xFF << vh->count;
sys/geom/virstor/g_virstor.c
1193
size_t n, count;
sys/geom/virstor/g_virstor.c
1223
count = 0;
sys/geom/virstor/g_virstor.c
1225
count += sc->components[n].chunk_count;
sys/geom/virstor/g_virstor.c
1228
sc->geom->name, count, sc->chunk_count, sc->chunk_size / 1024);
sys/geom/virstor/g_virstor.c
1241
off = count = n = 0;
sys/geom/virstor/g_virstor.c
1242
while (count < sc->map_size) {
sys/geom/virstor/g_virstor.c
1246
bs = MIN(maxphys, sc->map_size - count);
sys/geom/virstor/g_virstor.c
1269
count += bs;
sys/geom/virstor/g_virstor.c
1484
u_int count, used, i;
sys/geom/virstor/g_virstor.c
1487
count = used = size = 0;
sys/geom/virstor/g_virstor.c
1490
count += sc->components[i].chunk_count;
sys/geom/virstor/g_virstor.c
1502
indent, 100-(used * 100) / count);
sys/geom/virstor/g_virstor.c
1506
indent, used > 0 ? 100 - (used * 100) / count : 100);
sys/geom/virstor/g_virstor.c
1508
indent, count);
sys/geom/virstor/g_virstor.c
1513
(count * 100) / sc->chunk_count);
sys/geom/virstor/g_virstor.c
1566
u_int count;
sys/geom/virstor/g_virstor.c
1749
count = 0;
sys/geom/virstor/g_virstor.c
1758
count++;
sys/geom/virstor/g_virstor.c
1760
if (count == 0) { /* We handled everything locally */
sys/geom/virstor/g_virstor.c
692
int isclean, count;
sys/geom/virstor/g_virstor.c
698
count = 0;
sys/geom/virstor/g_virstor.c
701
count++;
sys/geom/virstor/g_virstor.c
704
sc->geom->name, count);
sys/geom/virstor/g_virstor.c
705
n = off = count = 0;
sys/geom/virstor/g_virstor.c
728
count++;
sys/geom/virstor/g_virstor.c
740
sc->geom->name, count,
sys/geom/virstor/g_virstor.c
741
count * sc->me_per_sector);
sys/i386/acpica/acpi_machdep.c
188
int i, count;
sys/i386/acpica/acpi_machdep.c
229
count = (xsdt->Header.Length - sizeof(ACPI_TABLE_HEADER)) /
sys/i386/acpica/acpi_machdep.c
231
for (i = 0; i < count; i++)
sys/i386/acpica/acpi_machdep.c
244
count = (rsdt->Header.Length - sizeof(ACPI_TABLE_HEADER)) /
sys/i386/acpica/acpi_machdep.c
246
for (i = 0; i < count; i++)
sys/i386/bios/smapi.c
295
int count;
sys/i386/bios/smapi.c
303
&count);
sys/i386/bios/smapi.c
304
for (i = 0; i < count; i++) {
sys/i386/i386/db_trace.c
399
db_addr_t pc, register_t sp, int count)
sys/i386/i386/db_trace.c
450
if (count == -1)
sys/i386/i386/db_trace.c
451
count = 1024;
sys/i386/i386/db_trace.c
454
while (count-- && !db_pager_quit) {
sys/i386/i386/db_trace.c
571
db_trace_thread(struct thread *thr, int count)
sys/i386/i386/db_trace.c
579
ctx->pcb_eip, ctx->pcb_esp, count));
sys/i386/i386/machdep.c
1730
int count, error, i;
sys/i386/i386/machdep.c
1739
count = *((u_int32_t *)smapbase - 1) / sizeof(*smapbase);
sys/i386/i386/machdep.c
1741
for (i = 0; i < count; i++) {
sys/i386/i386/pmap.c
1848
__CONCAT(PMTYPE, qenter)(void *va, vm_page_t *ma, int count)
sys/i386/i386/pmap.c
1857
endpte = pte + count;
sys/i386/i386/pmap.c
1869
pmap_invalidate_range_int(kernel_pmap, sva, sva + count *
sys/i386/i386/pmap.c
1879
__CONCAT(PMTYPE, qremove)(void *sva, int count)
sys/i386/i386/pmap.c
1884
while (count-- > 0) {
sys/i386/i386/pmap.c
298
static int pmap_pvh_wired_mappings(struct md_page *pvh, int count);
sys/i386/i386/pmap.c
4773
int count;
sys/i386/i386/pmap.c
4775
count = 0;
sys/i386/i386/pmap.c
4777
return (count);
sys/i386/i386/pmap.c
4779
count = pmap_pvh_wired_mappings(&m->md, count);
sys/i386/i386/pmap.c
4781
count = pmap_pvh_wired_mappings(pa_to_pvh(VM_PAGE_TO_PHYS(m)),
sys/i386/i386/pmap.c
4782
count);
sys/i386/i386/pmap.c
4785
return (count);
sys/i386/i386/pmap.c
4794
pmap_pvh_wired_mappings(struct md_page *pvh, int count)
sys/i386/i386/pmap.c
4807
count++;
sys/i386/i386/pmap.c
4811
return (count);
sys/i386/i386/pmap_base.c
392
pmap_invalidate_cache_pages(vm_page_t *pages, int count)
sys/i386/i386/pmap_base.c
396
if (count >= PMAP_CLFLUSH_THRESHOLD / PAGE_SIZE ||
sys/i386/i386/pmap_base.c
400
for (i = 0; i < count; i++)
sys/i386/i386/pmap_base.c
847
pmap_qenter(void *sva, vm_page_t *ma, int count)
sys/i386/i386/pmap_base.c
850
pmap_methods_ptr->pm_qenter(sva, ma, count);
sys/i386/i386/pmap_base.c
854
pmap_qremove(void *sva, int count)
sys/i386/i386/pmap_base.c
857
pmap_methods_ptr->pm_qremove(sva, count);
sys/i386/include/cpufunc.h
183
insb(u_int port, void *addr, size_t count)
sys/i386/include/cpufunc.h
186
: "+D" (addr), "+c" (count)
sys/i386/include/cpufunc.h
192
insw(u_int port, void *addr, size_t count)
sys/i386/include/cpufunc.h
195
: "+D" (addr), "+c" (count)
sys/i386/include/cpufunc.h
201
insl(u_int port, void *addr, size_t count)
sys/i386/include/cpufunc.h
204
: "+D" (addr), "+c" (count)
sys/i386/include/cpufunc.h
237
outsb(u_int port, const void *addr, size_t count)
sys/i386/include/cpufunc.h
240
: "+S" (addr), "+c" (count)
sys/i386/include/cpufunc.h
245
outsw(u_int port, const void *addr, size_t count)
sys/i386/include/cpufunc.h
248
: "+S" (addr), "+c" (count)
sys/i386/include/cpufunc.h
253
outsl(u_int port, const void *addr, size_t count)
sys/i386/include/cpufunc.h
256
: "+S" (addr), "+c" (count)
sys/i386/include/pmap.h
252
void pmap_invalidate_cache_pages(vm_page_t *pages, int count);
sys/i386/include/xen/hypercall.h
150
mmu_update_t *req, int count, int *success_count, domid_t domid)
sys/i386/include/xen/hypercall.h
152
return _hypercall4(int, mmu_update, req, count, success_count, domid);
sys/i386/include/xen/hypercall.h
157
mmuext_op_t *op, int count, int *success_count, domid_t domid)
sys/i386/include/xen/hypercall.h
159
return _hypercall4(int, mmuext_op, op, count, success_count, domid);
sys/i386/include/xen/hypercall.h
281
int cmd, int count, const char *str)
sys/i386/include/xen/hypercall.h
283
return _hypercall3(int, console_io, cmd, count, str);
sys/i386/include/xen/hypercall.h
295
unsigned int cmd, void *uop, unsigned int count)
sys/i386/include/xen/hypercall.h
297
return _hypercall3(int, grant_table_op, cmd, uop, count);
sys/i386/linux/linux_proto.h
1308
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/i386/linux/linux_proto.h
272
char count_l_[PADL_(l_int)]; l_int count; char count_r_[PADR_(l_int)];
sys/i386/linux/linux_proto.h
286
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
sys/i386/linux/linux_proto.h
449
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
sys/i386/linux/linux_proto.h
620
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/i386/linux/linux_proto.h
704
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
sys/i386/linux/linux_proto.h
788
char count_l_[PADL_(l_size_t)]; l_size_t count; char count_r_[PADR_(l_size_t)];
sys/i386/linux/linux_systrace_args.c
1334
iarg[a++] = p->count; /* l_size_t */
sys/i386/linux/linux_systrace_args.c
1573
iarg[a++] = p->count; /* l_uint */
sys/i386/linux/linux_systrace_args.c
1719
iarg[a++] = p->count; /* l_size_t */
sys/i386/linux/linux_systrace_args.c
2627
iarg[a++] = p->count; /* l_size_t */
sys/i386/linux/linux_systrace_args.c
574
iarg[a++] = p->count; /* l_int */
sys/i386/linux/linux_systrace_args.c
607
iarg[a++] = p->count; /* l_uint */
sys/i386/linux/linux_systrace_args.c
967
iarg[a++] = p->count; /* l_uint */
sys/isa/isa_common.c
705
*result = rle->count;
sys/isa/isa_common.c
713
*result = rle->count;
sys/isa/isa_common.c
737
*result = rle->count;
sys/isa/isa_common.c
745
*result = rle->count;
sys/isa/isa_common.c
936
rman_res_t start, rman_res_t count)
sys/isa/isa_common.c
955
resource_list_add(rl, type, rid, start, start + count - 1, count);
sys/isa/isa_common.h
72
int type, int rid, rman_res_t start, rman_res_t end, rman_res_t count,
sys/isa/isahint.c
42
int sensitive, start, count;
sys/isa/isahint.c
61
count = 0;
sys/isa/isahint.c
63
resource_int_value(name, unit, "portsize", &count);
sys/isa/isahint.c
64
if (start > 0 || count > 0)
sys/isa/isahint.c
65
bus_set_resource(child, SYS_RES_IOPORT, 0, start, count);
sys/isa/isahint.c
68
count = 0;
sys/isa/isahint.c
70
resource_int_value(name, unit, "msize", &count);
sys/isa/isahint.c
71
if (start > 0 || count > 0)
sys/isa/isahint.c
72
bus_set_resource(child, SYS_RES_MEMORY, 0, start, count);
sys/isa/pnp.c
171
int i, j, count;
sys/isa/pnp.c
174
count = 0;
sys/isa/pnp.c
184
return (count);
sys/isa/pnp.c
190
count++;
sys/isa/pnp.c
192
return (count);
sys/kern/imgact_binmisc.c
444
int error = 0, count;
sys/kern/imgact_binmisc.c
447
count = interp_list_entry_count;
sys/kern/imgact_binmisc.c
448
xbe = malloc(sizeof(*xbe) * count, M_BINMISC, M_WAITOK|M_ZERO);
sys/kern/imgact_binmisc.c
459
error = SYSCTL_OUT(req, xbe, sizeof(*xbe) * count);
sys/kern/imgact_elf.c
1654
hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count);
sys/kern/imgact_elf.c
1655
if (seginfo.count + 1 >= PN_XNUM)
sys/kern/imgact_elf.c
1715
error = __elfN(corehdr)(¶ms, seginfo.count, hdr, hdrsize, ¬elst,
sys/kern/imgact_elf.c
1726
for (i = 0; i < seginfo.count; i++) {
sys/kern/imgact_elf.c
1797
ssc->count++;
sys/kern/imgact_elf.c
1805
seginfo->count = 0;
sys/kern/kern_alq.c
484
int size, int count)
sys/kern/kern_alq.c
488
KASSERT((count >= 0), ("%s: count < 0", __func__));
sys/kern/kern_alq.c
490
if (count > 0) {
sys/kern/kern_alq.c
492
size*count, 0)) == 0) {
sys/kern/kern_alq.c
494
(*alqp)->aq_entmax = count;
sys/kern/kern_cpu.c
1003
int count, error, i;
sys/kern/kern_cpu.c
1010
count = CF_MAX_LEVELS;
sys/kern/kern_cpu.c
1011
error = CPUFREQ_LEVELS(sc->dev, levels, &count);
sys/kern/kern_cpu.c
1017
if (count) {
sys/kern/kern_cpu.c
1018
for (i = 0; i < count; i++) {
sys/kern/kern_cpu.c
108
int *count);
sys/kern/kern_cpu.c
110
struct cf_setting *sets, int count);
sys/kern/kern_cpu.c
441
cpufreq_get_level(device_t dev, struct cf_level *levels, int count)
sys/kern/kern_cpu.c
447
for (i = 0; i < count; i++)
sys/kern/kern_cpu.c
467
int bdiff, count, diff, error, i, type;
sys/kern/kern_cpu.c
507
count = CF_MAX_LEVELS;
sys/kern/kern_cpu.c
508
levels = malloc(count * sizeof(*levels), M_TEMP, M_NOWAIT);
sys/kern/kern_cpu.c
511
error = CPUFREQ_LEVELS(sc->dev, levels, &count);
sys/kern/kern_cpu.c
528
i = cpufreq_get_level(sc->cf_drv_dev, levels, count);
sys/kern/kern_cpu.c
552
for (i = 0; i < count; i++) {
sys/kern/kern_cpu.c
626
set_arr->count = set_count;
sys/kern/kern_cpu.c
639
cf_levels_method(device_t dev, struct cf_level *levels, int *count)
sys/kern/kern_cpu.c
649
if (levels == NULL || count == NULL)
sys/kern/kern_cpu.c
695
if (sc->all_count > *count) {
sys/kern/kern_cpu.c
696
*count = sc->all_count;
sys/kern/kern_cpu.c
713
*count = sc->all_count;
sys/kern/kern_cpu.c
738
int count)
sys/kern/kern_cpu.c
747
for (i = 0; i < count; i++) {
sys/kern/kern_cpu.c
809
for (i = 0; i < set_arr->count; i++) {
sys/kern/kern_cpu.c
84
int count;
sys/kern/kern_cpu.c
946
int best, count, diff, bdiff, devcount, error, freq, i, n;
sys/kern/kern_cpu.c
970
count = CF_MAX_LEVELS;
sys/kern/kern_cpu.c
971
error = CPUFREQ_LEVELS(devs[n], levels, &count);
sys/kern/kern_cpu.c
980
for (i = 0; i < count; i++) {
sys/kern/kern_cpuset.c
385
cpuset_freelist_add(struct setlist *list, int count)
sys/kern/kern_cpuset.c
390
for (i = 0; i < count; i++) {
sys/kern/kern_cpuset.c
397
cpuset_freelist_init(struct setlist *list, int count)
sys/kern/kern_cpuset.c
401
cpuset_freelist_add(list, count);
sys/kern/kern_cpuset.c
416
domainset_freelist_add(struct domainlist *list, int count)
sys/kern/kern_cpuset.c
421
for (i = 0; i < count; i++) {
sys/kern/kern_cpuset.c
428
domainset_freelist_init(struct domainlist *list, int count)
sys/kern/kern_cpuset.c
432
domainset_freelist_add(list, count);
sys/kern/kern_cpuset.c
752
struct domainset *orig, int *count, int augment_mask __unused)
sys/kern/kern_cpuset.c
769
(*count)++;
sys/kern/kern_cpuset.c
774
count, 1)) != 0)
sys/kern/kern_descrip.c
4621
int count, off, minoff;
sys/kern/kern_descrip.c
4625
count = 0;
sys/kern/kern_descrip.c
4630
count += bitcountl(map[off]);
sys/kern/kern_descrip.c
4632
return (count);
sys/kern/kern_descrip.c
4653
int count;
sys/kern/kern_descrip.c
4662
count = filedesc_nfiles(curproc->p_fd);
sys/kern/kern_descrip.c
4663
return (SYSCTL_OUT(req, &count, sizeof(count)));
sys/kern/kern_event.c
108
static int kevent_copyout(void *arg, struct kevent *kevp, int count);
sys/kern/kern_event.c
109
static int kevent_copyin(void *arg, struct kevent *kevp, int count);
sys/kern/kern_event.c
1364
kevent_copyout(void *arg, struct kevent *kevp, int count)
sys/kern/kern_event.c
1369
KASSERT(count <= KQ_NEVENTS, ("count (%d) > KQ_NEVENTS", count));
sys/kern/kern_event.c
1372
error = copyout(kevp, uap->eventlist, count * sizeof *kevp);
sys/kern/kern_event.c
1374
uap->eventlist += count;
sys/kern/kern_event.c
1382
kevent_copyin(void *arg, struct kevent *kevp, int count)
sys/kern/kern_event.c
1387
KASSERT(count <= KQ_NEVENTS, ("count (%d) > KQ_NEVENTS", count));
sys/kern/kern_event.c
1390
error = copyin(uap->changelist, kevp, count * sizeof *kevp);
sys/kern/kern_event.c
1392
uap->changelist += count;
sys/kern/kern_event.c
1398
kevent11_copyout(void *arg, struct kevent *kevp, int count)
sys/kern/kern_event.c
1404
KASSERT(count <= KQ_NEVENTS, ("count (%d) > KQ_NEVENTS", count));
sys/kern/kern_event.c
1407
for (i = 0; i < count; i++) {
sys/kern/kern_event.c
1427
kevent11_copyin(void *arg, struct kevent *kevp, int count)
sys/kern/kern_event.c
1433
KASSERT(count <= KQ_NEVENTS, ("count (%d) > KQ_NEVENTS", count));
sys/kern/kern_event.c
1436
for (i = 0; i < count; i++) {
sys/kern/kern_event.c
2125
int count, error, haskqglobal, influx, nkev, touch;
sys/kern/kern_event.c
2127
count = maxevents;
sys/kern/kern_event.c
2188
while (count) {
sys/kern/kern_event.c
2210
if (count == maxevents)
sys/kern/kern_event.c
2293
count--;
sys/kern/kern_event.c
2314
td->td_retval[0] = maxevents - count;
sys/kern/kern_exec.c
2029
u_int count = 2; /* New slot and trailing NULL */
sys/kern/kern_exec.c
2033
count++;
sys/kern/kern_exec.c
2034
newexecsw = malloc(count * sizeof(*es), M_TEMP, M_WAITOK);
sys/kern/kern_exec.c
2051
int count = 1;
sys/kern/kern_exec.c
2064
count++;
sys/kern/kern_exec.c
2065
newexecsw = malloc(count * sizeof(*es), M_TEMP, M_WAITOK);
sys/kern/kern_fail.c
548
int count;
sys/kern/kern_fail.c
571
count = ent->fe_count;
sys/kern/kern_fail.c
572
while (count > 0) {
sys/kern/kern_fail.c
573
if (atomic_cmpset_32(&ent->fe_count, count, count - 1)) {
sys/kern/kern_fail.c
574
count--;
sys/kern/kern_fail.c
578
count = ent->fe_count;
sys/kern/kern_fail.c
583
if (count == 0)
sys/kern/kern_kexec.c
147
pa_for_pindex(struct kexec_segment_stage *segs, int count, vm_pindex_t pind)
sys/kern/kern_kexec.c
149
for (int i = count; i > 0; --i) {
sys/kern/kern_lockf.c
2008
int count;
sys/kern/kern_lockf.c
2010
count = 0;
sys/kern/kern_lockf.c
2015
count += lo->lo_refs;
sys/kern/kern_lockf.c
2019
return (count);
sys/kern/kern_malloc.c
1441
int count, i;
sys/kern/kern_malloc.c
1447
count = kmemcount;
sys/kern/kern_malloc.c
1450
buflen = sizeof(struct malloc_type *) * count;
sys/kern/kern_malloc.c
1455
if (count < kmemcount) {
sys/kern/kern_malloc.c
1465
for (i = 0; i < count; i++)
sys/kern/kern_mbuf.c
434
dn_buf_import(void *arg, void **store, int count, int domain __unused,
sys/kern/kern_mbuf.c
443
for (i = 0; i < count; i++) {
sys/kern/kern_mbuf.c
450
KASSERT((flags & M_WAITOK) == 0 || i == count,
sys/kern/kern_mbuf.c
456
dn_buf_release(void *arg, void **store, int count)
sys/kern/kern_mbuf.c
464
for (i = 0; i < count; i++) {
sys/kern/kern_mbuf.c
471
dn_pack_import(void *arg __unused, void **store, int count, int domain __unused,
sys/kern/kern_mbuf.c
478
for (i = 0; i < count; i++) {
sys/kern/kern_mbuf.c
490
KASSERT((flags & M_WAITOK) == 0 || i == count,
sys/kern/kern_mbuf.c
496
dn_pack_release(void *arg __unused, void **store, int count)
sys/kern/kern_mbuf.c
502
for (i = 0; i < count; i++) {
sys/kern/kern_mbuf.c
836
mb_free_notready(struct mbuf *m, int count)
sys/kern/kern_mbuf.c
840
for (i = 0; i < count && m != NULL; i++) {
sys/kern/kern_mbuf.c
848
KASSERT(i == count, ("Removed only %d items from %p", i, m));
sys/kern/kern_poll.c
336
ether_poll(int count)
sys/kern/kern_poll.c
343
if (count > poll_each_burst)
sys/kern/kern_poll.c
344
count = poll_each_burst;
sys/kern/kern_poll.c
348
pr[i].handler(pr[i].ifp, POLL_ONLY, count);
sys/kern/kern_resource.c
1414
if (lb->count != 0) {
sys/kern/kern_resource.c
1415
lim_freen(lb->limp, lb->count);
sys/kern/kern_resource.c
1416
lb->count = 0;
sys/kern/kern_resource.c
1421
lb->count++;
sys/kern/kern_resource.c
1428
MPASS(lb->count != 0);
sys/kern/kern_resource.c
1429
lim_freen(lb->limp, lb->count);
sys/kern/kern_rmlock.c
228
int count;
sys/kern/kern_rmlock.c
230
count = 0;
sys/kern/kern_rmlock.c
235
count++;
sys/kern/kern_rmlock.c
237
return (count);
sys/kern/kern_rmlock.c
748
int count;
sys/kern/kern_rmlock.c
774
count = rm_trackers_present(get_pcpu(), rm, curthread);
sys/kern/kern_rmlock.c
777
if (count == 0)
sys/kern/kern_rmlock.c
781
if (count > 1) {
sys/kern/kern_rmlock.c
800
count = rm_trackers_present(get_pcpu(), rm, curthread);
sys/kern/kern_rmlock.c
803
if (count != 0)
sys/kern/kern_sendfile.c
249
sendfile_iodone(void *arg, vm_page_t *pa, int count, int error)
sys/kern/kern_sendfile.c
268
MPASS(count == 0 || pa[0] != bogus_page);
sys/kern/kern_sendfile.c
269
for (i = 0; i < count; i++) {
sys/kern/kern_sendfile.c
385
int a, count, count1, grabbed, i, j, npages, rv;
sys/kern/kern_sendfile.c
443
count = min(a + 1, npages - i);
sys/kern/kern_sendfile.c
461
count1 = count;
sys/kern/kern_sendfile.c
462
for (j = i + count - 1; j > i; j--) {
sys/kern/kern_sendfile.c
467
count--;
sys/kern/kern_sendfile.c
479
MPASS(pa[i + count - 1]->valid != VM_PAGE_BITS_ALL);
sys/kern/kern_sendfile.c
480
for (j = i + 1; j < i + count - 1; j++) {
sys/kern/kern_sendfile.c
491
rv = vm_pager_get_pages_async(obj, pa + i, count, NULL,
sys/kern/kern_sendfile.c
492
i + count == npages ? &rhpages : NULL,
sys/kern/kern_sendfile.c
515
SFSTAT_ADD(sf_pages_read, count);
sys/kern/kern_sendfile.c
516
if (i + count == npages)
sys/kern/kern_sig.c
421
int count = 0;
sys/kern/kern_sig.c
429
count++;
sys/kern/kern_sig.c
434
count++;
sys/kern/kern_sig.c
435
if (count == 1)
sys/kern/kern_sig.c
441
if (count == 0) {
sys/kern/kern_sig.c
448
if (++count > 1)
sys/kern/kern_sig.c
453
if (count <= 1)
sys/kern/kern_switch.c
633
int count = fuzz;
sys/kern/kern_switch.c
636
while (count-- != 0 && td2 != NULL) {
sys/kern/kern_tc.c
1929
static long count;
sys/kern/kern_tc.c
1932
count += cnt;
sys/kern/kern_tc.c
1933
if (count >= tc_tick) {
sys/kern/kern_tc.c
1934
count = 0;
sys/kern/kern_timeout.c
1390
int error, val, i, count, tcum, pcum, maxc, c, medc;
sys/kern/kern_timeout.c
1397
count = maxc = 0;
sys/kern/kern_timeout.c
1426
count += c;
sys/kern/kern_timeout.c
1431
for (i = 0, tcum = 0; i < 64 && tcum < count / 2; i++)
sys/kern/kern_timeout.c
1434
for (i = 0, pcum = 0; i < 64 && pcum < count / 2; i++)
sys/kern/kern_timeout.c
1437
for (i = 0, c = 0; i < 32 && c < count / 2; i++)
sys/kern/kern_timeout.c
1443
count, callwheelsize, mp_ncpus, 1000000 >> CC_HASH_SHIFT);
sys/kern/kern_timeout.c
1446
count / callwheelsize / mp_ncpus,
sys/kern/kern_timeout.c
1447
(uint64_t)count * 1000000 / callwheelsize / mp_ncpus % 1000000,
sys/kern/kern_timeout.c
1451
(st / count) / 1000000, (st / count) % 1000000,
sys/kern/kern_timeout.c
1455
(spr / count) / 1000000, (spr / count) % 1000000,
sys/kern/kern_umtx.c
1044
int count;
sys/kern/kern_umtx.c
1073
count = umtxq_count(&key);
sys/kern/kern_umtx.c
1082
count <= 1 ? UMTX_UNOWNED : UMTX_CONTESTED);
sys/kern/kern_umtx.c
1225
int count;
sys/kern/kern_umtx.c
1254
count = umtxq_count(&key);
sys/kern/kern_umtx.c
1263
count <= 1 ? UMUTEX_UNOWNED : UMUTEX_CONTESTED);
sys/kern/kern_umtx.c
1534
int error, count;
sys/kern/kern_umtx.c
1571
count = umtxq_count(&key);
sys/kern/kern_umtx.c
1579
if (count > 1)
sys/kern/kern_umtx.c
1611
int count;
sys/kern/kern_umtx.c
1633
count = umtxq_count(&key);
sys/kern/kern_umtx.c
1636
if (count <= 1 && owner != UMUTEX_RB_OWNERDEAD &&
sys/kern/kern_umtx.c
1655
if (error == 0 && count != 0) {
sys/kern/kern_umtx.c
1677
int count;
sys/kern/kern_umtx.c
1706
count = umtxq_count(&key);
sys/kern/kern_umtx.c
1719
(count > 1 || (count == 1 && (owner & ~UMUTEX_CONTESTED) != 0))) {
sys/kern/kern_umtx.c
1737
} else if (count != 0 && ((owner & ~UMUTEX_CONTESTED) == 0 ||
sys/kern/kern_umtx.c
2173
umtx_pi_drop(struct thread *td, struct umtx_key *key, bool rb, int *count)
sys/kern/kern_umtx.c
2180
*count = umtxq_count_pi(key, &uq_first);
sys/kern/kern_umtx.c
2456
int count, error;
sys/kern/kern_umtx.c
2497
error = umtx_pi_drop(td, &key, rb, &count);
sys/kern/kern_umtx.c
2513
if (count > 1)
sys/kern/kern_umtx.c
3470
int error, rv, q, count;
sys/kern/kern_umtx.c
3530
count = 0;
sys/kern/kern_umtx.c
3534
count = 1;
sys/kern/kern_umtx.c
3537
count = INT_MAX;
sys/kern/kern_umtx.c
3542
count = INT_MAX;
sys/kern/kern_umtx.c
3545
count = 1;
sys/kern/kern_umtx.c
3550
if (count) {
sys/kern/kern_umtx.c
3553
umtxq_signal_queue(&uq->uq_key, count, q);
sys/kern/kern_umtx.c
3568
uint32_t flags, count, count1;
sys/kern/kern_umtx.c
3589
rv1 = fueword32(&sem->_count, &count);
sys/kern/kern_umtx.c
3590
if (rv == -1 || rv1 == -1 || count != 0 || (rv == 1 && count1 == 0)) {
sys/kern/kern_umtx.c
3601
if (count != 0) {
sys/kern/kern_umtx.c
3677
uint32_t count, flags;
sys/kern/kern_umtx.c
3693
rv = fueword32(&sem->_count, &count);
sys/kern/kern_umtx.c
3703
if (USEM_COUNT(count) != 0) {
sys/kern/kern_umtx.c
3711
if (count == USEM_HAS_WAITERS)
sys/kern/kern_umtx.c
3713
rv = casueword32(&sem->_count, 0, &count, USEM_HAS_WAITERS);
sys/kern/kern_umtx.c
3762
uint32_t count, flags;
sys/kern/kern_umtx.c
3779
rv = fueword32(&sem->_count, &count);
sys/kern/kern_umtx.c
3780
while (rv != -1 && count & USEM_HAS_WAITERS) {
sys/kern/kern_umtx.c
3781
rv = casueword32(&sem->_count, count, &count,
sys/kern/kern_umtx.c
3782
count & ~USEM_HAS_WAITERS);
sys/kern/kern_umtx.c
3991
int count, error, i, pos, tocopy;
sys/kern/kern_umtx.c
3995
for (count = uap->val, pos = 0; count > 0; count -= tocopy,
sys/kern/kern_umtx.c
3997
tocopy = MIN(count, BATCH_SIZE);
sys/kern/kern_umtx.c
4013
int count, error, i, pos, tocopy;
sys/kern/kern_umtx.c
4017
for (count = uap->val, pos = 0; count > 0; count -= tocopy,
sys/kern/kern_umtx.c
4019
tocopy = MIN(count, BATCH_SIZE);
sys/kern/kern_umtx.c
409
int count = BUSY_SPINS;
sys/kern/kern_umtx.c
410
if (count > 0) {
sys/kern/kern_umtx.c
412
while (uc->uc_busy && --count > 0)
sys/kern/kern_uuid.c
130
kern_uuidgen(struct uuid *store, size_t count)
sys/kern/kern_uuid.c
151
uuid_last.time.ll = (time + count - 1) & ((1LL << 60) - 1LL);
sys/kern/kern_uuid.c
158
for (n = 0; n < count; n++) {
sys/kern/kern_uuid.c
173
int count;
sys/kern/kern_uuid.c
180
size_t count;
sys/kern/kern_uuid.c
189
if (uap->count < 1 || uap->count > UUIDGEN_BATCH_MAX)
sys/kern/kern_uuid.c
192
count = uap->count;
sys/kern/kern_uuid.c
193
store = malloc(count * sizeof(struct uuid), M_TEMP, M_WAITOK);
sys/kern/kern_uuid.c
194
kern_uuidgen(store, count);
sys/kern/kern_uuid.c
195
error = copyout(store, uap->store, count * sizeof(struct uuid));
sys/kern/link_elf.c
1804
int len, error = 0, count;
sys/kern/link_elf.c
1834
count = stop - start;
sys/kern/link_elf.c
1842
*countp = count;
sys/kern/link_elf_obj.c
1643
int i, count;
sys/kern/link_elf_obj.c
1652
count = stop - start;
sys/kern/link_elf_obj.c
1658
*countp = count;
sys/kern/subr_asan.c
1000
count); \
sys/kern/subr_asan.c
1029
bus_size_t count) \
sys/kern/subr_asan.c
1032
count); \
sys/kern/subr_asan.c
947
bus_size_t count) \
sys/kern/subr_asan.c
949
kasan_shadow_check((uintptr_t)buf, sizeof(type) * count,\
sys/kern/subr_asan.c
952
count); \
sys/kern/subr_asan.c
995
bus_size_t count) \
sys/kern/subr_asan.c
997
kasan_shadow_check((uintptr_t)buf, sizeof(type) * count,\
sys/kern/subr_blist.c
1013
count = ummin(blk, endBlk) - allocBlk;
sys/kern/subr_blist.c
1014
nblks += blst_meta_fill(&scan[i], allocBlk, count,
sys/kern/subr_blist.c
1104
int count = 0, maxcount = 0;
sys/kern/subr_blist.c
1113
if (sscanf(buf + 1, "%d", &count) == 1) {
sys/kern/subr_blist.c
1114
blist_resize(&bl, count, 1, M_WAITOK);
sys/kern/subr_blist.c
1129
if (sscanf(buf + 1, "%d%d", &count, &maxcount) == 2) {
sys/kern/subr_blist.c
1130
daddr_t blk = blist_alloc(bl, &count, maxcount);
sys/kern/subr_blist.c
1132
(long long)blk, count);
sys/kern/subr_blist.c
1138
if (sscanf(buf + 1, "%llx %d", &da, &count) == 2) {
sys/kern/subr_blist.c
1139
blist_free(bl, da, count);
sys/kern/subr_blist.c
1145
if (sscanf(buf + 1, "%llx %d", &da, &count) == 2) {
sys/kern/subr_blist.c
1147
(intmax_t)blist_fill(bl, da, count));
sys/kern/subr_blist.c
131
int *count, int maxcount);
sys/kern/subr_blist.c
132
static daddr_t blst_meta_alloc(blmeta_t *scan, daddr_t cursor, int *count,
sys/kern/subr_blist.c
134
static void blst_leaf_free(blmeta_t *scan, daddr_t relblk, int count);
sys/kern/subr_blist.c
135
static void blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count,
sys/kern/subr_blist.c
138
blist_t dest, daddr_t count);
sys/kern/subr_blist.c
139
static daddr_t blst_leaf_fill(blmeta_t *scan, daddr_t blk, int count);
sys/kern/subr_blist.c
140
static daddr_t blst_meta_fill(blmeta_t *scan, daddr_t allocBlk, daddr_t count,
sys/kern/subr_blist.c
178
bitrange(int n, int count)
sys/kern/subr_blist.c
182
((u_daddr_t)-1 >> (BLIST_RADIX - (n + count))));
sys/kern/subr_blist.c
263
blist_alloc(blist_t bl, int *count, int maxcount)
sys/kern/subr_blist.c
267
KASSERT(*count <= maxcount,
sys/kern/subr_blist.c
268
("invalid parameters %d > %d", *count, maxcount));
sys/kern/subr_blist.c
269
KASSERT(*count <= BLIST_MAX_ALLOC,
sys/kern/subr_blist.c
270
("minimum allocation too large: %d", *count));
sys/kern/subr_blist.c
279
blk = blst_meta_alloc(bl->bl_root, cursor, count, maxcount,
sys/kern/subr_blist.c
282
bl->bl_avail -= *count;
sys/kern/subr_blist.c
283
bl->bl_cursor = blk + *count;
sys/kern/subr_blist.c
308
blist_free(blist_t bl, daddr_t blkno, daddr_t count)
sys/kern/subr_blist.c
311
KASSERT(blkno >= 0 && blkno + count <= bl->bl_blocks,
sys/kern/subr_blist.c
313
(uintmax_t)blkno, (int)count, (uintmax_t)bl->bl_blocks));
sys/kern/subr_blist.c
314
blst_meta_free(bl->bl_root, blkno, count, bl->bl_radix);
sys/kern/subr_blist.c
315
bl->bl_avail += count;
sys/kern/subr_blist.c
325
blist_fill(blist_t bl, daddr_t blkno, daddr_t count)
sys/kern/subr_blist.c
329
KASSERT(blkno >= 0 && blkno + count <= bl->bl_blocks,
sys/kern/subr_blist.c
331
(uintmax_t)blkno, (int)count, (uintmax_t)bl->bl_blocks));
sys/kern/subr_blist.c
332
filled = blst_meta_fill(bl->bl_root, blkno, count, bl->bl_radix);
sys/kern/subr_blist.c
345
blist_resize(blist_t *pbl, daddr_t count, int freenew, int flags)
sys/kern/subr_blist.c
347
blist_t newbl = blist_create(count, flags);
sys/kern/subr_blist.c
351
if (count > save->bl_blocks)
sys/kern/subr_blist.c
352
count = save->bl_blocks;
sys/kern/subr_blist.c
353
blst_copy(save->bl_root, 0, save->bl_radix, newbl, count);
sys/kern/subr_blist.c
358
if (freenew && count < newbl->bl_blocks) {
sys/kern/subr_blist.c
359
blist_free(newbl, count, newbl->bl_blocks - count);
sys/kern/subr_blist.c
587
blst_next_leaf_alloc(blmeta_t *scan, daddr_t start, int count, int maxcount)
sys/kern/subr_blist.c
608
if (avail < count || avail == 0) {
sys/kern/subr_blist.c
669
blst_leaf_alloc(blmeta_t *scan, daddr_t blk, int *count, int maxcount)
sys/kern/subr_blist.c
674
count1 = *count - 1;
sys/kern/subr_blist.c
729
*count = hi - lo;
sys/kern/subr_blist.c
730
mask = ~bitrange(lo, *count);
sys/kern/subr_blist.c
734
*count = maxcount;
sys/kern/subr_blist.c
735
mask = ~bitrange(lo, *count);
sys/kern/subr_blist.c
740
count1 = *count - (BLIST_RADIX - lo);
sys/kern/subr_blist.c
753
*count = BLIST_RADIX - lo + hi;
sys/kern/subr_blist.c
771
blst_meta_alloc(blmeta_t *scan, daddr_t cursor, int *count,
sys/kern/subr_blist.c
780
return (blst_leaf_alloc(scan, cursor, count, maxcount));
sys/kern/subr_blist.c
808
if (*count <= scan[i].bm_bighint) {
sys/kern/subr_blist.c
813
count, maxcount, radix / BLIST_RADIX);
sys/kern/subr_blist.c
829
scan->bm_bighint = *count - 1;
sys/kern/subr_blist.c
839
blst_leaf_free(blmeta_t *scan, daddr_t blk, int count)
sys/kern/subr_blist.c
849
mask = bitrange(blk & BLIST_MASK, count);
sys/kern/subr_blist.c
852
(uintmax_t)blk, count, (uintmax_t)scan->bm_bitmap & mask));
sys/kern/subr_blist.c
867
blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count, u_daddr_t radix)
sys/kern/subr_blist.c
881
return (blst_leaf_free(scan, freeBlk, count));
sys/kern/subr_blist.c
883
endBlk = freeBlk + count;
sys/kern/subr_blist.c
898
count = ummin(blk, endBlk) - freeBlk;
sys/kern/subr_blist.c
899
blst_meta_free(&scan[i], freeBlk, count, radix / BLIST_RADIX);
sys/kern/subr_blist.c
912
daddr_t count)
sys/kern/subr_blist.c
924
blist_free(dest, blk, count);
sys/kern/subr_blist.c
928
for (i = 0; i < count; ++i) {
sys/kern/subr_blist.c
947
endBlk = blk + count;
sys/kern/subr_blist.c
951
count = radix;
sys/kern/subr_blist.c
953
count -= blk - endBlk;
sys/kern/subr_blist.c
955
radix / BLIST_RADIX, dest, count);
sys/kern/subr_blist.c
967
blst_leaf_fill(blmeta_t *scan, daddr_t blk, int count)
sys/kern/subr_blist.c
972
mask = bitrange(blk & BLIST_MASK, count);
sys/kern/subr_blist.c
990
blst_meta_fill(blmeta_t *scan, daddr_t allocBlk, daddr_t count, u_daddr_t radix)
sys/kern/subr_blist.c
996
return (blst_leaf_fill(scan, allocBlk, count));
sys/kern/subr_blist.c
998
endBlk = allocBlk + count;
sys/kern/subr_bufring.c
37
buf_ring_alloc(int count, struct malloc_type *type, int flags, struct mtx *lock)
sys/kern/subr_bufring.c
41
KASSERT(powerof2(count), ("buf ring must be size power of 2"));
sys/kern/subr_bufring.c
43
br = malloc(sizeof(struct buf_ring) + count*sizeof(caddr_t),
sys/kern/subr_bufring.c
50
br->br_prod_size = br->br_cons_size = count;
sys/kern/subr_bufring.c
51
br->br_prod_mask = br->br_cons_mask = count-1;
sys/kern/subr_bus.c
1045
int count, i;
sys/kern/subr_bus.c
1048
count = devclass_get_count(dc);
sys/kern/subr_bus.c
1049
list = malloc(count * sizeof(device_t), M_TEMP, M_NOWAIT|M_ZERO);
sys/kern/subr_bus.c
1053
count = 0;
sys/kern/subr_bus.c
1056
list[count] = dc->devices[i];
sys/kern/subr_bus.c
1057
count++;
sys/kern/subr_bus.c
1062
*devcountp = count;
sys/kern/subr_bus.c
1088
int count;
sys/kern/subr_bus.c
1090
count = 0;
sys/kern/subr_bus.c
1092
count++;
sys/kern/subr_bus.c
1093
list = malloc(count * sizeof(driver_t *), M_TEMP, M_NOWAIT);
sys/kern/subr_bus.c
1097
count = 0;
sys/kern/subr_bus.c
1099
list[count] = dl->driver;
sys/kern/subr_bus.c
1100
count++;
sys/kern/subr_bus.c
1103
*countp = count;
sys/kern/subr_bus.c
1116
int count, i;
sys/kern/subr_bus.c
1118
count = 0;
sys/kern/subr_bus.c
1121
count++;
sys/kern/subr_bus.c
1122
return (count);
sys/kern/subr_bus.c
1853
int count;
sys/kern/subr_bus.c
1857
count = 0;
sys/kern/subr_bus.c
1859
count++;
sys/kern/subr_bus.c
1862
*devcountp = count;
sys/kern/subr_bus.c
1865
if (count == 0) {
sys/kern/subr_bus.c
1871
list = malloc(count * sizeof(device_t), M_TEMP, M_NOWAIT|M_ZERO);
sys/kern/subr_bus.c
1875
count = 0;
sys/kern/subr_bus.c
1877
list[count] = child;
sys/kern/subr_bus.c
1878
count++;
sys/kern/subr_bus.c
1882
*devcountp = count;
sys/kern/subr_bus.c
2915
rman_res_t end, rman_res_t count)
sys/kern/subr_bus.c
2922
resource_list_add(rl, type, rid, start, end, count);
sys/kern/subr_bus.c
2943
rman_res_t start, rman_res_t end, rman_res_t count)
sys/kern/subr_bus.c
2963
rle->count = count;
sys/kern/subr_bus.c
3099
int type, int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/kern/subr_bus.c
3112
r = resource_list_alloc(rl, bus, child, type, rid, start, end, count,
sys/kern/subr_bus.c
3156
int type, int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/kern/subr_bus.c
3164
type, rid, start, end, count, flags));
sys/kern/subr_bus.c
3191
count = ulmax(count, rle->count);
sys/kern/subr_bus.c
3192
end = ulmax(rle->end, start + count - 1);
sys/kern/subr_bus.c
3196
type, rid, start, end, count, flags);
sys/kern/subr_bus.c
3204
rle->count = count;
sys/kern/subr_bus.c
3377
if (rle->count > 1) {
sys/kern/subr_bus.c
3380
rle->count - 1);
sys/kern/subr_bus.c
4037
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/kern/subr_bus.c
4042
start, end, count, flags));
sys/kern/subr_bus.c
4245
*countp = rle->count;
sys/kern/subr_bus.c
4260
rman_res_t start, rman_res_t count)
sys/kern/subr_bus.c
4268
resource_list_add(rl, type, rid, start, (start + count - 1), count);
sys/kern/subr_bus.c
4327
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/kern/subr_bus.c
4333
type, rid, start, end, count, flags));
sys/kern/subr_bus.c
4340
start, end, count, flags));
sys/kern/subr_bus.c
4352
int rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/kern/subr_bus.c
4361
r = rman_reserve_resource(rm, start, end, count, flags & ~RF_ACTIVE,
sys/kern/subr_bus.c
4655
rman_res_t end, rman_res_t count, u_int flags)
sys/kern/subr_bus.c
4662
count, flags);
sys/kern/subr_bus.c
4918
rman_res_t start, rman_res_t count)
sys/kern/subr_bus.c
4921
start, count));
sys/kern/subr_bus.c
4948
rman_res_t count;
sys/kern/subr_bus.c
4952
&start, &count);
sys/kern/subr_bus.c
4968
rman_res_t count;
sys/kern/subr_bus.c
4972
&start, &count);
sys/kern/subr_bus.c
4975
return (count);
sys/kern/subr_bus.c
6369
db_show_device((db_expr_t)dev, true, count, modif);
sys/kern/subr_bus_dma.c
633
bus_dma_template_fill(bus_dma_template_t *t, bus_dma_param_t *kv, u_int count)
sys/kern/subr_bus_dma.c
637
while (count) {
sys/kern/subr_bus_dma.c
638
pkv = &kv[--count];
sys/kern/subr_busdma_bounce.c
268
int count;
sys/kern/subr_busdma_bounce.c
271
count = 0;
sys/kern/subr_busdma_bounce.c
303
count++;
sys/kern/subr_busdma_bounce.c
306
return (count);
sys/kern/subr_busdma_bounce.c
403
u_int count;
sys/kern/subr_busdma_bounce.c
409
count = 0;
sys/kern/subr_busdma_bounce.c
425
count++;
sys/kern/subr_busdma_bounce.c
430
bz->free_bpages += count;
sys/kern/subr_busdma_bounce.c
431
bz->active_bpages -= count;
sys/kern/subr_coverage.c
204
uint64_t i, count, ret, type;
sys/kern/subr_coverage.c
211
count = cases[0];
sys/kern/subr_coverage.c
233
for (i = 0; i < count; i++)
sys/kern/subr_csan.c
751
bus_size_t count) \
sys/kern/subr_csan.c
753
kcsan_access((uintptr_t)buf, sizeof(type) * count, \
sys/kern/subr_csan.c
756
count); \
sys/kern/subr_csan.c
799
bus_size_t count) \
sys/kern/subr_csan.c
801
kcsan_access((uintptr_t)buf, sizeof(type) * count, \
sys/kern/subr_csan.c
804
count); \
sys/kern/subr_csan.c
840
bus_size_t count) \
sys/kern/subr_csan.c
843
count); \
sys/kern/subr_gtaskqueue.c
450
_gtaskqueue_start_threads(struct gtaskqueue **tqp, int count, int pri,
sys/kern/subr_gtaskqueue.c
458
if (count <= 0)
sys/kern/subr_gtaskqueue.c
464
tq->tq_threads = malloc(sizeof(struct thread *) * count, M_GTASKQUEUE,
sys/kern/subr_gtaskqueue.c
471
for (i = 0; i < count; i++) {
sys/kern/subr_gtaskqueue.c
472
if (count == 1)
sys/kern/subr_gtaskqueue.c
487
for (i = 0; i < count; i++) {
sys/kern/subr_gtaskqueue.c
513
gtaskqueue_start_threads(struct gtaskqueue **tqp, int count, int pri,
sys/kern/subr_gtaskqueue.c
520
error = _gtaskqueue_start_threads(tqp, count, pri, NULL, name, ap);
sys/kern/subr_intr.c
1381
intr_alloc_msi(device_t pci, device_t child, intptr_t xref, int count,
sys/kern/subr_intr.c
1407
isrc = malloc(sizeof(*isrc) * count, M_INTRNG, M_WAITOK);
sys/kern/subr_intr.c
1408
err = MSI_ALLOC_MSI(pic->pic_dev, child, count, maxcount, &pdev, isrc);
sys/kern/subr_intr.c
1414
for (i = 0; i < count; i++) {
sys/kern/subr_intr.c
1429
intr_release_msi(device_t pci, device_t child, intptr_t xref, int count,
sys/kern/subr_intr.c
1445
isrc = malloc(sizeof(*isrc) * count, M_INTRNG, M_WAITOK);
sys/kern/subr_intr.c
1447
for (i = 0; i < count; i++) {
sys/kern/subr_intr.c
1458
err = MSI_RELEASE_MSI(pic->pic_dev, child, count, isrc);
sys/kern/subr_intr.c
1460
for (i = 0; i < count; i++) {
sys/kern/subr_mchain.c
199
int cplen, error, mleft, count;
sys/kern/subr_mchain.c
226
for (src = source, count = cplen; count; count--)
sys/kern/subr_mchain.c
471
u_int count;
sys/kern/subr_mchain.c
480
count = mtod(m, u_char*) + m->m_len - s;
sys/kern/subr_mchain.c
481
if (count == 0) {
sys/kern/subr_mchain.c
487
if (count > size)
sys/kern/subr_mchain.c
488
count = size;
sys/kern/subr_mchain.c
489
size -= count;
sys/kern/subr_mchain.c
490
mdp->md_pos += count;
sys/kern/subr_mchain.c
495
error = copyout(s, target, count);
sys/kern/subr_mchain.c
500
bcopy(s, target, count);
sys/kern/subr_mchain.c
503
while (count--)
sys/kern/subr_mchain.c
507
target += count;
sys/kern/subr_msan.c
1443
bus_size_t count) \
sys/kern/subr_msan.c
1446
(width) * count); \
sys/kern/subr_msan.c
1448
count); \
sys/kern/subr_msan.c
1491
bus_size_t count) \
sys/kern/subr_msan.c
1493
kmsan_shadow_check((uintptr_t)buf, sizeof(type) * count,\
sys/kern/subr_msan.c
1496
count); \
sys/kern/subr_msan.c
1525
bus_size_t count) \
sys/kern/subr_msan.c
1528
count); \
sys/kern/subr_pcpu.c
293
int64_t count;
sys/kern/subr_pcpu.c
296
count = 0;
sys/kern/subr_pcpu.c
301
count += *(int64_t *)(dpcpu + (uintptr_t)arg1);
sys/kern/subr_pcpu.c
303
return (SYSCTL_OUT(req, &count, sizeof(count)));
sys/kern/subr_pcpu.c
310
long count;
sys/kern/subr_pcpu.c
313
count = 0;
sys/kern/subr_pcpu.c
318
count += *(long *)(dpcpu + (uintptr_t)arg1);
sys/kern/subr_pcpu.c
320
return (SYSCTL_OUT(req, &count, sizeof(count)));
sys/kern/subr_pcpu.c
327
int count;
sys/kern/subr_pcpu.c
330
count = 0;
sys/kern/subr_pcpu.c
335
count += *(int *)(dpcpu + (uintptr_t)arg1);
sys/kern/subr_pcpu.c
337
return (SYSCTL_OUT(req, &count, sizeof(count)));
sys/kern/subr_pctrie.c
565
uint64_t index, uint64_t *value[], int count,
sys/kern/subr_pctrie.c
573
for (i = 0; i < count;) {
sys/kern/subr_pctrie.c
602
end = MIN(count, i + end);
sys/kern/subr_pctrie.c
633
uint64_t *value[], int count)
sys/kern/subr_pctrie.c
635
return (_pctrie_lookup_range(ptree, NULL, index, value, count, NULL,
sys/kern/subr_pctrie.c
648
uint64_t *value[], int count, smr_t smr)
sys/kern/subr_pctrie.c
653
res = _pctrie_lookup_range(ptree, NULL, index, value, count, NULL,
sys/kern/subr_pctrie.c
666
uint64_t *value[], int count)
sys/kern/subr_pctrie.c
668
return (_pctrie_lookup_range(it->ptree, it->node, index, value, count,
sys/kern/subr_rman.c
423
rman_res_t count, u_int flags, device_t dev)
sys/kern/subr_rman.c
432
"device %s\n", __func__, rm->rm_descr, start, end, count, flags,
sys/kern/subr_rman.c
434
KASSERT(count != 0, ("%s: attempted to allocate an empty range",
sys/kern/subr_rman.c
447
start, count-1);
sys/kern/subr_rman.c
450
r && r->r_end < start + count - 1;
sys/kern/subr_rman.c
453
start, count-1);
sys/kern/subr_rman.c
473
if (s->r_start > end - (count - 1)) {
sys/kern/subr_rman.c
497
rend = ummin(s->r_end, ummax(rstart + count - 1, end));
sys/kern/subr_rman.c
503
rstart, rend, (rend - rstart + 1), count);
sys/kern/subr_rman.c
505
if ((rend - rstart) >= (count - 1)) {
sys/kern/subr_rman.c
508
if ((s->r_end - s->r_start + 1) == count) {
sys/kern/subr_rman.c
530
rv->r_end = rstart + count - 1;
sys/kern/subr_rman.c
594
(s->r_end - s->r_start + 1) == count &&
sys/kern/subr_sglist.c
771
int count, i;
sys/kern/subr_sglist.c
777
count = 0;
sys/kern/subr_sglist.c
782
count++;
sys/kern/subr_sglist.c
796
if (count == 0)
sys/kern/subr_sglist.c
800
sg = sglist_alloc(count, mflags);
sys/kern/subr_sglist.c
806
if (sg->sg_maxseg < count)
sys/kern/subr_sglist.c
813
bcopy(original->sg_segs, sg->sg_segs, count *
sys/kern/subr_sglist.c
815
sg->sg_nseg = count;
sys/kern/subr_sglist.c
824
count--;
sys/kern/subr_sglist.c
825
sg->sg_segs[count].ss_len -= split;
sys/kern/subr_sglist.c
826
original->sg_segs[count].ss_paddr =
sys/kern/subr_sglist.c
827
sg->sg_segs[count].ss_paddr + split;
sys/kern/subr_sglist.c
828
original->sg_segs[count].ss_len = split;
sys/kern/subr_sglist.c
832
original->sg_nseg -= count;
sys/kern/subr_sglist.c
833
bcopy(original->sg_segs + count, original->sg_segs, count *
sys/kern/subr_sglist.c
902
int count, i, fseg;
sys/kern/subr_sglist.c
911
count = 0;
sys/kern/subr_sglist.c
922
if (count == 0) {
sys/kern/subr_sglist.c
929
count++;
sys/kern/subr_sglist.c
950
sg = sglist_alloc(count, mflags);
sys/kern/subr_sglist.c
956
if (sg->sg_maxseg < count)
sys/kern/subr_sglist.c
967
count * sizeof(struct sglist_seg));
sys/kern/subr_sglist.c
968
sg->sg_nseg = count;
sys/kern/subr_sglist.c
978
sg->sg_segs[count - 1].ss_len -= loffs;
sys/kern/subr_sglist.c
979
CTR2(KTR_DEV, "sglist_slice seg[%d]: len %08x", count - 1,
sys/kern/subr_sglist.c
980
sg->sg_segs[count - 1].ss_len);
sys/kern/subr_smp.c
1310
int count;
sys/kern/subr_smp.c
1316
count = 0;
sys/kern/subr_smp.c
1330
count++;
sys/kern/subr_smp.c
1339
if (count == 0) {
sys/kern/subr_smp.c
1340
count = 1;
sys/kern/subr_smp.c
1347
results->entities[level] = count;
sys/kern/subr_smp.c
1348
else if (results->entities[level] != count)
sys/kern/subr_smp.c
56
smp_topo_alloc(u_int count)
sys/kern/subr_smp.c
67
index += count;
sys/kern/subr_smp.c
767
int count, int flags, int start)
sys/kern/subr_smp.c
774
for (i = 0; i < count; i++, start++)
sys/kern/subr_smp.c
780
child->cg_count = count;
sys/kern/subr_smp.c
798
smp_topo_1level(int share, int count, int flags)
sys/kern/subr_smp.c
807
packages = mp_ncpus / count;
sys/kern/subr_smp.c
812
cpu = smp_topo_addleaf(top, child, share, count, flags, cpu);
sys/kern/subr_taskqueue.c
718
_taskqueue_start_threads(struct taskqueue **tqp, int count, int pri,
sys/kern/subr_taskqueue.c
726
if (count <= 0)
sys/kern/subr_taskqueue.c
732
tq->tq_threads = malloc(sizeof(struct thread *) * count, M_TASKQUEUE,
sys/kern/subr_taskqueue.c
739
for (i = 0; i < count; i++) {
sys/kern/subr_taskqueue.c
740
if (count == 1)
sys/kern/subr_taskqueue.c
760
for (i = 0; i < count; i++) {
sys/kern/subr_taskqueue.c
786
taskqueue_start_threads(struct taskqueue **tqp, int count, int pri,
sys/kern/subr_taskqueue.c
793
error = _taskqueue_start_threads(tqp, count, pri, NULL, NULL, name, ap);
sys/kern/subr_taskqueue.c
799
taskqueue_start_threads_in_proc(struct taskqueue **tqp, int count, int pri,
sys/kern/subr_taskqueue.c
806
error = _taskqueue_start_threads(tqp, count, pri, NULL, proc, name, ap);
sys/kern/subr_taskqueue.c
812
taskqueue_start_threads_cpuset(struct taskqueue **tqp, int count, int pri,
sys/kern/subr_taskqueue.c
819
error = _taskqueue_start_threads(tqp, count, pri, mask, NULL, name, ap);
sys/kern/subr_unit.c
1275
long count = 10000; /* Number of unrs to test */
sys/kern/subr_unit.c
1313
uh = new_unrhdr(0, count - 1, NULL);
sys/kern/subr_unit.c
1316
a = calloc(count, sizeof(char));
sys/kern/subr_unit.c
1324
for (m = 0; m < count * reps; m++) {
sys/kern/subr_unit.c
1325
i = arc4random_uniform(count);
sys/kern/subr_unit.c
1339
for (i = 0; i < (u_int)count; i++) {
sys/kern/subr_vmem.c
1884
vmem_summ((db_expr_t)vm, TRUE, count, modif);
sys/kern/sys_capability.c
491
int16_t count;
sys/kern/sys_capability.c
515
count = fdep->fde_nioctls;
sys/kern/sys_capability.c
516
if (count != -1 && cmdsp != NULL) {
sys/kern/sys_capability.c
517
ncmds = MIN(count, maxcmds);
sys/kern/sys_capability.c
527
if (count != -1) {
sys/kern/sys_capability.c
534
td->td_retval[0] = count;
sys/kern/sys_eventfd.c
196
eventfd_t count;
sys/kern/sys_eventfd.c
216
count = 1;
sys/kern/sys_eventfd.c
219
count = efd->efd_count;
sys/kern/sys_eventfd.c
226
error = uiomove(&count, sizeof(eventfd_t), uio);
sys/kern/sys_eventfd.c
238
eventfd_t count;
sys/kern/sys_eventfd.c
244
error = uiomove(&count, sizeof(eventfd_t), uio);
sys/kern/sys_eventfd.c
247
if (count == UINT64_MAX)
sys/kern/sys_eventfd.c
253
if (UINT64_MAX - efd->efd_count <= count) {
sys/kern/sys_eventfd.c
266
MPASS(UINT64_MAX - efd->efd_count > count);
sys/kern/sys_eventfd.c
267
efd->efd_count += count;
sys/kern/sys_timerfd.c
195
timerfd_t count;
sys/kern/sys_timerfd.c
229
count = tfd->tfd_count;
sys/kern/sys_timerfd.c
232
error = uiomove(&count, sizeof(timerfd_t), uio);
sys/kern/systrace_args.c
1904
iarg[a++] = p->count; /* int */
sys/kern/systrace_args.c
3117
uarg[a++] = p->count; /* size_t */
sys/kern/systrace_args.c
381
uarg[a++] = p->count; /* size_t */
sys/kern/sysv_sem.c
700
u_short usval, count;
sys/kern/sysv_sem.c
854
count = semakptr->u.sem_nsems;
sys/kern/sysv_sem.c
856
array = malloc(sizeof(*array) * count, M_TEMP, M_WAITOK);
sys/kern/sysv_sem.c
860
if (count != semakptr->u.sem_nsems) {
sys/kern/sysv_sem.c
870
error = copyout(array, arg->array, count * sizeof(*array));
sys/kern/sysv_sem.c
909
count = semakptr->u.sem_nsems;
sys/kern/sysv_sem.c
911
array = malloc(sizeof(*array) * count, M_TEMP, M_WAITOK);
sys/kern/sysv_sem.c
912
error = copyin(arg->array, array, count * sizeof(*array));
sys/kern/sysv_sem.c
918
if (count != semakptr->u.sem_nsems) {
sys/kern/uipc_domain.c
154
pr_ready_notsupp(struct socket *so, struct mbuf *m, int count)
sys/kern/uipc_ktls.c
103
int count;
sys/kern/uipc_ktls.c
440
cpuid = di->cpu[inp->inp_flowid % di->count];
sys/kern/uipc_ktls.c
448
ktls_buffer_import(void *arg, void **store, int count, int domain, int flags)
sys/kern/uipc_ktls.c
458
for (i = 0; i < count; i++) {
sys/kern/uipc_ktls.c
470
ktls_buffer_release(void *arg __unused, void **store, int count)
sys/kern/uipc_ktls.c
475
for (i = 0; i < count; i++) {
sys/kern/uipc_ktls.c
496
int count, domain, error, i;
sys/kern/uipc_ktls.c
524
count = ktls_domains[domain].count;
sys/kern/uipc_ktls.c
525
ktls_domains[domain].cpu[count] = i;
sys/kern/uipc_ktls.c
526
ktls_domains[domain].count++;
sys/kern/uipc_ktls.c
538
if (ktls_domains[i].count == 0) {
sys/kern/uipc_mbuf.c
1004
count = min(min(max(len, max_protohdr), space), n->m_len);
sys/kern/uipc_mbuf.c
1006
(unsigned)count);
sys/kern/uipc_mbuf.c
1007
len -= count;
sys/kern/uipc_mbuf.c
1008
m->m_len += count;
sys/kern/uipc_mbuf.c
1009
n->m_len -= count;
sys/kern/uipc_mbuf.c
1010
space -= count;
sys/kern/uipc_mbuf.c
1012
n->m_data += count;
sys/kern/uipc_mbuf.c
1377
u_int i, count, pgoff, pglen;
sys/kern/uipc_mbuf.c
1384
count = min(m->m_epg_hdrlen - off, len);
sys/kern/uipc_mbuf.c
1385
rval = f(arg, m->m_epg_hdr + off, count);
sys/kern/uipc_mbuf.c
1388
len -= count;
sys/kern/uipc_mbuf.c
1396
count = min(pglen - off, len);
sys/kern/uipc_mbuf.c
1398
rval = f(arg, p, count);
sys/kern/uipc_mbuf.c
1401
len -= count;
sys/kern/uipc_mbuf.c
1436
u_int count;
sys/kern/uipc_mbuf.c
1452
count = min(m->m_len - off, len);
sys/kern/uipc_mbuf.c
1453
rval = m_apply_one(m, off, count, f, arg);
sys/kern/uipc_mbuf.c
1456
len -= count;
sys/kern/uipc_mbuf.c
681
u_int count;
sys/kern/uipc_mbuf.c
694
count = min(m->m_len - off, len);
sys/kern/uipc_mbuf.c
696
m_copyfromunmapped(m, off, count, cp);
sys/kern/uipc_mbuf.c
698
bcopy(mtod(m, caddr_t) + off, cp, count);
sys/kern/uipc_mbuf.c
699
len -= count;
sys/kern/uipc_mbuf.c
700
cp += count;
sys/kern/uipc_mbuf.c
828
int count;
sys/kern/uipc_mbuf.c
858
count = 0;
sys/kern/uipc_mbuf.c
860
count += m->m_len;
sys/kern/uipc_mbuf.c
871
count -= len;
sys/kern/uipc_mbuf.c
872
if (count < 0)
sys/kern/uipc_mbuf.c
873
count = 0;
sys/kern/uipc_mbuf.c
881
m->m_pkthdr.len = count;
sys/kern/uipc_mbuf.c
883
if (m->m_len >= count) {
sys/kern/uipc_mbuf.c
884
m->m_len = count;
sys/kern/uipc_mbuf.c
891
count -= m->m_len;
sys/kern/uipc_mbuf.c
931
int count;
sys/kern/uipc_mbuf.c
960
count = min(min(max(len, max_protohdr), space), n->m_len);
sys/kern/uipc_mbuf.c
962
(u_int)count);
sys/kern/uipc_mbuf.c
963
len -= count;
sys/kern/uipc_mbuf.c
964
m->m_len += count;
sys/kern/uipc_mbuf.c
965
n->m_len -= count;
sys/kern/uipc_mbuf.c
966
space -= count;
sys/kern/uipc_mbuf.c
968
n->m_data += count;
sys/kern/uipc_mbuf.c
992
int count, space;
sys/kern/uipc_sockbuf.c
195
sbready(struct sockbuf *sb, struct mbuf *m0, int count)
sys/kern/uipc_sockbuf.c
202
KASSERT(count > 0, ("%s: invalid count %d", __func__, count));
sys/kern/uipc_sockbuf.c
207
while (count > 0) {
sys/kern/uipc_sockbuf.c
211
if (count < m->m_epg_nrdy) {
sys/kern/uipc_sockbuf.c
212
m->m_epg_nrdy -= count;
sys/kern/uipc_sockbuf.c
213
count = 0;
sys/kern/uipc_sockbuf.c
216
count -= m->m_epg_nrdy;
sys/kern/uipc_sockbuf.c
219
count--;
sys/kern/uipc_usrreq.c
2550
uipc_sbready(struct sockbuf *sb, struct mbuf *m, int count)
sys/kern/uipc_usrreq.c
2558
if (count > 0) {
sys/kern/uipc_usrreq.c
2563
count--;
sys/kern/uipc_usrreq.c
2577
uipc_ready_scan(struct socket *so, struct mbuf *m, int count, int *errorp)
sys/kern/uipc_usrreq.c
2593
*errorp = uipc_sbready(sb, m, count);
sys/kern/uipc_usrreq.c
2604
uipc_ready(struct socket *so, struct mbuf *m, int count)
sys/kern/uipc_usrreq.c
2620
error = uipc_sbready(sb, m, count);
sys/kern/uipc_usrreq.c
2635
if (uipc_ready_scan(unp->unp_socket, m, count, &error))
sys/kern/uipc_usrreq.c
2641
for (int i = 0; i < count; i++)
sys/kern/uipc_usrreq.c
4001
int count;
sys/kern/uipc_usrreq.c
4012
count = 0;
sys/kern/uipc_usrreq.c
4017
count++;
sys/kern/uipc_usrreq.c
4019
atomic_add_int(&unp_defers_count, -count);
sys/kern/vfs_bio.c
5319
vfs_bio_getpages(struct vnode *vp, vm_page_t *ma, int count,
sys/kern/vfs_bio.c
5336
la = IDX_TO_OFF(ma[count - 1]->pindex);
sys/kern/vfs_bio.c
5355
pgsin = count;
sys/kern/vfs_bio.c
5374
for (i = 0; i < count; i++) {
sys/kern/vfs_bio.c
5380
for (i = 0; i < count; i++) {
sys/kern/vfs_bio.c
5440
vm_page_all_valid(m) || i == count - 1,
sys/kern/vfs_bio.c
5442
if (i == count - 1 && lpart) {
sys/kern/vfs_bio.c
5452
for (i = 0; i < count; i++) {
sys/kern/vfs_cache.c
1227
int count, maxlength, used, pct;
sys/kern/vfs_cache.c
1239
count = 0;
sys/kern/vfs_cache.c
1241
count++;
sys/kern/vfs_cache.c
1243
if (count)
sys/kern/vfs_cache.c
1245
if (maxlength < count)
sys/kern/vfs_cache.c
1246
maxlength = count;
sys/kern/vfs_cache.c
1289
SYSCTL_ULONG(_vfs_cache_neg, OID_AUTO, count, CTLFLAG_RD, &numneg, 0,
sys/kern/vfs_cache.c
671
STATNODE_ULONG(count, numcache, "Number of cache entries");
sys/kern/vfs_inotify.c
932
int count, error;
sys/kern/vfs_inotify.c
969
count = atomic_fetchadd_int(&inotify_watches, 1);
sys/kern/vfs_inotify.c
970
if (count > inotify_max_watches) {
sys/kern/vfs_subr.c
1381
vnlru_free_impl(int count, struct vfsops *mnt_op, struct vnode *mvp, bool isvnlru)
sys/kern/vfs_subr.c
1389
if (count > max_free_per_call)
sys/kern/vfs_subr.c
1390
count = max_free_per_call;
sys/kern/vfs_subr.c
1391
if (count == 0) {
sys/kern/vfs_subr.c
1395
ocount = count;
sys/kern/vfs_subr.c
141
SYSCTL_ULONG(_vfs_vnode_stats, OID_AUTO, count, CTLFLAG_RD, &numvnodes, 0,
sys/kern/vfs_subr.c
1468
count--;
sys/kern/vfs_subr.c
1469
if (count == 0) {
sys/kern/vfs_subr.c
1476
return (ocount - count);
sys/kern/vfs_subr.c
1483
vnlru_free_locked_direct(int count)
sys/kern/vfs_subr.c
1488
ret = vnlru_free_impl(count, NULL, vnode_list_free_marker, false);
sys/kern/vfs_subr.c
1494
vnlru_free_locked_vnlru(int count)
sys/kern/vfs_subr.c
1499
ret = vnlru_free_impl(count, NULL, vnode_list_free_marker, true);
sys/kern/vfs_subr.c
1505
vnlru_free_vnlru(int count)
sys/kern/vfs_subr.c
1509
return (vnlru_free_locked_vnlru(count));
sys/kern/vfs_subr.c
1513
vnlru_free_vfsops(int count, struct vfsops *mnt_op, struct vnode *mvp)
sys/kern/vfs_subr.c
1520
vnlru_free_impl(count, mnt_op, mvp, true);
sys/kern/vfs_subr.c
3812
int count;
sys/kern/vfs_subr.c
3816
count = atomic_load_int(&vp->v_holdcnt);
sys/kern/vfs_subr.c
3818
if (count & VHOLD_NO_SMR) {
sys/kern/vfs_subr.c
3819
VNASSERT((count & ~VHOLD_NO_SMR) == 0, vp,
sys/kern/vfs_subr.c
3820
("non-zero hold count with flags %d\n", count));
sys/kern/vfs_subr.c
3823
VNASSERT(count >= 0, vp, ("invalid hold count %d\n", count));
sys/kern/vfs_subr.c
3824
if (atomic_fcmpset_int(&vp->v_holdcnt, &count, count + 1)) {
sys/kern/vfs_subr.c
3825
if (count == 0)
sys/kern/vfs_subr.c
3851
int count;
sys/kern/vfs_subr.c
3855
count = atomic_load_int(&vp->v_holdcnt);
sys/kern/vfs_subr.c
3857
if (count & VHOLD_NO_SMR) {
sys/kern/vfs_subr.c
3858
VNASSERT((count & ~VHOLD_NO_SMR) == 0, vp,
sys/kern/vfs_subr.c
3859
("non-zero hold count with flags %d\n", count));
sys/kern/vfs_subr.c
3862
VNASSERT(count >= 0, vp, ("invalid hold count %d\n", count));
sys/kern/vfs_subr.c
3863
if (count > 0) {
sys/kern/vfs_subr.c
3866
if (atomic_fcmpset_int(&vp->v_holdcnt, &count, count + 1)) {
sys/kern/vfs_syscalls.c
105
size_t count, struct thread *td);
sys/kern/vfs_syscalls.c
242
uint64_t count;
sys/kern/vfs_syscalls.c
254
count = -sf->f_bavail;
sys/kern/vfs_syscalls.c
256
count = sf->f_bavail;
sys/kern/vfs_syscalls.c
257
count = MAX(sf->f_blocks, MAX(sf->f_bfree, count));
sys/kern/vfs_syscalls.c
258
if (count <= max_size)
sys/kern/vfs_syscalls.c
261
count >>= flsl(max_size);
sys/kern/vfs_syscalls.c
263
while (count > 0) {
sys/kern/vfs_syscalls.c
265
count >>=1;
sys/kern/vfs_syscalls.c
2736
size_t count;
sys/kern/vfs_syscalls.c
2744
uap->buf, UIO_USERSPACE, uap->count));
sys/kern/vfs_syscalls.c
2764
enum uio_seg pathseg, char *buf, enum uio_seg bufseg, size_t count)
sys/kern/vfs_syscalls.c
2770
if (count > IOSIZE_MAX)
sys/kern/vfs_syscalls.c
2781
error = kern_readlink_vp(vp, buf, bufseg, count, td);
sys/kern/vfs_syscalls.c
2791
kern_readlink_vp(struct vnode *vp, char *buf, enum uio_seg bufseg, size_t count,
sys/kern/vfs_syscalls.c
2808
aiov.iov_len = count;
sys/kern/vfs_syscalls.c
2815
auio.uio_resid = count;
sys/kern/vfs_syscalls.c
2817
td->td_retval[0] = count - auio.uio_resid;
sys/kern/vfs_syscalls.c
402
size_t count;
sys/kern/vfs_syscalls.c
407
error = kern_getfsstat(td, &uap->buf, uap->bufsize, &count,
sys/kern/vfs_syscalls.c
410
td->td_retval[0] = count;
sys/kern/vfs_syscalls.c
4196
freebsd11_kern_getdirentries(struct thread *td, int fd, char *ubuf, u_int count,
sys/kern/vfs_syscalls.c
4207
count = min(count, 64 * 1024);
sys/kern/vfs_syscalls.c
4209
dirbuf = malloc(count, M_TEMP, M_WAITOK);
sys/kern/vfs_syscalls.c
4211
error = kern_getdirentries(td, fd, dirbuf, count, &base, &resid,
sys/kern/vfs_syscalls.c
4220
edp = (struct dirent *)&dirbuf[count - resid];
sys/kern/vfs_syscalls.c
4221
ucount < count && dp < edp; ) {
sys/kern/vfs_syscalls.c
425
size_t count, maxcount;
sys/kern/vfs_syscalls.c
4250
MPASS(ucount + dstdp.d_reclen <= count);
sys/kern/vfs_syscalls.c
4295
u_int count;
sys/kern/vfs_syscalls.c
4319
if (uap->count > 64 * 1024)
sys/kern/vfs_syscalls.c
4322
error = freebsd11_kern_getdirentries(td, uap->fd, uap->buf, uap->count,
sys/kern/vfs_syscalls.c
4337
u_int count;
sys/kern/vfs_syscalls.c
4348
error = freebsd11_kern_getdirentries(td, uap->fd, uap->buf, uap->count,
sys/kern/vfs_syscalls.c
4363
ap.count = uap->count;
sys/kern/vfs_syscalls.c
4378
error = kern_getdirentries(td, uap->fd, uap->buf, uap->count, &base,
sys/kern/vfs_syscalls.c
4388
kern_getdirentries(struct thread *td, int fd, char *buf, size_t count,
sys/kern/vfs_syscalls.c
4400
if (count > IOSIZE_MAX)
sys/kern/vfs_syscalls.c
4402
auio.uio_resid = count;
sys/kern/vfs_syscalls.c
4418
aiov.iov_len = count;
sys/kern/vfs_syscalls.c
4451
if (count == auio.uio_resid &&
sys/kern/vfs_syscalls.c
446
count = 0;
sys/kern/vfs_syscalls.c
4467
td->td_retval[0] = count - auio.uio_resid;
sys/kern/vfs_syscalls.c
449
count++;
sys/kern/vfs_syscalls.c
452
if (maxcount > count)
sys/kern/vfs_syscalls.c
453
maxcount = count;
sys/kern/vfs_syscalls.c
458
count = 0;
sys/kern/vfs_syscalls.c
479
count++;
sys/kern/vfs_syscalls.c
483
*countp = count;
sys/kern/vfs_syscalls.c
562
count++;
sys/kern/vfs_syscalls.c
564
if (count == maxcount) {
sys/kern/vfs_syscalls.c
575
*countp = count;
sys/kern/vfs_syscalls.c
649
size_t count, size;
sys/kern/vfs_syscalls.c
654
count = uap->bufsize / sizeof(struct ostatfs);
sys/kern/vfs_syscalls.c
655
if (count > SIZE_MAX / sizeof(struct statfs))
sys/kern/vfs_syscalls.c
657
size = count * sizeof(struct statfs);
sys/kern/vfs_syscalls.c
658
error = kern_getfsstat(td, &buf, size, &count, UIO_SYSSPACE,
sys/kern/vfs_syscalls.c
661
td->td_retval[0] = count;
sys/kern/vfs_syscalls.c
664
while (count != 0 && error == 0) {
sys/kern/vfs_syscalls.c
669
count--;
sys/kern/vfs_syscalls.c
797
size_t count, size;
sys/kern/vfs_syscalls.c
803
count = bufsize / sizeof(struct ostatfs);
sys/kern/vfs_syscalls.c
804
size = count * sizeof(struct statfs);
sys/kern/vfs_syscalls.c
805
error = kern_getfsstat(td, &buf, size, &count, UIO_SYSSPACE, mode);
sys/kern/vfs_syscalls.c
807
td->td_retval[0] = count;
sys/kern/vfs_syscalls.c
810
while (count > 0 && error == 0) {
sys/kern/vfs_syscalls.c
815
count--;
sys/kgssapi/gss_acquire_cred.c
96
for (i = 0; i < res.actual_mechs->count; i++) {
sys/kgssapi/gss_add_oid_set_member.c
58
new_elements = malloc((set->count + 1) * sizeof(gss_OID_desc),
sys/kgssapi/gss_add_oid_set_member.c
61
new_oid = &new_elements[set->count];
sys/kgssapi/gss_add_oid_set_member.c
68
set->count * sizeof(gss_OID_desc));
sys/kgssapi/gss_add_oid_set_member.c
72
set->count++;
sys/kgssapi/gss_create_empty_oid_set.c
49
set->count = 0;
sys/kgssapi/gss_test_oid_set_member.c
47
for (i = 0; i < set->count; i++)
sys/kgssapi/gssapi.h
55
size_t count;
sys/kgssapi/gssd_prot.c
129
len = set->count;
sys/kgssapi/gssd_prot.c
134
set->count = len;
sys/libkern/murmur3_32.c
104
murmur3_32_hash32(const uint32_t *data, size_t count, uint32_t seed)
sys/libkern/murmur3_32.c
110
for (res = count, hash = seed; res > 0; res--, data++) {
sys/libkern/murmur3_32.c
122
hash ^= (uint32_t)count;
sys/net/altq/altq_codel.c
374
val = (3LL << 32) - ((u_int64_t)vars->count * invsqrt2);
sys/net/altq/altq_codel.c
418
c->vars.count++; /* don't care of possible wrap
sys/net/altq/altq_codel.c
452
c->vars.count = (c->vars.count - c->vars.lastcount) | 1;
sys/net/altq/altq_codel.c
459
c->vars.count = 1;
sys/net/altq/altq_codel.c
462
c->vars.lastcount = c->vars.count;
sys/net/altq/altq_codel.h
92
u_int32_t count;
sys/net/altq/altq_red.c
411
drop_early(int fp_len, int fp_probd, int count)
sys/net/altq/altq_red.c
415
d = fp_probd - count * fp_len;
sys/net/altq/altq_rio.c
361
prec->count++;
sys/net/altq/altq_rio.c
375
prec->count = 1;
sys/net/altq/altq_rio.c
378
prec->probd, prec->count)) {
sys/net/altq/altq_rio.c
396
rp->rio_precstate[i].count = 0;
sys/net/altq/altq_rio.h
63
int count; /* packet count since the last dropped/
sys/net/altq/altq_rmclass_debug.h
62
int count;
sys/net/altq/altq_rmclass_debug.h
87
int *_p = &cbqtrace_ptr->count; \
sys/net/bpf_zerocopy.c
241
u_int count, page, poffset;
sys/net/bpf_zerocopy.c
266
count = min(len, PAGE_SIZE - poffset);
sys/net/bpf_zerocopy.c
268
poffset, count);
sys/net/bpf_zerocopy.c
269
poffset += count;
sys/net/bpf_zerocopy.c
277
len -= count;
sys/net/bpf_zerocopy.c
278
src_bytes += count;
sys/net/bpf_zerocopy.c
293
u_int count, moffset, page, poffset;
sys/net/bpf_zerocopy.c
325
count = min(m->m_len - moffset, len);
sys/net/bpf_zerocopy.c
326
count = min(count, PAGE_SIZE - poffset);
sys/net/bpf_zerocopy.c
329
count);
sys/net/bpf_zerocopy.c
330
poffset += count;
sys/net/bpf_zerocopy.c
338
moffset += count;
sys/net/bpf_zerocopy.c
343
len -= count;
sys/net/bridgestp.c
1545
bstp_set_holdcount(struct bstp_state *bs, int count)
sys/net/bridgestp.c
1549
if (count < BSTP_MIN_HOLD_COUNT ||
sys/net/bridgestp.c
1550
count > BSTP_MAX_HOLD_COUNT)
sys/net/bridgestp.c
1554
bs->bs_txholdcount = count;
sys/net/dummymbuf.c
182
int count;
sys/net/dummymbuf.c
184
count = (int)strtol(rule->opargs, NULL, 10);
sys/net/dummymbuf.c
185
if (count < 0 || count > MCLBYTES)
sys/net/dummymbuf.c
192
if (count > m->m_pkthdr.len)
sys/net/dummymbuf.c
193
count = m->m_pkthdr.len;
sys/net/dummymbuf.c
199
m_copydata(m, 0, count, n->m_ext.ext_buf);
sys/net/dummymbuf.c
200
n->m_len = count;
sys/net/dummymbuf.c
202
m_adj(m, count);
sys/net/ieee8023ad_lacp.c
1070
int count;
sys/net/ieee8023ad_lacp.c
1089
count = p->pm_numa[domain].count;
sys/net/ieee8023ad_lacp.c
1090
p->pm_numa[domain].map[count] = lp;
sys/net/ieee8023ad_lacp.c
1091
p->pm_numa[domain].count++;
sys/net/ieee8023ad_lacp.c
1098
if (p->pm_numa[i].count != 0) {
sys/net/ieee8023ad_lacp.c
1100
if (p->pm_numa[i].count > 1) {
sys/net/ieee8023ad_lacp.c
1102
p->pm_numa[i].count,
sys/net/ieee8023ad_lacp.c
846
int count;
sys/net/ieee8023ad_lacp.c
864
count = pm->pm_numa[numa_domain].count;
sys/net/ieee8023ad_lacp.c
865
if (count > 0) {
sys/net/ieee8023ad_lacp.c
870
count = pm->pm_count;
sys/net/ieee8023ad_lacp.c
876
count = pm->pm_count;
sys/net/ieee8023ad_lacp.c
879
hash %= count;
sys/net/ieee8023ad_lacp.h
199
int count;
sys/net/if.c
3860
int count;
sys/net/if.c
3862
count = 1;
sys/net/if.c
3869
count++;
sys/net/if.c
3871
if (count > limit) {
sys/net/if.c
3874
if_name(ifp), count);
sys/net/if.c
4394
u_int count;
sys/net/if.c
4396
count = 0;
sys/net/if.c
4400
count++;
sys/net/if.c
4403
return (count);
sys/net/if.c
4531
u_int count;
sys/net/if.c
4535
count = 0;
sys/net/if.c
4540
count += (*cb)(cb_arg, (struct sockaddr_dl *)ifa->ifa_addr,
sys/net/if.c
4541
count);
sys/net/if.c
4545
return (count);
sys/net/if.c
4553
int count;
sys/net/if.c
4555
count = 0;
sys/net/if.c
4559
count++;
sys/net/if.c
4562
return (count);
sys/net/if.c
4577
u_int count;
sys/net/if.c
4581
count = 0;
sys/net/if.c
4586
count += (*cb)(cb_arg, (struct sockaddr_dl *)ifma->ifma_addr,
sys/net/if.c
4587
count);
sys/net/if.c
4591
return (count);
sys/net/if.c
4599
u_int count;
sys/net/if.c
4603
count = 0;
sys/net/if.c
4608
count += (*cb)(cb_arg, ifa, count);
sys/net/if.c
4612
return (count);
sys/net/if_bridge.c
1680
int count, buflen, len, error = 0;
sys/net/if_bridge.c
1682
count = 0;
sys/net/if_bridge.c
1684
count++;
sys/net/if_bridge.c
1686
count++;
sys/net/if_bridge.c
1688
buflen = sizeof(breq) * count;
sys/net/if_bridge.c
1697
count = 0;
sys/net/if_bridge.c
1712
count++;
sys/net/if_bridge.c
1725
count++;
sys/net/if_bridge.c
1730
bifc->ifbic_len = sizeof(breq) * count;
sys/net/if_bridge.c
1743
int count, buflen, len, error = 0;
sys/net/if_bridge.c
1748
count = 0;
sys/net/if_bridge.c
1750
count++;
sys/net/if_bridge.c
1751
buflen = sizeof(bareq) * count;
sys/net/if_bridge.c
1757
count = 0;
sys/net/if_bridge.c
1776
count++;
sys/net/if_bridge.c
1781
bac->ifbac_len = sizeof(bareq) * count;
sys/net/if_bridge.c
2147
int count, buflen, len, error = 0;
sys/net/if_bridge.c
2149
count = 0;
sys/net/if_bridge.c
2152
count++;
sys/net/if_bridge.c
2155
buflen = sizeof(bpreq) * count;
sys/net/if_bridge.c
2165
count = 0;
sys/net/if_bridge.c
2185
count++;
sys/net/if_bridge.c
2190
bifstp->ifbpstp_len = sizeof(bpreq) * count;
sys/net/if_clone.c
715
int buf_count, count, err = 0;
sys/net/if_clone.c
742
count = (V_if_cloners_count < buf_count) ?
sys/net/if_clone.c
746
ifc != NULL && count != 0;
sys/net/if_clone.c
747
ifc = LIST_NEXT(ifc, ifc_list), count--, buf += IFNAMSIZ) {
sys/net/if_lagg.c
1360
int count, buflen, len, error = 0, oldmtu;
sys/net/if_lagg.c
1373
count = 0;
sys/net/if_lagg.c
1382
count++;
sys/net/if_lagg.c
1387
ra->ra_ports = count;
sys/net/if_lagg.c
1388
ra->ra_size = count * sizeof(rpbuf);
sys/net/if_lagg.c
1833
unsigned int count;
sys/net/if_lagg.c
1845
count = atomic_load_int(&sc->sc_count);
sys/net/if_lagg.c
1846
if (count == 0)
sys/net/if_lagg.c
1849
p %= count;
sys/net/if_lagg.c
2418
unsigned int count;
sys/net/if_lagg.c
2420
count = atomic_load_int(&sc->sc_count);
sys/net/if_lagg.c
2421
if (__predict_false(count == 0)) {
sys/net/if_lagg.c
2428
p %= count;
sys/net/if_lagg.c
2615
unsigned int count;
sys/net/if_lagg.c
2617
count = atomic_load_int(&sc->sc_count);
sys/net/if_lagg.c
2618
if (__predict_false(count == 0)) {
sys/net/if_lagg.c
2628
p %= count;
sys/net/if_media.c
148
ifmedia_list_add(struct ifmedia *ifm, struct ifmedia_entry *lp, int count)
sys/net/if_media.c
152
for (i = 0; i < count; i++)
sys/net/if_media.h
101
int count);
sys/net/if_pfsync.h
133
u_int16_t count;
sys/net/if_var.h
770
typedef int poll_handler_t(if_t ifp, enum poll_cmd cmd, int count);
sys/net/iflib.c
1500
iflib_dma_alloc_multi(if_ctx_t ctx, int *sizes, iflib_dma_info_t *dmalist, int mapflags, int count)
sys/net/iflib.c
1506
for (i = 0; i < count; i++, dmaiter++) {
sys/net/iflib.c
1535
iflib_dma_free_multi(iflib_dma_info_t *dmalist, int count)
sys/net/iflib.c
1540
for (i = 0; i < count; i++, dmaiter++)
sys/net/iflib.c
2066
iflib_fl_refill(if_ctx_t ctx, iflib_fl_t fl, int count)
sys/net/iflib.c
2078
MPASS(count <= fl->ifl_size - fl->ifl_credits - 1);
sys/net/iflib.c
2090
n = count;
sys/net/iflib.c
2178
if (n < count - 1) {
sys/net/iflib.c
3873
int avail, bytes_sent, consumed, count, err, i;
sys/net/iflib.c
3914
count = MIN(avail, TX_BATCH_SIZE);
sys/net/iflib.c
3922
for (i = 0; i < count && TXQ_AVAIL(txq) >= MAX_TX_DESC(ctx); i++) {
sys/net/iflib.c
3923
int rem = do_prefetch ? count - i : 0;
sys/net/iflib.c
4275
qidx = count = 0;
sys/net/iflib.c
4279
count++;
sys/net/iflib.c
4283
if (count > nitems(marr))
sys/net/iflib.c
4284
if ((mp = malloc(count * sizeof(struct mbuf *), M_IFLIB, M_NOWAIT)) == NULL) {
sys/net/iflib.c
7225
iflib_debugnet_poll(if_t ifp, int count)
sys/net/iflib.h
493
int iflib_dma_alloc_multi(if_ctx_t ctx, int *sizes, iflib_dma_info_t *dmalist, int mapflags, int count);
sys/net/iflib.h
495
void iflib_dma_free_multi(iflib_dma_info_t *dmalist, int count);
sys/net/pflow.h
276
u_int16_t count;
sys/net/route/fib_algo.c
144
uint32_t count;
sys/net/route/fib_algo.c
1796
fd->nh_ref_table->count++;
sys/net/route/fib_algo.c
438
int error, count = 0;
sys/net/route/fib_algo.c
445
if (count++ > 0)
sys/net/route/fib_algo.c
699
for (int i = 0; i < q->count; i++)
sys/net/route/fib_algo.c
702
q->count = 0;
sys/net/route/fib_algo.c
743
if (q->count >= q->size) {
sys/net/route/fib_algo.c
762
return (fill_change_entry(fd, &q->entries[q->count++], rc));
sys/net/route/fib_algo.c
929
fd->nh_ref_table->count);
sys/net/route/fib_algo.h
65
uint32_t count;
sys/net/route/nhgrp_ctl.c
1077
uint32_t count;
sys/net/route/nhgrp_ctl.c
1082
count = ctl->gr_head.items_count;
sys/net/route/nhgrp_ctl.c
1085
return (count);
sys/net/route/nhop_ctl.c
1301
uint32_t count;
sys/net/route/nhop_ctl.c
1306
count = ctl->nh_head.items_count;
sys/net/route/nhop_ctl.c
1309
return (count);
sys/net/route/route_ctl.c
286
int count;
sys/net/route/route_ctl.c
298
if (match_nhop_gw(nh, gwd->gw) && gwd->count++ == 0)
sys/net80211/ieee80211_freebsd.c
1157
ieee80211_debugnet_poll(struct ifnet *ifp, int count)
sys/net80211/ieee80211_freebsd.c
1165
return (ic->ic_debugnet_meth->dn8_poll(ic, count));
sys/net80211/ieee80211_freebsd.c
951
const struct ieee80211_channel *c, int mode, int count)
sys/net80211/ieee80211_freebsd.c
962
iev.iev_count = count;
sys/net80211/ieee80211_ht.c
3858
int count)
sys/net80211/ieee80211_ht.c
3864
return (count >= ieee80211_bar_maxtries);
sys/net80211/ieee80211_node.c
2589
int count, i;
sys/net80211/ieee80211_node.c
2598
count = nt->nt_count;
sys/net80211/ieee80211_node.c
2599
size = count * sizeof(struct ieee80211_node *);
sys/net80211/ieee80211_node.c
2611
KASSERT(i < count,
sys/net80211/ieee80211_node.c
2613
vap, i, count));
sys/net80211/ieee80211_node.c
2619
for (i = 0; i < count; i++) {
sys/net80211/ieee80211_proto.c
1001
int barker_count = 0, short_preamble_count = 0, count = 0;
sys/net80211/ieee80211_proto.c
1017
count++;
sys/net80211/ieee80211_proto.c
1032
if (barker_count == 0 && short_preamble_count == count) {
sys/net80211/ieee80211_proto.c
2302
struct ieee80211_channel *c, int mode, int count)
sys/net80211/ieee80211_proto.c
2310
ic->ic_csa_count = count;
sys/net80211/ieee80211_proto.c
2321
ieee80211_notify_csa(ic, c, mode, count);
sys/net80211/ieee80211_proto.h
435
struct ieee80211_channel *, int mode, int count);
sys/net80211/ieee80211_proto.h
450
const struct ieee80211_channel *, int mode, int count);
sys/net80211/ieee80211_scan_sta.c
514
uint16_t count;
sys/net80211/ieee80211_scan_sta.c
524
for (i = 0; i < scan->count; i++)
sys/net80211/ieee80211_scan_sta.c
678
add_channels(vap, ss, mode, scan->list, scan->count);
sys/net80211/ieee80211_scan_sta.c
719
#define X(a) .count = sizeof(a)/sizeof(a[0]), .list = a
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
220
int count;
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
223
NG_HCI_BUFF_ACL_AVAIL(unit->buffer, count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
227
__func__, NG_NODE_NAME(unit->node), count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
229
if (count > 0) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
230
count = send_data_packets(unit, NG_HCI_LINK_ACL, count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
231
NG_HCI_STAT_ACL_SENT(unit->stat, count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
232
NG_HCI_BUFF_ACL_USE(unit->buffer, count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
236
NG_HCI_BUFF_SCO_AVAIL(unit->buffer, count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
240
__func__, NG_NODE_NAME(unit->node), count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
242
if (count > 0) {
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
243
count = send_data_packets(unit, NG_HCI_LINK_SCO, count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
244
NG_HCI_STAT_SCO_SENT(unit->stat, count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
245
NG_HCI_BUFF_SCO_USE(unit->buffer, count);
sys/netgraph/netflow/netflow.c
1022
header->count + sizeof(struct netflow_v5_header);
sys/netgraph/netflow/netflow.c
1033
header->count));
sys/netgraph/netflow/netflow.c
1034
header->count = htons(header->count);
sys/netgraph/netflow/netflow.c
1053
rec = &dgram->r[header->count];
sys/netgraph/netflow/netflow.c
1054
header->count ++;
sys/netgraph/netflow/netflow.c
1056
KASSERT(header->count <= NETFLOW_V5_MAX_RECORDS,
sys/netgraph/netflow/netflow.c
1082
if (header->count == NETFLOW_V5_MAX_RECORDS)
sys/netgraph/netflow/netflow.c
191
dgram->header.count = 0;
sys/netgraph/netflow/netflow.h
59
uint16_t count; /* Number of records in flow */
sys/netgraph/netflow/netflow.h
68
uint16_t count; /* Number of records in flow */
sys/netgraph/netflow/netflow.h
81
uint16_t count; /* Total number of records in packet */
sys/netgraph/netflow/netflow_v9.c
216
header->count = t->count;
sys/netgraph/netflow/netflow_v9.c
221
header->count = htons(t->count);
sys/netgraph/netflow/netflow_v9.c
353
t->count++;
sys/netgraph/netflow/netflow_v9.c
402
dgram->header.count = 0;
sys/netgraph/netflow/netflow_v9.c
407
t->count = 0;
sys/netgraph/netflow/netflow_v9.c
425
t->count += priv->flowset_records[0];
sys/netgraph/netflow/netflow_v9.h
143
uint16_t count; /* current records count */
sys/netgraph/ng_lmi.c
378
int count;
sys/netgraph/ng_lmi.c
380
for (count = 0; count < MAXDLCI; count++)
sys/netgraph/ng_lmi.c
381
if (sc->dlci_state[count] == DLCI_UP)
sys/netgraph/ng_lmi.c
382
sc->dlci_state[count] = DLCI_DOWN;
sys/netgraph/ng_lmi.c
453
int pos, count;
sys/netgraph/ng_lmi.c
475
for (count = 0;
sys/netgraph/ng_lmi.c
476
((count <= MAXDLCI)
sys/netgraph/ng_lmi.c
478
count++) {
sys/netgraph/ng_lmi.c
479
if (sc->dlci_state[count]) {
sys/netgraph/ng_lmi.c
481
"dlci %d %s\n", count,
sys/netgraph/ng_lmi.c
482
(sc->dlci_state[count]
sys/netgraph/ng_lmi.c
642
int count = 0;
sys/netgraph/ng_lmi.c
645
for (count = 0; count < 10; count++) {
sys/netgraph/ng_patch.c
226
NG_PATCH_CONF_SIZE(privp->conf->count), M_WAITOK);
sys/netgraph/ng_patch.c
232
NG_PATCH_CONF_SIZE(privp->conf->count));
sys/netgraph/ng_patch.c
236
for (i = 0; i < conf->count; i++) {
sys/netgraph/ng_patch.c
259
msg->header.arglen < NG_PATCH_CONF_SIZE(conf->count))
sys/netgraph/ng_patch.c
262
for (i = 0; i < conf->count; i++) {
sys/netgraph/ng_patch.c
284
newconf = malloc(NG_PATCH_CONF_SIZE(conf->count), M_NETGRAPH, M_WAITOK | M_ZERO);
sys/netgraph/ng_patch.c
286
bcopy(conf, newconf, NG_PATCH_CONF_SIZE(conf->count));
sys/netgraph/ng_patch.c
356
for (i = 0; i < privp->conf->count; i++) {
sys/netgraph/ng_patch.c
76
return (conf->count);
sys/netgraph/ng_patch.h
113
uint32_t count;
sys/netgraph/ng_patch.h
130
#define NG_PATCH_CONF_SIZE(count) (sizeof(struct ng_patch_config) + \
sys/netgraph/ng_patch.h
131
(count) * sizeof(struct ng_patch_op))
sys/netgraph/ng_pppoe.c
413
int count;
sys/netgraph/ng_pppoe.c
422
for (count = 0, tag = sp->neg->tags;
sys/netgraph/ng_pppoe.c
423
((count < sp->neg->numtags) && (count < NUMTAGS));
sys/netgraph/ng_pppoe.c
424
tag++, count++) {
sys/netgraph/ng_pppoe.c
428
sp->neg->numtags = count;
sys/netinet/icmp6.h
648
MIB_SDT_PROBE1(icmp6, count, name, (val)); \
sys/netinet/icmp6.h
654
MIB_SDT_PROBE2(icmp6, count, name, 1, type); \
sys/netinet/icmp6.h
664
MIB_SDT_PROBE1(icmp6, count, name, 1); \
sys/netinet/icmp_var.h
69
MIB_SDT_PROBE1(icmp, count, name, (val)); \
sys/netinet/icmp_var.h
76
MIB_SDT_PROBE2(icmp, count, name, 1, type); \
sys/netinet/icmp_var.h
86
MIB_SDT_PROBE1(icmp, count, name, 1); \
sys/netinet/in_fib_algo.c
149
uint32_t count;
sys/netinet/in_fib_algo.c
154
count = rinfo.num_prefixes * 11 / 10 + 64;
sys/netinet/in_fib_algo.c
156
sz = sizeof(struct bsearch4_data) + sizeof(struct bsearch4_record) * count;
sys/netinet/in_fib_algo.c
165
bd->alloc_items = count;
sys/netinet/in_fib_algo.c
174
bd->rr = mallocarray(count, sizeof(struct bsearch4_record), M_TEMP, M_NOWAIT | M_ZERO);
sys/netinet/in_fib_algo.c
562
uint32_t count;
sys/netinet/in_fib_algo.c
570
count = rinfo.num_prefixes * 11 / 10;
sys/netinet/in_fib_algo.c
571
sz = count * LRADIX4_ITEM_SZ + CACHE_LINE_SIZE;
sys/netinet/in_fib_algo.c
577
lr->alloc_items = count;
sys/netinet/in_fib_dxr.c
1233
MPASS(q->count < q->size);
sys/netinet/in_fib_dxr.c
1240
FIB_PRINTF(LOG_INFO, da->fd, "processing %d update(s)", q->count);
sys/netinet/in_fib_dxr.c
1241
for (ui = 0; ui < q->count; ui++) {
sys/netinet/in_kdtrace.c
122
SDT_PROBE_DEFINE1(mib, icmp, count, name, \
sys/netinet/in_kdtrace.c
125
SDT_PROBE_DEFINE2(mib, icmp, count, name, \
sys/netinet/in_kdtrace.c
144
SDT_PROBE_DEFINE1(mib, icmp6, count, name, \
sys/netinet/in_kdtrace.c
147
SDT_PROBE_DEFINE2(mib, icmp6, count, name, \
sys/netinet/in_kdtrace.c
188
#define MIB_PROBE_UDP(name) SDT_PROBE_DEFINE1(mib, udp, count, name, "int")
sys/netinet/in_kdtrace.c
204
#define MIB_PROBE_TCP(name) SDT_PROBE_DEFINE1(mib, tcp, count, name, "int")
sys/netinet/in_kdtrace.c
347
#define MIB_PROBE_IPSEC(name) SDT_PROBE_DEFINE1(mib, ipsec, count, name, "int")
sys/netinet/in_kdtrace.c
368
#define MIB_PROBE_ESP(name) SDT_PROBE_DEFINE1(mib, esp, count, name, "int")
sys/netinet/in_kdtrace.c
369
#define MIB_PROBE2_ESP(name) SDT_PROBE_DEFINE2(mib, esp, count, name, "int", "int")
sys/netinet/in_kdtrace.c
393
#define MIB_PROBE_AH(name) SDT_PROBE_DEFINE1(mib, ah, count, name, "int")
sys/netinet/in_kdtrace.c
394
#define MIB_PROBE_AH2(name) SDT_PROBE_DEFINE2(mib, ah, count, name, "int", "int")
sys/netinet/in_kdtrace.c
41
SDT_PROBE_DEFINE1(mib, ip, count, name, \
sys/netinet/in_kdtrace.c
417
#define MIB_PROBE_IPCOMP(name) SDT_PROBE_DEFINE1(mib, ipcomp, count, name, "int")
sys/netinet/in_kdtrace.c
418
#define MIB_PROBE_IPCOMP2(name) SDT_PROBE_DEFINE2(mib, ipcomp, count, name, "int", "int")
sys/netinet/in_kdtrace.c
75
SDT_PROBE_DEFINE1(mib, ip6, count, name, \
sys/netinet/in_kdtrace.c
78
SDT_PROBE_DEFINE2(mib, ip6, count, name, \
sys/netinet/in_kdtrace.h
100
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_delivered);
sys/netinet/in_kdtrace.h
101
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_localout);
sys/netinet/in_kdtrace.h
102
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_odropped);
sys/netinet/in_kdtrace.h
103
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_reassembled);
sys/netinet/in_kdtrace.h
104
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_atomicfrags);
sys/netinet/in_kdtrace.h
105
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_fragmented);
sys/netinet/in_kdtrace.h
106
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_ofragments);
sys/netinet/in_kdtrace.h
107
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_cantfrag);
sys/netinet/in_kdtrace.h
108
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_badoptions);
sys/netinet/in_kdtrace.h
109
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_noroute);
sys/netinet/in_kdtrace.h
110
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_badvers);
sys/netinet/in_kdtrace.h
111
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_rawout);
sys/netinet/in_kdtrace.h
112
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_badscope);
sys/netinet/in_kdtrace.h
113
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_notmember);
sys/netinet/in_kdtrace.h
114
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_nxthist);
sys/netinet/in_kdtrace.h
115
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_m1);
sys/netinet/in_kdtrace.h
116
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_m2m);
sys/netinet/in_kdtrace.h
117
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_mext1);
sys/netinet/in_kdtrace.h
118
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_mext2m);
sys/netinet/in_kdtrace.h
119
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_exthdrtoolong);
sys/netinet/in_kdtrace.h
120
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_nogif);
sys/netinet/in_kdtrace.h
121
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_toomanyhdr);
sys/netinet/in_kdtrace.h
122
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_sources_none);
sys/netinet/in_kdtrace.h
123
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_sources_sameif);
sys/netinet/in_kdtrace.h
124
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_sources_otherif);
sys/netinet/in_kdtrace.h
125
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_sources_samescope);
sys/netinet/in_kdtrace.h
126
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_sources_otherscope);
sys/netinet/in_kdtrace.h
127
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_sources_deprecated);
sys/netinet/in_kdtrace.h
128
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_sources_rule);
sys/netinet/in_kdtrace.h
130
SDT_PROBE_DECLARE(mib, icmp, count, icps_error);
sys/netinet/in_kdtrace.h
131
SDT_PROBE_DECLARE(mib, icmp, count, icps_oldshort);
sys/netinet/in_kdtrace.h
132
SDT_PROBE_DECLARE(mib, icmp, count, icps_oldicmp);
sys/netinet/in_kdtrace.h
133
SDT_PROBE_DECLARE(mib, icmp, count, icps_outhist);
sys/netinet/in_kdtrace.h
134
SDT_PROBE_DECLARE(mib, icmp, count, icps_badcode);
sys/netinet/in_kdtrace.h
135
SDT_PROBE_DECLARE(mib, icmp, count, icps_tooshort);
sys/netinet/in_kdtrace.h
136
SDT_PROBE_DECLARE(mib, icmp, count, icps_checksum);
sys/netinet/in_kdtrace.h
137
SDT_PROBE_DECLARE(mib, icmp, count, icps_badlen);
sys/netinet/in_kdtrace.h
138
SDT_PROBE_DECLARE(mib, icmp, count, icps_reflect);
sys/netinet/in_kdtrace.h
139
SDT_PROBE_DECLARE(mib, icmp, count, icps_inhist);
sys/netinet/in_kdtrace.h
140
SDT_PROBE_DECLARE(mib, icmp, count, icps_bmcastecho);
sys/netinet/in_kdtrace.h
141
SDT_PROBE_DECLARE(mib, icmp, count, icps_bmcasttstamp);
sys/netinet/in_kdtrace.h
142
SDT_PROBE_DECLARE(mib, icmp, count, icps_badaddr);
sys/netinet/in_kdtrace.h
143
SDT_PROBE_DECLARE(mib, icmp, count, icps_noroute);
sys/netinet/in_kdtrace.h
145
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_error);
sys/netinet/in_kdtrace.h
146
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_canterror);
sys/netinet/in_kdtrace.h
147
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_toofreq);
sys/netinet/in_kdtrace.h
148
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_outhist);
sys/netinet/in_kdtrace.h
149
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_badcode);
sys/netinet/in_kdtrace.h
150
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_tooshort);
sys/netinet/in_kdtrace.h
151
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_checksum);
sys/netinet/in_kdtrace.h
152
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_badlen);
sys/netinet/in_kdtrace.h
153
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_dropped);
sys/netinet/in_kdtrace.h
154
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_reflect);
sys/netinet/in_kdtrace.h
155
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_inhist);
sys/netinet/in_kdtrace.h
156
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_nd_toomanyopt);
sys/netinet/in_kdtrace.h
157
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_odst_unreach_noroute);
sys/netinet/in_kdtrace.h
158
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_odst_unreach_admin);
sys/netinet/in_kdtrace.h
159
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_odst_unreach_beyondscope);
sys/netinet/in_kdtrace.h
160
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_odst_unreach_addr);
sys/netinet/in_kdtrace.h
161
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_odst_unreach_noport);
sys/netinet/in_kdtrace.h
162
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_opacket_too_big);
sys/netinet/in_kdtrace.h
163
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_otime_exceed_transit);
sys/netinet/in_kdtrace.h
164
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_otime_exceed_reassembly);
sys/netinet/in_kdtrace.h
165
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_oparamprob_header);
sys/netinet/in_kdtrace.h
166
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_oparamprob_nextheader);
sys/netinet/in_kdtrace.h
167
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_oparamprob_option);
sys/netinet/in_kdtrace.h
168
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_oredirect);
sys/netinet/in_kdtrace.h
169
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_ounknown);
sys/netinet/in_kdtrace.h
170
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_pmtuchg);
sys/netinet/in_kdtrace.h
171
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_nd_badopt);
sys/netinet/in_kdtrace.h
172
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_badns);
sys/netinet/in_kdtrace.h
173
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_badna);
sys/netinet/in_kdtrace.h
174
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_badrs);
sys/netinet/in_kdtrace.h
175
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_badra);
sys/netinet/in_kdtrace.h
176
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_badredirect);
sys/netinet/in_kdtrace.h
177
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_overflowdefrtr);
sys/netinet/in_kdtrace.h
178
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_overflowprfx);
sys/netinet/in_kdtrace.h
179
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_overflownndp);
sys/netinet/in_kdtrace.h
180
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_overflowredirect);
sys/netinet/in_kdtrace.h
181
SDT_PROBE_DECLARE(mib, icmp6, count, icp6s_invlhlim);
sys/netinet/in_kdtrace.h
183
SDT_PROBE_DECLARE(mib, udp, count, udps_ipackets);
sys/netinet/in_kdtrace.h
184
SDT_PROBE_DECLARE(mib, udp, count, udps_hdrops);
sys/netinet/in_kdtrace.h
185
SDT_PROBE_DECLARE(mib, udp, count, udps_badsum);
sys/netinet/in_kdtrace.h
186
SDT_PROBE_DECLARE(mib, udp, count, udps_nosum);
sys/netinet/in_kdtrace.h
187
SDT_PROBE_DECLARE(mib, udp, count, udps_badlen);
sys/netinet/in_kdtrace.h
188
SDT_PROBE_DECLARE(mib, udp, count, udps_noport);
sys/netinet/in_kdtrace.h
189
SDT_PROBE_DECLARE(mib, udp, count, udps_noportbcast);
sys/netinet/in_kdtrace.h
190
SDT_PROBE_DECLARE(mib, udp, count, udps_fullsock);
sys/netinet/in_kdtrace.h
191
SDT_PROBE_DECLARE(mib, udp, count, udps_pcbcachemiss);
sys/netinet/in_kdtrace.h
192
SDT_PROBE_DECLARE(mib, udp, count, udps_pcbhashmiss);
sys/netinet/in_kdtrace.h
193
SDT_PROBE_DECLARE(mib, udp, count, udps_opackets);
sys/netinet/in_kdtrace.h
194
SDT_PROBE_DECLARE(mib, udp, count, udps_fastout);
sys/netinet/in_kdtrace.h
195
SDT_PROBE_DECLARE(mib, udp, count, udps_noportmcast);
sys/netinet/in_kdtrace.h
196
SDT_PROBE_DECLARE(mib, udp, count, udps_filtermcast);
sys/netinet/in_kdtrace.h
198
SDT_PROBE_DECLARE(mib, tcp, count, tcps_connattempt);
sys/netinet/in_kdtrace.h
199
SDT_PROBE_DECLARE(mib, tcp, count, tcps_accepts);
sys/netinet/in_kdtrace.h
200
SDT_PROBE_DECLARE(mib, tcp, count, tcps_connects);
sys/netinet/in_kdtrace.h
201
SDT_PROBE_DECLARE(mib, tcp, count, tcps_drops);
sys/netinet/in_kdtrace.h
202
SDT_PROBE_DECLARE(mib, tcp, count, tcps_conndrops);
sys/netinet/in_kdtrace.h
203
SDT_PROBE_DECLARE(mib, tcp, count, tcps_minmssdrops);
sys/netinet/in_kdtrace.h
204
SDT_PROBE_DECLARE(mib, tcp, count, tcps_closed);
sys/netinet/in_kdtrace.h
205
SDT_PROBE_DECLARE(mib, tcp, count, tcps_segstimed);
sys/netinet/in_kdtrace.h
206
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rttupdated);
sys/netinet/in_kdtrace.h
207
SDT_PROBE_DECLARE(mib, tcp, count, tcps_delack);
sys/netinet/in_kdtrace.h
208
SDT_PROBE_DECLARE(mib, tcp, count, tcps_timeoutdrop);
sys/netinet/in_kdtrace.h
209
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rexmttimeo);
sys/netinet/in_kdtrace.h
210
SDT_PROBE_DECLARE(mib, tcp, count, tcps_persisttimeo);
sys/netinet/in_kdtrace.h
211
SDT_PROBE_DECLARE(mib, tcp, count, tcps_keeptimeo);
sys/netinet/in_kdtrace.h
212
SDT_PROBE_DECLARE(mib, tcp, count, tcps_keepprobe);
sys/netinet/in_kdtrace.h
213
SDT_PROBE_DECLARE(mib, tcp, count, tcps_keepdrops);
sys/netinet/in_kdtrace.h
214
SDT_PROBE_DECLARE(mib, tcp, count, tcps_progdrops);
sys/netinet/in_kdtrace.h
216
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndtotal);
sys/netinet/in_kdtrace.h
217
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndpack);
sys/netinet/in_kdtrace.h
218
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndbyte);
sys/netinet/in_kdtrace.h
219
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndrexmitpack);
sys/netinet/in_kdtrace.h
220
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndrexmitbyte);
sys/netinet/in_kdtrace.h
221
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndrexmitbad);
sys/netinet/in_kdtrace.h
222
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndacks);
sys/netinet/in_kdtrace.h
223
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndprobe);
sys/netinet/in_kdtrace.h
224
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndurg);
sys/netinet/in_kdtrace.h
225
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndwinup);
sys/netinet/in_kdtrace.h
226
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sndctrl);
sys/netinet/in_kdtrace.h
228
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvtotal);
sys/netinet/in_kdtrace.h
229
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvpack);
sys/netinet/in_kdtrace.h
230
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvbyte);
sys/netinet/in_kdtrace.h
231
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvbadsum);
sys/netinet/in_kdtrace.h
232
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvbadoff);
sys/netinet/in_kdtrace.h
233
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvreassfull);
sys/netinet/in_kdtrace.h
234
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvshort);
sys/netinet/in_kdtrace.h
235
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvduppack);
sys/netinet/in_kdtrace.h
236
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvdupbyte);
sys/netinet/in_kdtrace.h
237
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvpartduppack);
sys/netinet/in_kdtrace.h
238
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvpartdupbyte);
sys/netinet/in_kdtrace.h
239
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvoopack);
sys/netinet/in_kdtrace.h
240
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvoobyte);
sys/netinet/in_kdtrace.h
241
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvpackafterwin);
sys/netinet/in_kdtrace.h
242
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvbyteafterwin);
sys/netinet/in_kdtrace.h
243
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvafterclose);
sys/netinet/in_kdtrace.h
244
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvwinprobe);
sys/netinet/in_kdtrace.h
245
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvdupack);
sys/netinet/in_kdtrace.h
246
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvacktoomuch);
sys/netinet/in_kdtrace.h
247
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvackpack);
sys/netinet/in_kdtrace.h
248
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvackbyte);
sys/netinet/in_kdtrace.h
249
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvwinupd);
sys/netinet/in_kdtrace.h
250
SDT_PROBE_DECLARE(mib, tcp, count, tcps_pawsdrop);
sys/netinet/in_kdtrace.h
251
SDT_PROBE_DECLARE(mib, tcp, count, tcps_predack);
sys/netinet/in_kdtrace.h
252
SDT_PROBE_DECLARE(mib, tcp, count, tcps_preddat);
sys/netinet/in_kdtrace.h
253
SDT_PROBE_DECLARE(mib, tcp, count, tcps_pcbcachemiss);
sys/netinet/in_kdtrace.h
254
SDT_PROBE_DECLARE(mib, tcp, count, tcps_cachedrtt);
sys/netinet/in_kdtrace.h
255
SDT_PROBE_DECLARE(mib, tcp, count, tcps_cachedrttvar);
sys/netinet/in_kdtrace.h
256
SDT_PROBE_DECLARE(mib, tcp, count, tcps_cachedssthresh);
sys/netinet/in_kdtrace.h
257
SDT_PROBE_DECLARE(mib, tcp, count, tcps_usedrtt);
sys/netinet/in_kdtrace.h
258
SDT_PROBE_DECLARE(mib, tcp, count, tcps_usedrttvar);
sys/netinet/in_kdtrace.h
259
SDT_PROBE_DECLARE(mib, tcp, count, tcps_usedssthresh);
sys/netinet/in_kdtrace.h
260
SDT_PROBE_DECLARE(mib, tcp, count, tcps_persistdrop);
sys/netinet/in_kdtrace.h
261
SDT_PROBE_DECLARE(mib, tcp, count, tcps_badsyn);
sys/netinet/in_kdtrace.h
262
SDT_PROBE_DECLARE(mib, tcp, count, tcps_mturesent);
sys/netinet/in_kdtrace.h
263
SDT_PROBE_DECLARE(mib, tcp, count, tcps_listendrop);
sys/netinet/in_kdtrace.h
264
SDT_PROBE_DECLARE(mib, tcp, count, tcps_badrst);
sys/netinet/in_kdtrace.h
266
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_added);
sys/netinet/in_kdtrace.h
267
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_retransmitted);
sys/netinet/in_kdtrace.h
268
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_dupsyn);
sys/netinet/in_kdtrace.h
269
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_dropped);
sys/netinet/in_kdtrace.h
270
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_completed);
sys/netinet/in_kdtrace.h
271
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_bucketoverflow);
sys/netinet/in_kdtrace.h
272
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_cacheoverflow);
sys/netinet/in_kdtrace.h
273
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_reset);
sys/netinet/in_kdtrace.h
274
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_stale);
sys/netinet/in_kdtrace.h
275
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_aborted);
sys/netinet/in_kdtrace.h
276
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_badack);
sys/netinet/in_kdtrace.h
277
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_unreach);
sys/netinet/in_kdtrace.h
278
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_zonefail);
sys/netinet/in_kdtrace.h
279
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_sendcookie);
sys/netinet/in_kdtrace.h
280
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_recvcookie);
sys/netinet/in_kdtrace.h
281
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_spurcookie);
sys/netinet/in_kdtrace.h
282
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sc_failcookie);
sys/netinet/in_kdtrace.h
284
SDT_PROBE_DECLARE(mib, tcp, count, tcps_hc_added);
sys/netinet/in_kdtrace.h
285
SDT_PROBE_DECLARE(mib, tcp, count, tcps_hc_bucketoverflow);
sys/netinet/in_kdtrace.h
287
SDT_PROBE_DECLARE(mib, tcp, count, tcps_finwait2_drops);
sys/netinet/in_kdtrace.h
289
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sack_recovery_episode);
sys/netinet/in_kdtrace.h
290
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sack_rexmits);
sys/netinet/in_kdtrace.h
291
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sack_rexmits_tso);
sys/netinet/in_kdtrace.h
292
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sack_rexmit_bytes);
sys/netinet/in_kdtrace.h
293
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sack_rcv_blocks);
sys/netinet/in_kdtrace.h
294
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sack_send_blocks);
sys/netinet/in_kdtrace.h
295
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sack_lostrexmt);
sys/netinet/in_kdtrace.h
296
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sack_sboverflow);
sys/netinet/in_kdtrace.h
298
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ecn_rcvce);
sys/netinet/in_kdtrace.h
299
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ecn_rcvect0);
sys/netinet/in_kdtrace.h
300
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ecn_rcvect1);
sys/netinet/in_kdtrace.h
301
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ecn_shs);
sys/netinet/in_kdtrace.h
302
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ecn_rcwnd);
sys/netinet/in_kdtrace.h
304
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sig_rcvgoodsig);
sys/netinet/in_kdtrace.h
305
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sig_rcvbadsig);
sys/netinet/in_kdtrace.h
306
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sig_err_buildsig);
sys/netinet/in_kdtrace.h
307
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sig_err_sigopt);
sys/netinet/in_kdtrace.h
308
SDT_PROBE_DECLARE(mib, tcp, count, tcps_sig_err_nosigopt);
sys/netinet/in_kdtrace.h
310
SDT_PROBE_DECLARE(mib, tcp, count, tcps_pmtud_blackhole_activated);
sys/netinet/in_kdtrace.h
311
SDT_PROBE_DECLARE(mib, tcp, count, tcps_pmtud_blackhole_activated_min_mss);
sys/netinet/in_kdtrace.h
312
SDT_PROBE_DECLARE(mib, tcp, count, tcps_pmtud_blackhole_failed);
sys/netinet/in_kdtrace.h
314
SDT_PROBE_DECLARE(mib, tcp, count, tcps_tunneled_pkts);
sys/netinet/in_kdtrace.h
315
SDT_PROBE_DECLARE(mib, tcp, count, tcps_tunneled_errs);
sys/netinet/in_kdtrace.h
317
SDT_PROBE_DECLARE(mib, tcp, count, tcps_dsack_count);
sys/netinet/in_kdtrace.h
318
SDT_PROBE_DECLARE(mib, tcp, count, tcps_dsack_bytes);
sys/netinet/in_kdtrace.h
319
SDT_PROBE_DECLARE(mib, tcp, count, tcps_dsack_tlp_bytes);
sys/netinet/in_kdtrace.h
321
SDT_PROBE_DECLARE(mib, tcp, count, tcps_tw_recycles);
sys/netinet/in_kdtrace.h
322
SDT_PROBE_DECLARE(mib, tcp, count, tcps_tw_resets);
sys/netinet/in_kdtrace.h
323
SDT_PROBE_DECLARE(mib, tcp, count, tcps_tw_responds);
sys/netinet/in_kdtrace.h
325
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ace_nect);
sys/netinet/in_kdtrace.h
326
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ace_ect1);
sys/netinet/in_kdtrace.h
327
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ace_ect0);
sys/netinet/in_kdtrace.h
328
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ace_ce);
sys/netinet/in_kdtrace.h
330
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ecn_sndect0);
sys/netinet/in_kdtrace.h
331
SDT_PROBE_DECLARE(mib, tcp, count, tcps_ecn_sndect1);
sys/netinet/in_kdtrace.h
333
SDT_PROBE_DECLARE(mib, tcp, count, tcps_tlpresends);
sys/netinet/in_kdtrace.h
334
SDT_PROBE_DECLARE(mib, tcp, count, tcps_tlpresend_bytes);
sys/netinet/in_kdtrace.h
336
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvghostack);
sys/netinet/in_kdtrace.h
337
SDT_PROBE_DECLARE(mib, tcp, count, tcps_rcvacktooold);
sys/netinet/in_kdtrace.h
339
SDT_PROBE_DECLARE(mib, ipsec, count, ips_in_polvio);
sys/netinet/in_kdtrace.h
340
SDT_PROBE_DECLARE(mib, ipsec, count, ips_in_nomem);
sys/netinet/in_kdtrace.h
341
SDT_PROBE_DECLARE(mib, ipsec, count, ips_in_inval);
sys/netinet/in_kdtrace.h
342
SDT_PROBE_DECLARE(mib, ipsec, count, ips_out_polvio);
sys/netinet/in_kdtrace.h
343
SDT_PROBE_DECLARE(mib, ipsec, count, ips_out_nosa);
sys/netinet/in_kdtrace.h
344
SDT_PROBE_DECLARE(mib, ipsec, count, ips_out_nomem);
sys/netinet/in_kdtrace.h
345
SDT_PROBE_DECLARE(mib, ipsec, count, ips_out_noroute);
sys/netinet/in_kdtrace.h
346
SDT_PROBE_DECLARE(mib, ipsec, count, ips_out_inval);
sys/netinet/in_kdtrace.h
347
SDT_PROBE_DECLARE(mib, ipsec, count, ips_out_bundlesa);
sys/netinet/in_kdtrace.h
349
SDT_PROBE_DECLARE(mib, ipsec, count, ips_spdcache_hits);
sys/netinet/in_kdtrace.h
350
SDT_PROBE_DECLARE(mib, ipsec, count, ips_spdcache_misses);
sys/netinet/in_kdtrace.h
352
SDT_PROBE_DECLARE(mib, ipsec, count, ips_clcopied);
sys/netinet/in_kdtrace.h
353
SDT_PROBE_DECLARE(mib, ipsec, count, ips_mbinserted);
sys/netinet/in_kdtrace.h
354
SDT_PROBE_DECLARE(mib, ipsec, count, ips_input_front);
sys/netinet/in_kdtrace.h
355
SDT_PROBE_DECLARE(mib, ipsec, count, ips_input_middle);
sys/netinet/in_kdtrace.h
356
SDT_PROBE_DECLARE(mib, ipsec, count, ips_input_end);
sys/netinet/in_kdtrace.h
358
SDT_PROBE_DECLARE(mib, esp, count, esps_hdrops);
sys/netinet/in_kdtrace.h
359
SDT_PROBE_DECLARE(mib, esp, count, esps_nopf);
sys/netinet/in_kdtrace.h
360
SDT_PROBE_DECLARE(mib, esp, count, esps_notdb);
sys/netinet/in_kdtrace.h
361
SDT_PROBE_DECLARE(mib, esp, count, esps_badkcr);
sys/netinet/in_kdtrace.h
362
SDT_PROBE_DECLARE(mib, esp, count, esps_qfull);
sys/netinet/in_kdtrace.h
363
SDT_PROBE_DECLARE(mib, esp, count, esps_noxform);
sys/netinet/in_kdtrace.h
364
SDT_PROBE_DECLARE(mib, esp, count, esps_badilen);
sys/netinet/in_kdtrace.h
365
SDT_PROBE_DECLARE(mib, esp, count, esps_wrap);
sys/netinet/in_kdtrace.h
366
SDT_PROBE_DECLARE(mib, esp, count, esps_badenc);
sys/netinet/in_kdtrace.h
367
SDT_PROBE_DECLARE(mib, esp, count, esps_badauth);
sys/netinet/in_kdtrace.h
368
SDT_PROBE_DECLARE(mib, esp, count, esps_replay);
sys/netinet/in_kdtrace.h
369
SDT_PROBE_DECLARE(mib, esp, count, esps_input);
sys/netinet/in_kdtrace.h
370
SDT_PROBE_DECLARE(mib, esp, count, esps_output);
sys/netinet/in_kdtrace.h
371
SDT_PROBE_DECLARE(mib, esp, count, esps_invalid);
sys/netinet/in_kdtrace.h
372
SDT_PROBE_DECLARE(mib, esp, count, esps_ibytes);
sys/netinet/in_kdtrace.h
373
SDT_PROBE_DECLARE(mib, esp, count, esps_obytes);
sys/netinet/in_kdtrace.h
374
SDT_PROBE_DECLARE(mib, esp, count, esps_toobig);
sys/netinet/in_kdtrace.h
375
SDT_PROBE_DECLARE(mib, esp, count, esps_pdrops);
sys/netinet/in_kdtrace.h
376
SDT_PROBE_DECLARE(mib, esp, count, esps_crypto);
sys/netinet/in_kdtrace.h
377
SDT_PROBE_DECLARE(mib, esp, count, esps_tunnel);
sys/netinet/in_kdtrace.h
378
SDT_PROBE_DECLARE(mib, esp, count, esps_hist);
sys/netinet/in_kdtrace.h
380
SDT_PROBE_DECLARE(mib, ah, count, ahs_hdrops);
sys/netinet/in_kdtrace.h
381
SDT_PROBE_DECLARE(mib, ah, count, ahs_nopf);
sys/netinet/in_kdtrace.h
382
SDT_PROBE_DECLARE(mib, ah, count, ahs_notdb);
sys/netinet/in_kdtrace.h
383
SDT_PROBE_DECLARE(mib, ah, count, ahs_badkcr);
sys/netinet/in_kdtrace.h
384
SDT_PROBE_DECLARE(mib, ah, count, ahs_badauth);
sys/netinet/in_kdtrace.h
385
SDT_PROBE_DECLARE(mib, ah, count, ahs_noxform);
sys/netinet/in_kdtrace.h
386
SDT_PROBE_DECLARE(mib, ah, count, ahs_qfull);
sys/netinet/in_kdtrace.h
387
SDT_PROBE_DECLARE(mib, ah, count, ahs_wrap);
sys/netinet/in_kdtrace.h
388
SDT_PROBE_DECLARE(mib, ah, count, ahs_replay);
sys/netinet/in_kdtrace.h
389
SDT_PROBE_DECLARE(mib, ah, count, ahs_badauthl);
sys/netinet/in_kdtrace.h
390
SDT_PROBE_DECLARE(mib, ah, count, ahs_input);
sys/netinet/in_kdtrace.h
391
SDT_PROBE_DECLARE(mib, ah, count, ahs_output);
sys/netinet/in_kdtrace.h
392
SDT_PROBE_DECLARE(mib, ah, count, ahs_invalid);
sys/netinet/in_kdtrace.h
393
SDT_PROBE_DECLARE(mib, ah, count, ahs_ibytes);
sys/netinet/in_kdtrace.h
394
SDT_PROBE_DECLARE(mib, ah, count, ahs_obytes);
sys/netinet/in_kdtrace.h
395
SDT_PROBE_DECLARE(mib, ah, count, ahs_toobig);
sys/netinet/in_kdtrace.h
396
SDT_PROBE_DECLARE(mib, ah, count, ahs_pdrops);
sys/netinet/in_kdtrace.h
397
SDT_PROBE_DECLARE(mib, ah, count, ahs_crypto);
sys/netinet/in_kdtrace.h
398
SDT_PROBE_DECLARE(mib, ah, count, ahs_tunnel);
sys/netinet/in_kdtrace.h
399
SDT_PROBE_DECLARE(mib, ah, count, ahs_hist);
sys/netinet/in_kdtrace.h
401
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_hdrops);
sys/netinet/in_kdtrace.h
402
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_nopf);
sys/netinet/in_kdtrace.h
403
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_notdb);
sys/netinet/in_kdtrace.h
404
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_badkcr);
sys/netinet/in_kdtrace.h
405
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_qfull);
sys/netinet/in_kdtrace.h
406
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_noxform);
sys/netinet/in_kdtrace.h
407
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_wrap);
sys/netinet/in_kdtrace.h
408
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_input);
sys/netinet/in_kdtrace.h
409
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_output);
sys/netinet/in_kdtrace.h
410
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_invalid);
sys/netinet/in_kdtrace.h
411
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_ibytes);
sys/netinet/in_kdtrace.h
412
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_obytes);
sys/netinet/in_kdtrace.h
413
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_toobig);
sys/netinet/in_kdtrace.h
414
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_pdrops);
sys/netinet/in_kdtrace.h
415
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_crypto);
sys/netinet/in_kdtrace.h
416
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_hist);
sys/netinet/in_kdtrace.h
417
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_threshold);
sys/netinet/in_kdtrace.h
418
SDT_PROBE_DECLARE(mib, ipcomp, count, ipcomps_uncompr);
sys/netinet/in_kdtrace.h
60
SDT_PROBE_DECLARE(mib, ip, count, ips_total);
sys/netinet/in_kdtrace.h
61
SDT_PROBE_DECLARE(mib, ip, count, ips_badsum);
sys/netinet/in_kdtrace.h
62
SDT_PROBE_DECLARE(mib, ip, count, ips_tooshort);
sys/netinet/in_kdtrace.h
63
SDT_PROBE_DECLARE(mib, ip, count, ips_toosmall);
sys/netinet/in_kdtrace.h
64
SDT_PROBE_DECLARE(mib, ip, count, ips_badhlen);
sys/netinet/in_kdtrace.h
65
SDT_PROBE_DECLARE(mib, ip, count, ips_badlen);
sys/netinet/in_kdtrace.h
66
SDT_PROBE_DECLARE(mib, ip, count, ips_fragments);
sys/netinet/in_kdtrace.h
67
SDT_PROBE_DECLARE(mib, ip, count, ips_fragdropped);
sys/netinet/in_kdtrace.h
68
SDT_PROBE_DECLARE(mib, ip, count, ips_fragtimeout);
sys/netinet/in_kdtrace.h
69
SDT_PROBE_DECLARE(mib, ip, count, ips_forward);
sys/netinet/in_kdtrace.h
70
SDT_PROBE_DECLARE(mib, ip, count, ips_fastforward);
sys/netinet/in_kdtrace.h
71
SDT_PROBE_DECLARE(mib, ip, count, ips_cantforward);
sys/netinet/in_kdtrace.h
72
SDT_PROBE_DECLARE(mib, ip, count, ips_redirectsent);
sys/netinet/in_kdtrace.h
73
SDT_PROBE_DECLARE(mib, ip, count, ips_noproto);
sys/netinet/in_kdtrace.h
74
SDT_PROBE_DECLARE(mib, ip, count, ips_delivered);
sys/netinet/in_kdtrace.h
75
SDT_PROBE_DECLARE(mib, ip, count, ips_localout);
sys/netinet/in_kdtrace.h
76
SDT_PROBE_DECLARE(mib, ip, count, ips_odropped);
sys/netinet/in_kdtrace.h
77
SDT_PROBE_DECLARE(mib, ip, count, ips_reassembled);
sys/netinet/in_kdtrace.h
78
SDT_PROBE_DECLARE(mib, ip, count, ips_fragmented);
sys/netinet/in_kdtrace.h
79
SDT_PROBE_DECLARE(mib, ip, count, ips_ofragments);
sys/netinet/in_kdtrace.h
80
SDT_PROBE_DECLARE(mib, ip, count, ips_cantfrag);
sys/netinet/in_kdtrace.h
81
SDT_PROBE_DECLARE(mib, ip, count, ips_badoptions);
sys/netinet/in_kdtrace.h
82
SDT_PROBE_DECLARE(mib, ip, count, ips_noroute);
sys/netinet/in_kdtrace.h
83
SDT_PROBE_DECLARE(mib, ip, count, ips_badvers);
sys/netinet/in_kdtrace.h
84
SDT_PROBE_DECLARE(mib, ip, count, ips_rawout);
sys/netinet/in_kdtrace.h
85
SDT_PROBE_DECLARE(mib, ip, count, ips_toolong);
sys/netinet/in_kdtrace.h
86
SDT_PROBE_DECLARE(mib, ip, count, ips_notmember);
sys/netinet/in_kdtrace.h
87
SDT_PROBE_DECLARE(mib, ip, count, ips_nogif);
sys/netinet/in_kdtrace.h
88
SDT_PROBE_DECLARE(mib, ip, count, ips_badaddr);
sys/netinet/in_kdtrace.h
90
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_total);
sys/netinet/in_kdtrace.h
91
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_tooshort);
sys/netinet/in_kdtrace.h
92
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_toosmall);
sys/netinet/in_kdtrace.h
93
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_fragments);
sys/netinet/in_kdtrace.h
94
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_fragdropped);
sys/netinet/in_kdtrace.h
95
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_fragtimeout);
sys/netinet/in_kdtrace.h
96
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_fragoverflow);
sys/netinet/in_kdtrace.h
97
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_forward);
sys/netinet/in_kdtrace.h
98
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_cantforward);
sys/netinet/in_kdtrace.h
99
SDT_PROBE_DECLARE(mib, ip6, count, ip6s_redirectsent);
sys/netinet/in_pcb.c
2160
u_int count;
sys/netinet/in_pcb.c
2227
count = atomic_load_acq_int(&grp->il_inpcnt);
sys/netinet/in_pcb.c
2228
if (count == 0)
sys/netinet/in_pcb.c
2230
inp = grp->il_inp[INP_PCBLBGROUP_PKTHASH(faddr, lport, fport) % count];
sys/netinet/in_pcb.c
738
int count, error;
sys/netinet/in_pcb.c
808
count = last - first;
sys/netinet/in_pcb.c
811
if (count-- < 0) /* completely used? */
sys/netinet/ip_divert.c
300
uint16_t count;
sys/netinet/ip_divert.c
302
count = atomic_load_acq_int(&dlb->dl_count);
sys/netinet/ip_divert.c
303
if (dlb->dl_port == nport && count > 0) {
sys/netinet/ip_divert.c
307
dcb = dlb->dl_dcb[hash % count];
sys/netinet/ip_divert.c
663
unsigned int count;
sys/netinet/ip_divert.c
668
count = dlb->dl_count;
sys/netinet/ip_divert.c
669
if (i != count - 1)
sys/netinet/ip_divert.c
670
dlb->dl_dcb[i] = dlb->dl_dcb[count - 1];
sys/netinet/ip_divert.c
671
atomic_store_rel_int(&dlb->dl_count, count - 1);
sys/netinet/ip_divert.c
672
if (count == 1) {
sys/netinet/ip_fw.h
1067
uint32_t count; /* Number of sub-TLVs */
sys/netinet/ip_fw.h
1124
uint32_t count; /* Number of records */
sys/netinet/ip_fw.h
1180
uint32_t count; /* Total objects count */
sys/netinet/ip_fw.h
836
uint32_t count; /* number of linked states */
sys/netinet/ip_mroute.c
649
int count;
sys/netinet/ip_mroute.c
651
count = 0;
sys/netinet/ip_mroute.c
668
count++;
sys/netinet/ip_mroute.c
676
return (count);
sys/netinet/ip_mroute.c
682
int count;
sys/netinet/ip_mroute.c
690
count = 0;
sys/netinet/ip_mroute.c
692
count += detach_ifnet(&V_mfctables[i], ifp);
sys/netinet/ip_mroute.c
695
for (int i = 0; i < count; i++)
sys/netinet/ip_reass.c
310
if (V_ipq[hash].count < V_ipreass_maxbucketsize)
sys/netinet/ip_reass.c
325
V_ipq[hash].count++;
sys/netinet/ip_reass.c
521
V_ipq[hash].count--;
sys/netinet/ip_reass.c
647
KASSERT(V_ipq[i].count == 0,
sys/netinet/ip_reass.c
649
V_ipq[i].count, V_ipq));
sys/netinet/ip_reass.c
697
V_ipq[i].count = 0;
sys/netinet/ip_reass.c
78
int count;
sys/netinet/ip_reass.c
799
while (V_ipq[i].count > V_ipreass_maxbucketsize &&
sys/netinet/ip_reass.c
913
V_ipq[bucket].count--;
sys/netinet/ip_reass.c
941
bucket->count--;
sys/netinet/ip_var.h
148
MIB_SDT_PROBE1(ip, count, name, (val)); \
sys/netinet/ip_var.h
161
MIB_SDT_PROBE1(ip, count, name, 1); \
sys/netinet/ip_var.h
168
MIB_SDT_PROBE1(ip, count, name, -1); \
sys/netinet/libalias/alias_nbt.c
415
u_short count,
sys/netinet/libalias/alias_nbt.c
422
while (count != 0) {
sys/netinet/libalias/alias_nbt.c
442
count--;
sys/netinet/libalias/alias_nbt.c
700
u_short count,
sys/netinet/libalias/alias_nbt.c
705
while (count != 0) {
sys/netinet/libalias/alias_nbt.c
712
printf("type=%02x, count=%d\n", ntohs(q->type), count);
sys/netinet/libalias/alias_nbt.c
747
count--;
sys/netinet/sctp_auth.c
159
int i, count = 0;
sys/netinet/sctp_auth.c
167
count++;
sys/netinet/sctp_auth.c
170
return (count);
sys/netinet/sctp_auth.c
609
int count = 0;
sys/netinet/sctp_auth.c
619
count++;
sys/netinet/sctp_auth.c
623
return (count);
sys/netinet/sctp_pcb.c
2920
uint16_t count;
sys/netinet/sctp_pcb.c
2943
count = last - first + 1; /* number of candidates */
sys/netinet/sctp_pcb.c
2944
candidate = first + sctp_select_initial_TSN(&inp->sctp_ep) % (count);
sys/netinet/sctp_pcb.c
2951
if (--count == 0) {
sys/netinet/sctputil.c
3038
uint32_t count;
sys/netinet/sctputil.c
3061
count = min(SCTP_BUF_LEN(m) - off, len);
sys/netinet/sctputil.c
3062
memcpy(ptr, mtod(m, caddr_t)+off, count);
sys/netinet/sctputil.c
3063
len -= count;
sys/netinet/sctputil.c
3064
ptr += count;
sys/netinet/sctputil.c
6975
int count = 0;
sys/netinet/sctputil.c
7031
count++;
sys/netinet/sctputil.c
7072
count++;
sys/netinet/sctputil.c
7094
count++;
sys/netinet/sctputil.c
7098
return (count);
sys/netinet/tcp_hostcache.c
179
SYSCTL_UINT(_net_inet_tcp_hostcache, OID_AUTO, count, CTLFLAG_VNET | CTLFLAG_RD,
sys/netinet/tcp_hpts.c
1046
cpuid = di->cpu[inp->inp_flowid % di->count];
sys/netinet/tcp_hpts.c
1183
hpts->p_hptss[hpts->p_runningslot].count +=
sys/netinet/tcp_hpts.c
1184
hpts->p_hptss[hpts->p_nxt_slot].count;
sys/netinet/tcp_hpts.c
1185
hpts->p_hptss[hpts->p_nxt_slot].count = 0;
sys/netinet/tcp_hpts.c
1216
hpts->p_on_queue_cnt -= hptsh->count;
sys/netinet/tcp_hpts.c
1217
hptsh->count = 0;
sys/netinet/tcp_hpts.c
1833
int32_t count;
sys/netinet/tcp_hpts.c
1871
count = 0;
sys/netinet/tcp_hpts.c
1893
count = 0;
sys/netinet/tcp_hpts.c
1894
hpts_gather_grps(pace->grps, &count, pace->grp_cnt, cpu_top);
sys/netinet/tcp_hpts.c
1993
int count, domain;
sys/netinet/tcp_hpts.c
2021
count = pace->domains[domain].count;
sys/netinet/tcp_hpts.c
2022
pace->domains[domain].cpu[count] = i;
sys/netinet/tcp_hpts.c
2023
pace->domains[domain].count++;
sys/netinet/tcp_hpts.c
2141
if (tcp_hptsi_pace->domains[i].count == 0) {
sys/netinet/tcp_hpts.c
527
hptsh->count++;
sys/netinet/tcp_hpts.c
593
MPASS(hptsh->count > 0);
sys/netinet/tcp_hpts.c
594
hptsh->count--;
sys/netinet/tcp_hpts_internal.h
129
uint32_t count;
sys/netinet/tcp_hpts_internal.h
157
int count;
sys/netinet/tcp_log_buf.c
1158
tcp_log_free_log_common(struct tcp_log_mem *log_entry, int *count __unused)
sys/netinet/tcp_log_buf.c
1163
(*count)--;
sys/netinet/tcp_log_buf.c
1164
KASSERT(*count >= 0,
sys/netinet/tcp_log_buf.c
1170
tcp_log_free_entries(struct tcp_log_stailq *head, int *count)
sys/netinet/tcp_log_buf.c
1178
tcp_log_free_log_common(log_entry, count);
sys/netinet/tcp_log_buf.c
121
SYSCTL_U32(_net_inet_tcp_bb_tp, OID_AUTO, count, CTLFLAG_RW,
sys/netinet/tcp_log_buf.c
2070
struct tcp_log_buffer **end, int count)
sys/netinet/tcp_log_buf.c
2077
int orig_count = count;
sys/netinet/tcp_log_buf.c
2084
count--;
sys/netinet/tcp_log_buf.c
2085
KASSERT(count >= 0,
sys/netinet/tcp_log_buf.c
2130
KASSERT(error || count == 0,
sys/netinet/tcp_log_buf.c
2133
log_tailqp, count));
sys/netinet/tcp_stacks/bbr.c
1894
bbr_log_type_rwnd_collapse(struct tcp_bbr *bbr, int seq, int mode, uint32_t count)
sys/netinet/tcp_stacks/bbr.c
1901
log.u_bbr.flex2 = count;
sys/netinet/tcp_stacks/rack_bbr_common.c
914
ctf_decay_count(uint32_t count, uint32_t decay)
sys/netinet/tcp_stacks/rack_bbr_common.c
925
return (count);
sys/netinet/tcp_stacks/rack_bbr_common.c
927
perc_count = count;
sys/netinet/tcp_stacks/rack_bbr_common.c
935
decayed_count = count - (uint32_t)perc_count;
sys/netinet/tcp_stacks/rack_bbr_common.h
137
ctf_decay_count(uint32_t count, uint32_t decay_percentage);
sys/netinet/tcp_stacks/tailq_hash.c
124
if (hs->count == 0)
sys/netinet/tcp_stacks/tailq_hash.c
136
(hs->count == 0) ||
sys/netinet/tcp_stacks/tailq_hash.c
226
hs->count--;
sys/netinet/tcp_stacks/tailq_hash.c
227
if (hs->count == 0) {
sys/netinet/tcp_stacks/tailq_hash.c
248
if (hs->count > 0) {
sys/netinet/tcp_stacks/tailq_hash.c
268
if (hs->count == 0) {
sys/netinet/tcp_stacks/tailq_hash.c
273
hs->count = 1;
sys/netinet/tcp_stacks/tailq_hash.c
275
hs->count++;
sys/netinet/tcp_stacks/tailq_hash.c
313
hs->count = 0;
sys/netinet/tcp_stacks/tailq_hash.h
18
uint32_t count;
sys/netinet/tcp_syncache.c
181
SYSCTL_UMA_CUR(_net_inet_tcp_syncache, OID_AUTO, count, CTLFLAG_VNET,
sys/netinet/tcp_usrreq.c
1192
tcp_usr_ready(struct socket *so, struct mbuf *m, int count)
sys/netinet/tcp_usrreq.c
1202
mb_free_notready(m, count);
sys/netinet/tcp_usrreq.c
1207
error = sbready(&so->so_snd, m, count);
sys/netinet/tcp_var.h
1142
MIB_SDT_PROBE1(tcp, count, name, (val)); \
sys/netinet/tcp_var.h
1153
MIB_SDT_PROBE1(tcp, count, name, (val)); \
sys/netinet/udp_var.h
133
MIB_SDT_PROBE1(udp, count, name, (val)); \
sys/netinet/udp_var.h
144
MIB_SDT_PROBE1(udp, count, name, 1); \
sys/netinet6/frag6.c
1044
V_ip6qb[bucket].count = 0;
sys/netinet6/frag6.c
1105
KASSERT(V_ip6qb[bucket].count == 0,
sys/netinet6/frag6.c
1107
bucket, &V_ip6qb[bucket], V_ip6qb[bucket].count));
sys/netinet6/frag6.c
296
V_ip6qb[bucket].count--;
sys/netinet6/frag6.c
592
else if (V_ip6qb[bucket].count >= V_ip6_maxfragbucketsize ||
sys/netinet6/frag6.c
621
V_ip6qb[bucket].count++;
sys/netinet6/frag6.c
946
if (V_ip6qb[bucket].count == 0)
sys/netinet6/frag6.c
95
int count;
sys/netinet6/frag6.c
968
V_ip6qb[bucket].count > V_ip6_maxfragbucketsize)) &&
sys/netinet6/in6_fib_algo.c
130
uint32_t count;
sys/netinet6/in6_fib_algo.c
138
count = rinfo.num_prefixes * 11 / 10;
sys/netinet6/in6_fib_algo.c
140
mem = malloc((count + 1) * LRADIX6_ITEM_SZ, M_RTABLE, M_NOWAIT | M_ZERO);
sys/netinet6/in6_fib_algo.c
145
lr->alloc_items = count;
sys/netinet6/in6_pcb.c
913
u_int count;
sys/netinet6/in6_pcb.c
979
count = atomic_load_acq_int(&grp->il_inpcnt);
sys/netinet6/in6_pcb.c
980
if (count == 0)
sys/netinet6/in6_pcb.c
982
inp = grp->il_inp[INP6_PCBLBGROUP_PKTHASH(faddr, lport, fport) % count];
sys/netinet6/ip6_var.h
271
MIB_SDT_PROBE1(ip6, count, name, (val)); \
sys/netinet6/ip6_var.h
278
MIB_SDT_PROBE2(ip6, count, name, 1, type); \
sys/netinet6/ip_fw_nat64.h
182
uint32_t count; /* Number of states */
sys/netinet6/ip_fw_nat64.h
209
uint32_t count; /* Number of states */
sys/netinet6/nd6_nbr.c
1855
int delay, count = 0;
sys/netinet6/nd6_nbr.c
1884
count++;
sys/netinet6/nd6_nbr.c
1885
if (count >= V_ip6_grand_count)
sys/netinet6/nd6_nbr.c
1904
nd6_queue_add(ifa, &daddr, NULL, NULL, count * delay, flags);
sys/netinet6/nd6_rtr.c
871
int count, i;
sys/netinet6/nd6_rtr.c
873
count = i = 0;
sys/netinet6/nd6_rtr.c
881
count++;
sys/netinet6/nd6_rtr.c
884
dra = malloc(count * sizeof(*dra), M_TEMP, M_WAITOK | M_ZERO);
sys/netinet6/nd6_rtr.c
888
if (i == count)
sys/netinet6/nd6_rtr.c
895
for (i = 0; i < count && dra[i] != NULL; i++) {
sys/netipsec/ah_var.h
82
MIB_SDT_PROBE1(ah, count, name, (val)); \
sys/netipsec/ah_var.h
87
MIB_SDT_PROBE2(ah, count, name, 1, (type)); \
sys/netipsec/esp_var.h
84
MIB_SDT_PROBE1(esp, count, name, (val)); \
sys/netipsec/esp_var.h
90
MIB_SDT_PROBE2(esp, count, name, 1, (type)); \
sys/netipsec/ipcomp_var.h
76
MIB_SDT_PROBE1(ipcomp, count, name, (val)); \
sys/netipsec/ipcomp_var.h
81
MIB_SDT_PROBE2(ipcomp, count, name, 1, (type)); \
sys/netipsec/ipsec.c
1458
replay->count++;
sys/netipsec/ipsec.c
1485
replay->count++;
sys/netipsec/ipsec.c
1505
replay->count++;
sys/netipsec/ipsec.h
149
int count; /* for lifetime */
sys/netipsec/ipsec.h
304
MIB_SDT_PROBE1(ipsec, count, name, 1); \
sys/netipsec/key.c
1338
key_register_ifnet(struct secpolicy **spp, u_int count)
sys/netipsec/key.c
1347
for (i = 0; i < count; i++) {
sys/netipsec/key.c
1357
for (i = 0; i < count; i++) {
sys/netipsec/key.c
1374
for (i = 0; i < count; i++) {
sys/netipsec/key.c
1383
key_unregister_ifnet(struct secpolicy **spp, u_int count)
sys/netipsec/key.c
1389
for (i = 0; i < count; i++) {
sys/netipsec/key.c
1408
for (i = 0; i < count; i++) {
sys/netipsec/key.c
2569
if (V_key_blockacq_count < newspacq->count) {
sys/netipsec/key.c
2571
newspacq->count = 0;
sys/netipsec/key.c
2574
newspacq->count++;
sys/netipsec/key.c
3770
replay_count = sav->replay ? sav->replay->count : 0;
sys/netipsec/key.c
4778
(sav->replay->count > UINT32_80PCT) ||
sys/netipsec/key.c
7124
acq->count = 0;
sys/netipsec/key.c
7146
if (acq->count > V_key_blockacq_count) {
sys/netipsec/key.c
7153
acq->count = 0;
sys/netipsec/key.c
7161
acq->count++;
sys/netipsec/key.c
7184
acq->count = 0;
sys/netipsec/key.c
7241
acq->count = 0;
sys/netipsec/key.c
7635
replay_count = sav->replay ? sav->replay->count : 0;
sys/netipsec/key_debug.c
819
rpl->count, rpl->bitmap_size, rpl->wsize, rpl->last);
sys/netipsec/keydb.h
228
u_int64_t count; /* (m) */
sys/netipsec/keydb.h
256
int count; /* for lifetime */
sys/netipsec/xform_ah.c
1070
seqh = htonl((uint32_t)(sav->replay->count >> IPSEC_SEQH_SHIFT));
sys/netipsec/xform_ah.c
268
int off, count;
sys/netipsec/xform_ah.c
382
count = ptr[off + 1];
sys/netipsec/xform_ah.c
383
bcopy(ipseczeroes, ptr + off, count);
sys/netipsec/xform_ah.c
384
off += count;
sys/netipsec/xform_ah.c
472
for (count = off + sizeof(struct ip6_ext);
sys/netipsec/xform_ah.c
473
count < noff;) {
sys/netipsec/xform_ah.c
474
if (ptr[count] == IP6OPT_PAD1) {
sys/netipsec/xform_ah.c
475
count++;
sys/netipsec/xform_ah.c
479
ad = ptr[count + 1] + 2;
sys/netipsec/xform_ah.c
480
if (count + ad > noff)
sys/netipsec/xform_ah.c
483
if (ptr[count] & IP6OPT_MUTABLE)
sys/netipsec/xform_ah.c
484
memset(ptr + count, 0, ad);
sys/netipsec/xform_ah.c
485
count += ad;
sys/netipsec/xform_ah.c
488
if (count != noff)
sys/netipsec/xform_ah.c
963
if ((sav->replay->count == ~0 ||
sys/netipsec/xform_ah.c
965
((uint32_t)sav->replay->count) == ~0)) &&
sys/netipsec/xform_ah.c
980
sav->replay->count++;
sys/netipsec/xform_ah.c
981
ah->ah_seq = htonl((uint32_t)sav->replay->count);
sys/netipsec/xform_esp.c
822
sav->replay->count++;
sys/netipsec/xform_esp.c
823
replay = htonl((uint32_t)sav->replay->count);
sys/netipsec/xform_esp.c
828
seqh = htonl((uint32_t)(sav->replay->count >> IPSEC_SEQH_SHIFT));
sys/netlink/netlink_ctl.h
101
u_int count);
sys/netlink/netlink_generic.c
432
u_int count)
sys/netlink/netlink_generic.c
442
for (u_int i = 0; i < count; i++) {
sys/netlink/netlink_generic.c
463
for (u_int i = 0; i < count; i++) {
sys/netlink/netlink_message_parser.h
278
nl_verify_parsers(const struct nlhdr_parser **parser, int count)
sys/netlink/netlink_message_parser.h
281
for (int i = 0; i < count; i++) {
sys/netlink/netlink_message_parser.h
299
void nl_verify_parsers(const struct nlhdr_parser **parser, int count);
sys/netlink/netlink_route.c
51
rtnl_register_messages(const struct rtnl_cmd_handler *handlers, int count)
sys/netlink/netlink_route.c
53
for (int i = 0; i < count; i++) {
sys/netlink/netlink_route.c
58
for (int i = 0; i < count; i++)
sys/netlink/netlink_snl.h
431
snl_verify_parsers(const struct snl_hdr_parser **parser, int count)
sys/netlink/netlink_snl.h
433
for (int i = 0; i < count; i++) {
sys/netlink/netlink_snl.h
725
uint32_t count;
sys/netlink/netlink_snl.h
736
uint32_t count = 0, size = start_size;
sys/netlink/netlink_snl.h
769
if (count == size) {
sys/netlink/netlink_snl.h
777
array->items[count++] = item;
sys/netlink/netlink_snl.h
779
array->count = count;
sys/netlink/route/iface.c
1058
wa->count++;
sys/netlink/route/iface.c
1111
NL_LOG(LOG_DEBUG2, "End dump, iterated %d dumped %d", wa.count, wa.dumped);
sys/netlink/route/iface.c
515
NL_LOG(LOG_DEBUG2, "End dump, iterated %d dumped %d", wa.count, wa.dumped);
sys/netlink/route/iface.c
70
int count;
sys/netlink/route/neigh.c
236
wa->count++;
sys/netlink/route/neigh.c
266
NL_LOG(LOG_DEBUG2, "End dump, iterated %d dumped %d", wa->count, wa->dumped);
sys/netlink/route/neigh.c
66
int count;
sys/netlink/route/nexthop.c
383
int count;
sys/netlink/route/nexthop.c
664
int count = data_len / sizeof(*grp);
sys/netlink/route/nexthop.c
665
if (count == 0 || (count * sizeof(*grp) != data_len)) {
sys/netlink/route/nexthop.c
751
int count = NLA_DATA_LEN(attrs->nha_group) / sizeof(*grp);
sys/netlink/route/nexthop.c
754
wn = malloc(sizeof(*wn) * count, M_NETLINK, M_NOWAIT | M_ZERO);
sys/netlink/route/nexthop.c
758
for (int i = 0; i < count; i++) {
sys/netlink/route/nexthop.c
784
unhop->un_nhgrp_count = count;
sys/netlink/route/route_var.h
54
bool rtnl_register_messages(const struct rtnl_cmd_handler *handlers, int count);
sys/netlink/route/rt.c
623
int count;
sys/netlink/route/rt.c
634
wa->count++;
sys/netlink/route/rt.c
660
wa->count = 0;
sys/netlink/route/rt.c
668
wa->count, wa->dumped);
sys/netpfil/ipfilter/netinet/ipf_rb.h
141
head->count++; \
sys/netpfil/ipfilter/netinet/ipf_rb.h
23
int count; \
sys/netpfil/ipfilter/netinet/ipf_rb.h
285
head->count--; \
sys/netpfil/ipfilter/netinet/ipf_rb.h
359
#define RBI_ISEMPTY(_h) ((_h)->count == 0)
sys/netpfil/ipfilter/netinet/radix_ipf.c
251
int count;
sys/netpfil/ipfilter/netinet/radix_ipf.c
262
count = count_mask_bits(mask, NULL);
sys/netpfil/ipfilter/netinet/radix_ipf.c
263
if (count != found->maskbitcount && found->dupkey == NULL)
sys/netpfil/ipfilter/netinet/radix_ipf.c
273
while (node != NULL && node->maskbitcount != count)
sys/netpfil/ipfilter/netinet/radix_ipf.c
578
int count;
sys/netpfil/ipfilter/netinet/radix_ipf.c
585
count = count_mask_bits(mask, NULL);
sys/netpfil/ipfilter/netinet/radix_ipf.c
589
while (node != NULL && node->maskbitcount != count)
sys/netpfil/ipfilter/netinet/radix_ipf.c
621
if (count != found->maskbitcount)
sys/netpfil/ipfilter/netinet/radix_ipf.c
70
int count = 0;
sys/netpfil/ipfilter/netinet/radix_ipf.c
80
count++;
sys/netpfil/ipfilter/netinet/radix_ipf.c
83
return (count);
sys/netpfil/ipfw/dn_aqm_codel.c
144
uint32_t count;
sys/netpfil/ipfw/dn_aqm_codel.c
146
count = cst->count;
sys/netpfil/ipfw/dn_aqm_codel.c
149
if (count == 1) {
sys/netpfil/ipfw/dn_aqm_codel.c
166
temp = (3ULL<< (FIX_POINT_BITS*2)) - (count * temp);
sys/netpfil/ipfw/dn_aqm_codel.c
312
cst->count=0;
sys/netpfil/ipfw/dn_aqm_codel.h
160
cst->count++;
sys/netpfil/ipfw/dn_aqm_codel.h
176
cst->count++;
sys/netpfil/ipfw/dn_aqm_codel.h
206
cst->count = (cst->count > 2 && ((aqm_stime_t)now -
sys/netpfil/ipfw/dn_aqm_codel.h
208
cst->count - 2 : 1;
sys/netpfil/ipfw/dn_aqm_codel.h
66
uint32_t count; /* number of dropped pkts since entering drop state */
sys/netpfil/ipfw/dn_sched.h
183
q->mq.count--;
sys/netpfil/ipfw/dn_sched_fq_codel_helper.h
128
cst->count++;
sys/netpfil/ipfw/dn_sched_fq_codel_helper.h
143
cst->count++;
sys/netpfil/ipfw/dn_sched_fq_codel_helper.h
172
cst->count = (cst->count > 2 && ((aqm_stime_t)now -
sys/netpfil/ipfw/dn_sched_fq_codel_helper.h
173
(aqm_stime_t)cst->drop_next_time) < 8* cprms->interval)? cst->count - 2 : 1;
sys/netpfil/ipfw/ip_dn_io.c
291
q->count++;
sys/netpfil/ipfw/ip_dn_io.c
363
q->count = -1;
sys/netpfil/ipfw/ip_dn_io.c
380
q->count = -1;
sys/netpfil/ipfw/ip_dn_io.c
397
if (++q->count == 0)
sys/netpfil/ipfw/ip_dn_io.c
404
if (SCALE_MUL(p_b, SCALE((int64_t)q->count)) > q->random) {
sys/netpfil/ipfw/ip_dn_io.c
405
q->count = 0;
sys/netpfil/ipfw/ip_dn_io.c
576
dline->mq.count--;
sys/netpfil/ipfw/ip_dn_private.h
259
int count; /* arrivals since last RED drop */
sys/netpfil/ipfw/ip_dn_private.h
486
q->count++;
sys/netpfil/ipfw/ip_dn_private.h
82
int count;
sys/netpfil/ipfw/ip_fw_compat.c
229
size_t count, clen, read, rsize;
sys/netpfil/ipfw/ip_fw_compat.c
250
count = (ctlv->head.length - sizeof(*ctlv)) / sizeof(*ntlv);
sys/netpfil/ipfw/ip_fw_compat.c
251
if (ctlv->count != count || ctlv->objsize != sizeof(*ntlv))
sys/netpfil/ipfw/ip_fw_compat.c
260
while (count > 0) {
sys/netpfil/ipfw/ip_fw_compat.c
272
count--;
sys/netpfil/ipfw/ip_fw_compat.c
292
if (ctlv->count == 0 ||
sys/netpfil/ipfw/ip_fw_compat.c
293
ctlv->count > clen / sizeof(struct ip_fw_rule))
sys/netpfil/ipfw/ip_fw_compat.c
297
cbuf = malloc(ctlv->count * sizeof(struct rule_check_info),
sys/netpfil/ipfw/ip_fw_compat.c
306
count = 0;
sys/netpfil/ipfw/ip_fw_compat.c
312
if (rsize > clen || count > ctlv->count) {
sys/netpfil/ipfw/ip_fw_compat.c
333
count++;
sys/netpfil/ipfw/ip_fw_compat.c
337
if (ctlv->count != count || error != 0) {
sys/netpfil/ipfw/ip_fw_compat.c
488
for (i = 0, ci = nci; i < rtlv->count; i++, ci++)
sys/netpfil/ipfw/ip_fw_compat.c
493
if ((ret = ipfw_commit_rules(chain, nci, rtlv->count)) != 0) {
sys/netpfil/ipfw/ip_fw_compat.c
494
for (i = 0, ci = nci; i < rtlv->count; i++, ci++)
sys/netpfil/ipfw/ip_fw_compat.c
93
u_int16_t count; /* refcount */
sys/netpfil/ipfw/ip_fw_dynamic.c
154
MPASS(p->count > 0); \
sys/netpfil/ipfw/ip_fw_dynamic.c
155
ck_pr_dec_32(&(p)->count); \
sys/netpfil/ipfw/ip_fw_dynamic.c
157
#define DPARENT_COUNT_INC(p) ck_pr_inc_32(&(p)->count)
sys/netpfil/ipfw/ip_fw_dynamic.c
158
#define DPARENT_COUNT(p) ck_pr_load_32(&(p)->count)
sys/netpfil/ipfw/ip_fw_dynamic.c
161
uint32_t count; /* number of linked states */
sys/netpfil/ipfw/ip_fw_dynamic.c
2125
s->limit->count != 0) { \
sys/netpfil/ipfw/ip_fw_dynamic.c
2375
ipv4_parent, (s4->limit->count == 0));
sys/netpfil/ipfw/ip_fw_dynamic.c
2379
ipv6_parent, (s6->limit->count == 0));
sys/netpfil/ipfw/ip_fw_dynamic.c
2981
dst->count = DPARENT_COUNT(p);
sys/netpfil/ipfw/ip_fw_iface.c
505
uint32_t count, size;
sys/netpfil/ipfw/ip_fw_iface.c
516
count = ipfw_objhash_count(ii);
sys/netpfil/ipfw/ip_fw_iface.c
518
count = 0;
sys/netpfil/ipfw/ip_fw_iface.c
519
size = count * sizeof(ipfw_iface_info) + sizeof(ipfw_obj_lheader);
sys/netpfil/ipfw/ip_fw_iface.c
522
olh->count = count;
sys/netpfil/ipfw/ip_fw_nat.c
790
olh->count = nat_count;
sys/netpfil/ipfw/ip_fw_nat.c
792
olh->size = sizeof(*olh) + olh->count * olh->objsize;
sys/netpfil/ipfw/ip_fw_sockopt.c
1776
ctlv->count = da->tcount;
sys/netpfil/ipfw/ip_fw_sockopt.c
1808
ctlv->count = da->rcount;
sys/netpfil/ipfw/ip_fw_sockopt.c
2344
size_t count, clen, read, rsize;
sys/netpfil/ipfw/ip_fw_sockopt.c
2365
count = (ctlv->head.length - sizeof(*ctlv)) / sizeof(*ntlv);
sys/netpfil/ipfw/ip_fw_sockopt.c
2366
if (ctlv->count != count || ctlv->objsize != sizeof(*ntlv))
sys/netpfil/ipfw/ip_fw_sockopt.c
2375
while (count > 0) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2387
count--;
sys/netpfil/ipfw/ip_fw_sockopt.c
2407
if (ctlv->count == 0 ||
sys/netpfil/ipfw/ip_fw_sockopt.c
2408
ctlv->count > clen / sizeof(struct ip_fw_rule))
sys/netpfil/ipfw/ip_fw_sockopt.c
2412
cbuf = malloc(ctlv->count * sizeof(struct rule_check_info),
sys/netpfil/ipfw/ip_fw_sockopt.c
2421
count = 0;
sys/netpfil/ipfw/ip_fw_sockopt.c
2427
if (rsize > clen || count > ctlv->count) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2438
if (count != 0 && ((rulenum == 0) != (r->rulenum == 0) ||
sys/netpfil/ipfw/ip_fw_sockopt.c
2449
count++;
sys/netpfil/ipfw/ip_fw_sockopt.c
2453
if (ctlv->count != count || error != 0) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2518
for (i = 0, ci = nci; i < rtlv->count; i++, ci++)
sys/netpfil/ipfw/ip_fw_sockopt.c
2523
if ((ret = ipfw_commit_rules(chain, nci, rtlv->count)) != 0) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2524
for (i = 0, ci = nci; i < rtlv->count; i++, ci++)
sys/netpfil/ipfw/ip_fw_sockopt.c
2547
uint32_t count, n, size;
sys/netpfil/ipfw/ip_fw_sockopt.c
2557
count = ctl3_hsize;
sys/netpfil/ipfw/ip_fw_sockopt.c
2558
size = count * sizeof(ipfw_sopt_info) + sizeof(ipfw_obj_lheader);
sys/netpfil/ipfw/ip_fw_sockopt.c
2561
olh->count = count;
sys/netpfil/ipfw/ip_fw_sockopt.c
2571
for (n = 0; n < count; n++) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2707
ipfw_add_obj_rewriter(struct opcode_obj_rewrite *rw, size_t count)
sys/netpfil/ipfw/ip_fw_sockopt.c
2715
sz = ctl3_rsize + count;
sys/netpfil/ipfw/ip_fw_sockopt.c
2719
if (ctl3_rsize + count <= sz)
sys/netpfil/ipfw/ip_fw_sockopt.c
2727
sz = ctl3_rsize + count;
sys/netpfil/ipfw/ip_fw_sockopt.c
2729
memcpy(&tmp[ctl3_rsize], rw, count * sizeof(*rw));
sys/netpfil/ipfw/ip_fw_sockopt.c
2744
ipfw_del_obj_rewriter(struct opcode_obj_rewrite *rw, size_t count)
sys/netpfil/ipfw/ip_fw_sockopt.c
2752
for (i = 0; i < count; i++) {
sys/netpfil/ipfw/ip_fw_sockopt.c
2806
int count;
sys/netpfil/ipfw/ip_fw_sockopt.c
2813
count = ipfw_objhash_count(CHAIN_TO_SRV(chain));
sys/netpfil/ipfw/ip_fw_sockopt.c
2814
hdr->size = sizeof(ipfw_obj_lheader) + count * sizeof(ipfw_obj_ntlv);
sys/netpfil/ipfw/ip_fw_sockopt.c
2819
hdr->count = count;
sys/netpfil/ipfw/ip_fw_sockopt.c
2821
if (count > 0)
sys/netpfil/ipfw/ip_fw_sockopt.c
2994
ipfw_add_sopt_handler(struct ipfw_sopt_handler *sh, size_t count)
sys/netpfil/ipfw/ip_fw_sockopt.c
3002
sz = ctl3_hsize + count;
sys/netpfil/ipfw/ip_fw_sockopt.c
3006
if (ctl3_hsize + count <= sz)
sys/netpfil/ipfw/ip_fw_sockopt.c
3014
sz = ctl3_hsize + count;
sys/netpfil/ipfw/ip_fw_sockopt.c
3016
memcpy(&tmp[ctl3_hsize], sh, count * sizeof(*sh));
sys/netpfil/ipfw/ip_fw_sockopt.c
3032
ipfw_del_sopt_handler(struct ipfw_sopt_handler *sh, size_t count)
sys/netpfil/ipfw/ip_fw_sockopt.c
3040
for (i = 0; i < count; i++) {
sys/netpfil/ipfw/ip_fw_sockopt.c
3615
ni->count++;
sys/netpfil/ipfw/ip_fw_sockopt.c
3629
ni->count--;
sys/netpfil/ipfw/ip_fw_sockopt.c
3636
return (ni->count);
sys/netpfil/ipfw/ip_fw_sockopt.c
3643
uint32_t count;
sys/netpfil/ipfw/ip_fw_sockopt.c
3646
count = 0;
sys/netpfil/ipfw/ip_fw_sockopt.c
3650
count++;
sys/netpfil/ipfw/ip_fw_sockopt.c
3653
return (count);
sys/netpfil/ipfw/ip_fw_sockopt.c
423
int count)
sys/netpfil/ipfw/ip_fw_sockopt.c
434
for (ci = rci, i = 0; i < count; ci++, i++) {
sys/netpfil/ipfw/ip_fw_sockopt.c
472
map = malloc((chain->n_rules + count) * sizeof(struct ip_fw *),
sys/netpfil/ipfw/ip_fw_sockopt.c
481
for (ci = rci, i = 0; i < count; ci++, i++) {
sys/netpfil/ipfw/ip_fw_sockopt.c
511
bcopy(chain->map + last_rule_idx, map + last_rule_idx + count,
sys/netpfil/ipfw/ip_fw_sockopt.c
516
map = swap_map(chain, map, chain->n_rules + count);
sys/netpfil/ipfw/ip_fw_sockopt.c
99
uint32_t count; /* number of items */
sys/netpfil/ipfw/ip_fw_table.c
1000
tc->count = 0;
sys/netpfil/ipfw/ip_fw_table.c
1085
uint32_t count;
sys/netpfil/ipfw/ip_fw_table.c
1115
if ((tc_a->limit != 0 && tc_b->count > tc_a->limit) ||
sys/netpfil/ipfw/ip_fw_table.c
1116
(tc_b->limit != 0 && tc_a->count > tc_b->limit)) {
sys/netpfil/ipfw/ip_fw_table.c
1132
count = tc_a->count;
sys/netpfil/ipfw/ip_fw_table.c
1139
tc_a->count = tc_b->count;
sys/netpfil/ipfw/ip_fw_table.c
1144
tc_b->count = count;
sys/netpfil/ipfw/ip_fw_table.c
127
if (tc->limit == 0 || tc->count < tc->limit)
sys/netpfil/ipfw/ip_fw_table.c
1719
return (tc->count);
sys/netpfil/ipfw/ip_fw_table.c
1748
i->count = table_get_count(ch, tc);
sys/netpfil/ipfw/ip_fw_table.c
1751
i->size = i->count * sizeof(ipfw_obj_tentry);
sys/netpfil/ipfw/ip_fw_table.c
1803
uint32_t count;
sys/netpfil/ipfw/ip_fw_table.c
1806
count = ipfw_objhash_count(CHAIN_TO_NI(ch));
sys/netpfil/ipfw/ip_fw_table.c
1807
size = count * sizeof(ipfw_xtable_info) + sizeof(ipfw_obj_lheader);
sys/netpfil/ipfw/ip_fw_table.c
1810
olh->count = count;
sys/netpfil/ipfw/ip_fw_table.c
2131
uint32_t count, n, size;
sys/netpfil/ipfw/ip_fw_table.c
214
struct tentry_info *tei, uint32_t count, int op,
sys/netpfil/ipfw/ip_fw_table.c
2141
count = tcfg->algo_count;
sys/netpfil/ipfw/ip_fw_table.c
2142
size = count * sizeof(ipfw_ta_info) + sizeof(ipfw_obj_lheader);
sys/netpfil/ipfw/ip_fw_table.c
2145
olh->count = count;
sys/netpfil/ipfw/ip_fw_table.c
2155
for (n = 1; n <= count; n++) {
sys/netpfil/ipfw/ip_fw_table.c
235
if (op == OP_ADD && count == 1 &&
sys/netpfil/ipfw/ip_fw_table.c
275
uint32_t count, uint32_t added)
sys/netpfil/ipfw/ip_fw_table.c
289
vv = v + count * ta_buf_sz;
sys/netpfil/ipfw/ip_fw_table.c
308
tc->count -= num;
sys/netpfil/ipfw/ip_fw_table.c
321
struct tentry_info *tei, uint32_t count, int op, caddr_t *ta_buf)
sys/netpfil/ipfw/ip_fw_table.c
330
if (count == 1) {
sys/netpfil/ipfw/ip_fw_table.c
343
sz = count * ta_buf_sz;
sys/netpfil/ipfw/ip_fw_table.c
349
for (i = 0; i < count; i++, v += ta_buf_sz) {
sys/netpfil/ipfw/ip_fw_table.c
373
struct tentry_info *tei, uint32_t count, int rollback,
sys/netpfil/ipfw/ip_fw_table.c
385
for (i = 0; i < count; i++, v += ta_buf_sz) {
sys/netpfil/ipfw/ip_fw_table.c
396
v = ta_buf_m + count * ta_buf_sz;
sys/netpfil/ipfw/ip_fw_table.c
397
for (i = 0; i < count; i++, v += ta_buf_sz)
sys/netpfil/ipfw/ip_fw_table.c
421
struct tentry_info *tei, uint8_t flags, uint32_t count)
sys/netpfil/ipfw/ip_fw_table.c
436
error = find_ref_table(ch, ti, tei, count, OP_ADD, &tc);
sys/netpfil/ipfw/ip_fw_table.c
448
error = prepare_batch_buffer(ch, ta, tei, count, OP_ADD, &ta_buf_m);
sys/netpfil/ipfw/ip_fw_table.c
455
error = ipfw_link_table_values(ch, tc, tei, count, flags);
sys/netpfil/ipfw/ip_fw_table.c
464
error = check_table_space(ch, tc, KIDX_TO_TI(ch, kidx), count);
sys/netpfil/ipfw/ip_fw_table.c
477
for (i = 0; i < count; i++, v += ta->ta_buf_size) {
sys/netpfil/ipfw/ip_fw_table.c
497
tc->count += num;
sys/netpfil/ipfw/ip_fw_table.c
514
tei, ta_buf_m, count, i);
sys/netpfil/ipfw/ip_fw_table.c
522
ipfw_garbage_table_values(ch, tc, tei, count, rollback);
sys/netpfil/ipfw/ip_fw_table.c
534
flush_batch_buffer(ch, ta, tei, count, rollback, ta_buf_m, ta_buf);
sys/netpfil/ipfw/ip_fw_table.c
546
struct tentry_info *tei, uint8_t flags, uint32_t count)
sys/netpfil/ipfw/ip_fw_table.c
560
error = find_ref_table(ch, ti, tei, count, OP_DEL, &tc);
sys/netpfil/ipfw/ip_fw_table.c
570
error = prepare_batch_buffer(ch, ta, tei, count, OP_DEL, &ta_buf_m);
sys/netpfil/ipfw/ip_fw_table.c
593
for (i = 0; i < count; i++, v += ta->ta_buf_size) {
sys/netpfil/ipfw/ip_fw_table.c
602
tc->count -= num;
sys/netpfil/ipfw/ip_fw_table.c
608
ipfw_garbage_table_values(ch, tc, tei, count, 0);
sys/netpfil/ipfw/ip_fw_table.c
621
flush_batch_buffer(ch, ta, tei, count, 0, ta_buf_m, ta_buf);
sys/netpfil/ipfw/ip_fw_table.c
642
struct table_info *ti, uint32_t count)
sys/netpfil/ipfw/ip_fw_table.c
666
if (ta->need_modify(tc->astate, ti, count, &pflags) == 0) {
sys/netpfil/ipfw/ip_fw_table.c
678
if (ta->need_modify(tc->astate, ti, count, &pflags) == 0) {
sys/netpfil/ipfw/ip_fw_table.c
746
if (ctlv->count * sizeof(*tent) + read != sd->valsize)
sys/netpfil/ipfw/ip_fw_table.c
749
if (ctlv->count == 0)
sys/netpfil/ipfw/ip_fw_table.c
762
for (i = 0; i < ctlv->count; i++, ptent++) {
sys/netpfil/ipfw/ip_fw_table.c
77
struct tentry_info *tei, uint32_t count, int op, struct table_config **ptc);
sys/netpfil/ipfw/ip_fw_table.c
775
if (ctlv->count == 1) {
sys/netpfil/ipfw/ip_fw_table.c
779
tei_buf = malloc(ctlv->count * sizeof(tei), M_TEMP,
sys/netpfil/ipfw/ip_fw_table.c
784
for (i = 0; i < ctlv->count; i++, ptent++, ptei++) {
sys/netpfil/ipfw/ip_fw_table.c
796
add_table_entry(ch, &ti, tei_buf, ctlv->flags, ctlv->count) :
sys/netpfil/ipfw/ip_fw_table.c
797
del_table_entry(ch, &ti, tei_buf, ctlv->flags, ctlv->count);
sys/netpfil/ipfw/ip_fw_table.c
802
for (i = 0; i < ctlv->count; i++, ptent++, ptei++) {
sys/netpfil/ipfw/ip_fw_table.c
91
struct table_info *ti, uint32_t count);
sys/netpfil/ipfw/ip_fw_table.h
113
uint32_t count, uint64_t *pflags);
sys/netpfil/ipfw/ip_fw_table.h
178
struct tentry_info *tei, uint8_t flags, uint32_t count);
sys/netpfil/ipfw/ip_fw_table.h
180
struct tentry_info *tei, uint8_t flags, uint32_t count);
sys/netpfil/ipfw/ip_fw_table.h
188
struct tentry_info *tei, uint32_t count, uint8_t flags);
sys/netpfil/ipfw/ip_fw_table.h
190
struct tentry_info *tei, uint32_t count, int rollback);
sys/netpfil/ipfw/ip_fw_table.h
51
uint32_t count; /* Number of records */
sys/netpfil/ipfw/ip_fw_table_algo.c
1713
ta_need_modify_chash(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
1932
size_t count; /* Number of all items */
sys/netpfil/ipfw/ip_fw_table_algo.c
1966
uint32_t count, uint64_t *pflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
2278
icfg->count++;
sys/netpfil/ipfw/ip_fw_table_algo.c
2347
icfg->count--;
sys/netpfil/ipfw/ip_fw_table_algo.c
2421
ta_need_modify_ifidx(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
2430
while (size < cfg->count + count)
sys/netpfil/ipfw/ip_fw_table_algo.c
2661
uint32_t count, uint64_t *pflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
2878
ta_need_modify_numarray(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
2887
while (size < cfg->used + count)
sys/netpfil/ipfw/ip_fw_table_algo.c
3132
uint32_t count, uint64_t *pflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
3642
ta_need_modify_fhash(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
4029
size_t count;
sys/netpfil/ipfw/ip_fw_table_algo.c
410
uint32_t count, uint64_t *pflags);
sys/netpfil/ipfw/ip_fw_table_algo.c
4197
cfg->count++;
sys/netpfil/ipfw/ip_fw_table_algo.c
4256
cfg->count--;
sys/netpfil/ipfw/ip_fw_table_algo.c
4281
tinfo->count4 = cfg->count;
sys/netpfil/ipfw/ip_fw_table_algo.c
868
ta_need_modify_radix(void *ta_state, struct table_info *ti, uint32_t count,
sys/netpfil/ipfw/ip_fw_table_algo.c
997
uint32_t count, uint64_t *pflags);
sys/netpfil/ipfw/ip_fw_table_value.c
364
struct tentry_info *tei, uint32_t count, int rollback)
sys/netpfil/ipfw/ip_fw_table_value.c
393
for (i = 0; i < count; i++) {
sys/netpfil/ipfw/ip_fw_table_value.c
423
struct tentry_info *tei, uint32_t count, uint8_t flags)
sys/netpfil/ipfw/ip_fw_table_value.c
443
for (i = 0; i < count; i++) {
sys/netpfil/ipfw/ip_fw_table_value.c
461
if (count == found) {
sys/netpfil/ipfw/ip_fw_table_value.c
469
for (i = 0; i < count; i++) {
sys/netpfil/ipfw/ip_fw_table_value.c
486
for (i = 0; i < count; i++) {
sys/netpfil/ipfw/ip_fw_table_value.c
613
uint32_t count, size;
sys/netpfil/ipfw/ip_fw_table_value.c
624
count = ipfw_objhash_count(vi);
sys/netpfil/ipfw/ip_fw_table_value.c
625
size = count * sizeof(ipfw_table_value) + sizeof(ipfw_obj_lheader);
sys/netpfil/ipfw/ip_fw_table_value.c
628
olh->count = count;
sys/netpfil/ipfw/nat64/nat64clat_control.c
368
olh->count = ipfw_objhash_count_type(CHAIN_TO_SRV(ch),
sys/netpfil/ipfw/nat64/nat64clat_control.c
371
olh->size = sizeof(*olh) + olh->count * olh->objsize;
sys/netpfil/ipfw/nat64/nat64clat_control.c
447
ctlv->count = sizeof(stats) / sizeof(uint64_t);
sys/netpfil/ipfw/nat64/nat64lsn_control.c
379
olh->count = ipfw_objhash_count_type(CHAIN_TO_SRV(ch),
sys/netpfil/ipfw/nat64/nat64lsn_control.c
382
olh->size = sizeof(*olh) + olh->count * olh->objsize;
sys/netpfil/ipfw/nat64/nat64lsn_control.c
514
ctlv->count = sizeof(stats) / sizeof(uint64_t);
sys/netpfil/ipfw/nat64/nat64lsn_control.c
570
uint32_t i, count;
sys/netpfil/ipfw/nat64/nat64lsn_control.c
577
count = 64 - bitcount64(freemask);
sys/netpfil/ipfw/nat64/nat64lsn_control.c
578
if (count == 0)
sys/netpfil/ipfw/nat64/nat64lsn_control.c
582
(uintmax_t)idx->index, count);
sys/netpfil/ipfw/nat64/nat64lsn_control.c
585
count * sizeof(ipfw_nat64lsn_state_v1));
sys/netpfil/ipfw/nat64/nat64lsn_control.c
605
*ret_count = count;
sys/netpfil/ipfw/nat64/nat64lsn_control.c
697
uint32_t count, total;
sys/netpfil/ipfw/nat64/nat64lsn_control.c
747
stg->count = total = 0;
sys/netpfil/ipfw/nat64/nat64lsn_control.c
758
count = 0;
sys/netpfil/ipfw/nat64/nat64lsn_control.c
760
sd, &count);
sys/netpfil/ipfw/nat64/nat64lsn_control.c
763
if (count > 0) {
sys/netpfil/ipfw/nat64/nat64lsn_control.c
764
stg->count += count;
sys/netpfil/ipfw/nat64/nat64lsn_control.c
765
total += count;
sys/netpfil/ipfw/nat64/nat64lsn_control.c
768
count * sizeof(ipfw_nat64lsn_state_v1);
sys/netpfil/ipfw/nat64/nat64lsn_control.c
769
sz += count * sizeof(ipfw_nat64lsn_state_v1);
sys/netpfil/ipfw/nat64/nat64lsn_control.c
782
if (stg->count == 0)
sys/netpfil/ipfw/nat64/nat64lsn_control.c
795
stg->count = 0;
sys/netpfil/ipfw/nat64/nat64stl_control.c
373
olh->count = ipfw_objhash_count_type(CHAIN_TO_SRV(ch),
sys/netpfil/ipfw/nat64/nat64stl_control.c
376
olh->size = sizeof(*olh) + olh->count * olh->objsize;
sys/netpfil/ipfw/nat64/nat64stl_control.c
452
ctlv->count = sizeof(stats) / sizeof(uint64_t);
sys/netpfil/ipfw/nptv6/nptv6.c
792
olh->count = ipfw_objhash_count_type(CHAIN_TO_SRV(ch),
sys/netpfil/ipfw/nptv6/nptv6.c
795
olh->size = sizeof(*olh) + olh->count * olh->objsize;
sys/netpfil/ipfw/nptv6/nptv6.c
867
ctlv->count = sizeof(stats) / sizeof(uint64_t);
sys/netpfil/pf/if_pfsync.c
1021
count = ntohs(subh.count);
sys/netpfil/pf/if_pfsync.c
1022
V_pfsyncstats.pfsyncs_iacts[subh.action] += count;
sys/netpfil/pf/if_pfsync.c
1023
rv = (*pfsync_acts[subh.action])(m, offset, count, flags, subh.action);
sys/netpfil/pf/if_pfsync.c
1051
uint16_t count;
sys/netpfil/pf/if_pfsync.c
1124
count = ntohs(subh.count);
sys/netpfil/pf/if_pfsync.c
1125
V_pfsyncstats.pfsyncs_iacts[subh.action] += count;
sys/netpfil/pf/if_pfsync.c
1126
rv = (*pfsync_acts[subh.action])(m, offset, count, flags, subh.action);
sys/netpfil/pf/if_pfsync.c
1143
pfsync_in_clr(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1147
int len = sizeof(*clr) * count;
sys/netpfil/pf/if_pfsync.c
1158
for (i = 0; i < count; i++) {
sys/netpfil/pf/if_pfsync.c
1185
pfsync_in_ins(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1211
total_len = msg_len * count;
sys/netpfil/pf/if_pfsync.c
1220
for (i = 0; i < count; i++) {
sys/netpfil/pf/if_pfsync.c
1257
pfsync_in_iack(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1263
int len = count * sizeof(*ia);
sys/netpfil/pf/if_pfsync.c
1273
for (i = 0; i < count; i++) {
sys/netpfil/pf/if_pfsync.c
1290
return (count * sizeof(struct pfsync_ins_ack));
sys/netpfil/pf/if_pfsync.c
1328
pfsync_in_upd(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1355
total_len = msg_len * count;
sys/netpfil/pf/if_pfsync.c
1364
for (i = 0; i < count; i++) {
sys/netpfil/pf/if_pfsync.c
1442
pfsync_in_upd_c(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1447
int len = count * sizeof(*up);
sys/netpfil/pf/if_pfsync.c
1459
for (i = 0; i < count; i++) {
sys/netpfil/pf/if_pfsync.c
1529
pfsync_in_ureq(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1533
int len = count * sizeof(*ur);
sys/netpfil/pf/if_pfsync.c
1545
for (i = 0; i < count; i++) {
sys/netpfil/pf/if_pfsync.c
1570
pfsync_in_del_c(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1575
int len = count * sizeof(*sp);
sys/netpfil/pf/if_pfsync.c
1585
for (i = 0; i < count; i++) {
sys/netpfil/pf/if_pfsync.c
1602
pfsync_in_bus(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1607
int len = count * sizeof(*bus);
sys/netpfil/pf/if_pfsync.c
1664
pfsync_in_tdb(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1666
int len = count * sizeof(struct pfsync_tdb);
sys/netpfil/pf/if_pfsync.c
1682
for (i = 0; i < count; i++)
sys/netpfil/pf/if_pfsync.c
1729
pfsync_in_eof(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
1741
pfsync_in_error(struct mbuf *m, int offset, int count, int flags, int action)
sys/netpfil/pf/if_pfsync.c
2029
int aflen, offset, count = 0;
sys/netpfil/pf/if_pfsync.c
2107
count = 0;
sys/netpfil/pf/if_pfsync.c
2120
count++;
sys/netpfil/pf/if_pfsync.c
2125
subh->count = htons(count);
sys/netpfil/pf/if_pfsync.c
2126
V_pfsyncstats.pfsyncs_oacts[pfsync_qs[q].action] += count;
sys/netpfil/pf/if_pfsync.c
2133
count = 0;
sys/netpfil/pf/if_pfsync.c
2141
count++;
sys/netpfil/pf/if_pfsync.c
2145
subh->count = htons(count);
sys/netpfil/pf/if_pfsync.c
2146
V_pfsyncstats.pfsyncs_oacts[PFSYNC_ACT_UPD_REQ] += count;
sys/netpfil/pf/if_pfsync.c
2163
subh->count = htons(1);
sys/netpfil/pf/if_pfsync.c
2584
r.subh.count = htons(1);
sys/netpfil/pf/if_pfsync.c
2773
r.subh.count = htons(1);
sys/netpfil/pf/if_pfsync.c
949
uint16_t count;
sys/netpfil/pf/pf.c
1407
u_int count = 0;
sys/netpfil/pf/pf.c
1411
count++;
sys/netpfil/pf/pf.c
1414
counter_u64_add(V_pf_status.scounters[SCNT_SRC_NODE_REMOVALS], count);
sys/netpfil/pf/pf.c
1416
return (count);
sys/netpfil/pf/pf.c
3227
size_t count __unused;
sys/netpfil/pf/pf.c
3235
count = 0;
sys/netpfil/pf/pf.c
3258
count++;
sys/netpfil/pf/pf.c
3263
SDT_PROBE2(pf, purge, state, rowcount, i, count);
sys/netpfil/pf/pf.c
8139
int count;
sys/netpfil/pf/pf.c
8158
count = 0;
sys/netpfil/pf/pf.c
8160
count++;
sys/netpfil/pf/pf.c
8168
if (count >= PF_SCTP_MAX_ENDPOINTS) {
sys/netpfil/pf/pf.h
693
u_int32_t count;
sys/netpfil/pf/pf_ioctl.c
2475
out->conn_rate.count = counter_rate_get(in->conn_rate.cr);
sys/netpfil/pf/pf_ioctl.c
4991
size_t slice_count = 16, count;
sys/netpfil/pf/pf_ioctl.c
5015
count = 0;
sys/netpfil/pf/pf_ioctl.c
5019
count++;
sys/netpfil/pf/pf_ioctl.c
5022
if (count > slice_count) {
sys/netpfil/pf/pf_ioctl.c
5025
slice_count = count * 2;
sys/netpfil/pf/pf_ioctl.c
5032
if ((nr+count) * sizeof(*p) > ps->ps_len) {
sys/netpfil/pf/pf_ioctl.c
5047
sizeof(struct pfsync_state_1301) * count);
sys/netpfil/pf/pf_ioctl.c
5066
size_t slice_count = 16, count;
sys/netpfil/pf/pf_ioctl.c
5095
count = 0;
sys/netpfil/pf/pf_ioctl.c
5099
count++;
sys/netpfil/pf/pf_ioctl.c
5102
if (count > slice_count) {
sys/netpfil/pf/pf_ioctl.c
5105
slice_count = count * 2;
sys/netpfil/pf/pf_ioctl.c
5112
if ((nr+count) * sizeof(*p) > ps->ps_len) {
sys/netpfil/pf/pf_ioctl.c
5127
sizeof(struct pf_state_export) * count);
sys/netpfil/pf/pf_ioctl.c
5963
size_t totlen, count;
sys/netpfil/pf/pf_ioctl.c
5973
count = max(io->pfrio_size, io->pfrio_size2);
sys/netpfil/pf/pf_ioctl.c
5974
if (count > pf_ioctl_maxcount ||
sys/netpfil/pf/pf_ioctl.c
5975
WOULD_OVERFLOW(count, sizeof(struct pfr_addr))) {
sys/netpfil/pf/pf_ioctl.c
5979
totlen = count * sizeof(struct pfr_addr);
sys/netpfil/pf/pf_ioctl.c
5980
pfras = mallocarray(count, sizeof(struct pfr_addr), M_PF,
sys/netpfil/pf/pf_nv.c
91
const type *numbers, size_t count) \
sys/netpfil/pf/pf_nv.c
94
for (size_t i = 0; i < count; i++) { \
sys/netpfil/pf/pflow.c
1162
h->count = htons(sc->sc_count);
sys/netpfil/pf/pflow.c
1182
u_int32_t count;
sys/netpfil/pf/pflow.c
1194
count = sc->sc_count4;
sys/netpfil/pf/pflow.c
1204
count = sc->sc_count6;
sys/netpfil/pf/pflow.c
1214
count = sc->sc_count_nat4;
sys/netpfil/pf/pflow.c
1238
sc->sc_sequence += count;
sys/netpfil/pf/pflow.c
600
h.count = 0;
sys/netsmb/smb_rq.c
418
smb_t2_placedata(struct mbuf *mtop, u_int16_t offset, u_int16_t count,
sys/netsmb/smb_rq.c
425
if (offset + count > len)
sys/netsmb/smb_rq.c
429
if (len != offset + count) {
sys/netsmb/smb_rq.c
430
len -= offset + count;
sys/nfs/bootp_subr.c
1496
bootpc_init_ifa_cb(void *arg, struct ifaddr *ifa, u_int count)
sys/nfs/bootp_subr.c
1500
if (count != 0)
sys/nfs/bootp_subr.c
296
bootpboot_p_ifa(void *ifp, struct ifaddr *ifa, u_int count __unused)
sys/nfs/nfs_diskless.c
154
nfs_setup_diskless_ifa_cb(void *arg, struct sockaddr_dl *sdl, u_int count)
sys/nfs/nfs_diskless.c
407
int count;
sys/nfs/nfs_diskless.c
415
count = sscanf(cp, "%d.%d.%d.%d", &a[0], &a[1], &a[2], &a[3]);
sys/nfs/nfs_diskless.c
417
if (count != 4)
sys/nfs/nfs_diskless.c
429
int count;
sys/nfs/nfs_diskless.c
438
count = sscanf(cp, "%x:%x:%x:%x:%x:%x",
sys/nfs/nfs_diskless.c
441
if (count != 6)
sys/nlm/nlm_prot_impl.c
816
int count;
sys/nlm/nlm_prot_impl.c
819
count = lf_countlocks(host->nh_sysid);
sys/nlm/nlm_prot_impl.c
820
return sysctl_handle_int(oidp, &count, 0, req);
sys/nlm/nlm_prot_impl.c
830
int count;
sys/nlm/nlm_prot_impl.c
833
count = lf_countlocks(NLM_SYSID_CLIENT | host->nh_sysid);
sys/nlm/nlm_prot_impl.c
834
return sysctl_handle_int(oidp, &count, 0, req);
sys/ofed/drivers/infiniband/core/ib_cm.c
4283
int count = 0;
sys/ofed/drivers/infiniband/core/ib_cm.c
4330
count++;
sys/ofed/drivers/infiniband/core/ib_cm.c
4333
if (!count)
sys/ofed/drivers/infiniband/core/ib_iwcm.c
145
static int alloc_work_entries(struct iwcm_id_private *cm_id_priv, int count)
sys/ofed/drivers/infiniband/core/ib_iwcm.c
150
while (count--) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1189
if (qp_info->send_queue.count < qp_info->send_queue.max_active) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1199
qp_info->send_queue.count++;
sys/ofed/drivers/infiniband/core/ib_mad.c
2465
if (send_queue->count-- > send_queue->max_active) {
sys/ofed/drivers/infiniband/core/ib_mad.c
2890
post = (++recv_queue->count < recv_queue->max_active);
sys/ofed/drivers/infiniband/core/ib_mad.c
2897
recv_queue->count--;
sys/ofed/drivers/infiniband/core/ib_mad.c
2945
qp_info->recv_queue.count = 0;
sys/ofed/drivers/infiniband/core/ib_mad.c
3046
mad_queue->count = 0;
sys/ofed/drivers/infiniband/core/ib_mad.c
649
mad_queue->count--;
sys/ofed/drivers/infiniband/core/ib_multicast.c
826
int count = 0;
sys/ofed/drivers/infiniband/core/ib_multicast.c
846
++count;
sys/ofed/drivers/infiniband/core/ib_multicast.c
849
if (!count) {
sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
165
roce_gid_update_addr_ifa4_cb(void *arg, struct ifaddr *ifa, u_int count)
sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
183
roce_gid_update_addr_ifa6_cb(void *arg, struct ifaddr *ifa, u_int count)
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1895
int count = 0;
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1931
count++;
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1934
if (!count)
sys/ofed/drivers/infiniband/core/ib_sysfs.c
118
const char *buf, size_t count)
sys/ofed/drivers/infiniband/core/ib_sysfs.c
126
return port_attr->store(p, port_attr, buf, count);
sys/ofed/drivers/infiniband/core/ib_sysfs.c
1263
const char *buf, size_t count)
sys/ofed/drivers/infiniband/core/ib_sysfs.c
1272
memcpy(desc.node_desc, buf, min_t(int, count, IB_DEVICE_NODE_DESC_MAX));
sys/ofed/drivers/infiniband/core/ib_sysfs.c
1277
return count;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
75
const char *buf, size_t count);
sys/ofed/drivers/infiniband/core/ib_sysfs.c
884
const char *buf, size_t count)
sys/ofed/drivers/infiniband/core/ib_sysfs.c
914
return count;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
98
size_t count);
sys/ofed/drivers/infiniband/core/ib_user_mad.c
1294
int count = 0;
sys/ofed/drivers/infiniband/core/ib_user_mad.c
1317
count++;
sys/ofed/drivers/infiniband/core/ib_user_mad.c
1320
if (!count)
sys/ofed/drivers/infiniband/core/ib_user_mad.c
271
struct ib_umad_packet *packet, size_t count)
sys/ofed/drivers/infiniband/core/ib_user_mad.c
282
count < hdr_size(file) + packet->length) ||
sys/ofed/drivers/infiniband/core/ib_user_mad.c
284
count < hdr_size(file) + seg_size))
sys/ofed/drivers/infiniband/core/ib_user_mad.c
300
if (count < hdr_size(file) + packet->length) {
sys/ofed/drivers/infiniband/core/ib_user_mad.c
324
struct ib_umad_packet *packet, size_t count)
sys/ofed/drivers/infiniband/core/ib_user_mad.c
328
if (count < size)
sys/ofed/drivers/infiniband/core/ib_user_mad.c
343
size_t count, loff_t *pos)
sys/ofed/drivers/infiniband/core/ib_user_mad.c
349
if (count < hdr_size(file))
sys/ofed/drivers/infiniband/core/ib_user_mad.c
373
ret = copy_recv_mad(file, buf, packet, count);
sys/ofed/drivers/infiniband/core/ib_user_mad.c
375
ret = copy_send_mad(file, buf, packet, count);
sys/ofed/drivers/infiniband/core/ib_user_mad.c
456
size_t count, loff_t *pos)
sys/ofed/drivers/infiniband/core/ib_user_mad.c
468
if (count < hdr_size(file) + IB_MGMT_RMPP_HDR)
sys/ofed/drivers/infiniband/core/ib_user_mad.c
536
data_len = count - hdr_size(file) - hdr_len;
sys/ofed/drivers/infiniband/core/ib_user_mad.c
603
return count;
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
1203
while (resp.count < cmd.ne) {
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
1215
++resp.count;
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
212
size_t count, loff_t *pos,
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
242
if (eventsz > count) {
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
268
size_t count, loff_t *pos)
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
272
return ib_uverbs_event_read(&file->ev_queue, filp, buf, count, pos,
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
277
size_t count, loff_t *pos)
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
282
return ib_uverbs_event_read(&comp_ev_file->ev_queue, filp, buf, count,
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
498
struct ib_uverbs_ex_cmd_hdr *ex_hdr, size_t count,
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
502
count -= sizeof(*hdr) + sizeof(*ex_hdr);
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
504
if ((hdr->in_words + ex_hdr->provider_in_words) * 8 != count)
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
532
if (hdr->in_words * 4 != count)
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
535
if (count < method_elm->req_size + sizeof(hdr)) {
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
544
count == 16) {
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
557
size_t count, loff_t *pos)
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
574
if (count < sizeof(hdr))
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
585
if (count < (sizeof(hdr) + sizeof(ex_hdr)))
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
591
ret = verify_hdr(&hdr, &ex_hdr, count, method_elm);
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
667
return (ret) ? : count;
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_device.c
65
u64 count = 0;
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_device.c
82
if (count >= max_count)
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_device.c
85
handles[count] = obj_id;
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_device.c
86
count++;
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_device.c
90
*total = count;
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
511
unsigned int count = 0;
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
514
count++;
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
516
count++;
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
518
count++;
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
520
count++;
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
522
count++;
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
523
WARN(count != 1, "Bad count %d key=%x", count, key);
sys/ofed/drivers/infiniband/core/mad_priv.h
182
int count;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
1120
ipoib_match_dev_addr_cb(void *arg, struct ifaddr *ifa, u_int count)
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
1125
if (count > 0)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
324
size_t count, loff_t *offs)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
332
return count;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
437
size_t count, loff_t *offs)
sys/ofed/drivers/infiniband/ulp/sdp/sdp_proc.c
442
return count;
sys/ofed/include/uapi/rdma/ib_user_verbs.h
487
__u32 count;
sys/opencrypto/cbc_mac.c
46
for (size_t count = 0; count < NWORDS; count++)
sys/opencrypto/cbc_mac.c
47
temp[count] = b1[count] ^ b2[count];
sys/opencrypto/criov.c
106
unsigned count;
sys/opencrypto/criov.c
111
count = min(iov->iov_len - off, len);
sys/opencrypto/criov.c
112
bcopy(cp, ((caddr_t)iov->iov_base) + off, count);
sys/opencrypto/criov.c
113
len -= count;
sys/opencrypto/criov.c
114
cp += count;
sys/opencrypto/criov.c
159
unsigned count;
sys/opencrypto/criov.c
166
count = min(PAGE_SIZE - off, len);
sys/opencrypto/criov.c
167
rval = (*f)(arg, kaddr + off, count);
sys/opencrypto/criov.c
170
len -= count;
sys/opencrypto/criov.c
171
processed += count;
sys/opencrypto/criov.c
198
unsigned count;
sys/opencrypto/criov.c
202
count = min(PAGE_SIZE - off, len);
sys/opencrypto/criov.c
203
bcopy(cp, (char *)VM_PAGE_TO_DMAP(*pages) + off, count);
sys/opencrypto/criov.c
204
len -= count;
sys/opencrypto/criov.c
205
cp += count;
sys/opencrypto/criov.c
206
processed += count;
sys/opencrypto/criov.c
222
unsigned count;
sys/opencrypto/criov.c
226
count = min(PAGE_SIZE - off, len);
sys/opencrypto/criov.c
227
bcopy((char *)VM_PAGE_TO_DMAP(*pages) + off, cp, count);
sys/opencrypto/criov.c
228
len -= count;
sys/opencrypto/criov.c
229
cp += count;
sys/opencrypto/criov.c
230
processed += count;
sys/opencrypto/criov.c
654
unsigned count;
sys/opencrypto/criov.c
660
count = min(iov->iov_len - off, len);
sys/opencrypto/criov.c
661
rval = (*f)(arg, ((caddr_t)iov->iov_base) + off, count);
sys/opencrypto/criov.c
664
len -= count;
sys/opencrypto/criov.c
86
unsigned count;
sys/opencrypto/criov.c
91
count = min(iov->iov_len - off, len);
sys/opencrypto/criov.c
92
bcopy(((caddr_t)iov->iov_base) + off, cp, count);
sys/opencrypto/criov.c
93
len -= count;
sys/opencrypto/criov.c
94
cp += count;
sys/opencrypto/cryptodeflate.c
186
result = count = zbuf.total_out;
sys/opencrypto/cryptodeflate.c
200
if (count > bufp->size) {
sys/opencrypto/cryptodeflate.c
205
count -= bufp->size;
sys/opencrypto/cryptodeflate.c
211
bcopy(bufp->data, *out, count);
sys/opencrypto/cryptodeflate.c
212
*out += count;
sys/opencrypto/cryptodeflate.c
215
count = 0;
sys/opencrypto/cryptodeflate.c
88
uint32_t count, result;
sys/opencrypto/rmd160.c
110
have = (ctx->count/8) % 64;
sys/opencrypto/rmd160.c
112
ctx->count += 8 * len;
sys/opencrypto/rmd160.c
139
PUT_64BIT_LE(size, ctx->count);
sys/opencrypto/rmd160.c
145
padlen = 64 - ((ctx->count/8) % 64);
sys/opencrypto/rmd160.c
97
ctx->count = 0;
sys/opencrypto/rmd160.h
31
uint64_t count; /* number of bits, modulo 2^64 */
sys/powerpc/aim/mmu_oea.c
1449
int count;
sys/powerpc/aim/mmu_oea.c
1454
count = moea_clear_bit(m, PTE_REF);
sys/powerpc/aim/mmu_oea.c
1456
return (count);
sys/powerpc/aim/mmu_oea.c
1707
int count;
sys/powerpc/aim/mmu_oea.c
1709
count = 0;
sys/powerpc/aim/mmu_oea.c
1711
return (count);
sys/powerpc/aim/mmu_oea.c
1715
count++;
sys/powerpc/aim/mmu_oea.c
1717
return (count);
sys/powerpc/aim/mmu_oea.c
1849
moea_qenter(void *sva, vm_page_t *m, int count)
sys/powerpc/aim/mmu_oea.c
1854
while (count-- > 0) {
sys/powerpc/aim/mmu_oea.c
1866
moea_qremove(void *sva, int count)
sys/powerpc/aim/mmu_oea.c
1871
while (count-- > 0) {
sys/powerpc/aim/mmu_oea.c
2584
u_int count;
sys/powerpc/aim/mmu_oea.c
2608
count = 0;
sys/powerpc/aim/mmu_oea.c
2614
count++;
sys/powerpc/aim/mmu_oea.c
2622
return (count);
sys/powerpc/aim/mmu_oea64.c
2384
int count;
sys/powerpc/aim/mmu_oea64.c
2386
count = 0;
sys/powerpc/aim/mmu_oea64.c
2388
return (count);
sys/powerpc/aim/mmu_oea64.c
2392
count++;
sys/powerpc/aim/mmu_oea64.c
2394
return (count);
sys/powerpc/aim/mmu_oea64.c
2596
moea64_qenter(void *sva, vm_page_t *m, int count)
sys/powerpc/aim/mmu_oea64.c
2601
while (count-- > 0) {
sys/powerpc/aim/mmu_oea64.c
2613
moea64_qremove(void *sva, int count)
sys/powerpc/aim/mmu_oea64.c
2618
while (count-- > 0) {
sys/powerpc/aim/mmu_oea64.c
3075
u_int count;
sys/powerpc/aim/mmu_oea64.c
3088
count = 0;
sys/powerpc/aim/mmu_oea64.c
3093
count += ret;
sys/powerpc/aim/mmu_oea64.c
3105
count++;
sys/powerpc/aim/mmu_oea64.c
3110
return (count);
sys/powerpc/aim/mmu_oea64.c
4221
int64_t count, ret;
sys/powerpc/aim/mmu_oea64.c
4224
count = 0;
sys/powerpc/aim/mmu_oea64.c
4248
count++;
sys/powerpc/aim/mmu_oea64.c
4255
count++;
sys/powerpc/aim/mmu_oea64.c
4282
count++;
sys/powerpc/aim/mmu_oea64.c
4302
return (count);
sys/powerpc/aim/mmu_radix.c
3618
radix_pgd_import(void *arg __unused, void **store, int count, int domain __unused,
sys/powerpc/aim/mmu_radix.c
3624
for (int i = 0; i < count; i++) {
sys/powerpc/aim/mmu_radix.c
3631
return (count);
sys/powerpc/aim/mmu_radix.c
3635
radix_pgd_release(void *arg __unused, void **store, int count)
sys/powerpc/aim/mmu_radix.c
3644
for (int i = 0; i < count; i++) {
sys/powerpc/aim/mmu_radix.c
4182
int count, md_gen, pvh_gen;
sys/powerpc/aim/mmu_radix.c
4190
count = 0;
sys/powerpc/aim/mmu_radix.c
4205
count++;
sys/powerpc/aim/mmu_radix.c
4226
count++;
sys/powerpc/aim/mmu_radix.c
4231
return (count);
sys/powerpc/aim/mmu_radix.c
4663
mmu_radix_qenter(void *sva, vm_page_t *ma, int count)
sys/powerpc/aim/mmu_radix.c
4670
CTR4(KTR_PMAP, "%s(%p, %p, %d)", __func__, sva, ma, count);
sys/powerpc/aim/mmu_radix.c
4675
while (va < (vm_offset_t)sva + PAGE_SIZE * count) {
sys/powerpc/aim/mmu_radix.c
4698
(vm_offset_t)sva + count * PAGE_SIZE);
sys/powerpc/aim/mmu_radix.c
4704
mmu_radix_qremove(void *sva, int count)
sys/powerpc/aim/mmu_radix.c
4710
CTR3(KTR_PMAP, "%s(%p, %d)", __func__, sva, count);
sys/powerpc/aim/mmu_radix.c
4714
while (va < (vm_offset_t)sva + PAGE_SIZE * count) {
sys/powerpc/aim/mmu_radix.c
867
pmap_resident_count_inc(pmap_t pmap, int count)
sys/powerpc/aim/mmu_radix.c
871
pmap->pm_stats.resident_count += count;
sys/powerpc/aim/mmu_radix.c
875
pmap_resident_count_dec(pmap_t pmap, int count)
sys/powerpc/aim/mmu_radix.c
879
KASSERT(pmap->pm_stats.resident_count >= count,
sys/powerpc/aim/mmu_radix.c
881
pmap->pm_stats.resident_count, count));
sys/powerpc/aim/mmu_radix.c
882
pmap->pm_stats.resident_count -= count;
sys/powerpc/booke/pmap.c
1125
mmu_booke_qenter(void *sva, vm_page_t *m, int count)
sys/powerpc/booke/pmap.c
1130
while (count-- > 0) {
sys/powerpc/booke/pmap.c
1142
mmu_booke_qremove(void *sva, int count)
sys/powerpc/booke/pmap.c
1147
while (count-- > 0) {
sys/powerpc/booke/pmap.c
1951
int count;
sys/powerpc/booke/pmap.c
1955
count = 0;
sys/powerpc/booke/pmap.c
1973
if (++count >= PMAP_TS_REFERENCED_MAX) {
sys/powerpc/booke/pmap.c
1982
return (count);
sys/powerpc/booke/pmap.c
2054
int count = 0;
sys/powerpc/booke/pmap.c
2057
return (count);
sys/powerpc/booke/pmap.c
2063
count++;
sys/powerpc/booke/pmap.c
2067
return (count);
sys/powerpc/cpufreq/dfs.c
138
dfs_settings(device_t dev, struct cf_setting *sets, int *count)
sys/powerpc/cpufreq/dfs.c
145
if (sets == NULL || count == NULL)
sys/powerpc/cpufreq/dfs.c
147
if (*count < states)
sys/powerpc/cpufreq/dfs.c
159
*count = states;
sys/powerpc/cpufreq/dfs.c
46
static int dfs_settings(device_t dev, struct cf_setting *sets, int *count);
sys/powerpc/cpufreq/mpc85xx_jog.c
212
mpc85xx_jog_settings(device_t dev, struct cf_setting *sets, int *count)
sys/powerpc/cpufreq/mpc85xx_jog.c
219
if (sets == NULL || count == NULL)
sys/powerpc/cpufreq/mpc85xx_jog.c
221
if (*count < sc->high - 1)
sys/powerpc/cpufreq/mpc85xx_jog.c
233
*count = sc->high - sc->low + 1;
sys/powerpc/cpufreq/mpc85xx_jog.c
72
static int mpc85xx_jog_settings(device_t dev, struct cf_setting *sets, int *count);
sys/powerpc/cpufreq/pcr.c
234
pcr_settings(device_t dev, struct cf_setting *sets, int *count)
sys/powerpc/cpufreq/pcr.c
239
if (sets == NULL || count == NULL)
sys/powerpc/cpufreq/pcr.c
241
if (*count < sc->nmodes)
sys/powerpc/cpufreq/pcr.c
253
*count = sc->nmodes;
sys/powerpc/cpufreq/pcr.c
49
static int pcr_settings(device_t dev, struct cf_setting *sets, int *count);
sys/powerpc/cpufreq/pmcr.c
156
pmcr_settings(device_t dev, struct cf_setting *sets, int *count)
sys/powerpc/cpufreq/pmcr.c
160
if (sets == NULL || count == NULL)
sys/powerpc/cpufreq/pmcr.c
162
if (*count < npstates)
sys/powerpc/cpufreq/pmcr.c
174
*count = npstates;
sys/powerpc/cpufreq/pmcr.c
87
static int pmcr_settings(device_t dev, struct cf_setting *sets, int *count);
sys/powerpc/cpufreq/pmufreq.c
145
pmufreq_settings(device_t dev, struct cf_setting *sets, int *count)
sys/powerpc/cpufreq/pmufreq.c
150
if (sets == NULL || count == NULL)
sys/powerpc/cpufreq/pmufreq.c
152
if (*count < 2)
sys/powerpc/cpufreq/pmufreq.c
163
*count = 2;
sys/powerpc/cpufreq/pmufreq.c
54
static int pmufreq_settings(device_t dev, struct cf_setting *sets, int *count);
sys/powerpc/include/dbdma.h
141
int stream, bus_addr_t data, size_t count, uint8_t interrupt,
sys/powerpc/include/pmap.h
329
void pmap_page_array_startup(long count);
sys/powerpc/mpc85xx/fsl_sata.c
1043
int count, timeout = ccb->ccb_h.timeout * 100;
sys/powerpc/mpc85xx/fsl_sata.c
1046
for (count = 0; count < timeout; count++) {
sys/powerpc/mpc85xx/fsl_sata.c
1059
if (timeout && (count >= timeout)) {
sys/powerpc/mpc85xx/isa.c
48
u_long start, u_long end, u_long count, u_int flags)
sys/powerpc/mpc85xx/isa.c
68
resource_list_add(rl, type, rid, start, end, count);
sys/powerpc/mpc85xx/isa.c
72
count, flags));
sys/powerpc/mpc85xx/lbc.c
370
rman_res_t start, end, count;
sys/powerpc/mpc85xx/lbc.c
395
start = count = 0;
sys/powerpc/mpc85xx/lbc.c
401
count <<= 32;
sys/powerpc/mpc85xx/lbc.c
402
count |= reg[addr_cells + j - 1];
sys/powerpc/mpc85xx/lbc.c
408
end = start + count - 1;
sys/powerpc/mpc85xx/lbc.c
411
"count = %jx\n", bank, start, end, count);
sys/powerpc/mpc85xx/lbc.c
415
end, count);
sys/powerpc/mpc85xx/lbc.c
701
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/powerpc/mpc85xx/lbc.c
711
return (bus_alloc_resource(bus, type, rid, start, end, count,
sys/powerpc/mpc85xx/lbc.c
733
count = rle->count;
sys/powerpc/mpc85xx/lbc.c
734
end = start + count - 1;
sys/powerpc/mpc85xx/lbc.c
737
end, count, flags));
sys/powerpc/mpc85xx/pci_mpc85xx.c
224
int count, int maxcount, int *irqs);
sys/powerpc/mpc85xx/pci_mpc85xx.c
226
int count, int *irqs);
sys/powerpc/mpc85xx/pci_mpc85xx.c
789
int count, int maxcount, int *irqs)
sys/powerpc/mpc85xx/pci_mpc85xx.c
797
err = vmem_xalloc(msi_vmem, count, powerof2(count), 0, 0,
sys/powerpc/mpc85xx/pci_mpc85xx.c
803
for (i = 0; i < count; i++)
sys/powerpc/mpc85xx/pci_mpc85xx.c
810
int count, int *irqs)
sys/powerpc/mpc85xx/pci_mpc85xx.c
815
vmem_xfree(msi_vmem, irqs[0], count);
sys/powerpc/ofw/ofw_machdep.c
466
int count, msz;
sys/powerpc/ofw/ofw_machdep.c
481
count = parse_numa_ofw_memory(phandle, "reg", &memp[msz]);
sys/powerpc/ofw/ofw_machdep.c
482
if (count == 0)
sys/powerpc/ofw/ofw_machdep.c
485
MPASS(count == 1);
sys/powerpc/ofw/ofw_machdep.c
492
msz += count;
sys/powerpc/ofw/ofw_syscons.c
485
u_char *data, int c, int count)
sys/powerpc/ofw/ofw_syscons.c
493
u_char *data, int c, int count)
sys/powerpc/powermac/cpcht.c
382
cpcht_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/powerpc/powermac/cpcht.c
396
for (i = 8; i < 124 - count; i++) {
sys/powerpc/powermac/cpcht.c
397
for (j = 0; j < count; j++) {
sys/powerpc/powermac/cpcht.c
401
if (j == count)
sys/powerpc/powermac/cpcht.c
407
if (j != count) {
sys/powerpc/powermac/cpcht.c
412
for (j = 0; j < count; j++) {
sys/powerpc/powermac/cpcht.c
422
cpcht_release_msi(device_t dev, device_t child, int count, int *irqs)
sys/powerpc/powermac/cpcht.c
430
for (i = 0; i < count; i++)
sys/powerpc/powermac/cpcht.c
81
int count, int maxcount, int *irqs);
sys/powerpc/powermac/cpcht.c
83
int count, int *irqs);
sys/powerpc/powermac/dbdma.c
279
bus_addr_t data, size_t count, uint8_t interrupt, uint8_t branch,
sys/powerpc/powermac/dbdma.c
291
cmd.reqCount = count;
sys/powerpc/powermac/macgpio.c
264
rman_res_t start, rman_res_t end, rman_res_t count,
sys/powerpc/powermac/macgpio.c
275
rid, start, end, count, flags));
sys/powerpc/powermac/macio.c
525
rman_res_t start, rman_res_t end, rman_res_t count,
sys/powerpc/powermac/macio.c
568
type, rid, start, end, count, flags);
sys/powerpc/powermac/macio.c
587
type, rid, start, end, count, flags));
sys/powerpc/powermac/uninorth.c
482
rman_res_t start, rman_res_t end, rman_res_t count,
sys/powerpc/powermac/uninorth.c
526
type, rid, start, end, count,
sys/powerpc/powermac/uninorth.c
547
type, rid, start, end, count,
sys/powerpc/powernv/opal_async.c
58
opal_init_async_tokens(int count)
sys/powerpc/powernv/opal_async.c
64
async_token_pool = vmem_create("OPAL Async", 0, count, 1, 1,
sys/powerpc/powernv/opal_async.c
66
completions = malloc(count * sizeof(struct async_completion),
sys/powerpc/powernv/opal_flash.c
159
caddr_t data, off_t count)
sys/powerpc/powernv/opal_flash.c
166
count % sc->sc_disk->d_sectorsize != 0)
sys/powerpc/powernv/opal_flash.c
176
while (count > 0) {
sys/powerpc/powernv/opal_flash.c
177
size = MIN(count, PAGE_SIZE);
sys/powerpc/powernv/opal_flash.c
188
count -= size;
sys/powerpc/powernv/opal_flash.c
202
opalflash_erase(struct opalflash_softc *sc, off_t off, off_t count)
sys/powerpc/powernv/opal_flash.c
209
count % sc->sc_disk->d_stripesize != 0)
sys/powerpc/powernv/opal_flash.c
214
rv = opal_call(OPAL_FLASH_ERASE, sc->sc_opal_id, off, count, token);
sys/powerpc/powernv/opal_flash.c
232
caddr_t data, off_t count)
sys/powerpc/powernv/opal_flash.c
239
count % sc->sc_disk->d_sectorsize != 0)
sys/powerpc/powernv/opal_flash.c
244
rv = opalflash_erase(sc, off, count);
sys/powerpc/powernv/opal_flash.c
255
while (count > 0) {
sys/powerpc/powernv/opal_flash.c
256
size = MIN(count, PAGE_SIZE);
sys/powerpc/powernv/opal_flash.c
267
count -= size;
sys/powerpc/powernv/opal_pci.c
222
int count;
sys/powerpc/powernv/opal_pci.c
226
count = OF_getencprop(node, "ibm,supported-tce-sizes",
sys/powerpc/powernv/opal_pci.c
228
if (count < (int) sizeof(cell_t))
sys/powerpc/powernv/opal_pci.c
231
count /= sizeof(cell_t);
sys/powerpc/powernv/opal_pci.c
233
return (1ULL << sizes[count - 1]);
sys/powerpc/powernv/opal_pci.c
608
opalpci_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/powerpc/powernv/opal_pci.c
620
err = vmem_xalloc(sc->msi_vmem, count, powerof2(count), 0, 0,
sys/powerpc/powernv/opal_pci.c
627
for (i = 0; i < count; i++)
sys/powerpc/powernv/opal_pci.c
634
opalpci_release_msi(device_t dev, device_t child, int count, int *irqs)
sys/powerpc/powernv/opal_pci.c
642
vmem_xfree(sc->msi_vmem, irqs[0] - sc->base_msi_irq, count);
sys/powerpc/powernv/opal_pci.c
80
int count, int maxcount, int *irqs);
sys/powerpc/powernv/opal_pci.c
82
int count, int *irqs);
sys/powerpc/powerpc/db_trace.c
132
db_backtrace(struct thread *td, db_addr_t fp, int count)
sys/powerpc/powerpc/db_trace.c
178
if (count-- == 0)
sys/powerpc/powerpc/db_trace.c
312
db_trace_thread(struct thread *td, int count)
sys/powerpc/powerpc/db_trace.c
317
return (db_backtrace(td, (db_addr_t)ctx->pcb_sp, count));
sys/powerpc/ps3/ps3bus.c
552
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/powerpc/ps3/ps3bus.c
590
adjcount = ulmax(count, rle->count);
sys/powerpc/ps3/ps3bus.c
63
rman_res_t count, u_int flags);
sys/powerpc/psim/ata_iobus.c
133
rman_res_t start, rman_res_t end, rman_res_t count,
sys/powerpc/psim/ata_iobus.c
160
count = ATA_IOSIZE;
sys/powerpc/psim/ata_iobus.c
163
start, end, count, flags);
sys/powerpc/psim/ata_iobus.c
170
count = ATA_CTLIOSIZE;
sys/powerpc/psim/ata_iobus.c
173
start, end, count, flags);
sys/powerpc/psim/iobus.c
323
rman_res_t start, rman_res_t end, rman_res_t count,
sys/powerpc/psim/iobus.c
331
start, end, count, flags));
sys/powerpc/psim/iobus.c
333
return (bus_alloc_resource(bus, type, rid, start, end, count,
sys/riscv/include/vmm_dev.h
76
unsigned int count;
sys/riscv/iommu/iommu_pci.c
111
count = 4;
sys/riscv/iommu/iommu_pci.c
112
if (pci_alloc_msix(dev, &count) == 0) {
sys/riscv/iommu/iommu_pci.c
91
int count;
sys/riscv/iommu/iommu_pmap.c
184
pmap_resident_count_inc(struct riscv_iommu_pmap *pmap, int count)
sys/riscv/iommu/iommu_pmap.c
188
pmap->sp_resident_count += count;
sys/riscv/iommu/iommu_pmap.c
192
pmap_resident_count_dec(struct riscv_iommu_pmap *pmap, int count)
sys/riscv/iommu/iommu_pmap.c
196
KASSERT(pmap->sp_resident_count >= count,
sys/riscv/iommu/iommu_pmap.c
198
pmap->sp_resident_count, count));
sys/riscv/iommu/iommu_pmap.c
199
pmap->sp_resident_count -= count;
sys/riscv/iommu/iommu_pmap.c
203
pmap_resident_count_inc(struct riscv_iommu_pmap *pmap, int count)
sys/riscv/iommu/iommu_pmap.c
208
pmap_resident_count_dec(struct riscv_iommu_pmap *pmap, int count)
sys/riscv/riscv/db_trace.c
122
db_trace_thread(struct thread *thr, int count)
sys/riscv/riscv/nexus.c
230
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/riscv/riscv/nexus.c
241
if (RMAN_IS_DEFAULT_RANGE(start, end) && (count == 1)) {
sys/riscv/riscv/nexus.c
249
count = rle->count;
sys/riscv/riscv/nexus.c
253
start, end, count, flags));
sys/riscv/riscv/pmap.c
1393
pmap_qenter(void *sva, vm_page_t *ma, int count)
sys/riscv/riscv/pmap.c
1404
for (i = 0; i < count; i++) {
sys/riscv/riscv/pmap.c
1426
pmap_qremove(void *sva, int count)
sys/riscv/riscv/pmap.c
1434
for (; count-- > 0; va += PAGE_SIZE) {
sys/riscv/riscv/pmap.c
4212
int count, md_gen, pvh_gen;
sys/riscv/riscv/pmap.c
4220
count = 0;
sys/riscv/riscv/pmap.c
4238
count++;
sys/riscv/riscv/pmap.c
4259
count++;
sys/riscv/riscv/pmap.c
4265
return (count);
sys/riscv/riscv/pmap.c
508
pmap_resident_count_inc(pmap_t pmap, int count)
sys/riscv/riscv/pmap.c
512
pmap->pm_stats.resident_count += count;
sys/riscv/riscv/pmap.c
516
pmap_resident_count_dec(pmap_t pmap, int count)
sys/riscv/riscv/pmap.c
520
KASSERT(pmap->pm_stats.resident_count >= count,
sys/riscv/riscv/pmap.c
522
pmap->pm_stats.resident_count, count));
sys/riscv/riscv/pmap.c
523
pmap->pm_stats.resident_count -= count;
sys/riscv/riscv/pmap.c
5331
pmap_map_io_transient(vm_page_t page[], void *vaddr[], int count,
sys/riscv/riscv/pmap.c
5344
for (i = 0; i < count; i++) {
sys/riscv/riscv/pmap.c
5363
for (i = 0; i < count; i++) {
sys/riscv/riscv/pmap.c
5375
pmap_unmap_io_transient(vm_page_t page[], void *vaddr[], int count,
sys/riscv/riscv/pmap.c
5383
for (i = 0; i < count; i++) {
sys/riscv/starfive/jh7110_pcie.c
303
jh7110_pcie_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount,
sys/riscv/starfive/jh7110_pcie.c
313
for (beg = 0; beg + count < MSI_COUNT; ) {
sys/riscv/starfive/jh7110_pcie.c
314
for (i = beg; i < beg + count; i++) {
sys/riscv/starfive/jh7110_pcie.c
325
device_printf(dev, "warning: failed to allocate %d MSIs.\n", count);
sys/riscv/starfive/jh7110_pcie.c
331
for (i = 0; i < count; ++i) {
sys/riscv/starfive/jh7110_pcie.c
343
jh7110_pcie_alloc_msi(device_t pci, device_t child, int count,
sys/riscv/starfive/jh7110_pcie.c
350
err = intr_alloc_msi(pci, child, msi_parent, count, maxcount, irqs);
sys/riscv/starfive/jh7110_pcie.c
356
jh7110_pcie_release_msi(device_t pci, device_t child, int count, int *irqs)
sys/riscv/starfive/jh7110_pcie.c
362
err = intr_release_msi(pci, child, msi_parent, count, irqs);
sys/riscv/starfive/jh7110_pcie.c
424
jh7110_pcie_msi_release_msi(device_t dev, device_t child, int count,
sys/riscv/starfive/jh7110_pcie.c
434
for (i = 0; i < count; i++) {
sys/rpc/rpcsec_gss/rpcsec_gss_conf.c
101
count++;
sys/rpc/rpcsec_gss/rpcsec_gss_conf.c
103
count++;
sys/rpc/rpcsec_gss/rpcsec_gss_conf.c
105
mech_names = malloc(count * sizeof(const char *), M_RPC, M_WAITOK);
sys/rpc/rpcsec_gss/rpcsec_gss_conf.c
106
count = 0;
sys/rpc/rpcsec_gss/rpcsec_gss_conf.c
108
mech_names[count++] = km->km_mech_name;
sys/rpc/rpcsec_gss/rpcsec_gss_conf.c
110
mech_names[count++] = NULL;
sys/rpc/rpcsec_gss/rpcsec_gss_conf.c
94
int count;
sys/rpc/rpcsec_gss/rpcsec_gss_conf.c
99
count = 0;
sys/rpc/rpcsec_gss/svc_rpcsec_gss.c
293
oid_set.count = 1;
sys/security/audit/bsm_token.c
1280
au_to_exec_strings(char *strs, int count, u_char type)
sys/security/audit/bsm_token.c
1289
ctr = count;
sys/security/audit/bsm_token.c
1297
ADD_U_INT32(dptr, count);
sys/security/audit/bsm_token.c
1338
int i, count = 0;
sys/security/audit/bsm_token.c
1348
count++;
sys/security/audit/bsm_token.c
1349
nextarg = *(argv + count);
sys/security/audit/bsm_token.c
1355
ADD_U_INT32(dptr, count);
sys/security/audit/bsm_token.c
1357
for (i = 0; i < count; i++) {
sys/security/audit/bsm_token.c
1375
int i, count = 0;
sys/security/audit/bsm_token.c
1386
count++;
sys/security/audit/bsm_token.c
1387
nextenv = *(envp + count);
sys/security/audit/bsm_token.c
1393
ADD_U_INT32(dptr, count);
sys/security/audit/bsm_token.c
1395
for (i = 0; i < count; i++) {
sys/security/mac/mac_framework.c
423
int count;
sys/security/mac/mac_framework.c
467
MPASS(mpfe->count >= 0);
sys/security/mac/mac_framework.c
468
mpfe->count++;
sys/security/mac/mac_framework.c
469
if (mpfe->count == 1) {
sys/security/mac/mac_framework.c
479
MPASS(mpfe->count >= 1);
sys/security/mac/mac_framework.c
480
mpfe->count--;
sys/security/mac/mac_framework.c
481
if (mpfe->count == 0) {
sys/security/mac/mac_framework.h
147
bool have_addr, db_expr_t count, char *modif);
sys/security/mac/mac_kdb.c
71
bool have_addr, db_expr_t count, char *modif)
sys/security/mac/mac_kdb.c
76
count, modif);
sys/security/mac/mac_policy.h
186
db_expr_t addr, bool have_addr, db_expr_t count,
sys/security/mac_ddb/mac_ddb.c
107
db_thread_valid(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/security/mac_ddb/mac_ddb.c
127
db_show_ffs_valid(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/security/mac_ddb/mac_ddb.c
143
db_show_prison_valid(db_expr_t addr, bool have_addr, db_expr_t count,
sys/security/mac_ddb/mac_ddb.c
162
db_show_proc_valid(db_expr_t addr, bool have_addr, db_expr_t count,
sys/security/mac_ddb/mac_ddb.c
183
db_show_rman_valid(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/security/mac_ddb/mac_ddb.c
197
db_show_vnet_valid(db_expr_t addr, bool have_addr, db_expr_t count, char *modif)
sys/security/mac_ddb/mac_ddb.c
335
bool have_addr, db_expr_t count, char *modif)
sys/security/mac_ddb/mac_ddb.c
342
if (vfn(addr, have_addr, count, modif) == 0)
sys/security/mac_ddb/mac_ddb.c
72
typedef int db_validation_fn_t(db_expr_t addr, bool have_addr, db_expr_t count,
sys/security/mac_stub/mac_stub.c
336
db_expr_t count, char *modif)
sys/security/mac_test/mac_test.c
485
db_expr_t count, char *modif)
sys/security/mac_veriexec/veriexec_fingerprint.c
146
size_t count, nread, resid;
sys/security/mac_veriexec/veriexec_fingerprint.c
155
count = file_size - offset;
sys/security/mac_veriexec/veriexec_fingerprint.c
157
count = PAGE_SIZE;
sys/security/mac_veriexec/veriexec_fingerprint.c
159
error = vn_rdwr_inchunks(UIO_READ, vp, filebuf, count, offset,
sys/security/mac_veriexec/veriexec_fingerprint.c
165
nread = count - resid;
sys/sys/_blockcount.h
45
blockcount_read(blockcount_t *count)
sys/sys/_blockcount.h
47
return (_BLOCKCOUNT_COUNT(atomic_load_int(&count->__count)));
sys/sys/alq.h
82
int size, int count);
sys/sys/ata.h
976
u_int16_t count;
sys/sys/ata.h
984
int count;
sys/sys/blist.h
92
daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
sys/sys/blist.h
96
daddr_t blist_fill(blist_t bl, daddr_t blkno, daddr_t count);
sys/sys/blist.h
97
void blist_free(blist_t blist, daddr_t blkno, daddr_t count);
sys/sys/blist.h
99
void blist_resize(blist_t *pblist, daddr_t count, int freenew, int flags);
sys/sys/buf.h
626
int vfs_bio_getpages(struct vnode *vp, struct vm_page **ma, int count,
sys/sys/buf_ring.h
358
struct buf_ring *buf_ring_alloc(int count, struct malloc_type *type, int flags,
sys/sys/buf_ring.h
366
buf_ring_alloc(int count)
sys/sys/buf_ring.h
370
KASSERT(powerof2(count), ("buf ring must be size power of 2"));
sys/sys/buf_ring.h
372
br = calloc(1, sizeof(struct buf_ring) + count * sizeof(void *));
sys/sys/buf_ring.h
375
br->br_prod_size = br->br_cons_size = count;
sys/sys/buf_ring.h
376
br->br_prod_mask = br->br_cons_mask = count - 1;
sys/sys/bus.h
371
rman_res_t count; /**< @brief count within range */
sys/sys/bus.h
384
rman_res_t start, rman_res_t end, rman_res_t count);
sys/sys/bus.h
387
rman_res_t start, rman_res_t end, rman_res_t count);
sys/sys/bus.h
401
rman_res_t count, u_int flags);
sys/sys/bus.h
413
rman_res_t count, u_int flags);
sys/sys/bus.h
446
rman_res_t count, u_int flags);
sys/sys/bus.h
509
rman_res_t end, rman_res_t count,
sys/sys/bus.h
564
rman_res_t count, u_int flags);
sys/sys/bus.h
589
rman_res_t start, rman_res_t count);
sys/sys/bus.h
613
rman_res_t count, u_int flags)
sys/sys/bus.h
615
return (bus_alloc_resource(dev, type, rid, 0, ~0, count, flags));
sys/sys/bus.h
621
rman_res_t end, rman_res_t count, u_int flags)
sys/sys/bus.h
623
return (bus_alloc_resource(dev, type, *rid, start, end, count, flags));
sys/sys/bus.h
634
rman_res_t count, u_int flags)
sys/sys/bus.h
636
return (bus_alloc_resource(dev, type, *rid, 0, ~0, count, flags));
sys/sys/bus.h
639
#define bus_alloc_resource(dev, type, rid, start, end, count, flags) \
sys/sys/bus.h
644
((dev), (type), (rid), (start), (end), (count), (flags))
sys/sys/bus.h
653
#define bus_alloc_resource_anywhere(dev, type, rid, count, flags) \
sys/sys/bus.h
658
((dev), (type), (rid), (count), (flags))
sys/sys/bus_dma.h
260
u_int count);
sys/sys/cfictl.h
41
unsigned long count;
sys/sys/cpu.h
77
cpu_get_cpuid(device_t dev, size_t *count)
sys/sys/cpu.h
84
*count = (size_t)v;
sys/sys/event.h
342
int (*k_copyout)(void *arg, struct kevent *kevp, int count);
sys/sys/event.h
343
int (*k_copyin)(void *arg, struct kevent *kevp, int count);
sys/sys/fbio.h
188
int count; /* number of elements */
sys/sys/fbio.h
443
int count; /* number of elements */
sys/sys/gmon.h
130
long count;
sys/sys/imgact_elf.h
110
int count; /* Count of writable segments. */
sys/sys/mbuf.h
821
void mb_free_notready(struct mbuf *m, int count);
sys/sys/md4.h
33
u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */
sys/sys/md5.h
41
u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */
sys/sys/mount.h
1224
#define vfs_mp_count_add_pcpu(_mpcpu, count, val) do { \
sys/sys/mount.h
1226
_mpcpu->mntp_##count += val; \
sys/sys/mount.h
1229
#define vfs_mp_count_sub_pcpu(_mpcpu, count, val) do { \
sys/sys/mount.h
1231
_mpcpu->mntp_##count -= val; \
sys/sys/pctrie.h
221
struct type *value[], int count) \
sys/sys/pctrie.h
225
count = pctrie_lookup_range(ptree, key, data, count); \
sys/sys/pctrie.h
226
for (int i = 0; i < count; i++) \
sys/sys/pctrie.h
228
return (count); \
sys/sys/pctrie.h
233
struct type *value[], int count) \
sys/sys/pctrie.h
237
count = pctrie_iter_lookup_range(it, key, data, count); \
sys/sys/pctrie.h
238
for (int i = 0; i < count; i++) \
sys/sys/pctrie.h
240
return (count); \
sys/sys/pctrie.h
412
uint64_t index, uint64_t *value[], int count);
sys/sys/pctrie.h
414
uint64_t index, uint64_t *value[], int count, smr_t smr);
sys/sys/pctrie.h
416
uint64_t *value[], int count);
sys/sys/pctrie.h
89
struct type *value[], int count) \
sys/sys/pctrie.h
93
count = pctrie_lookup_range_unlocked(ptree, key, data, count, \
sys/sys/pctrie.h
95
for (int i = 0; i < count; i++) \
sys/sys/pctrie.h
97
return (count); \
sys/sys/refcount.h
103
old = atomic_load_int(count);
sys/sys/refcount.h
107
if (__predict_true(atomic_fcmpset_int(count, &old,
sys/sys/refcount.h
118
refcount_acquire_if_gt(volatile u_int *count, u_int n)
sys/sys/refcount.h
122
old = atomic_load_int(count);
sys/sys/refcount.h
128
if (atomic_fcmpset_int(count, &old, old + 1))
sys/sys/refcount.h
134
refcount_acquire_if_not_zero(volatile u_int *count)
sys/sys/refcount.h
137
return (refcount_acquire_if_gt(count, 0));
sys/sys/refcount.h
141
refcount_releasen(volatile u_int *count, u_int n)
sys/sys/refcount.h
149
old = atomic_fetchadd_int(count, -n);
sys/sys/refcount.h
151
_refcount_update_saturated(count);
sys/sys/refcount.h
168
refcount_release(volatile u_int *count)
sys/sys/refcount.h
171
return (refcount_releasen(count, 1));
sys/sys/refcount.h
176
_refcount_release_if_##name(volatile u_int *count, u_int n) \
sys/sys/refcount.h
181
old = atomic_load_int(count); \
sys/sys/refcount.h
187
if (atomic_fcmpset_rel_int(count, &old, old - 1)) \
sys/sys/refcount.h
195
refcount_release_if_gt(volatile u_int *count, u_int n)
sys/sys/refcount.h
198
return (_refcount_release_if_gt(count, n));
sys/sys/refcount.h
202
refcount_release_if_last(volatile u_int *count)
sys/sys/refcount.h
205
if (_refcount_release_if_eq(count, 1)) {
sys/sys/refcount.h
214
refcount_release_if_not_last(volatile u_int *count)
sys/sys/refcount.h
217
return (_refcount_release_if_gt(count, 1));
sys/sys/refcount.h
49
_refcount_update_saturated(volatile u_int *count)
sys/sys/refcount.h
52
panic("refcount %p wraparound", count);
sys/sys/refcount.h
54
atomic_store_int(count, REFCOUNT_SATURATION_VALUE);
sys/sys/refcount.h
59
refcount_init(volatile u_int *count, u_int value)
sys/sys/refcount.h
63
atomic_store_int(count, value);
sys/sys/refcount.h
67
refcount_load(volatile const u_int *count)
sys/sys/refcount.h
69
return (atomic_load_int(count));
sys/sys/refcount.h
73
refcount_acquire(volatile u_int *count)
sys/sys/refcount.h
77
old = atomic_fetchadd_int(count, 1);
sys/sys/refcount.h
79
_refcount_update_saturated(count);
sys/sys/refcount.h
85
refcount_acquiren(volatile u_int *count, u_int n)
sys/sys/refcount.h
91
old = atomic_fetchadd_int(count, n);
sys/sys/refcount.h
93
_refcount_update_saturated(count);
sys/sys/refcount.h
99
refcount_acquire_checked(volatile u_int *count)
sys/sys/resourcevar.h
84
int count;
sys/sys/resourcevar.h
91
lb->count = 0;
sys/sys/rman.h
150
rman_res_t end, rman_res_t count,
sys/sys/smp.h
168
struct cpu_group *smp_topo_alloc(u_int count);
sys/sys/syscallsubr.h
197
int kern_getdirentries(struct thread *td, int fd, char *buf, size_t count,
sys/sys/syscallsubr.h
317
enum uio_seg pathseg, char *buf, enum uio_seg bufseg, size_t count);
sys/sys/syscallsubr.h
431
u_int count, long *basep, void (*func)(struct freebsd11_dirent *));
sys/sys/sysproto.h
1019
char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)];
sys/sys/sysproto.h
1686
char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)];
sys/sys/sysproto.h
233
char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)];
sys/sys/sysproto.h
2503
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
sys/sys/sysproto.h
2739
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
sys/sys/sysproto.h
2745
char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)];
sys/sys/systm.h
145
int dumpstatus(vm_offset_t addr, off_t count);
sys/sys/systm.h
150
void *hashinit(int count, struct malloc_type *type, u_long *hashmask);
sys/sys/systm.h
151
void *hashinit_flags(int count, struct malloc_type *type,
sys/sys/systm.h
156
void *phashinit(int count, struct malloc_type *type, u_long *nentries);
sys/sys/systm.h
157
void *phashinit_flags(int count, struct malloc_type *type, u_long *nentries,
sys/sys/taskqueue.h
72
int taskqueue_start_threads(struct taskqueue **tqp, int count, int pri,
sys/sys/taskqueue.h
74
int taskqueue_start_threads_in_proc(struct taskqueue **tqp, int count,
sys/sys/taskqueue.h
76
int taskqueue_start_threads_cpuset(struct taskqueue **tqp, int count,
sys/sys/user.h
481
uint32_t count;
sys/sys/user.h
486
uint32_t count;
sys/tests/fib_lookup/fib_lookup.c
167
uint64_t count = 0;
sys/tests/fib_lookup/fib_lookup.c
172
count++;
sys/tests/fib_lookup/fib_lookup.c
175
return (count);
sys/tests/fib_lookup/fib_lookup.c
183
int count = 0;
sys/tests/fib_lookup/fib_lookup.c
184
int error = sysctl_handle_int(oidp, &count, 0, req);
sys/tests/fib_lookup/fib_lookup.c
188
if (count == 0)
sys/tests/fib_lookup/fib_lookup.c
194
printf("run: %d packets vnet %p\n", count, curvnet);
sys/tests/fib_lookup/fib_lookup.c
195
if (count < CHUNK_SIZE)
sys/tests/fib_lookup/fib_lookup.c
196
count = CHUNK_SIZE;
sys/tests/fib_lookup/fib_lookup.c
203
for (int pass = 0; pass < count / CHUNK_SIZE; pass++) {
sys/tests/fib_lookup/fib_lookup.c
232
uint64_t count = 0;
sys/tests/fib_lookup/fib_lookup.c
237
count++;
sys/tests/fib_lookup/fib_lookup.c
240
return (count);
sys/tests/fib_lookup/fib_lookup.c
248
int count = 0;
sys/tests/fib_lookup/fib_lookup.c
249
int error = sysctl_handle_int(oidp, &count, 0, req);
sys/tests/fib_lookup/fib_lookup.c
253
if (count == 0)
sys/tests/fib_lookup/fib_lookup.c
259
printf("run: %d packets vnet %p\n", count, curvnet);
sys/tests/fib_lookup/fib_lookup.c
260
if (count < CHUNK_SIZE)
sys/tests/fib_lookup/fib_lookup.c
261
count = CHUNK_SIZE;
sys/tests/fib_lookup/fib_lookup.c
268
for (int pass = 0; pass < count / CHUNK_SIZE; pass++) {
sys/tests/fib_lookup/fib_lookup.c
371
uint64_t count = 0;
sys/tests/fib_lookup/fib_lookup.c
378
count++;
sys/tests/fib_lookup/fib_lookup.c
381
return (count);
sys/tests/fib_lookup/fib_lookup.c
389
int count = 0;
sys/tests/fib_lookup/fib_lookup.c
390
int error = sysctl_handle_int(oidp, &count, 0, req);
sys/tests/fib_lookup/fib_lookup.c
394
if (count == 0)
sys/tests/fib_lookup/fib_lookup.c
397
if (count < CHUNK_SIZE)
sys/tests/fib_lookup/fib_lookup.c
398
count = CHUNK_SIZE;
sys/tests/fib_lookup/fib_lookup.c
405
for (int pass = 0; pass < count / CHUNK_SIZE; pass++) {
sys/tests/fib_lookup/fib_lookup.c
508
int count = 0;
sys/tests/fib_lookup/fib_lookup.c
509
int error = sysctl_handle_int(oidp, &count, 0, req);
sys/tests/fib_lookup/fib_lookup.c
513
if (count == 0)
sys/tests/fib_lookup/fib_lookup.c
701
int count = 0;
sys/tests/fib_lookup/fib_lookup.c
702
int error = sysctl_handle_int(oidp, &count, 0, req);
sys/tests/fib_lookup/fib_lookup.c
706
if (count == 0)
sys/tests/fib_lookup/fib_lookup.c
789
int i, pos, count = 0;
sys/tests/fib_lookup/fib_lookup.c
793
error = sysctl_handle_int(oidp, &count, 0, req);
sys/tests/fib_lookup/fib_lookup.c
796
if (count <= 0)
sys/tests/fib_lookup/fib_lookup.c
800
keys = malloc(sizeof(*keys) * count, M_TEMP, M_NOWAIT);
sys/tests/fib_lookup/fib_lookup.c
803
printf("Preparing %d random keys...\n", count);
sys/tests/fib_lookup/fib_lookup.c
804
arc4random_buf(keys, sizeof(*keys) * count);
sys/tests/fib_lookup/fib_lookup.c
808
wa.lim = count;
sys/tests/fib_lookup/fib_lookup.c
815
for (int i = 0; i < count; i++) {
sys/tests/fib_lookup/fib_lookup.c
816
p = random() % count;
sys/tests/fib_lookup/fib_lookup.c
838
for (i = 0, pos = 0; i < count; i++) {
sys/tests/fib_lookup/fib_lookup.c
852
if (pos >= count)
sys/tests/fib_lookup/fib_lookup.c
868
lps = 1000000000ULL * count / total_diff;
sys/tests/fib_lookup/fib_lookup.c
870
count, total_diff / 1000000, total_diff % 1000000,
sys/ufs/ffs/ffs_inode.c
242
ufs2_daddr_t count, blocksreleased = 0, blkno;
sys/ufs/ffs/ffs_inode.c
578
fsbtodb(fs, bn), lastiblock[level], level, &count);
sys/ufs/ffs/ffs_inode.c
581
blocksreleased += count;
sys/ufs/ffs/ffs_softdep.c
2026
int count, error;
sys/ufs/ffs/ffs_softdep.c
2038
while ((count = softdep_process_worklist(oldmnt, 1)) > 0) {
sys/ufs/ffs/ffs_softdep.c
2039
*countp += count;
sys/ufs/ffs/ffs_softdep.c
6582
int count;
sys/ufs/ffs/ffs_softdep.c
6610
count = indirdep->ir_savebp->b_bcount - start;
sys/ufs/ffs/ffs_softdep.c
6612
bzero((char *)start, count);
sys/ufs/ffs/ffs_vfsops.c
1575
int error, count, lockreq, allerror = 0;
sys/ufs/ffs/ffs_vfsops.c
1660
if ((error = softdep_flushworklist(ump->um_mountp, &count, td)))
sys/ufs/ffs/ffs_vfsops.c
1665
if (allerror == 0 && count)
sys/ufs/ufs/ufs_gjournal.c
54
ufs_gjournal_modref(struct vnode *vp, int count)
sys/ufs/ufs/ufs_gjournal.c
88
cgp->cg_unrefs += count;
sys/ufs/ufs/ufs_gjournal.c
90
fs->fs_unrefs += count;
sys/ufs/ufs/ufs_lookup.c
1307
ssize_t count;
sys/ufs/ufs/ufs_lookup.c
1313
NOCRED, &count, (struct thread *)0);
sys/ufs/ufs/ufs_lookup.c
1318
if (error || count != 0)
sys/vm/device_pager.c
370
dev_pager_getpages(vm_object_t object, vm_page_t *ma, int count, int *rbehind,
sys/vm/device_pager.c
376
KASSERT(count == 1, ("%s: count %d", __func__, count));
sys/vm/device_pager.c
487
dev_pager_putpages(vm_object_t object, vm_page_t *m, int count, int flags,
sys/vm/phys_pager.c
175
default_phys_pager_getpages(vm_object_t object, vm_page_t *m, int count,
sys/vm/phys_pager.c
180
for (i = 0; i < count; i++) {
sys/vm/phys_pager.c
199
phys_pager_getpages(vm_object_t object, vm_page_t *m, int count, int *rbehind,
sys/vm/phys_pager.c
203
count, rbehind, rahead));
sys/vm/phys_pager.c
273
phys_pager_putpages(vm_object_t object, vm_page_t *m, int count, int flags,
sys/vm/phys_pager.c
54
int count, int *rbehind, int *rahead);
sys/vm/sg_pager.c
146
sg_pager_getpages(vm_object_t object, vm_page_t *m, int count, int *rbehind,
sys/vm/sg_pager.c
158
KASSERT(count == 1, ("%s: count %d", __func__, count));
sys/vm/sg_pager.c
212
sg_pager_putpages(vm_object_t object, vm_page_t *m, int count,
sys/vm/swap_pager.c
1363
vm_page_t *ma, int count, int *a_rbehind, int *a_rahead, struct buf *bp)
sys/vm/swap_pager.c
1373
for (pindex = 0, i = 0; i < count; i++) {
sys/vm/swap_pager.c
1380
MPASS(i != count);
sys/vm/swap_pager.c
1387
KASSERT(count - 1 <= rahead,
sys/vm/swap_pager.c
1388
("page count %d extends beyond swap block", count));
sys/vm/swap_pager.c
1397
rahead = count - 1;
sys/vm/swap_pager.c
1402
rahead = a_rahead != NULL ? imin(*a_rahead, rahead - count + 1) : 0;
sys/vm/swap_pager.c
1404
vm_object_prepare_buf_pages(object, bp->b_pages, count, &rbehind,
sys/vm/swap_pager.c
1406
bp->b_npages = rbehind + count + rahead;
sys/vm/swap_pager.c
1409
bp->b_npages, rbehind, count, rahead, (uintmax_t)PBUF_PAGES));
sys/vm/swap_pager.c
1462
for (i = 0; i < count; i++) {
sys/vm/swap_pager.c
1467
MPASS(i != count);
sys/vm/swap_pager.c
1483
for (i = 0; i < count; i++) {
sys/vm/swap_pager.c
1499
swap_pager_getpages(vm_object_t object, vm_page_t *ma, int count,
sys/vm/swap_pager.c
1508
return (swap_pager_getpages_locked(&blks, object, ma, count, rbehind,
sys/vm/swap_pager.c
1519
swap_pager_getpages_async(vm_object_t object, vm_page_t *ma, int count,
sys/vm/swap_pager.c
1524
r = swap_pager_getpages(object, ma, count, rbehind, rahead);
sys/vm/swap_pager.c
1538
(iodone)(arg, ma, count, error);
sys/vm/swap_pager.c
1563
swap_pager_putpages(vm_object_t object, vm_page_t *ma, int count,
sys/vm/swap_pager.c
1574
KASSERT(count == 0 || ma[0]->object == object,
sys/vm/swap_pager.c
1587
for (i = 0; i < count; i += n) {
sys/vm/swap_pager.c
1589
n = min(count - i, nsw_cluster_max);
sys/vm/swap_pager.c
2268
vm_pindex_t pindex, vm_pindex_t count)
sys/vm/swap_pager.c
2282
if (count == 0 || swblk_is_empty(srcobject))
sys/vm/swap_pager.c
2287
last = pindex + count;
sys/vm/swap_pager.c
2346
swp_pager_meta_free(vm_object_t object, vm_pindex_t pindex, vm_pindex_t count,
sys/vm/swap_pager.c
2360
if (count == 0 || swblk_is_empty(object))
sys/vm/swap_pager.c
2365
last = pindex + count;
sys/vm/swap_pager.c
3069
long count;
sys/vm/swap_pager.c
3073
count = 0;
sys/vm/swap_pager.c
3092
count++;
sys/vm/swap_pager.c
3098
return (count);
sys/vm/swap_pager.c
504
vm_pindex_t pindex, vm_pindex_t count);
sys/vm/uma.h
128
typedef int (*uma_import)(void *arg, void **store, int count, int domain,
sys/vm/uma.h
134
typedef void (*uma_release)(void *arg, void **store, int count);
sys/vm/uma_core.c
2817
int count;
sys/vm/uma_core.c
2832
cnt->count = MAX(cnt->count,
sys/vm/uma_core.c
2882
cnt.count = 0;
sys/vm/uma_core.c
2884
zone->uz_namecnt = cnt.count;
sys/vm/uma_core.c
315
static int zone_alloc_limit(uma_zone_t zone, int count, int flags);
sys/vm/uma_core.c
316
static void zone_free_limit(uma_zone_t zone, int count);
sys/vm/uma_core.c
4177
zone_alloc_limit_hard(uma_zone_t zone, int count, int flags)
sys/vm/uma_core.c
4189
zone_free_limit(zone, count);
sys/vm/uma_core.c
4210
new = old + MIN(count, max - old);
sys/vm/uma_core.c
4244
-(UZ_ITEMS_SLEEPER - count));
sys/vm/uma_core.c
4258
if (total + count > max) {
sys/vm/uma_core.c
4259
zone_free_limit(zone, total + count - max);
sys/vm/uma_core.c
4260
count = max - total;
sys/vm/uma_core.c
4261
} else if (total + count < max && UZ_ITEMS_SLEEPERS(old) != 0)
sys/vm/uma_core.c
4264
return (count);
sys/vm/uma_core.c
4274
zone_alloc_limit(uma_zone_t zone, int count, int flags)
sys/vm/uma_core.c
4286
old = atomic_fetchadd_64(&zone->uz_items, count);
sys/vm/uma_core.c
4287
if (__predict_true(old + count <= max))
sys/vm/uma_core.c
4288
return (count);
sys/vm/uma_core.c
4297
zone_free_limit(zone, (old + count) - max);
sys/vm/uma_core.c
4300
return (zone_alloc_limit_hard(zone, count, flags));
sys/vm/uma_core.c
4307
zone_free_limit(uma_zone_t zone, int count)
sys/vm/uma_core.c
4311
MPASS(count > 0);
sys/vm/uma_core.c
4317
old = atomic_fetchadd_64(&zone->uz_items, -count);
sys/vm/uma_core.c
4319
UZ_ITEMS_COUNT(old) - count >= zone->uz_max_items))
sys/vm/uma_core.c
5245
uma_zone_reserve_kva(uma_zone_t zone, int count)
sys/vm/uma_core.c
5255
pages = howmany(count, keg->uk_ipers) * keg->uk_ppera;
sys/vm/uma_core.c
5555
int count;
sys/vm/uma_core.c
5557
count = 0;
sys/vm/uma_core.c
5561
count++;
sys/vm/uma_core.c
5564
count++;
sys/vm/uma_core.c
5567
return (sysctl_handle_int(oidp, &count, 0, req));
sys/vm/uma_core.c
5612
int count, error, i;
sys/vm/uma_core.c
5621
count = 0;
sys/vm/uma_core.c
5625
count++;
sys/vm/uma_core.c
5629
count++;
sys/vm/uma_core.c
5637
ush.ush_count = count;
sys/vm/vm_fault.c
2171
int count, error;
sys/vm/vm_fault.c
2186
count = atop(end - addr);
sys/vm/vm_fault.c
2239
*ppages_count = count;
sys/vm/vm_fault.c
2242
for (mp = ma; mp < ma + count; mp++)
sys/vm/vm_object.c
1004
int count, runlen;
sys/vm/vm_object.c
1010
for (count = 1; count <= runlen; count++) {
sys/vm/vm_object.c
1011
p = ma[count];
sys/vm/vm_object.c
1020
return (vm_pageout_flush(ma, count, pagerflags, eio));
sys/vm/vm_object.c
2300
vm_object_prepare_buf_pages(vm_object_t object, vm_page_t *ma_dst, int count,
sys/vm/vm_object.c
2329
for (int i = 0; i < count; i++)
sys/vm/vm_object.c
2332
m = ma_src[count - 1];
sys/vm/vm_object.c
2344
ma_dst[*rbehind + count + i] = m;
sys/vm/vm_object.c
2523
int count, error;
sys/vm/vm_object.c
2534
count = 0;
sys/vm/vm_object.c
2538
count++;
sys/vm/vm_object.c
2542
count * 11 / 10));
sys/vm/vm_object.c
2790
int count;
sys/vm/vm_object.c
2809
count = 0;
sys/vm/vm_object.c
2812
if (count == 0)
sys/vm/vm_object.c
2814
else if (count == 6) {
sys/vm/vm_object.c
2817
count = 0;
sys/vm/vm_object.c
2820
count++;
sys/vm/vm_object.c
2828
if (count != 0)
sys/vm/vm_object.c
2841
/* db_expr_t */ long count,
sys/vm/vm_object.c
2844
vm_object_print_static(addr, have_addr, count, modif);
sys/vm/vm_object.h
380
int count, int *rbehind, int *rahead, vm_page_t *ma_src);
sys/vm/vm_object.h
381
void vm_object_print(long addr, boolean_t have_addr, long count, char *modif);
sys/vm/vm_page.c
1289
vm_page_unhold_pages(vm_page_t *ma, int count)
sys/vm/vm_page.c
1292
for (; count != 0; count--) {
sys/vm/vm_page.c
2567
int count;
sys/vm/vm_page.c
2569
count = 1 << VM_NOFREE_IMPORT_ORDER;
sys/vm/vm_page.c
2570
if (!vm_domain_allocate(vmd, req, count)) {
sys/vm/vm_page.c
2577
vm_domain_freecnt_inc(vmd, count);
sys/vm/vm_page.c
2581
m->ref_count = count - 1;
sys/vm/vm_page.c
2583
atomic_add_long(&nofreeq_size, count);
sys/vm/vm_page.c
3182
#define RUN_INDEX(count, nruns) ((count) % (nruns))
sys/vm/vm_page.c
3218
u_long count, minalign, reclaimed;
sys/vm/vm_page.c
3274
count = vmd->vmd_free_count;
sys/vm/vm_page.c
3275
if (count < npages + vmd->vmd_free_reserved || (count < npages +
sys/vm/vm_page.c
3277
(count < npages && req_class == VM_ALLOC_INTERRUPT))
sys/vm/vm_page.c
3291
count = 0;
sys/vm/vm_page.c
3299
m_runs[RUN_INDEX(count, nruns)] = m_run;
sys/vm/vm_page.c
3300
count++;
sys/vm/vm_page.c
3318
for (i = 0; count > 0 && i < nruns; i++) {
sys/vm/vm_page.c
3319
count--;
sys/vm/vm_page.c
3320
m_run = m_runs[RUN_INDEX(count, nruns)];
sys/vm/vm_page.c
4229
int count;
sys/vm/vm_page.c
4234
count = 0;
sys/vm/vm_page.c
4236
count++;
sys/vm/vm_page.c
4242
vm_wire_sub(count);
sys/vm/vm_page.c
4243
return (count);
sys/vm/vm_page.c
4325
u_int count;
sys/vm/vm_page.c
4330
count = old & ~VPRC_BLOCKED;
sys/vm/vm_page.c
4331
if (count > VPRC_OBJREF + 1) {
sys/vm/vm_page.c
4340
} else if (count == VPRC_OBJREF + 1) {
sys/vm/vm_page.c
4349
} else if (count == 1) {
sys/vm/vm_page.c
5243
vm_page_t *ma, int count)
sys/vm/vm_page.c
5253
KASSERT(count > 0,
sys/vm/vm_page.c
5254
("vm_page_grab_pages: invalid page count %d", count));
sys/vm/vm_page.c
5262
for (; i < count; i++) {
sys/vm/vm_page.c
5265
&pages, pindex + i, &ma[i], count - i);
sys/vm/vm_page.c
5281
pflags | VM_ALLOC_COUNT(count - i), &pages);
sys/vm/vm_page.c
5308
int allocflags, vm_page_t *ma, int count)
sys/vm/vm_page.c
5314
KASSERT(count > 0,
sys/vm/vm_page.c
5315
("vm_page_grab_pages_unlocked: invalid page count %d", count));
sys/vm/vm_page.c
5325
ma, count);
sys/vm/vm_page.c
5342
if (i == count || (allocflags & VM_ALLOC_NOCREAT) != 0)
sys/vm/vm_page.c
5344
count -= i;
sys/vm/vm_page.c
5346
i += vm_page_grab_pages(object, pindex, allocflags, &ma[i], count);
sys/vm/vm_page.h
510
#define VM_ALLOC_COUNT(count) ({ /* (acgn) Additional pages */ \
sys/vm/vm_page.h
511
KASSERT((count) <= VM_ALLOC_COUNT_MAX, \
sys/vm/vm_page.h
513
(count) << VM_ALLOC_COUNT_SHIFT; \
sys/vm/vm_page.h
601
vm_page_t *ma, int count);
sys/vm/vm_page.h
603
int allocflags, vm_page_t *ma, int count);
sys/vm/vm_page.h
659
void vm_page_unhold_pages(vm_page_t *ma, int count);
sys/vm/vm_pageout.c
468
vm_pageout_flush(vm_page_t *mc, int count, int flags, bool *eio)
sys/vm/vm_pageout.c
471
int pageout_status[count];
sys/vm/vm_pageout.c
487
for (i = 0; i < count; i++) {
sys/vm/vm_pageout.c
490
mc[i], i, count));
sys/vm/vm_pageout.c
495
vm_object_pip_add(object, count);
sys/vm/vm_pageout.c
497
vm_pager_put_pages(object, mc, count, flags, pageout_status);
sys/vm/vm_pageout.c
499
runlen = count;
sys/vm/vm_pageout.c
502
for (i = 0; i < count; i++) {
sys/vm/vm_pageout.c
555
if (runlen == count)
sys/vm/vm_pageout.h
103
int vm_pageout_flush(vm_page_t *mc, int count, int flags, bool *eio);
sys/vm/vm_pager.c
103
dead_pager_getpages(vm_object_t obj, vm_page_t *ma, int count, int *rbehind,
sys/vm/vm_pager.c
119
dead_pager_putpages(vm_object_t object, vm_page_t *m, int count,
sys/vm/vm_pager.c
124
for (i = 0; i < count; i++)
sys/vm/vm_pager.c
280
vm_pager_assert_in(vm_object_t object, vm_page_t *m, int count)
sys/vm/vm_pager.c
292
KASSERT(count > 0, ("%s: 0 count", __func__));
sys/vm/vm_pager.c
293
for (int i = 0 ; i < count; i++) {
sys/vm/vm_pager.c
295
KASSERT(i != 0 && i != count - 1,
sys/vm/vm_pager.c
319
vm_pager_get_pages(vm_object_t object, vm_page_t *m, int count, int *rbehind,
sys/vm/vm_pager.c
328
vm_pager_assert_in(object, m, count);
sys/vm/vm_pager.c
330
r = (*pagertab[object->type]->pgo_getpages)(object, m, count, rbehind,
sys/vm/vm_pager.c
335
for (int i = 0; i < count; i++) {
sys/vm/vm_pager.c
356
vm_pager_get_pages_async(vm_object_t object, vm_page_t *m, int count,
sys/vm/vm_pager.c
361
vm_pager_assert_in(object, m, count);
sys/vm/vm_pager.c
364
count, rbehind, rahead, iodone, arg));
sys/vm/vm_pager.h
147
vm_pager_put_pages(vm_object_t object, vm_page_t *m, int count, int flags,
sys/vm/vm_pager.h
152
(object, m, count, flags, rtvals);
sys/vm/vm_pager.h
309
int (*phys_pg_getpages)(vm_object_t vm_obj, vm_page_t *m, int count,
sys/vm/vm_radix.h
110
vm_page_t ma[], int count)
sys/vm/vm_radix.h
113
ma, count));
sys/vm/vm_radix.h
122
vm_page_t ma[], int count)
sys/vm/vm_radix.h
124
return (VM_RADIX_PCTRIE_ITER_LOOKUP_RANGE(pages, index, ma, count));
sys/vm/vm_reserv.c
1435
vm_pindex_t count;
sys/vm/vm_reserv.c
1439
count = 0;
sys/vm/vm_reserv.c
1442
count += howmany(vm_phys_segs[i].end, VM_LEVEL_0_SIZE) -
sys/vm/vm_reserv.c
1445
count = MAX(count,
sys/vm/vm_reserv.c
1452
count += howmany(phys_avail[i + 1], VM_LEVEL_0_SIZE) -
sys/vm/vm_reserv.c
1455
count = MAX(count,
sys/vm/vm_reserv.c
1467
size = count * sizeof(struct vm_reserv);
sys/vm/vnode_pager.c
1001
KASSERT(count <= after + 1, ("%s: %d pages asked, can do only %d",
sys/vm/vnode_pager.c
1002
__func__, count, after + 1));
sys/vm/vnode_pager.c
1003
after -= count - 1;
sys/vm/vnode_pager.c
1015
if (rbehind + rahead + count > atop(maxphys)) {
sys/vm/vnode_pager.c
1018
trim = rbehind + rahead + count - atop(maxphys) + 1;
sys/vm/vnode_pager.c
1029
KASSERT(rbehind + rahead + count <= atop(maxphys),
sys/vm/vnode_pager.c
1031
rbehind, rahead, count, maxphys));
sys/vm/vnode_pager.c
1042
vm_object_prepare_buf_pages(object, bp->b_pages, count,
sys/vm/vnode_pager.c
1046
for (int j = 0; j < count; j++)
sys/vm/vnode_pager.c
1052
bp->b_npages = rbehind + count + rahead;
sys/vm/vnode_pager.c
1255
vnode_pager_putpages(vm_object_t object, vm_page_t *m, int count,
sys/vm/vnode_pager.c
1260
int bytes = ptoa(count);
sys/vm/vnode_pager.c
1325
int count, error, i, maxsize, ncount, pgoff, ppscheck;
sys/vm/vnode_pager.c
1331
count = atop(bytecount);
sys/vm/vnode_pager.c
1333
for (i = 0; i < count; i++)
sys/vm/vnode_pager.c
1344
maxsize = ptoa(count);
sys/vm/vnode_pager.c
1345
ncount = count;
sys/vm/vnode_pager.c
1387
for (i = ncount; i < count; i++)
sys/vm/vnode_pager.c
801
int count = size - auio.uio_resid;
sys/vm/vnode_pager.c
803
if (count == 0)
sys/vm/vnode_pager.c
805
else if (count != PAGE_SIZE)
sys/vm/vnode_pager.c
806
bzero((caddr_t)sf_buf_kva(sf) + count,
sys/vm/vnode_pager.c
807
PAGE_SIZE - count);
sys/vm/vnode_pager.c
832
vnode_pager_getpages(vm_object_t object, vm_page_t *m, int count, int *rbehind,
sys/vm/vnode_pager.c
840
rtval = VOP_GETPAGES(vp, m, count, rbehind, rahead);
sys/vm/vnode_pager.c
847
vnode_pager_getpages_async(vm_object_t object, vm_page_t *m, int count,
sys/vm/vnode_pager.c
854
rtval = VOP_GETPAGES_ASYNC(vp, m, count, rbehind, rahead, iodone, arg);
sys/vm/vnode_pager.c
890
vnode_pager_generic_getpages(struct vnode *vp, vm_page_t *m, int count,
sys/vm/vnode_pager.c
916
KASSERT(count <= atop(maxphys),
sys/vm/vnode_pager.c
917
("%s: requested %d pages", __func__, count));
sys/vm/vnode_pager.c
924
if (!vm_page_none_valid(m[count - 1]) && --count == 0) {
sys/vm/vnode_pager.c
942
for (i = 0; i < count; i++) {
sys/vm/vnode_pager.c
962
for (i = 0; i < count; i++) {
sys/vm/vnode_pager.c
977
KASSERT(count == 1,
sys/vm/vnode_pager.c
979
count, vp));
sys/vm/vnode_pager.h
46
int count, int *rbehind, int *rahead, vop_getpages_iodone_t iodone,
sys/vm/vnode_pager.h
49
int count, int flags, int *rtvals);
sys/x86/bios/vpd.c
254
int count;
sys/x86/bios/vpd.c
261
devclass_get_devices(devclass_find("vpd"), &devs, &count);
sys/x86/bios/vpd.c
262
for (i = 0; i < count; i++) {
sys/x86/cpufreq/est.c
1066
int count, error, i, j;
sys/x86/cpufreq/est.c
1080
count = MAX_SETTINGS;
sys/x86/cpufreq/est.c
1081
error = CPUFREQ_DRV_SETTINGS(perf_dev, sets, &count);
sys/x86/cpufreq/est.c
1086
table = malloc(count * sizeof(*table), M_DEVBUF, M_NOWAIT);
sys/x86/cpufreq/est.c
1092
for (i = 0, j = 0; i < count; i++) {
sys/x86/cpufreq/est.c
1299
est_settings(device_t dev, struct cf_setting *sets, int *count)
sys/x86/cpufreq/est.c
1306
if (*count < EST_MAX_SETTINGS)
sys/x86/cpufreq/est.c
1317
*count = i;
sys/x86/cpufreq/est.c
866
static int est_settings(device_t dev, struct cf_setting *sets, int *count);
sys/x86/cpufreq/hwpstate_amd.c
1239
int count, error, i;
sys/x86/cpufreq/hwpstate_amd.c
1250
count = MAX_SETTINGS;
sys/x86/cpufreq/hwpstate_amd.c
1251
error = CPUFREQ_DRV_SETTINGS(perf_dev, perf_set, &count);
sys/x86/cpufreq/hwpstate_amd.c
1257
sc->cfnum = count;
sys/x86/cpufreq/hwpstate_amd.c
1259
for (i = 0; i < count; i++) {
sys/x86/cpufreq/hwpstate_amd.c
158
int (*settings)(device_t dev, struct cf_setting *sets, int *count);
sys/x86/cpufreq/hwpstate_amd.c
191
static int hwpstate_settings(device_t dev, struct cf_setting *sets, int *count);
sys/x86/cpufreq/hwpstate_amd.c
704
int *count __unused)
sys/x86/cpufreq/hwpstate_amd.c
710
hwpstate_settings_pstate(device_t dev, struct cf_setting *sets, int *count)
sys/x86/cpufreq/hwpstate_amd.c
717
if (*count < sc->cfnum)
sys/x86/cpufreq/hwpstate_amd.c
727
*count = sc->cfnum;
sys/x86/cpufreq/hwpstate_amd.c
733
hwpstate_settings(device_t dev, struct cf_setting *sets, int *count)
sys/x86/cpufreq/hwpstate_amd.c
737
if (sets == NULL || count == NULL)
sys/x86/cpufreq/hwpstate_amd.c
740
return (sc->cpufreq_methods->settings(dev, sets, count));
sys/x86/cpufreq/p4tcc.c
234
p4tcc_settings(device_t dev, struct cf_setting *sets, int *count)
sys/x86/cpufreq/p4tcc.c
240
if (sets == NULL || count == NULL)
sys/x86/cpufreq/p4tcc.c
242
if (*count < sc->set_count)
sys/x86/cpufreq/p4tcc.c
252
*count = sc->set_count;
sys/x86/cpufreq/p4tcc.c
77
int *count);
sys/x86/cpufreq/powernow.c
245
int *count);
sys/x86/cpufreq/powernow.c
518
pn_settings(device_t dev, struct cf_setting *sets, int *count)
sys/x86/cpufreq/powernow.c
523
if (sets == NULL|| count == NULL)
sys/x86/cpufreq/powernow.c
526
if (*count < sc->powernow_max_states)
sys/x86/cpufreq/powernow.c
535
*count = sc->powernow_max_states;
sys/x86/cpufreq/powernow.c
767
int count = POWERNOW_MAX_STATES;
sys/x86/cpufreq/powernow.c
774
rv = CPUFREQ_DRV_SETTINGS(perf_dev, sets, &count);
sys/x86/cpufreq/powernow.c
790
for (n = 0, i = 0; i < count; ++i) {
sys/x86/cpufreq/smist.c
413
smist_settings(device_t dev, struct cf_setting *sets, int *count)
sys/x86/cpufreq/smist.c
419
if (sets == NULL || count == NULL)
sys/x86/cpufreq/smist.c
421
if (*count < 2) {
sys/x86/cpufreq/smist.c
422
*count = 2;
sys/x86/cpufreq/smist.c
441
*count = 2;
sys/x86/cpufreq/smist.c
83
int *count);
sys/x86/include/apicvar.h
234
u_int apic_alloc_vectors(u_int apic_id, u_int *irqs, u_int count, u_int align);
sys/x86/include/bus.h
262
size_t count);
sys/x86/include/bus.h
267
size_t count);
sys/x86/include/bus.h
272
size_t count);
sys/x86/include/bus.h
276
bus_size_t offset, u_int8_t *addr, size_t count)
sys/x86/include/bus.h
280
insb(bsh + offset, addr, count);
sys/x86/include/bus.h
286
"=D" (addr), "=c" (count) :
sys/x86/include/bus.h
287
"r" (bsh + offset), "0" (addr), "1" (count) :
sys/x86/include/bus.h
294
bus_size_t offset, u_int16_t *addr, size_t count)
sys/x86/include/bus.h
298
insw(bsh + offset, addr, count);
sys/x86/include/bus.h
304
"=D" (addr), "=c" (count) :
sys/x86/include/bus.h
305
"r" (bsh + offset), "0" (addr), "1" (count) :
sys/x86/include/bus.h
312
bus_size_t offset, u_int32_t *addr, size_t count)
sys/x86/include/bus.h
316
insl(bsh + offset, addr, count);
sys/x86/include/bus.h
322
"=D" (addr), "=c" (count) :
sys/x86/include/bus.h
323
"r" (bsh + offset), "0" (addr), "1" (count) :
sys/x86/include/bus.h
340
size_t count);
sys/x86/include/bus.h
345
size_t count);
sys/x86/include/bus.h
350
size_t count);
sys/x86/include/bus.h
354
bus_size_t offset, u_int8_t *addr, size_t count)
sys/x86/include/bus.h
364
"=D" (addr), "=c" (count), "=d" (_port_) :
sys/x86/include/bus.h
365
"0" (addr), "1" (count), "2" (_port_) :
sys/x86/include/bus.h
372
"=D" (addr), "=c" (count), "=S" (_port_) :
sys/x86/include/bus.h
373
"0" (addr), "1" (count), "2" (_port_) :
sys/x86/include/bus.h
380
bus_size_t offset, u_int16_t *addr, size_t count)
sys/x86/include/bus.h
390
"=D" (addr), "=c" (count), "=d" (_port_) :
sys/x86/include/bus.h
391
"0" (addr), "1" (count), "2" (_port_) :
sys/x86/include/bus.h
398
"=D" (addr), "=c" (count), "=S" (_port_) :
sys/x86/include/bus.h
399
"0" (addr), "1" (count), "2" (_port_) :
sys/x86/include/bus.h
406
bus_size_t offset, u_int32_t *addr, size_t count)
sys/x86/include/bus.h
416
"=D" (addr), "=c" (count), "=d" (_port_) :
sys/x86/include/bus.h
417
"0" (addr), "1" (count), "2" (_port_) :
sys/x86/include/bus.h
424
"=D" (addr), "=c" (count), "=S" (_port_) :
sys/x86/include/bus.h
425
"0" (addr), "1" (count), "2" (_port_) :
sys/x86/include/bus.h
512
size_t count);
sys/x86/include/bus.h
517
size_t count);
sys/x86/include/bus.h
523
size_t count);
sys/x86/include/bus.h
527
bus_size_t offset, const u_int8_t *addr, size_t count)
sys/x86/include/bus.h
531
outsb(bsh + offset, addr, count);
sys/x86/include/bus.h
537
"=S" (addr), "=c" (count) :
sys/x86/include/bus.h
538
"r" (bsh + offset), "0" (addr), "1" (count) :
sys/x86/include/bus.h
545
bus_size_t offset, const u_int16_t *addr, size_t count)
sys/x86/include/bus.h
549
outsw(bsh + offset, addr, count);
sys/x86/include/bus.h
555
"=S" (addr), "=c" (count) :
sys/x86/include/bus.h
556
"r" (bsh + offset), "0" (addr), "1" (count) :
sys/x86/include/bus.h
563
bus_size_t offset, const u_int32_t *addr, size_t count)
sys/x86/include/bus.h
567
outsl(bsh + offset, addr, count);
sys/x86/include/bus.h
573
"=S" (addr), "=c" (count) :
sys/x86/include/bus.h
574
"r" (bsh + offset), "0" (addr), "1" (count) :
sys/x86/include/bus.h
593
size_t count);
sys/x86/include/bus.h
598
size_t count);
sys/x86/include/bus.h
603
size_t count);
sys/x86/include/bus.h
607
bus_size_t offset, const u_int8_t *addr, size_t count)
sys/x86/include/bus.h
617
"=d" (_port_), "=S" (addr), "=c" (count) :
sys/x86/include/bus.h
618
"0" (_port_), "1" (addr), "2" (count) :
sys/x86/include/bus.h
625
"=D" (_port_), "=S" (addr), "=c" (count) :
sys/x86/include/bus.h
626
"0" (_port_), "1" (addr), "2" (count) :
sys/x86/include/bus.h
633
bus_size_t offset, const u_int16_t *addr, size_t count)
sys/x86/include/bus.h
643
"=d" (_port_), "=S" (addr), "=c" (count) :
sys/x86/include/bus.h
644
"0" (_port_), "1" (addr), "2" (count) :
sys/x86/include/bus.h
651
"=D" (_port_), "=S" (addr), "=c" (count) :
sys/x86/include/bus.h
652
"0" (_port_), "1" (addr), "2" (count) :
sys/x86/include/bus.h
659
bus_size_t offset, const u_int32_t *addr, size_t count)
sys/x86/include/bus.h
669
"=d" (_port_), "=S" (addr), "=c" (count) :
sys/x86/include/bus.h
670
"0" (_port_), "1" (addr), "2" (count) :
sys/x86/include/bus.h
677
"=D" (_port_), "=S" (addr), "=c" (count) :
sys/x86/include/bus.h
678
"0" (_port_), "1" (addr), "2" (count) :
sys/x86/include/bus.h
696
u_int8_t value, size_t count);
sys/x86/include/bus.h
700
u_int16_t value, size_t count);
sys/x86/include/bus.h
704
u_int32_t value, size_t count);
sys/x86/include/bus.h
708
bus_size_t offset, u_int8_t value, size_t count)
sys/x86/include/bus.h
713
while (count--)
sys/x86/include/bus.h
716
while (count--)
sys/x86/include/bus.h
722
bus_size_t offset, u_int16_t value, size_t count)
sys/x86/include/bus.h
727
while (count--)
sys/x86/include/bus.h
730
while (count--)
sys/x86/include/bus.h
736
bus_size_t offset, u_int32_t value, size_t count)
sys/x86/include/bus.h
741
while (count--)
sys/x86/include/bus.h
744
while (count--)
sys/x86/include/bus.h
760
size_t count);
sys/x86/include/bus.h
764
size_t count);
sys/x86/include/bus.h
768
size_t count);
sys/x86/include/bus.h
772
bus_size_t offset, u_int8_t value, size_t count)
sys/x86/include/bus.h
777
for (; count != 0; count--, addr++)
sys/x86/include/bus.h
780
for (; count != 0; count--, addr++)
sys/x86/include/bus.h
786
bus_size_t offset, u_int16_t value, size_t count)
sys/x86/include/bus.h
791
for (; count != 0; count--, addr += 2)
sys/x86/include/bus.h
794
for (; count != 0; count--, addr += 2)
sys/x86/include/bus.h
800
bus_size_t offset, u_int32_t value, size_t count)
sys/x86/include/bus.h
805
for (; count != 0; count--, addr += 4)
sys/x86/include/bus.h
808
for (; count != 0; count--, addr += 4)
sys/x86/include/bus.h
825
bus_size_t off2, size_t count);
sys/x86/include/bus.h
831
bus_size_t off2, size_t count);
sys/x86/include/bus.h
837
bus_size_t off2, size_t count);
sys/x86/include/bus.h
842
bus_size_t off2, size_t count)
sys/x86/include/bus.h
850
for (; count != 0; count--, addr1++, addr2++)
sys/x86/include/bus.h
854
for (addr1 += (count - 1), addr2 += (count - 1);
sys/x86/include/bus.h
855
count != 0; count--, addr1--, addr2--)
sys/x86/include/bus.h
861
for (; count != 0; count--, addr1++, addr2++)
sys/x86/include/bus.h
866
for (addr1 += (count - 1), addr2 += (count - 1);
sys/x86/include/bus.h
867
count != 0; count--, addr1--, addr2--)
sys/x86/include/bus.h
877
bus_size_t off2, size_t count)
sys/x86/include/bus.h
885
for (; count != 0; count--, addr1 += 2, addr2 += 2)
sys/x86/include/bus.h
889
for (addr1 += 2 * (count - 1), addr2 += 2 * (count - 1);
sys/x86/include/bus.h
890
count != 0; count--, addr1 -= 2, addr2 -= 2)
sys/x86/include/bus.h
896
for (; count != 0; count--, addr1 += 2, addr2 += 2)
sys/x86/include/bus.h
901
for (addr1 += 2 * (count - 1), addr2 += 2 * (count - 1);
sys/x86/include/bus.h
902
count != 0; count--, addr1 -= 2, addr2 -= 2)
sys/x86/include/bus.h
912
bus_size_t off2, size_t count)
sys/x86/include/bus.h
920
for (; count != 0; count--, addr1 += 4, addr2 += 4)
sys/x86/include/bus.h
924
for (addr1 += 4 * (count - 1), addr2 += 4 * (count - 1);
sys/x86/include/bus.h
925
count != 0; count--, addr1 -= 4, addr2 -= 4)
sys/x86/include/bus.h
931
for (; count != 0; count--, addr1 += 4, addr2 += 4)
sys/x86/include/bus.h
936
for (addr1 += 4 * (count - 1), addr2 += 4 * (count - 1);
sys/x86/include/bus.h
937
count != 0; count--, addr1 -= 4, addr2 -= 4)
sys/x86/include/intr_machdep.h
158
int msi_alloc(device_t dev, int count, int maxcount, int *irqs);
sys/x86/include/intr_machdep.h
161
int msi_release(int *irqs, int count);
sys/x86/include/legacyvar.h
59
int type, int rid, rman_res_t start, rman_res_t end, rman_res_t count,
sys/x86/include/legacyvar.h
69
int legacy_pcib_alloc_msi(device_t pcib, device_t dev, int count,
sys/x86/include/pci_cfgreg.h
58
rman_res_t hostb_alloc_start(int type, rman_res_t start, rman_res_t end, rman_res_t count);
sys/x86/iommu/amd_intrmap.c
104
for (i = 0; i < count; i++)
sys/x86/iommu/amd_intrmap.c
82
amdiommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count)
sys/x86/iommu/amd_intrmap.c
91
for (i = 0; i < count; i++)
sys/x86/iommu/amd_intrmap.c
96
error = vmem_alloc(ctx->irtids, count, M_FIRSTFIT | M_NOWAIT,
sys/x86/iommu/amd_iommu.h
199
int amdiommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count);
sys/x86/iommu/intel_dmar.h
258
int dmar_alloc_msi_intr(device_t src, u_int *cookies, u_int count);
sys/x86/iommu/intel_intrmap.c
69
dmar_alloc_msi_intr(device_t src, u_int *cookies, u_int count)
sys/x86/iommu/intel_intrmap.c
78
for (i = 0; i < count; i++)
sys/x86/iommu/intel_intrmap.c
83
error = vmem_alloc(unit->irtids, count, M_FIRSTFIT | M_NOWAIT,
sys/x86/iommu/intel_intrmap.c
91
for (i = 0; i < count; i++)
sys/x86/iommu/iommu_intrmap.h
32
int iommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count);
sys/x86/iommu/iommu_utils.c
208
x86_no_iommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count)
sys/x86/iommu/iommu_utils.c
298
iommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count)
sys/x86/iommu/iommu_utils.c
300
return (x86_iommu->alloc_msi_intr(src, cookies, count));
sys/x86/iommu/x86_iommu.h
85
int (*alloc_msi_intr)(device_t src, u_int *cookies, u_int count);
sys/x86/isa/clock.c
471
uint16_t count;
sys/x86/isa/clock.c
489
count = i8254_max_count - ((high << 8) | low);
sys/x86/isa/clock.c
490
if (count < i8254_lastcount ||
sys/x86/isa/clock.c
492
((count < 20 || (!(flags & PSL_I) &&
sys/x86/isa/clock.c
493
count < i8254_max_count / 2u)) &&
sys/x86/isa/clock.c
498
i8254_lastcount = count;
sys/x86/isa/clock.c
499
count += i8254_offset;
sys/x86/isa/clock.c
501
return (count);
sys/x86/isa/isa.c
124
resource_list_add(rl, type, rid, start, end, count);
sys/x86/isa/isa.c
129
start, end, count, flags);
sys/x86/isa/isa.c
88
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/x86/pci/pci_bus.c
102
return (PCIB_ALLOC_MSI(device_get_parent(bus), dev, count, maxcount,
sys/x86/pci/pci_bus.c
582
hostb_alloc_start(int type, rman_res_t start, rman_res_t end, rman_res_t count)
sys/x86/pci/pci_bus.c
585
if (start + count - 1 != end) {
sys/x86/pci/pci_bus.c
596
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/x86/pci/pci_bus.c
600
return (pci_domain_alloc_bus(0, child, rid, start, end, count,
sys/x86/pci/pci_bus.c
602
start = hostb_alloc_start(type, start, end, count);
sys/x86/pci/pci_bus.c
604
count, flags));
sys/x86/pci/pci_bus.c
96
legacy_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount,
sys/x86/pci/qpi.c
253
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/x86/pci/qpi.c
257
return (pci_domain_alloc_bus(0, child, rid, start, end, count,
sys/x86/pci/qpi.c
260
count, flags));
sys/x86/x86/busdma_bounce.c
505
int count;
sys/x86/x86/busdma_bounce.c
511
count = 0;
sys/x86/x86/busdma_bounce.c
520
count++;
sys/x86/x86/busdma_bounce.c
527
*pagesneeded = count;
sys/x86/x86/busdma_bounce.c
528
return (count != 0);
sys/x86/x86/local_apic.c
1521
lapic_timer_oneshot_nointr(struct lapic *la, uint32_t count)
sys/x86/x86/local_apic.c
1530
lapic_write32(LAPIC_ICR_TIMER, count);
sys/x86/x86/local_apic.c
1773
apic_alloc_vectors(u_int apic_id, u_int *irqs, u_int count, u_int align)
sys/x86/x86/local_apic.c
1777
KASSERT(powerof2(count), ("bad count"));
sys/x86/x86/local_apic.c
1779
KASSERT(align >= count, ("align < count"));
sys/x86/x86/local_apic.c
1781
for (run = 0; run < count; run++)
sys/x86/x86/local_apic.c
1810
if (run < count)
sys/x86/x86/local_apic.c
1814
for (vector = 0; vector < count; vector++)
sys/x86/x86/local_apic.c
1821
printf("APIC: Couldn't find APIC vectors for %u IRQs\n", count);
sys/x86/x86/local_apic.c
781
uint32_t count;
sys/x86/x86/local_apic.c
784
count = (extf & APIC_EXTF_ELVT_MASK) >> APIC_EXTF_ELVT_SHIFT;
sys/x86/x86/local_apic.c
785
count = min(count, APIC_ELVT_MAX + 1);
sys/x86/x86/local_apic.c
786
return (count);
sys/x86/x86/mca.c
1009
int count;
sys/x86/x86/mca.c
1014
count = (rec->mr_status & MC_STATUS_COR_COUNT) >> 38;
sys/x86/x86/mca.c
1017
new_threshold = update_threshold(mode, valid, cc->last_intr, count,
sys/x86/x86/mca.c
1035
int count;
sys/x86/x86/mca.c
1039
count = (misc & MC_MISC_AMD_CNT_MASK) >> MC_MISC_AMD_CNT_SHIFT;
sys/x86/x86/mca.c
1040
count = count - (MC_MISC_AMD_CNT_MAX - cc->cur_threshold);
sys/x86/x86/mca.c
1042
new_threshold = update_threshold(mode, valid, cc->last_intr, count,
sys/x86/x86/mca.c
1069
int count = 0, i, valid;
sys/x86/x86/mca.c
1084
count++;
sys/x86/x86/mca.c
1104
return (count);
sys/x86/x86/mca.c
1716
int count;
sys/x86/x86/mca.c
1735
count = mca_scan(MCE, &recoverable);
sys/x86/x86/mca.c
1743
while (!lmcs && count == 0)
sys/x86/x86/mca.c
1749
if (count)
sys/x86/x86/mca.c
876
int count, i, desired_max, desired_min;
sys/x86/x86/mca.c
895
count = desired_min - mca_freecount;
sys/x86/x86/mca.c
897
for (i = 0; i < count; i++) {
sys/x86/x86/mca.c
903
mca_freecount += count;
sys/x86/x86/mca.c
953
update_threshold(enum scan_mode mode, int valid, int last_intr, int count,
sys/x86/x86/mca.c
969
if (delta < cmc_throttle && count >= limit &&
sys/x86/x86/mca.c
992
limit = count * cmc_throttle / delta;
sys/x86/x86/mptable.c
199
static int search_for_sig(u_int32_t target, int count);
sys/x86/x86/mptable.c
214
search_for_sig(u_int32_t target, int count)
sys/x86/x86/mptable.c
220
for (x = 0; x < count; x += 4)
sys/x86/x86/mptable_pci.c
100
rman_res_t start, rman_res_t end, rman_res_t count, u_int flags)
sys/x86/x86/mptable_pci.c
105
return (pci_domain_alloc_bus(0, child, rid, start, end, count,
sys/x86/x86/mptable_pci.c
108
if (type == SYS_RES_IOPORT && start + count - 1 == end) {
sys/x86/x86/mptable_pci.c
115
type, rid, start, end, count, flags));
sys/x86/x86/mptable_pci.c
126
type, rid, start, end, count, flags));
sys/x86/x86/mptable_pci.c
132
start = hostb_alloc_start(type, start, end, count);
sys/x86/x86/mptable_pci.c
134
end, count, flags));
sys/x86/x86/msi.c
415
msi_alloc(device_t dev, int count, int maxcount, int *irqs)
sys/x86/x86/msi.c
421
u_int cookies[count];
sys/x86/x86/msi.c
431
if (count > 1)
sys/x86/x86/msi.c
432
mirqs = malloc(count * sizeof(*mirqs), M_MSI, M_WAITOK);
sys/x86/x86/msi.c
451
if (cnt == count)
sys/x86/x86/msi.c
457
if (cnt < count) {
sys/x86/x86/msi.c
459
if (i + (count - cnt) > first_msi_irq + num_msi_irqs) {
sys/x86/x86/msi.c
467
while (cnt < count) {
sys/x86/x86/msi.c
475
KASSERT(cnt == count, ("count mismatch"));
sys/x86/x86/msi.c
479
vector = apic_alloc_vectors(cpu, irqs, count, maxcount);
sys/x86/x86/msi.c
488
error = iommu_alloc_msi_intr(dev, cookies, count);
sys/x86/x86/msi.c
493
for (i = 0; i < count; i++)
sys/x86/x86/msi.c
499
for (i = 0; i < count; i++) {
sys/x86/x86/msi.c
507
for (i = 0; i < count; i++) {
sys/x86/x86/msi.c
520
fsrc->msi_count = count;
sys/x86/x86/msi.c
522
if (count > 1)
sys/x86/x86/msi.c
523
bcopy(irqs, mirqs, count * sizeof(*mirqs));
sys/x86/x86/msi.c
530
msi_release(int *irqs, int count)
sys/x86/x86/msi.c
558
if (first->msi_first != first || first->msi_count != count) {
sys/x86/x86/msi.c
565
for (i = 1; i < count; i++) {
sys/x86/x86/nexus.c
349
rman_res_t start, rman_res_t end, rman_res_t count,
sys/x86/x86/nexus.c
361
if (RMAN_IS_DEFAULT_RANGE(start, end) && (count == 1)) {
sys/x86/x86/nexus.c
369
count = rle->count;
sys/x86/x86/nexus.c
373
start, end, count, flags));
sys/x86/x86/nexus.c
600
nexus_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs)
sys/x86/x86/nexus.c
603
return (msi_alloc(dev, count, maxcount, irqs));
sys/x86/x86/nexus.c
607
nexus_release_msi(device_t pcib, device_t dev, int count, int *irqs)
sys/x86/x86/nexus.c
610
return (msi_release(irqs, count));
sys/x86/x86/tsc.c
260
int count, i;
sys/x86/x86/tsc.c
263
for (i = 0, count = 8; i < count; i++) {
sys/x86/x86/tsc.c
270
overhead /= count;
sys/x86/x86/tsc.c
828
int count, error;
sys/x86/x86/tsc.c
843
count = 64;
sys/x86/x86/tsc.c
844
levels = malloc(count * sizeof(*levels), M_TEMP, M_NOWAIT);
sys/x86/x86/tsc.c
847
error = CPUFREQ_LEVELS(cf_dev, levels, &count);
sys/x86/x86/tsc.c
848
if (error == 0 && count != 0) {
sys/xen/gntdev.h
136
uint32_t count;
sys/xen/gntdev.h
150
uint32_t count;
sys/xen/gntdev.h
164
uint32_t count;
sys/xen/gntdev.h
177
uint32_t count;
sys/xen/gntdev.h
187
uint32_t count;
sys/xen/gnttab.h
110
void (*fn)(void *), void *arg, uint16_t count);
sys/xen/gnttab.h
54
uint16_t count;
sys/xen/gnttab.h
84
void gnttab_end_foreign_access_references(u_int count, grant_ref_t *refs);
sys/xen/gnttab.h
96
int gnttab_alloc_grant_references(uint16_t count, grant_ref_t *pprivate_head);
sys/xen/hypervisor.h
25
HYPERVISOR_console_write(const char *str, int count)
sys/xen/hypervisor.h
27
return HYPERVISOR_console_io(CONSOLEIO_write, count, str);
sys/xen/xenbus/xenbusb.c
207
int i, count;
sys/xen/xenbus/xenbusb.c
209
if (device_get_children(dev, &kids, &count))
sys/xen/xenbus/xenbusb.c
213
for (i = 0; i < count; i++) {
sys/xen/xenbus/xenbusb.c
441
int i, count, error;
sys/xen/xenbus/xenbusb.c
443
if (device_get_children(dev, &kids, &count) == 0) {
sys/xen/xenbus/xenbusb.c
444
for (i = 0; i < count; i++) {
sys/xen/xenbus/xenbusb.c
792
int i, count, error;
sys/xen/xenbus/xenbusb.c
799
if (device_get_children(dev, &kids, &count) == 0) {
sys/xen/xenbus/xenbusb.c
800
for (i = 0; i < count; i++) {
sys/xen/xenbus/xenbusb_front.c
108
unsigned int i, count;
sys/xen/xenbus/xenbusb_front.c
112
error = xs_directory(XST_NIL, xbs->xbs_node, type, &count, &dir);
sys/xen/xenbus/xenbusb_front.c
115
for (i = 0; i < count; i++)
tests/sys/audit/network.c
92
close_sockets(int count, ...)
tests/sys/audit/network.c
96
va_start(socklist, count);
tests/sys/audit/network.c
97
for (sockd = 0; sockd < count; sockd++) {
tests/sys/capsicum/capsicum-test.cc
51
unsigned int count = 0;
tests/sys/capsicum/capsicum-test.cc
55
struct kinfo_proc *p = procstat_getprocs(prstat, KERN_PROC_PID, pid, &count);
tests/sys/capsicum/capsicum-test.cc
56
if (p == NULL || count == 0) {
tests/sys/capsicum/capsicum-test.cc
59
count, strerror(errno));
tests/sys/capsicum/linux.cc
585
int count = 0;
tests/sys/capsicum/linux.cc
588
fds[count] = open(prog_candidates[ii], O_RDONLY);
tests/sys/capsicum/linux.cc
589
if (fds[count] >= 0) {
tests/sys/capsicum/linux.cc
590
progs[count] = prog_candidates[ii];
tests/sys/capsicum/linux.cc
591
count++;
tests/sys/capsicum/linux.cc
594
if (count == 0) {
tests/sys/capsicum/linux.cc
598
for (int ii = 0; ii < count; ii++) {
tests/sys/capsicum/overhead.cc
12
double RepeatSyscall(int count, int nr, long arg1, long arg2, long arg3) {
tests/sys/capsicum/overhead.cc
14
for (int ii = 0; ii < count; ii++) {
tests/sys/capsicum/overhead.cc
23
double CompareSyscall(EntryFn entry_fn, int count, int nr,
tests/sys/capsicum/overhead.cc
25
double bare = RepeatSyscall(count, nr, arg1, arg2, arg3);
tests/sys/capsicum/overhead.cc
27
double capmode = RepeatSyscall(count, nr, arg1, arg2, arg3);
tests/sys/capsicum/overhead.cc
29
count, bare, capmode, 100.0*capmode/bare);
tests/sys/capsicum/smoketest.c
58
int count = 0;
tests/sys/capsicum/smoketest.c
59
while (count < 20) {
tests/sys/capsicum/syscalls.h
20
inline int getdents_(unsigned int fd, void *dirp, unsigned int count) {
tests/sys/capsicum/syscalls.h
21
return getdents(fd, (char*)dirp, count);
tests/sys/capsicum/syscalls.h
32
inline ssize_t sendfile_(int out_fd, int in_fd, off_t *offset, size_t count) {
tests/sys/capsicum/syscalls.h
33
return sendfile(in_fd, out_fd, *offset, count, NULL, offset, 0);
tests/sys/cddl/zfs/bin/file_trunc.c
105
count = fsize / bsize;
tests/sys/cddl/zfs/bin/file_trunc.c
114
count = atoi(optarg);
tests/sys/cddl/zfs/bin/file_trunc.c
50
static int count = 0;
tests/sys/cddl/zfs/bin/file_trunc.c
86
while (i < count) {
tests/sys/kern/jaildesc.c
34
int count;
tests/sys/kern/jaildesc.c
44
pid, &count);
tests/sys/kern/jaildesc.c
46
for (i = 0; i < count; i++) {
tests/sys/kern/jaildesc.c
52
if (i < count)
tests/sys/kern/procdesc.c
62
int count;
tests/sys/kern/procdesc.c
72
pid, &count);
tests/sys/kern/procdesc.c
74
for (i = 0; i < count; i++) {
tests/sys/kern/procdesc.c
80
if (i < count)
tests/sys/kern/sigwait.c
107
while (count-- > 0) {
tests/sys/kern/sigwait.c
97
support_create_sig_proc(int sig, int count, unsigned int usec)
tests/sys/kern/socket_msg_waitall.c
26
int count;
tests/sys/kern/socket_msg_waitall.c
41
while (p->count-- > 0) {
tests/sys/kern/socket_msg_waitall.c
63
close_test(struct sockaddr *sa, unsigned int count, int af, int type, int proto)
tests/sys/kern/socket_msg_waitall.c
84
.count = count,
tests/sys/kern/socket_msg_waitall.c
94
while (count-- > 0) {
tests/sys/mac/bsdextended/ugidfw_test.c
200
int count, slots;
tests/sys/mac/bsdextended/ugidfw_test.c
234
count = bsde_get_rule_count(sizeof(errorstr), errorstr);
tests/sys/mac/bsdextended/ugidfw_test.c
235
if (count == -1)
tests/sys/net/routing/rtsock_common.h
341
vnet_switch(char *vnet_name, char **ifnames, int count)
tests/sys/net/routing/rtsock_common.h
350
for (int i = 0; i < count && len < sizeof(cmd); i++) {
tests/sys/net/routing/rtsock_common.h
371
for (int i = 0; i < count; i++) {
tests/sys/net/routing/test_rtsock_l3.c
1173
int count = 0, tries = 0;
tests/sys/net/routing/test_rtsock_l3.c
1186
while (count < 3 && tries < 20) {
tests/sys/net/routing/test_rtsock_l3.c
1191
RLOG("MSG_IFADDR: %d", count);
tests/sys/net/routing/test_rtsock_l3.c
1192
msg_array[MSG_IFADDR] = count++;
tests/sys/net/routing/test_rtsock_l3.c
1198
RLOG("MSG_PREFIXROUTE: %d", count);
tests/sys/net/routing/test_rtsock_l3.c
1199
msg_array[MSG_PREFIXROUTE] = count++;
tests/sys/net/routing/test_rtsock_l3.c
1204
RLOG("MSG_HOSTROUTE: %d", count);
tests/sys/net/routing/test_rtsock_l3.c
1205
msg_array[MSG_HOSTROUTE] = count++;
tests/sys/net/routing/test_rtsock_l3.c
1214
ATF_REQUIRE_MSG(count == 3, "Received only %d/3 messages", count);
tests/sys/net/routing/test_rtsock_l3.c
1339
int count = 0, tries = 0;
tests/sys/net/routing/test_rtsock_l3.c
1351
while (count < 2 && tries < 20) {
tests/sys/net/routing/test_rtsock_l3.c
1356
RLOG("MSG_IFADDR: %d", count);
tests/sys/net/routing/test_rtsock_l3.c
1357
msg_array[MSG_IFADDR] = count++;
tests/sys/net/routing/test_rtsock_l3.c
1363
RLOG("MSG_PREFIXROUTE: %d", count);
tests/sys/net/routing/test_rtsock_l3.c
1364
msg_array[MSG_PREFIXROUTE] = count++;
tests/sys/net/routing/test_rtsock_l3.c
1373
ATF_REQUIRE_MSG(count == 2, "Received only %d/2 messages", count);
tests/sys/netinet/fibs_multibind_test.c
570
for (int count = 0; count < 100; count++) {
tests/sys/netinet/fibs_multibind_test.c
596
for (int count = 0; count < 100; count++) {
tests/sys/netinet/fibs_multibind_test.c
662
for (int count = 0; count < 100; count++) {
tests/sys/netinet/fibs_multibind_test.c
692
for (int count = 0; count < 100; count++) {
tests/sys/netinet/so_reuseport_lb_test.c
256
int error, count, cs, s;
tests/sys/netinet/so_reuseport_lb_test.c
259
count = kevent(sc->kq, NULL, 0, &kev, 1, NULL);
tests/sys/netinet/so_reuseport_lb_test.c
260
ATF_REQUIRE_MSG(count == 1,
tests/sys/netlink/test_snl.c
220
int count = 0;
tests/sys/netlink/test_snl.c
223
count++;
tests/sys/netlink/test_snl.c
227
ATF_REQUIRE_MSG(count > 0, "Empty interface list");
tests/sys/opencrypto/poly1305_test.c
247
size_t sym_len, count;
tests/sys/opencrypto/poly1305_test.c
255
count = 0;
tests/sys/opencrypto/poly1305_test.c
268
res = sscanf(hbyte, "%hhx", &out[count]);
tests/sys/opencrypto/poly1305_test.c
273
count++;
tests/sys/opencrypto/poly1305_test.c
274
ATF_REQUIRE_MSG(count <= explen,
tests/sys/opencrypto/poly1305_test.c
286
ATF_REQUIRE_EQ_MSG(count, explen, "got short value at %s",
tests/sys/vm/mlock_test.c
186
int count, error, shmfd;
tests/sys/vm/mlock_test.c
189
count = getpagesizes(pagesizes, MAXPAGESIZES);
tests/sys/vm/mlock_test.c
190
ATF_REQUIRE_MSG(count >= 1,
tests/sys/vm/mlock_test.c
192
if (count == 1)
tools/regression/fsx/fsx.c
193
int i, count, down, opnum;
tools/regression/fsx/fsx.c
198
count = logcount;
tools/regression/fsx/fsx.c
201
count = LOGSIZE;
tools/regression/fsx/fsx.c
205
for ( ; count > 0; count--) {
tools/regression/netinet/tcpconnect/tcpconnect.c
119
count = strtoul(argv[2], &dummy, 10);
tools/regression/netinet/tcpconnect/tcpconnect.c
120
if (count < 1 || count > 100000 || *dummy != '\0')
tools/regression/netinet/tcpconnect/tcpconnect.c
123
for (i = 0; i < count; i++) {
tools/regression/netinet/tcpconnect/tcpconnect.c
94
long count, i, port;
tools/regression/posixsem/posixsem.c
1125
int count;
tools/regression/posixsem/posixsem.c
1158
kp = kvm_getprocs(kd, KERN_PROC_PID, pid, &count);
tools/regression/rpcsec_gss/rpctest.c
319
oid_set.count = 1;
tools/regression/sigqueue/sigqtest2/sigqtest2.c
43
int count = 10;
tools/regression/sigqueue/sigqtest2/sigqtest2.c
63
if (--count == 0)
tools/test/net/connect.c
52
int ch, cli_sock, count = 0;
tools/test/net/connect.c
77
count++;
tools/test/net/connect.c
82
printf("Exiting at %d with errno %d\n", count, errno);
tools/tools/ath/athregs/dumpregs.c
453
int i, count, itemsperline;
tools/tools/ath/athregs/dumpregs.c
455
count = 0;
tools/tools/ath/athregs/dumpregs.c
470
if ((++count % itemsperline) == 0)
tools/tools/ath/athregs/dumpregs.c
474
if (count)
tools/tools/crypto/cryptostats.c
49
if (ts->count == 0)
tools/tools/crypto/cryptostats.c
51
avg = (1000000000LL*ts->acc.tv_sec + ts->acc.tv_nsec) / ts->count;
tools/tools/crypto/cryptostats.c
55
tag, avg, min, max, ts->count);
tools/tools/crypto/cryptostats.c
99
if (stats.cs_invoke.count) {
tools/tools/net80211/stumbler/stumbler.c
647
unsigned short* count;
tools/tools/net80211/stumbler/stumbler.c
659
count = (unsigned short*) ptr;
tools/tools/net80211/stumbler/stumbler.c
660
ptr +=2 + *count*4;
tools/tools/net80211/stumbler/stumbler.c
662
count = (unsigned short*) ptr;
tools/tools/net80211/stumbler/stumbler.c
663
if (*count) {
tools/tools/netmap/pkt-gen.c
1261
int size, struct targ *t, u_int count, int options)
tools/tools/netmap/pkt-gen.c
1271
for (sent = 0; sent < count; sent++) {
tools/tools/netmap/pkt-gen.c
1281
for (sent = 0; sent < count && n >= frags; sent++, n--) {
tools/tools/netmap/pkt-gen.c
1335
if (sent < count) {
tools/tools/netmap/pkt-gen.c
1394
uint64_t count = 0, t_cur, t_min = ~0, av = 0;
tools/tools/netmap/pkt-gen.c
1512
count ++;
tools/tools/netmap/pkt-gen.c
1533
(int)count, (int)t_min, (int)(av/count));
tools/tools/netmap/pkt-gen.c
1550
count = 0;
tools/tools/netrate/netreceive/netreceive.c
117
t->count++;
tools/tools/netrate/netreceive/netreceive.c
174
c0 += tp[i]->count;
tools/tools/netrate/netreceive/netreceive.c
59
uint64_t count; /* rx counter */
tools/tools/nvmf/nvmfd/devices.c
155
u_int count;
tools/tools/nvmf/nvmfd/devices.c
158
count = 0;
tools/tools/nvmf/nvmfd/devices.c
161
nslist->ns[count] = htole32(nsid);
tools/tools/nvmf/nvmfd/devices.c
162
count++;
tools/tools/nvmf/nvmfd/devices.c
163
if (count == nitems(nslist->ns))
tools/tools/so_splice/pingpong.c
116
if (count == 0)
tools/tools/so_splice/pingpong.c
117
count = 1;
tools/tools/so_splice/pingpong.c
137
for (int i = 0; i < count; i++) {
tools/tools/so_splice/pingpong.c
74
int ch, count, s;
tools/tools/so_splice/pingpong.c
77
count = 0;
tools/tools/so_splice/pingpong.c
94
count = strtol(optarg, NULL, 10);
tools/tools/so_splice/pingpong.c
95
if (count <= 0)
tools/tools/umastat/umastat.c
141
int count, i;
tools/tools/umastat/umastat.c
149
for (i = 0, count = 0; i < flaginfo_count; i++) {
tools/tools/umastat/umastat.c
151
if (count++ > 0)
tools/tools/umastat/umastat.c
212
int count, ret;
tools/tools/umastat/umastat.c
217
count = 0;
tools/tools/umastat/umastat.c
223
if (count % 2 == 0)
tools/tools/umastat/umastat.c
229
count++;
tools/uma/smrstress/smrstress.c
164
else if (smrs->count != 0)
tools/uma/smrstress/smrstress.c
180
if (smrs->count != 0)
tools/uma/smrstress/smrstress.c
56
volatile u_int count;
tools/uma/smrstress/smrstress.c
69
zpcpu_get(smrs_smr)->c_seq, smrs->generation, smrs->count);
tools/uma/smrstress/smrstress.c
87
atomic_add_int(&cur->count, 1);
tools/uma/smrstress/smrstress.c
89
cnt = atomic_fetchadd_int(&cur->count, -1);
usr.bin/bintrans/uudecode.c
433
int n, count, count4;
usr.bin/bintrans/uudecode.c
449
count = 0;
usr.bin/bintrans/uudecode.c
458
count++;
usr.bin/bintrans/uudecode.c
459
if (count % 4 == 0)
usr.bin/calendar/io.c
431
static int count = 0;
usr.bin/calendar/io.c
555
for (i = 0; i < count; i++)
usr.bin/calendar/io.c
574
if ((count = parsedaymonth(buf, year, month, day, &flags,
usr.bin/calendar/io.c
578
if (count < 0) {
usr.bin/calendar/io.c
582
if (count == -1)
usr.bin/calendar/io.c
584
count = -count + 1;
usr.bin/calendar/io.c
591
for (i = 0; i < count; i++) {
usr.bin/col/col.c
430
static int count_size, *count, sorted_size;
usr.bin/col/col.c
444
if ((count = realloc(count,
usr.bin/col/col.c
448
memset(count, 0, sizeof(int) * l->l_max_col + 1);
usr.bin/col/col.c
450
count[c->c_column]++;
usr.bin/col/col.c
457
save = count[i];
usr.bin/col/col.c
458
count[i] = tot;
usr.bin/col/col.c
463
sorted[count[c->c_column]++] = *c;
usr.bin/compress/zopen.c
239
int count;
usr.bin/compress/zopen.c
245
count = num;
usr.bin/compress/zopen.c
270
--count;
usr.bin/compress/zopen.c
280
middle: for (i = 0; count--;) {
usr.bin/compress/zopen.c
455
u_int count;
usr.bin/compress/zopen.c
463
count = num;
usr.bin/compress/zopen.c
504
count--;
usr.bin/compress/zopen.c
545
if (count-- == 0)
usr.bin/compress/zopen.c
561
eof: return (num - count);
usr.bin/ctlstat/ctlstat.c
1000
if (count != 1)
usr.bin/ctlstat/ctlstat.c
1002
if (count > 0)
usr.bin/ctlstat/ctlstat.c
1003
count--;
usr.bin/ctlstat/ctlstat.c
849
int count, waittime;
usr.bin/ctlstat/ctlstat.c
857
count = -1;
usr.bin/ctlstat/ctlstat.c
881
count = atoi(optarg);
usr.bin/ctlstat/ctlstat.c
953
if ((count != -1) ||
usr.bin/ctlstat/ctlstat.c
961
count = 1;
usr.bin/ctlstat/ctlstat.c
986
for (;count != 0;) {
usr.bin/dtc/fdt.cc
1117
if (other->deleted_children.count(full_name) > 0)
usr.bin/dtc/fdt.cc
1126
if (other->deleted_props.count(p->get_key()) > 0)
usr.bin/dtc/input_buffer.cc
207
if (defines.count(name) == 0)
usr.bin/fetch/fetch.c
429
off_t count, size_prev;
usr.bin/fetch/fetch.c
443
count = 0;
usr.bin/fetch/fetch.c
731
count = url->offset;
usr.bin/fetch/fetch.c
734
stat_start(&xs, path, us.size, count);
usr.bin/fetch/fetch.c
742
if (us.size != -1 && us.size - count < B_size &&
usr.bin/fetch/fetch.c
743
us.size - count >= 0)
usr.bin/fetch/fetch.c
744
size = us.size - count;
usr.bin/fetch/fetch.c
762
stat_update(&xs, count += readcnt);
usr.bin/fetch/fetch.c
822
if (us.size != -1 && count < us.size) {
usr.bin/fetch/fetch.c
824
path, (intmax_t)count, (intmax_t)us.size);
usr.bin/fetch/fetch.c
825
if(!o_stdout && a_flag && count > size_prev) {
usr.bin/file2c/file2c.c
28
int c, count, linepos, maxcount, pretty, radix;
usr.bin/file2c/file2c.c
54
count = linepos = 0;
usr.bin/file2c/file2c.c
56
if (count) {
usr.bin/file2c/file2c.c
61
(maxcount > 0 && count >= maxcount)) {
usr.bin/file2c/file2c.c
63
count = linepos = 0;
usr.bin/file2c/file2c.c
66
if (count) {
usr.bin/file2c/file2c.c
84
count++;
usr.bin/from/from.c
116
if (count != -1)
usr.bin/from/from.c
117
count++;
usr.bin/from/from.c
123
if (count != -1)
usr.bin/from/from.c
125
count == 1 ? "is" : "are", count, count == 1 ? "" : "s");
usr.bin/from/from.c
52
int ch, count, newline;
usr.bin/from/from.c
62
count = -1;
usr.bin/from/from.c
66
count = 0;
usr.bin/gcore/elfcore.c
203
seginfo.count = 0;
usr.bin/gcore/elfcore.c
211
hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count);
usr.bin/gcore/elfcore.c
212
if (seginfo.count + 1 >= PN_XNUM)
usr.bin/gcore/elfcore.c
229
elf_puthdr(efd, pid, map, hdr, hdrsize, notesz, segoff, seginfo.count);
usr.bin/gcore/elfcore.c
239
for (i = 0; i < seginfo.count; i++) {
usr.bin/gcore/elfcore.c
316
ssc->count++;
usr.bin/gcore/elfcore.c
80
int count; /* Count of writable segments. */
usr.bin/gprof/arcs.c
49
addarc(nltype *parentp, nltype *childp, long count)
usr.bin/gprof/arcs.c
56
count , parentp -> name , childp -> name );
usr.bin/gprof/arcs.c
67
arcp -> arc_count , count );
usr.bin/gprof/arcs.c
70
arcp -> arc_count += count;
usr.bin/gprof/arcs.c
78
arcp -> arc_count = count;
usr.bin/gzip/gzip.c
1708
cat_fd(unsigned char * prepend, size_t count, off_t *gsizep, int fd)
usr.bin/gzip/gzip.c
1714
in_tot = count;
usr.bin/gzip/gzip.c
1715
w = write_retry(STDOUT_FILENO, prepend, count);
usr.bin/gzip/gzip.c
1716
if (w == -1 || (size_t)w != count) {
usr.bin/gzip/zuncompress.c
215
u_int count, i;
usr.bin/gzip/zuncompress.c
223
count = num;
usr.bin/gzip/zuncompress.c
305
if (count-- == 0)
usr.bin/gzip/zuncompress.c
322
eof: return (num - count);
usr.bin/hexdump/display.c
428
int count;
usr.bin/hexdump/display.c
429
for (count = 0; count < skip; ++count)
usr.bin/hexdump/display.c
432
address += count;
usr.bin/hexdump/display.c
433
skip -= count;
usr.bin/ktrdump/ktrdump.c
101
int count;
usr.bin/ktrdump/ktrdump.c
191
count = kvm_nlist(kd, nl);
usr.bin/ktrdump/ktrdump.c
192
if (count == -1)
usr.bin/ktrdump/ktrdump.c
194
if (count > 0)
usr.bin/ldd/ldd.c
341
u_int count, i;
usr.bin/ldd/ldd.c
355
count = len / dynsize;
usr.bin/ldd/ldd.c
364
dst.d_buf = copy = malloc(count * sizeof(*dyn));
usr.bin/ldd/ldd.c
365
dst.d_size = count * sizeof(*dyn);
usr.bin/ldd/ldd.c
377
for (i = 0; i < count; i++) {
usr.bin/locate/code/locate.code.c
105
int ch, code, count, diffcount, oldcount;
usr.bin/locate/code/locate.code.c
163
count = cp - path;
usr.bin/locate/code/locate.code.c
164
diffcount = count - oldcount + OFFSET;
usr.bin/locate/code/locate.code.c
165
oldcount = count;
usr.bin/locate/locate/fastfind.c
147
int count, found, globflag;
usr.bin/locate/locate/fastfind.c
196
found = count = 0;
usr.bin/locate/locate/fastfind.c
215
count += getwm(paddr) - OFFSET;
usr.bin/locate/locate/fastfind.c
219
count += getwf(fp) - OFFSET;
usr.bin/locate/locate/fastfind.c
222
count += c - OFFSET;
usr.bin/locate/locate/fastfind.c
225
if (count < 0 || count >= LOCATE_PATH_MAX)
usr.bin/locate/locate/fastfind.c
226
errx(1, "corrupted database: %s %d", database, count);
usr.bin/locate/locate/fastfind.c
229
p = path + count;
usr.bin/locate/locate/fastfind.c
296
} else if (foundchar >= path + count) { /* a char matched */
usr.bin/locate/locate/fastfind.c
298
cutoff = path + count;
usr.bin/locate/locate/fastfind.c
46
int count, longest_path;
usr.bin/locate/locate/fastfind.c
58
for (c = getc(fp), count = 0; c != EOF; size++) {
usr.bin/locate/locate/fastfind.c
60
count += getwf(fp) - OFFSET;
usr.bin/locate/locate/fastfind.c
64
count += c - OFFSET;
usr.bin/locate/locate/fastfind.c
66
if (count < 0 || count >= LOCATE_PATH_MAX) {
usr.bin/locate/locate/fastfind.c
68
warnx("corrupted database: %s %d", path_fcodes, count);
usr.bin/locate/locate/fastfind.c
73
for (p = path + count; (c = getc(fp)) > SWITCH; size++)
usr.bin/mail/extern.h
98
int count(struct name *);
usr.bin/mail/fio.c
103
if (count >= 2 && linebuf[count - 1] == '\n' &&
usr.bin/mail/fio.c
104
linebuf[count - 2] == '\r') {
usr.bin/mail/fio.c
105
count--;
usr.bin/mail/fio.c
106
linebuf[count - 1] = '\n';
usr.bin/mail/fio.c
109
(void)fwrite(linebuf, sizeof(*linebuf), count, otf);
usr.bin/mail/fio.c
112
if (count)
usr.bin/mail/fio.c
113
linebuf[count - 1] = '\0';
usr.bin/mail/fio.c
145
offset += count;
usr.bin/mail/fio.c
146
this.m_size += count;
usr.bin/mail/fio.c
55
int c, count;
usr.bin/mail/fio.c
98
count = strlen(linebuf);
usr.bin/mail/names.c
552
if ((t = count(n)) == 0)
usr.bin/mail/send.c
180
count--; /* skip final blank line */
usr.bin/mail/send.c
182
while (count > 0) {
usr.bin/mail/send.c
187
count -= c = strlen(line);
usr.bin/mail/send.c
202
while (count > 0) {
usr.bin/mail/send.c
203
c = count < LINESIZE ? count : LINESIZE;
usr.bin/mail/send.c
206
count -= c;
usr.bin/mail/send.c
338
if (count(to) == 0)
usr.bin/mail/send.c
52
long count;
usr.bin/mail/send.c
69
count = mp->m_size;
usr.bin/mail/send.c
77
while (count > 0 && ishead) {
usr.bin/mail/send.c
80
count -= length = strlen(line);
usr.bin/mkimg/image.c
546
image_copyout_zeroes(int fd, size_t count)
usr.bin/mkimg/image.c
552
if (lseek(fd, (off_t)count, SEEK_CUR) != -1)
usr.bin/mkimg/image.c
565
while (count > 0) {
usr.bin/mkimg/image.c
566
sz = (count > secsz) ? secsz : count;
usr.bin/mkimg/image.c
570
count -= sz;
usr.bin/mkimg/image.h
40
int image_copyout_zeroes(int fd, size_t count);
usr.bin/msgs/msgs.c
814
int count;
usr.bin/msgs/msgs.c
833
count = sizeof(from) - 1;
usr.bin/msgs/msgs.c
834
while (*in && *in > ' ' && count-- > 0) {
usr.bin/ncal/ncal.c
629
int count = 0;
usr.bin/ncal/ncal.c
632
count++;
usr.bin/ncal/ncal.c
647
for (i = 0; i < count; i++)
usr.bin/ncal/ncal.c
659
for (i = 0; i < count; i++) {
usr.bin/ncal/ncal.c
673
for (j = 0; j < count; j++)
usr.bin/ncal/ncal.c
719
int count = 0;
usr.bin/ncal/ncal.c
722
count++;
usr.bin/ncal/ncal.c
738
for (i = 0; i < count; i++)
usr.bin/ncal/ncal.c
752
for (j = 0; j < count; j++)
usr.bin/ncal/ncal.c
762
for (i = 0; i < count; i++)
usr.bin/procstat/procstat.c
218
kinfo_proc_sort(struct kinfo_proc *kipp, int count)
usr.bin/procstat/procstat.c
221
qsort(kipp, count, sizeof(*kipp), kinfo_proc_compare);
usr.bin/procstat/procstat.h
55
void kinfo_proc_sort(struct kinfo_proc *kipp, int count);
usr.bin/procstat/procstat_auxv.c
51
u_int count, i;
usr.bin/procstat/procstat_auxv.c
58
auxv = procstat_getauxv(procstat, kipp, &count);
usr.bin/procstat/procstat_auxv.c
67
for (i = 0; i < count; i++) {
usr.bin/procstat/procstat_cs.c
50
unsigned int count, i;
usr.bin/procstat/procstat_cs.c
58
kipp->ki_pid, &count);
usr.bin/procstat/procstat_cs.c
61
kinfo_proc_sort(kip, count);
usr.bin/procstat/procstat_cs.c
62
for (i = 0; i < count; i++) {
usr.bin/procstat/procstat_files.c
256
u_int count, i, width;
usr.bin/procstat/procstat_files.c
258
count = 0;
usr.bin/procstat/procstat_files.c
263
if (count)
usr.bin/procstat/procstat_files.c
265
count++;
usr.bin/procstat/procstat_files.c
274
u_int count, i;
usr.bin/procstat/procstat_files.c
276
count = 0;
usr.bin/procstat/procstat_files.c
286
xo_emit("{D:/%s}{l:capabilities/%s}", count ? "," : "",
usr.bin/procstat/procstat_files.c
288
count++;
usr.bin/procstat/procstat_kqueue.c
238
unsigned int count, i, j;
usr.bin/procstat/procstat_kqueue.c
242
knis = procstat_get_kqueue_info(procstat, kipp, fd, &count, errbuf);
usr.bin/procstat/procstat_kqueue.c
248
for (i = 0; i < count; i++) {
usr.bin/procstat/procstat_kstack.c
157
kinfo_kstack_sort(struct kinfo_kstack *kkstp, int count)
usr.bin/procstat/procstat_kstack.c
160
qsort(kkstp, count, sizeof(*kkstp), kinfo_kstack_compare);
usr.bin/procstat/procstat_ptlwpinfo.c
39
unsigned int count, i;
usr.bin/procstat/procstat_ptlwpinfo.c
41
pl = procstat_getptlwpinfo(prstat, &count);
usr.bin/procstat/procstat_ptlwpinfo.c
52
for (i = 0; i < count; i++) {
usr.bin/procstat/procstat_rusage.c
164
unsigned int count, i;
usr.bin/procstat/procstat_rusage.c
184
kipp->ki_pid, &count);
usr.bin/procstat/procstat_rusage.c
187
kinfo_proc_sort(kip, count);
usr.bin/procstat/procstat_rusage.c
188
for (i = 0; i < count; i++) {
usr.bin/procstat/procstat_sigs.c
142
unsigned int count, i;
usr.bin/procstat/procstat_sigs.c
150
kipp->ki_pid, &count);
usr.bin/procstat/procstat_sigs.c
156
kinfo_proc_sort(kip, count);
usr.bin/procstat/procstat_sigs.c
157
for (i = 0; i < count; i++) {
usr.bin/procstat/procstat_sigs.c
193
unsigned int count, i;
usr.bin/procstat/procstat_sigs.c
202
kipp->ki_pid, &count);
usr.bin/procstat/procstat_sigs.c
208
kinfo_proc_sort(kip, count);
usr.bin/procstat/procstat_sigs.c
209
for (i = 0; i < count; i++) {
usr.bin/procstat/procstat_threads.c
47
unsigned int count, i;
usr.bin/procstat/procstat_threads.c
61
kipp->ki_pid, &count);
usr.bin/procstat/procstat_threads.c
64
kinfo_proc_sort(kip, count);
usr.bin/procstat/procstat_threads.c
65
for (i = 0; i < count; i++) {
usr.bin/rpcgen/rpc_hout.c
370
int count = 0;
usr.bin/rpcgen/rpc_hout.c
378
count = 1;
usr.bin/rpcgen/rpc_hout.c
381
f_print(fout, " = %d", count++);
usr.bin/rpcgen/rpc_hout.c
383
f_print(fout, " = %s + %d", last, count++);
usr.bin/rpcgen/rpc_sample.c
62
int count = 0;
usr.bin/rpcgen/rpc_sample.c
69
++count;
usr.bin/rpcgen/rpc_sample.c
71
return(count);
usr.bin/sdiotool/cam_sdio.c
331
int start, i, ch, count, ret;
usr.bin/sdiotool/cam_sdio.c
354
for (count = 0, start = 0, i = 0;
usr.bin/sdiotool/cam_sdio.c
355
(count < 4) && ((i + 4) < 256); i++) {
usr.bin/sdiotool/cam_sdio.c
357
printf("count=%d, start=%d, i=%d, Got %c (0x%02x)\n", count, start, i, ch, ch);
usr.bin/sdiotool/cam_sdio.c
362
cis1_info[count] =
usr.bin/sdiotool/cam_sdio.c
365
count++;
usr.bin/sed/process.c
550
unsigned int count, idx;
usr.bin/sed/process.c
570
while ((count = fread(buf, sizeof(char), sizeof(buf), f)))
usr.bin/sed/process.c
571
(void)fwrite(buf, sizeof(char), count, outfile);
usr.bin/sort/file.c
1043
if ((fl == NULL) || (size_t) (fl->count) < max_open_files)
usr.bin/sort/file.c
1050
while (indx < fl->count) {
usr.bin/sort/file.c
1054
num = fl->count - indx;
usr.bin/sort/file.c
1072
fl->count = new_fl.count;
usr.bin/sort/file.c
1091
merge_files_array(fl->count, fl->fns, fn_out);
usr.bin/sort/file.c
1112
static int sort_qsort(void *list, size_t count, size_t elem_size,
usr.bin/sort/file.c
1116
qsort(list, count, elem_size, cmp_func);
usr.bin/sort/file.c
1163
rxsort(list->list, list->count);
usr.bin/sort/file.c
1199
g_sort_func(list->list, list->count, sizeof(struct sort_list_item *),
usr.bin/sort/file.c
1217
if (l1->count == 0) {
usr.bin/sort/file.c
1218
return ((l2->count == 0) ? 0 : +1);
usr.bin/sort/file.c
1219
} else if (l2->count == 0) {
usr.bin/sort/file.c
1323
if (sl && sl->count && f_out && sl->list[0]->str) {
usr.bin/sort/file.c
1344
if (sl && sl->count) {
usr.bin/sort/file.c
1346
sl->count -= 1;
usr.bin/sort/file.c
1365
while (sl[0]->count) { /* unfinished lists are always in front */
usr.bin/sort/file.c
1400
if (nthreads < 2 || list->count < MT_SORT_THRESHOLD) {
usr.bin/sort/file.c
1405
sort_func(list->list, list->count,
usr.bin/sort/file.c
1419
avgsize = list->count / nthreads;
usr.bin/sort/file.c
1433
sz = (i == nthreads - 1) ? list->count - cstart :
usr.bin/sort/file.c
1436
parts[i]->count = sz;
usr.bin/sort/file.c
1438
parts[i]->size = parts[i]->count;
usr.bin/sort/file.c
222
if (fl->count >= fl->sz || (fl->fns == NULL)) {
usr.bin/sort/file.c
227
fl->fns[fl->count] = allocate ? sort_strdup(fn) : fn;
usr.bin/sort/file.c
228
fl->count += 1;
usr.bin/sort/file.c
259
for (i = 0; i < fl->count; i++) {
usr.bin/sort/file.c
271
fl->count = 0;
usr.bin/sort/file.c
297
size_t indx = l->count;
usr.bin/sort/file.c
311
l->count += 1;
usr.bin/sort/file.c
326
for (i = 0; i < l->count; i++) {
usr.bin/sort/file.c
340
l->count = 0;
usr.bin/sort/file.c
363
for (i = 0; i < l->count; ++i)
usr.bin/sort/file.c
369
for (i = 0; i < l->count; ++i) {
usr.bin/sort/file.h
53
size_t count;
usr.bin/sort/file.h
69
size_t count;
usr.bin/sort/sort.c
1285
if (fl.count < 1)
usr.bin/sort/sort.c
1288
if (list.count > 0) {
usr.bin/systat/swap.c
149
int count, i;
usr.bin/systat/swap.c
168
count = 50 * kvmsw[i].ksw_used / kvmsw[i].ksw_total;
usr.bin/systat/swap.c
169
sysputXs(wnd, i + 1, pathlen + 5 + 1 + 5 + 1, count);
usr.bin/systat/swap.c
173
count = kvnsw == 1 ? 2 : 3;
usr.bin/systat/swap.c
174
proclabel(kvnsw + count);
usr.bin/systat/swap.c
175
procshow(kvnsw + count, LINES - 5 - kvnsw + 3 - DISKHIGHT + 1,
usr.bin/units/units.c
433
unsigned int count;
usr.bin/units/units.c
435
for (count = 0, ptr = theunit->numerator; *ptr; ptr++, count++);
usr.bin/units/units.c
436
qsort(theunit->numerator, count, sizeof(char *), compare);
usr.bin/units/units.c
437
for (count = 0, ptr = theunit->denominator; *ptr; ptr++, count++);
usr.bin/units/units.c
438
qsort(theunit->denominator, count, sizeof(char *), compare);
usr.bin/vmstat/vmstat.c
1222
unsigned long count, rate;
usr.bin/vmstat/vmstat.c
1230
count = *intrcnts - *old_intrcnts;
usr.bin/vmstat/vmstat.c
1231
rate = ((uint64_t)count * 1000 + period_ms / 2) / period_ms;
usr.bin/vmstat/vmstat.c
1235
(int)istrnamlen, intrnames, intrnames, count, rate);
usr.bin/whois/whois.c
309
size_t count;
usr.bin/whois/whois.c
313
for (res = hostres, count = 0; res; res = res->ai_next)
usr.bin/whois/whois.c
314
count++;
usr.bin/whois/whois.c
315
fds = calloc(count, sizeof(*fds));
usr.bin/whois/whois.c
323
count = i = 0;
usr.bin/whois/whois.c
340
count++;
usr.bin/whois/whois.c
351
if (count == 0)
usr.bin/whois/whois.c
404
count--;
usr.bin/whois/whois.c
415
} while (timeout == INFTIM && count != 0);
usr.bin/whois/whois.c
420
if (count == 0)
usr.bin/xargs/xargs.c
326
count++;
usr.bin/xargs/xargs.c
333
count++; /* Indicate end-of-line (used by -L) */
usr.bin/xargs/xargs.c
391
(Lflag <= count && xflag) || foundeof) {
usr.bin/xargs/xargs.c
407
count = 0;
usr.bin/xargs/xargs.c
81
static int count, insingle, indouble, oflag, pflag, tflag, Rflag, rval, zflag;
usr.sbin/arp/arp_netlink.c
304
int count = 0;
usr.sbin/arp/arp_netlink.c
328
count++;
usr.sbin/arp/arp_netlink.c
335
return (count);
usr.sbin/bhyve/amd64/e820.c
115
int count, i;
usr.sbin/bhyve/amd64/e820.c
117
count = 0;
usr.sbin/bhyve/amd64/e820.c
119
++count;
usr.sbin/bhyve/amd64/e820.c
121
if (count == 0) {
usr.sbin/bhyve/amd64/e820.c
131
fwcfg_item->size = count * sizeof(struct e820_entry);
usr.sbin/bhyve/amd64/e820.c
132
fwcfg_item->data = calloc(count, sizeof(struct e820_entry));
usr.sbin/bhyve/amd64/inout.c
109
uint64_t gla, index, iterations, count;
usr.sbin/bhyve/amd64/inout.c
150
count = vis->count & vie_size2mask(addrsize);
usr.sbin/bhyve/amd64/inout.c
153
iterations = MIN(count, 16);
usr.sbin/bhyve/amd64/inout.c
196
count--;
usr.sbin/bhyve/amd64/inout.c
210
count, addrsize);
usr.sbin/bhyve/amd64/inout.c
215
if (retval == 0 && count != 0) {
usr.sbin/bhyve/amd64/mptbl.c
197
int bus, count;
usr.sbin/bhyve/amd64/mptbl.c
199
count = 0;
usr.sbin/bhyve/amd64/mptbl.c
201
count += pci_count_lintr(bus);
usr.sbin/bhyve/amd64/mptbl.c
207
return (16 + count);
usr.sbin/bhyve/audio.c
224
audio_playback(struct audio *aud, const uint8_t *buf, size_t count)
usr.sbin/bhyve/audio.c
237
for (total = 0; total < count; total += len) {
usr.sbin/bhyve/audio.c
238
len = write(audio_fd, buf + total, count - total);
usr.sbin/bhyve/audio.c
258
audio_record(struct audio *aud, uint8_t *buf, size_t count)
usr.sbin/bhyve/audio.c
271
for (total = 0; total < count; total += len) {
usr.sbin/bhyve/audio.c
272
len = read(audio_fd, buf + total, count - total);
usr.sbin/bhyve/audio.h
74
int audio_playback(struct audio *aud, const uint8_t *buf, size_t count);
usr.sbin/bhyve/audio.h
84
int audio_record(struct audio *aud, uint8_t *buf, size_t count);
usr.sbin/bhyve/iov.c
54
size_t count, resid;
usr.sbin/bhyve/iov.c
58
for (count = 0; count < *niov1; count++) {
usr.sbin/bhyve/iov.c
59
if (resid < iov[count].iov_len)
usr.sbin/bhyve/iov.c
61
resid -= iov[count].iov_len;
usr.sbin/bhyve/iov.c
64
if (resid == 0 || count == *niov1) {
usr.sbin/bhyve/iov.c
66
*niov2 = *niov1 - count;
usr.sbin/bhyve/iov.c
67
*niov1 = count;
usr.sbin/bhyve/iov.c
70
return (&iov[count]);
usr.sbin/bhyve/iov.c
74
*niov1 = count + 1;
usr.sbin/bhyve/iov.c
75
*niov2 = *niov1 - count;
usr.sbin/bhyve/iov.c
76
memmove(&iov[count + 1], &iov[count], sizeof(struct iovec) * (*niov2));
usr.sbin/bhyve/iov.c
77
iov[count].iov_len = resid;
usr.sbin/bhyve/iov.c
78
iov[count + 1].iov_base = (char *)iov[count].iov_base + resid;
usr.sbin/bhyve/iov.c
79
iov[count + 1].iov_len -= resid;
usr.sbin/bhyve/iov.c
80
return (&iov[count + 1]);
usr.sbin/bhyve/pci_emul.c
2091
int count, slot, pin;
usr.sbin/bhyve/pci_emul.c
2094
count = 0;
usr.sbin/bhyve/pci_emul.c
2100
count++;
usr.sbin/bhyve/pci_emul.c
2104
return (count);
usr.sbin/bhyve/pci_hda.c
1115
uint8_t *buf, size_t count)
usr.sbin/bhyve/pci_hda.c
1130
assert(!(count % HDA_DMA_ACCESS_LEN));
usr.sbin/bhyve/pci_hda.c
1164
left = count;
usr.sbin/bhyve/pci_hda.c
200
uint8_t dir, uint8_t *buf, size_t count);
usr.sbin/bhyve/pci_hda.h
87
uint8_t dir, uint8_t *buf, size_t count);
usr.sbin/bhyve/pci_virtio_input.c
236
pci_vtinput_get_bitmap(struct pci_vtinput_softc *sc, int cmd, int count)
usr.sbin/bhyve/pci_virtio_input.c
238
if (count <= 0 || !sc) {
usr.sbin/bhyve/pci_virtio_input.c
249
for (int i = count - 1; i >= 0; i--) {
usr.sbin/bhyve/pci_virtio_input.c
307
const int count = howmany(INPUT_PROP_CNT, sizeof(long) * 8) *
usr.sbin/bhyve/pci_virtio_input.c
309
const unsigned int cmd = EVIOCGPROP(count);
usr.sbin/bhyve/pci_virtio_input.c
310
const int size = pci_vtinput_get_bitmap(sc, cmd, count);
usr.sbin/bhyve/pci_virtio_input.c
323
int count;
usr.sbin/bhyve/pci_virtio_input.c
327
count = KEY_CNT;
usr.sbin/bhyve/pci_virtio_input.c
330
count = REL_CNT;
usr.sbin/bhyve/pci_virtio_input.c
333
count = ABS_CNT;
usr.sbin/bhyve/pci_virtio_input.c
336
count = MSC_CNT;
usr.sbin/bhyve/pci_virtio_input.c
339
count = SW_CNT;
usr.sbin/bhyve/pci_virtio_input.c
342
count = LED_CNT;
usr.sbin/bhyve/pci_virtio_input.c
354
count = howmany(count, sizeof(long) * 8) * sizeof(long);
usr.sbin/bhyve/pci_virtio_input.c
355
const unsigned int cmd = EVIOCGBIT(sc->vsc_config.subsel, count);
usr.sbin/bhyve/pci_virtio_input.c
356
const int size = pci_vtinput_get_bitmap(sc, cmd, count);
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
103
(*count)++;
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
112
int count = 0;
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
138
ret = walk_config_nodes("", nvl, &count, vtscsi_ctl_count_targets);
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
142
if (count == 0)
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
95
int *count = arg;
usr.sbin/bhyve/qemu_fwcfg.c
328
const uint32_t count = be32toh(fwcfg_sc.directory->be_count) + 1;
usr.sbin/bhyve/qemu_fwcfg.c
331
const uint32_t index = QEMU_FWCFG_FIRST_FILE_INDEX + count - 1;
usr.sbin/bhyve/qemu_fwcfg.c
342
for (file_index = 0; file_index < count - 1; ++file_index) {
usr.sbin/bhyve/qemu_fwcfg.c
348
if (count > QEMU_FWCFG_MIN_FILES) {
usr.sbin/bhyve/qemu_fwcfg.c
351
count * sizeof(struct qemu_fwcfg_file);
usr.sbin/bhyve/qemu_fwcfg.c
357
__func__, count);
usr.sbin/bhyve/qemu_fwcfg.c
368
(count - file_index - 1) * sizeof(struct qemu_fwcfg_file));
usr.sbin/bhyve/qemu_fwcfg.c
394
fwcfg_sc.directory->be_count = htobe32(count);
usr.sbin/bhyve/qemu_fwcfg.c
402
count * sizeof(struct qemu_fwcfg_file);
usr.sbin/bhyvectl/aarch64/bhyvectl_machdep.c
55
bhyvectl_opts(const struct option *options, size_t count)
usr.sbin/bhyvectl/aarch64/bhyvectl_machdep.c
59
all_opts = calloc(count + 1, sizeof(struct option));
usr.sbin/bhyvectl/aarch64/bhyvectl_machdep.c
62
memcpy(all_opts, options, count * sizeof(struct option));
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1113
bhyvectl_opts(const struct option *options, size_t count)
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1302
optlen = count * sizeof(struct option) + sizeof(common_opts);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1316
memcpy(cp, options, count * sizeof(struct option));
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1317
cp += count * sizeof(struct option);
usr.sbin/bhyvectl/bhyvectl.h
47
struct option *bhyvectl_opts(const struct option *options, size_t count);
usr.sbin/bhyvectl/riscv/bhyvectl_machdep.c
55
bhyvectl_opts(const struct option *options, size_t count)
usr.sbin/bhyvectl/riscv/bhyvectl_machdep.c
59
all_opts = calloc(count + 1, sizeof(struct option));
usr.sbin/bhyvectl/riscv/bhyvectl_machdep.c
62
memcpy(all_opts, options, count * sizeof(struct option));
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
106
count -= size;
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
53
int size, count, sent = 0;
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
56
count = fw->len;
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
58
size = XMIN(count, FW_HDR_SIZE);
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
61
__func__, fw->fwname, count);
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
82
count -= size;
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
85
while (count) {
usr.sbin/bluetooth/ath3kfw/ath3k_hw.c
86
size = XMIN(count, BULK_SIZE);
usr.sbin/bluetooth/btpand/server.c
71
server_update(int count)
usr.sbin/bluetooth/btpand/server.c
77
log_debug("count %d", count);
usr.sbin/bluetooth/btpand/server.c
79
server_avail = UINT8_MAX - (count - 1) * UINT8_MAX / server_limit;
usr.sbin/bluetooth/l2ping/l2ping.c
106
count = strtol(optarg, &endp, 10);
usr.sbin/bluetooth/l2ping/l2ping.c
107
if (count <= 0 || *endp != '\0')
usr.sbin/bluetooth/l2ping/l2ping.c
192
for (n = 0; count == -1 || count > 0; n ++) {
usr.sbin/bluetooth/l2ping/l2ping.c
235
if (count != -1)
usr.sbin/bluetooth/l2ping/l2ping.c
236
count --;
usr.sbin/bluetooth/l2ping/l2ping.c
69
int32_t n, s, count, wait, flood, echo_size, numeric;
usr.sbin/bluetooth/l2ping/l2ping.c
88
count = -1; /* unimited */
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
146
int32_t count, optnum = 0;
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
167
count = parse_authentication(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
170
count = parse_skip_access(snmptoolctx);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
173
count = parse_buflen(optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
176
count = parse_discovery(snmptoolctx);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
179
count = parse_debug();
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
182
count = parse_errors(snmptoolctx);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
188
count = parse_context(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
191
count = parse_include(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
194
count = parse_file(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
197
count = parse_local_key(snmptoolctx);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
200
count = parse_local_path(optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
203
count = parse_max_repetitions(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
206
count = parse_non_repeaters(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
209
count = parse_num_oids(snmptoolctx);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
212
count = parse_output(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
215
count = parse_privacy(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
218
count = parse_pdu_type(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
221
count = parse_retry(optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
224
count = parse_server(optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
227
count = parse_timeout(optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
230
count = parse_user_security(snmptoolctx, optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
233
count = parse_version(optarg);
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
240
if (count < 0)
usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
242
optnum += count;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
444
size_t count;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
456
for (count = 0; i < alen; i += 2) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
465
binstr[count] = (uint8_t) val;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
466
if (++count >= binlen) {
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
473
return (count);
usr.sbin/cdcontrol/cdcontrol.c
292
int l, r, rc, count;
usr.sbin/cdcontrol/cdcontrol.c
439
count = sscanf (arg, "%d %d", &l, &r);
usr.sbin/cdcontrol/cdcontrol.c
440
if (count == 1)
usr.sbin/cdcontrol/cdcontrol.c
442
if (count == 2)
usr.sbin/cron/lib/env.c
115
p = (char **) reallocarray(envp, count+1, sizeof(char *));
usr.sbin/cron/lib/env.c
121
p[count] = p[count-1];
usr.sbin/cron/lib/env.c
122
if ((p[count-1] = strdup(envstr)) == NULL) {
usr.sbin/cron/lib/env.c
53
int count, i;
usr.sbin/cron/lib/env.c
56
for (count = 0; envp[count] != NULL; count++)
usr.sbin/cron/lib/env.c
58
p = (char **) reallocarray(NULL, count+1, sizeof(char *)); /* 1 for the NULL */
usr.sbin/cron/lib/env.c
63
for (i = 0; i < count; i++)
usr.sbin/cron/lib/env.c
71
p[count] = NULL;
usr.sbin/cron/lib/env.c
79
int count, found;
usr.sbin/cron/lib/env.c
88
for (count = 0; envp[count] != NULL; count++) {
usr.sbin/cron/lib/env.c
89
if (!strcmp_until(envp[count], envstr, '='))
usr.sbin/cron/lib/env.c
90
found = count;
usr.sbin/cron/lib/env.c
92
count++; /* for the NULL */
usr.sbin/ctladm/ctladm.h
47
void arg_put(void *hook, int letter, void *arg, int count, char *name);
usr.sbin/ctladm/util.c
110
arg_put(void *hook __unused, int letter, void *arg, int count, char *name)
usr.sbin/ctladm/util.c
127
p = malloc(count + 1);
usr.sbin/ctladm/util.c
133
bzero(p, count +1);
usr.sbin/ctladm/util.c
134
strncpy(p, (char *)arg, count);
usr.sbin/ctladm/util.c
138
for (i = count - 1; i >= 0; i--)
usr.sbin/ctld/ctld.cc
2046
if (conf_isns.count(kv.first) == 0)
usr.sbin/ctld/ctld.cc
290
return (ag_host_names.count(std::string(nqn)) != 0);
usr.sbin/ctld/ctld.cc
307
return (ag_initiator_names.count(std::string(initiator_name)) != 0);
usr.sbin/ctld/ctld.cc
857
if (conf_isns.count(addr) > 0) {
usr.sbin/diskinfo/diskinfo.c
376
TN(int count)
usr.sbin/diskinfo/diskinfo.c
382
count, dt, dt * 1000.0 / count);
usr.sbin/diskinfo/diskinfo.c
386
TR(double count)
usr.sbin/diskinfo/diskinfo.c
392
count, dt, count / dt);
usr.sbin/diskinfo/diskinfo.c
396
TI(double count)
usr.sbin/diskinfo/diskinfo.c
402
count, dt, count / dt);
usr.sbin/diskinfo/diskinfo.c
406
TS(u_int size, int count)
usr.sbin/diskinfo/diskinfo.c
412
dt * 1000000.0 / count, (double)size * count / dt / (1024 * 1024));
usr.sbin/dumpcis/printcis.c
65
int count = 0, sz, ad, i;
usr.sbin/dumpcis/printcis.c
706
int count = 0;
usr.sbin/dumpcis/printcis.c
713
if (count++ == 0)
usr.sbin/dumpcis/printcis.c
716
count, dev[x >> 4], (x & 0x8) ? "ON" : "OFF");
usr.sbin/dumpcis/printcis.c
72
++count, tp->code, tuple_name(tp->code), tp->length);
usr.sbin/fstyp/exfat.c
139
read_sectn(FILE *fp, off_t sect, unsigned count, unsigned bytespersec)
usr.sbin/fstyp/exfat.c
141
return (read_buf(fp, sect * bytespersec, bytespersec * count));
usr.sbin/fstyp/hammer.c
64
static int count = 0;
usr.sbin/fstyp/hammer.c
78
if (count == 0) {
usr.sbin/fstyp/hammer.c
79
count = ondisk->vol_count;
usr.sbin/fstyp/hammer.c
80
assert(count != 0);
usr.sbin/fstyp/hammer.c
85
if (ondisk->vol_count != count)
usr.sbin/fwcontrol/fwdv.c
132
while (count <= 0 || k <= count) {
usr.sbin/fwcontrol/fwdv.c
228
if (k == 0 || (count > 0 && k > count))
usr.sbin/fwcontrol/fwdv.c
252
dvsend(int d, const char *filename, char ich, int count)
usr.sbin/fwcontrol/fwdv.c
355
if (count > 0 && frames > count)
usr.sbin/fwcontrol/fwdv.c
91
dvrecv(int d, const char *filename, char ich, int count)
usr.sbin/fwcontrol/fwmethods.h
5
typedef void (fwmethod)(int dev_fd, const char *filename, char ich, int count);
usr.sbin/fwcontrol/fwmpegts.c
149
mpegtsrecv(int d, const char *filename, char ich, int count)
usr.sbin/fwcontrol/fwmpegts.c
187
while (count <= 0 || k <= count) {
usr.sbin/i2c/i2c.c
232
cmd.count = 0;
usr.sbin/i2c/i2c.c
319
cmd->count = i2c_opt.off_len;
usr.sbin/i2c/i2c.c
330
char buf[i2c_opt.off_len + i2c_opt.count];
usr.sbin/i2c/i2c.c
352
cmd.count = i2c_opt.count;
usr.sbin/i2c/i2c.c
369
cmd.count = i2c_opt.count;
usr.sbin/i2c/i2c.c
379
memcpy(buf + i2c_opt.off_len, i2c_buf, i2c_opt.count);
usr.sbin/i2c/i2c.c
383
cmd.count = i2c_opt.off_len + i2c_opt.count;
usr.sbin/i2c/i2c.c
404
cmd.count = 1;
usr.sbin/i2c/i2c.c
417
cmd.count = 1;
usr.sbin/i2c/i2c.c
428
cmd.count = i2c_opt.count;
usr.sbin/i2c/i2c.c
476
msgp->len = i2c_opt.count;
usr.sbin/i2c/i2c.c
492
uint8_t i2c_buf[i2c_opt.count];
usr.sbin/i2c/i2c.c
502
i2c_opt.count);
usr.sbin/i2c/i2c.c
503
if (fread(i2c_buf, 1, i2c_opt.count, stdin) != i2c_opt.count)
usr.sbin/i2c/i2c.c
516
(void)fwrite(i2c_buf, 1, i2c_opt.count, stdout);
usr.sbin/i2c/i2c.c
522
for (u = 0; u < i2c_opt.count; u++) {
usr.sbin/i2c/i2c.c
54
unsigned count;
usr.sbin/i2c/i2c.c
635
i2c_opt.count = strtoul(cmd, &cmd, 0);
usr.sbin/i2c/i2c.c
636
if (i2c_opt.count == 0 && errno == EINVAL) {
usr.sbin/i2c/i2c.c
641
i2c_opt.count = 0;
usr.sbin/i2c/i2c.c
651
dbuf[i2c_opt.count] = digittoint(*cmd++) << 4;
usr.sbin/i2c/i2c.c
663
dbuf[i2c_opt.count++] |= digittoint(*cmd++);
usr.sbin/i2c/i2c.c
684
for (u = 0; u < i2c_opt.count; u++)
usr.sbin/i2c/i2c.c
758
i2c_opt.count = 1;
usr.sbin/i2c/i2c.c
811
i2c_opt.count = (strtoul(optarg, 0, 10));
usr.sbin/i2c/i2c.c
812
if (i2c_opt.count == 0 && errno == EINVAL)
usr.sbin/i2c/i2c.c
892
i2c_opt.width, i2c_opt.count);
usr.sbin/inetd/builtins.c
750
int count = 0, n;
usr.sbin/inetd/builtins.c
759
n = read(fd, buf, len-count);
usr.sbin/inetd/builtins.c
762
return (count);
usr.sbin/inetd/builtins.c
767
return (count);
usr.sbin/inetd/builtins.c
768
count++;
usr.sbin/inetd/builtins.c
771
} while (count < len);
usr.sbin/inetd/builtins.c
772
return (count);
usr.sbin/iostat/iostat.c
182
int count = 0, waittime = 0;
usr.sbin/iostat/iostat.c
208
count = atoi(optarg);
usr.sbin/iostat/iostat.c
209
if (count < 1)
usr.sbin/iostat/iostat.c
210
errx(1, "count %d is < 1", count);
usr.sbin/iostat/iostat.c
398
count = atoi(*argv);
usr.sbin/iostat/iostat.c
401
" instead", count);
usr.sbin/iostat/iostat.c
404
count = -1;
usr.sbin/iostat/iostat.c
421
count = -1;
usr.sbin/iostat/iostat.c
628
if ((count >= 0 && --count <= 0) || return_requested)
usr.sbin/ip6addrctl/ip6addrctl.c
257
int count = 0;
usr.sbin/ip6addrctl/ip6addrctl.c
265
count++;
usr.sbin/ip6addrctl/ip6addrctl.c
302
errx(1, "parse failed at line %d", count);
usr.sbin/jls/jls.c
630
int ai, count;
usr.sbin/jls/jls.c
646
count = param->jp_valuelen / addr_len;
usr.sbin/jls/jls.c
649
for (ai = 0; ai < count; ai++) {
usr.sbin/kbdmap/kbdmap.c
101
count++;
usr.sbin/kbdmap/kbdmap.c
103
return count;
usr.sbin/kbdmap/kbdmap.c
98
int count = 0;
usr.sbin/lpr/lptest/lptest.c
44
int len, count;
usr.sbin/lpr/lptest/lptest.c
54
count = atoi(argv[2]);
usr.sbin/lpr/lptest/lptest.c
56
count = 200;
usr.sbin/lpr/lptest/lptest.c
58
for (i = 0; i < count; i++) {
usr.sbin/makefs/cd9660.c
1030
int numbts, digit, digits, temp, powers, count;
usr.sbin/makefs/cd9660.c
1051
count = 0;
usr.sbin/makefs/cd9660.c
1067
while (count < maxlength) {
usr.sbin/makefs/cd9660.c
1071
count++;
usr.sbin/makefs/cd9660.c
1074
if ((count + digits) < maxlength)
usr.sbin/makefs/cd9660.c
1075
numbts = count;
usr.sbin/makefs/cd9660.c
1192
int count = 0;
usr.sbin/makefs/cd9660.c
1200
count++;
usr.sbin/makefs/cd9660.c
1202
return count;
usr.sbin/makefs/cd9660.c
1206
printf("%s: count is %i\n", __func__, count);
usr.sbin/makefs/cd9660.c
1210
count++;
usr.sbin/makefs/cd9660.c
1211
return cd9660_recurse_on_collision(next, count);
usr.sbin/makefs/cd9660.c
1213
return count;
usr.sbin/makefs/cd9660.c
1216
return count;
usr.sbin/makefs/msdos.h
67
int m_extendfile(struct denode *dep, u_long count, struct m_buf **bpp,
usr.sbin/makefs/msdos/msdosfs_denode.c
329
u_long count;
usr.sbin/makefs/msdos/msdosfs_denode.c
350
count = de_clcount(pmp, length) - de_clcount(pmp, dep->de_FileSize);
usr.sbin/makefs/msdos/msdosfs_denode.c
351
if (count > 0) {
usr.sbin/makefs/msdos/msdosfs_denode.c
352
if (count > pmp->pm_freeclustercount)
usr.sbin/makefs/msdos/msdosfs_denode.c
354
error = m_extendfile(dep, count, NULL, NULL, DE_CLEAR);
usr.sbin/makefs/msdos/msdosfs_fat.c
1000
error = clusteralloc(pmp, cn, count, CLUST_EOFE, &cn, &got);
usr.sbin/makefs/msdos/msdosfs_fat.c
1004
count -= got;
usr.sbin/makefs/msdos/msdosfs_fat.c
555
fatchain(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith)
usr.sbin/makefs/msdos/msdosfs_fat.c
563
pmp, start, count, fillwith);
usr.sbin/makefs/msdos/msdosfs_fat.c
568
if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
usr.sbin/makefs/msdos/msdosfs_fat.c
571
while (count > 0) {
usr.sbin/makefs/msdos/msdosfs_fat.c
579
while (count > 0) {
usr.sbin/makefs/msdos/msdosfs_fat.c
581
newc = --count > 0 ? start : fillwith;
usr.sbin/makefs/msdos/msdosfs_fat.c
626
chainlength(struct msdosfsmount *pmp, u_long start, u_long count)
usr.sbin/makefs/msdos/msdosfs_fat.c
641
len = MIN(len, count);
usr.sbin/makefs/msdos/msdosfs_fat.c
647
if (len >= count) {
usr.sbin/makefs/msdos/msdosfs_fat.c
648
len = count;
usr.sbin/makefs/msdos/msdosfs_fat.c
654
if (len >= count)
usr.sbin/makefs/msdos/msdosfs_fat.c
663
len = MIN(len, count);
usr.sbin/makefs/msdos/msdosfs_fat.c
681
chainalloc(struct msdosfsmount *pmp, u_long start, u_long count,
usr.sbin/makefs/msdos/msdosfs_fat.c
689
for (cl = start, n = count; n-- > 0;)
usr.sbin/makefs/msdos/msdosfs_fat.c
691
pmp->pm_nxtfree = start + count;
usr.sbin/makefs/msdos/msdosfs_fat.c
695
error = fatchain(pmp, start, count, fillwith);
usr.sbin/makefs/msdos/msdosfs_fat.c
697
for (cl = start, n = count; n-- > 0;)
usr.sbin/makefs/msdos/msdosfs_fat.c
703
start, count);
usr.sbin/makefs/msdos/msdosfs_fat.c
708
*got = count;
usr.sbin/makefs/msdos/msdosfs_fat.c
724
clusteralloc(struct msdosfsmount *pmp, u_long start, u_long count,
usr.sbin/makefs/msdos/msdosfs_fat.c
729
error = clusteralloc1(pmp, start, count, fillwith, retcluster, got);
usr.sbin/makefs/msdos/msdosfs_fat.c
73
u_long count, u_long fillwith, u_long *retcluster,
usr.sbin/makefs/msdos/msdosfs_fat.c
734
clusteralloc1(struct msdosfsmount *pmp, u_long start, u_long count,
usr.sbin/makefs/msdos/msdosfs_fat.c
742
MSDOSFS_DPRINTF(("clusteralloc(): find %lu clusters\n", count));
usr.sbin/makefs/msdos/msdosfs_fat.c
745
if ((len = chainlength(pmp, start, count)) >= count)
usr.sbin/makefs/msdos/msdosfs_fat.c
746
return (chainalloc(pmp, start, count, fillwith, retcluster, got));
usr.sbin/makefs/msdos/msdosfs_fat.c
759
if ((l = chainlength(pmp, cn, count)) >= count)
usr.sbin/makefs/msdos/msdosfs_fat.c
76
u_long count);
usr.sbin/makefs/msdos/msdosfs_fat.c
760
return (chainalloc(pmp, cn, count, fillwith, retcluster, got));
usr.sbin/makefs/msdos/msdosfs_fat.c
776
if ((l = chainlength(pmp, cn, count)) >= count)
usr.sbin/makefs/msdos/msdosfs_fat.c
777
return (chainalloc(pmp, cn, count, fillwith, retcluster, got));
usr.sbin/makefs/msdos/msdosfs_fat.c
79
static int fatchain(struct msdosfsmount *pmp, u_long start, u_long count,
usr.sbin/makefs/msdos/msdosfs_fat.c
90
u_long count, u_long fillwith, u_long *retcluster,
usr.sbin/makefs/msdos/msdosfs_fat.c
950
m_extendfile(struct denode *dep, u_long count, struct m_buf **bpp, u_long *ncp,
usr.sbin/makefs/msdos/msdosfs_fat.c
986
while (count > 0) {
usr.sbin/mfiutil/mfi_config.c
294
u_int count;
usr.sbin/mfiutil/mfi_config.c
298
for (count = 0; cp != NULL; count++) {
usr.sbin/mfiutil/mfi_config.c
310
if (count >= MAX_DRIVES_PER_ARRAY) {
usr.sbin/mfiutil/mfi_config.c
318
if (count % 2 != 0) {
usr.sbin/mfiutil/mfi_config.c
326
if (count < 3) {
usr.sbin/mfiutil/mfi_config.c
334
if (count < 4) {
usr.sbin/mfiutil/mfi_config.c
343
info->drives = calloc(count, sizeof(struct mfi_pd_info));
usr.sbin/mfiutil/mfi_config.c
348
info->drive_count = count;
usr.sbin/mfiutil/mfi_drive.c
200
for (i = 0; i < list->count; i++) {
usr.sbin/mfiutil/mfi_evt.c
393
(long long)detail->args.ld_count.count);
usr.sbin/mfiutil/mfi_evt.c
668
for (i = 0; i < list->count; i++) {
usr.sbin/mfiutil/mfi_evt.c
691
seq = list->event[list->count - 1].seq + 1;
usr.sbin/mfiutil/mfi_foreign.c
103
info.count);
usr.sbin/mfiutil/mfi_foreign.c
238
if (info.count == 0) {
usr.sbin/mfiutil/mfi_foreign.c
245
for (i = 0; i < info.count; i++) {
usr.sbin/mfiutil/mfi_foreign.c
252
if (i < info.count - 1)
usr.sbin/mfiutil/mfi_foreign.c
310
if (info.count == 0) {
usr.sbin/mfiutil/mfi_foreign.c
328
if (cfgidx >= info.count) {
usr.sbin/mfiutil/mfi_foreign.c
330
cfgidx, info.count - 1);
usr.sbin/mfiutil/mfi_patrol.c
164
for (i = 0; i < list->count; i++) {
usr.sbin/mfiutil/mfi_show.c
560
for (i = 0; i < list->count; i++) {
usr.sbin/mfiutil/mfi_show.c
580
for (i = 0; i < list->count; i++) {
usr.sbin/mfiutil/mfi_show.c
741
for (i = 0; i < plist->count; i++) {
usr.sbin/mfiutil/mfiutil.h
136
uint32_t count; /* Number of foreign configs found */
usr.sbin/moused/moused/moused.c
1591
bt->bstate[i].count = 0;
usr.sbin/moused/moused/moused.c
1595
bt->zstate[i].count = 0;
usr.sbin/moused/moused/moused.c
2667
bt->zstate[2].count = 1;
usr.sbin/moused/moused/moused.c
2670
bt->zstate[0].count = 1;
usr.sbin/moused/moused/moused.c
2673
bt->zstate[3].count = 1;
usr.sbin/moused/moused/moused.c
2676
bt->zstate[1].count = 1;
usr.sbin/moused/moused/moused.c
2729
bt->bstate[i].count = 1;
usr.sbin/moused/moused/moused.c
2731
++bt->bstate[i].count;
usr.sbin/moused/moused/moused.c
2742
bt->bstate[i].count = 1;
usr.sbin/moused/moused/moused.c
2803
debug("mstate[%d]->count:%d", i, bt->mstate[i]->count);
usr.sbin/moused/moused/moused.c
2806
mouse.u.event.value = bt->mstate[i]->count;
usr.sbin/moused/moused/moused.c
295
int count; /* 0: up, 1: single click, 2: double click,... */
usr.sbin/moused/moused/util.c
381
size_t count;
usr.sbin/moused/moused/util.c
382
char **strv = strv_from_string(prop, ";", &count);
usr.sbin/moused/moused/util.c
383
if (!strv || count == 0 || count > ARRAY_LENGTH(props))
usr.sbin/moused/moused/util.c
386
count = min(*nprops, count);
usr.sbin/moused/moused/util.c
414
memcpy(props_out, props, count * sizeof *props);
usr.sbin/moused/moused/util.c
415
*nprops = count;
usr.sbin/mptutil/mpt_cam.c
398
int count, error;
usr.sbin/mptutil/mpt_cam.c
408
for (count = 100;; count+= 100) {
usr.sbin/mptutil/mpt_cam.c
414
bufsize = sizeof(struct dev_match_result) * (count + 1);
usr.sbin/mptutil/mpt_cam.c
485
count = 0;
usr.sbin/mptutil/mpt_cam.c
490
disks[count].bus = 0;
usr.sbin/mptutil/mpt_cam.c
491
disks[count].target = r->target_id;
usr.sbin/mptutil/mpt_cam.c
492
snprintf(disks[count].devname, sizeof(disks[count].devname),
usr.sbin/mptutil/mpt_cam.c
495
dev = cam_open_device(disks[count].devname, O_RDWR);
usr.sbin/mptutil/mpt_cam.c
497
fetch_scsi_capacity(dev, &disks[count]);
usr.sbin/mptutil/mpt_cam.c
498
fetch_scsi_inquiry(dev, &disks[count]);
usr.sbin/mptutil/mpt_cam.c
501
count++;
usr.sbin/mptutil/mpt_cam.c
506
*ndisks = count;
usr.sbin/mptutil/mpt_config.c
367
int count, error, i;
usr.sbin/mptutil/mpt_config.c
370
for (count = 0; cp != NULL; count++) {
usr.sbin/mptutil/mpt_config.c
384
if (count < 2) {
usr.sbin/mptutil/mpt_config.c
391
if (count != 2) {
usr.sbin/mptutil/mpt_config.c
398
if (count < 3) {
usr.sbin/mptutil/mpt_config.c
407
info->drives = calloc(count, sizeof(struct drive_info));
usr.sbin/mptutil/mpt_config.c
408
info->drive_count = count;
usr.sbin/mptutil/mpt_drive.c
148
int count, error, i, j;
usr.sbin/mptutil/mpt_drive.c
183
count = 0;
usr.sbin/mptutil/mpt_drive.c
198
count += volumes[i]->NumPhysDisks;
usr.sbin/mptutil/mpt_drive.c
200
count += ioc3->NumPhysDisks;
usr.sbin/mptutil/mpt_drive.c
201
count += ioc5->NumHotSpares;
usr.sbin/mptutil/mpt_drive.c
204
listsize = sizeof(*list) + sizeof(CONFIG_PAGE_RAID_PHYS_DISK_0) * count;
usr.sbin/ndp/ndp.c
668
int count = 0;
usr.sbin/ndp/ndp.c
703
count++;
usr.sbin/ndp/ndp.c
839
return (count);
usr.sbin/ndp/ndp_netlink.c
347
int count = 0;
usr.sbin/ndp/ndp_netlink.c
385
count++;
usr.sbin/ndp/ndp_netlink.c
399
return (count);
usr.sbin/ngctl/main.c
350
int count;
usr.sbin/ngctl/main.c
352
if ((buf = el_gets(el, &count)) == NULL) {
usr.sbin/ngctl/main.c
644
int k, count;
usr.sbin/ngctl/main.c
646
for (count = 0; count < len; count += DUMP_BYTES_PER_LINE) {
usr.sbin/ngctl/main.c
647
printf("%04x: ", count);
usr.sbin/ngctl/main.c
649
if (count + k < len) {
usr.sbin/ngctl/main.c
650
printf("%02x ", buf[count + k]);
usr.sbin/ngctl/main.c
657
if (count + k < len) {
usr.sbin/ngctl/main.c
658
printf("%c", isprint(buf[count + k]) ?
usr.sbin/ngctl/main.c
659
buf[count + k] : '.');
usr.sbin/nghook/main.c
254
int k, count;
usr.sbin/nghook/main.c
256
for (count = 0; count < len; count += 16) {
usr.sbin/nghook/main.c
257
snprintf(sbuf, sizeof(sbuf), "%04x: ", count);
usr.sbin/nghook/main.c
259
if (count + k < len)
usr.sbin/nghook/main.c
262
"%02x ", buf[count + k]);
usr.sbin/nghook/main.c
268
if (count + k < len) {
usr.sbin/nghook/main.c
269
ch = isprint(buf[count + k]) ?
usr.sbin/nghook/main.c
270
buf[count + k] : '.';
usr.sbin/nscd/parser.c
205
const char *entry_name, int count)
usr.sbin/nscd/parser.c
210
assert(count >= 0);
usr.sbin/nscd/parser.c
215
entry->positive_cache_params.max_elemsize = count;
usr.sbin/nscd/parser.c
219
entry->negative_cache_params.max_elemsize = count;
usr.sbin/ntp/ntpdc/nl.c
524
(int) offsetof(struct info_restrict, count));
usr.sbin/ntp/ntpdc/nl.c
566
(int) offsetof(struct info_monitor_1, count));
usr.sbin/ntp/ntpdc/nl.c
598
(int) offsetof(struct info_monitor, count));
usr.sbin/ntp/ntpdc/nl.c
622
(int) offsetof(struct old_info_monitor, count));
usr.sbin/pciconf/pciconf.c
1434
uint64_t *dx, a, start, count;
usr.sbin/pciconf/pciconf.c
1445
count = 0;
usr.sbin/pciconf/pciconf.c
1447
count = strtoul(bar_count, &el, 0);
usr.sbin/pciconf/pciconf.c
1455
if (count == 0)
usr.sbin/pciconf/pciconf.c
1456
count = pbm.pbm_bar_length / width;
usr.sbin/pciconf/pciconf.c
1457
if (start + count < start || (start + count) * width < (uint64_t)width)
usr.sbin/pciconf/pciconf.c
1459
if ((start + count) * width > pbm.pbm_bar_length) {
usr.sbin/pciconf/pciconf.c
1461
count = 0;
usr.sbin/pciconf/pciconf.c
1463
count = (pbm.pbm_bar_length - start * width) / width;
usr.sbin/pciconf/pciconf.c
1472
pbm.pbm_bar_length, start, count, width);
usr.sbin/pciconf/pciconf.c
1478
for (a = 0; a < count; a++, db++) {
usr.sbin/pciconf/pciconf.c
1489
for (a = 0; a < count; a++, dh++) {
usr.sbin/pciconf/pciconf.c
1500
for (a = 0; a < count; a ++, dd++) {
usr.sbin/pciconf/pciconf.c
1511
for (a = 0; a < count; a++, dx++) {
usr.sbin/pciconf/pciconf.c
265
size_t count;
usr.sbin/pciconf/pciconf.c
282
count = 0;
usr.sbin/pciconf/pciconf.c
290
count = 0;
usr.sbin/pciconf/pciconf.c
300
p = reallocf(p, (count + pc.num_matches) * sizeof(*p));
usr.sbin/pciconf/pciconf.c
306
memcpy(p + count, conf, pc.num_matches * sizeof(*p));
usr.sbin/pciconf/pciconf.c
307
count += pc.num_matches;
usr.sbin/pciconf/pciconf.c
311
*countp = count;
usr.sbin/pciconf/pciconf.c
321
size_t count;
usr.sbin/pciconf/pciconf.c
332
if (!fetch_devs(fd, name, &conf, &count)) {
usr.sbin/pciconf/pciconf.c
341
for (p = conf; p < conf + count; p++) {
usr.sbin/pciconf/pciconf.c
405
struct pci_conf *conf, size_t count, bitstr_t *added)
usr.sbin/pciconf/pciconf.c
427
for (i = 0; i < count; i++) {
usr.sbin/pciconf/pciconf.c
441
tree_add_device(&e->children, conf + i, conf, count,
usr.sbin/pciconf/pciconf.c
454
tree_add_device(&e->children, conf + i, conf, count,
usr.sbin/pciconf/pciconf.c
462
build_tree(struct pci_tree_list *head, struct pci_conf *conf, size_t count)
usr.sbin/pciconf/pciconf.c
473
added = bit_alloc(count);
usr.sbin/pciconf/pciconf.c
477
for (i = 0; i < count; i++) {
usr.sbin/pciconf/pciconf.c
482
tree_add_device(head, conf + i, conf, count, added);
usr.sbin/pciconf/pciconf.c
557
size_t count;
usr.sbin/pciconf/pciconf.c
568
if (!fetch_devs(fd, NULL, &conf, &count)) {
usr.sbin/pciconf/pciconf.c
573
if (count == 0)
usr.sbin/pciconf/pciconf.c
583
qsort(conf, count, sizeof(*conf), pci_conf_compar);
usr.sbin/pciconf/pciconf.c
585
if (!build_tree(&head, conf, count)) {
usr.sbin/pkg/pkg.c
438
load_fingerprints(const char *path, int *count)
usr.sbin/pkg/pkg.c
445
*count = 0;
usr.sbin/pkg/pkg.c
465
++(*count);
usr.sbin/pmc/cmd_pmc_filter.cc
107
int count, tokenval;
usr.sbin/pmc/cmd_pmc_filter.cc
109
count = 0;
usr.sbin/pmc/cmd_pmc_filter.cc
111
count < LIST_MAX) {
usr.sbin/pmc/cmd_pmc_filter.cc
114
intlist[count++] = tokenval;
usr.sbin/pmc/cmd_pmc_filter.cc
116
*pcount = count;
usr.sbin/pmc/cmd_pmc_filter.cc
123
int count, tokenval;
usr.sbin/pmc/cmd_pmc_filter.cc
125
count = 0;
usr.sbin/pmc/cmd_pmc_filter.cc
127
count < LIST_MAX) {
usr.sbin/pmc/cmd_pmc_filter.cc
130
intlist[count++] = tokenval;
usr.sbin/pmc/cmd_pmc_filter.cc
132
*pcount = count;
usr.sbin/pmc/cmd_pmc_filter.cc
139
int count;
usr.sbin/pmc/cmd_pmc_filter.cc
141
count = 0;
usr.sbin/pmc/cmd_pmc_filter.cc
143
count < LIST_MAX) {
usr.sbin/pmc/cmd_pmc_filter.cc
144
namelist[count++] = token;
usr.sbin/pmc/cmd_pmc_filter.cc
146
*pcount = count;
usr.sbin/pmc/cmd_pmc_filter.cc
160
pmc_find_name(idmap & map, uint32_t id, char *list[LIST_MAX], int count)
usr.sbin/pmc/cmd_pmc_filter.cc
170
for (i = 0; i < count; i++, p++) {
usr.sbin/pmc/cmd_pmc_info.cc
125
r.emplace_back((int64_t)p.second.count);
usr.sbin/pmc/cmd_pmc_info.cc
89
pmcinfo[eventid].count++;
usr.sbin/pmc/cmd_pmc_record.cc
116
testcpu, &id, count);
usr.sbin/pmc/cmd_pmc_record.cc
165
cpu, &id, count);
usr.sbin/pmc/cmd_pmc_record.cc
170
status = pmc_set(id, count);
usr.sbin/pmc/cmd_pmc_record.cc
89
uint64_t count;
usr.sbin/pmc/cmd_pmc_record.cc
92
pmc_config() : event(), count(0), ids()
usr.sbin/pmc/cmd_pmc_record.cc
96
pmc_config(const std::string &event, uint64_t count, cpuset_t cpumask)
usr.sbin/pmc/cmd_pmc_record.cc
97
: event(event), count(count), ids()
usr.sbin/pmc/display.cc
305
format_siprefix(uint64_t count)
usr.sbin/pmc/display.cc
311
while (count > 10000 && index < sizeof(prefix)) {
usr.sbin/pmc/display.cc
313
count /= 1000;
usr.sbin/pmc/display.cc
317
snprintf(buf, sizeof(buf), "%" PRIu64, count);
usr.sbin/pmc/display.cc
319
snprintf(buf, sizeof(buf), "%" PRIu64 "%c", count, prefix[index]);
usr.sbin/pmc/display.cc
326
format_binprefix(uint64_t count)
usr.sbin/pmc/display.cc
332
while (count > 10000 && index < sizeof(prefix)) {
usr.sbin/pmc/display.cc
334
count /= 1000;
usr.sbin/pmc/display.cc
338
snprintf(buf, sizeof(buf), "%" PRIu64 " B", count);
usr.sbin/pmc/display.cc
340
snprintf(buf, sizeof(buf), "%" PRIu64 " %ciB", count, prefix[index]);
usr.sbin/pmc/display.cc
347
format_sample(uint64_t count, uint64_t total)
usr.sbin/pmc/display.cc
350
std::string fmt = format_siprefix(count);
usr.sbin/pmc/display.cc
353
100.0 * (float)count / (float)total);
usr.sbin/pmc/display.cc
359
format_percent(uint64_t count, uint64_t total)
usr.sbin/pmc/display.cc
367
100.0 * (float)count / (float)total);
usr.sbin/pmc/display.hh
39
std::string format_siprefix(uint64_t count);
usr.sbin/pmc/display.hh
40
std::string format_binprefix(uint64_t count);
usr.sbin/pmc/display.hh
41
std::string format_sample(uint64_t count, uint64_t total);
usr.sbin/pmc/display.hh
42
std::string format_percent(uint64_t count, uint64_t total);
usr.sbin/pmc/display.hh
66
field(int64_t count, int64_t total, bool percent = false);
usr.sbin/pmc/view.cc
181
uint32_t root, maxleaf, count;
usr.sbin/pmc/view.cc
199
count = maxleaf & 0x0000FFFF;
usr.sbin/pmc/view.cc
201
for (uint32_t i = 0; i <= count; i++) {
usr.sbin/pmc/view.cc
208
offset += 4 * (count + 1);
usr.sbin/pmc/view.cc
807
if (filter.filterpid && filter.pids.count(p.pl_pid) == 0)
usr.sbin/pmc/view.cc
809
if (filter.filtertid && filter.tids.count(p.pl_tid) == 0)
usr.sbin/pmc/view.cc
811
if (filter.filterprogram && filter.programs.count(pinfo->second.name) == 0)
usr.sbin/pmc/view.cc
817
if (filter.threads.count(tinfo->second.name) == 0)
usr.sbin/pmc/view.cc
824
if (filter.events.count(pmcinfo[pmc->second].name) == 0)
usr.sbin/pmc/view.hh
52
count = 0;
usr.sbin/pmc/view.hh
58
count = 0;
usr.sbin/pmc/view.hh
64
uint64_t count; // Available for application use
usr.sbin/pmcstat/pmcpl_gprof.c
127
size_t count;
usr.sbin/pmcstat/pmcpl_gprof.c
155
count = pgf->pgf_ndatabytes - sizeof(struct gmonhdr);
usr.sbin/pmcstat/pmcpl_gprof.c
156
while (count > sizeof(buffer)) {
usr.sbin/pmcstat/pmcpl_gprof.c
159
count -= sizeof(buffer);
usr.sbin/pmcstat/pmcpl_gprof.c
162
if (write(fd, &buffer, count) < 0)
usr.sbin/pmcstat/pmcpl_gprof.c
237
uintptr_t rawfrom, uintptr_t rawto, uint32_t count)
usr.sbin/pmcstat/pmcpl_gprof.c
254
arc.raw_count = count;
usr.sbin/pmcstat/pmcpl_gprof.c
316
int count, nlen;
usr.sbin/pmcstat/pmcpl_gprof.c
348
count = 0;
usr.sbin/pmcstat/pmcpl_gprof.c
350
if (++count > 999)
usr.sbin/pmcstat/pmcpl_gprof.c
355
nlen, sn, count);
usr.sbin/pmcstat/pmcpl_gprof.c
359
count = 0;
usr.sbin/pmcstat/pmcpl_gprof.c
361
} while (count > 0);
usr.sbin/ppp/chap.c
101
const u_char *ptr, int count, const char *text)
usr.sbin/ppp/chap.c
107
plen = sizeof(struct fsmheader) + count;
usr.sbin/ppp/chap.c
113
if (count)
usr.sbin/ppp/chap.c
114
memcpy(MBUF_CTOP(bp) + sizeof(struct fsmheader), ptr, count);
usr.sbin/ppp/fsm.c
188
fsm_Output(struct fsm *fp, u_int code, u_int id, u_char *ptr, unsigned count,
usr.sbin/ppp/fsm.c
203
(*fp->fn->DecodeConfig)(fp, ptr, ptr + count, MODE_NOP, NULL);
usr.sbin/ppp/fsm.c
204
if (count < sizeof(struct fsm_opt_hdr))
usr.sbin/ppp/fsm.c
210
plen = sizeof(struct fsmheader) + count;
usr.sbin/ppp/fsm.c
216
if (count)
usr.sbin/ppp/fsm.c
217
memcpy(MBUF_CTOP(bp) + sizeof(struct fsmheader), ptr, count);
usr.sbin/ppp/lcp.c
492
lcp_SendProtoRej(struct lcp *lcp, u_char *option, int count)
usr.sbin/ppp/lcp.c
495
fsm_Output(&lcp->fsm, CODE_PROTOREJ, lcp->fsm.reqid, option, count,
usr.sbin/ppp/mbuf.c
127
if (--(*mb)->u.f.count == 0)
usr.sbin/ppp/mbuf.c
130
((struct mbucket *)((char *)*mb + size))->u.f.count = (*mb)->u.f.count;
usr.sbin/ppp/mbuf.c
147
(*mb)->u.f.count = BUCKET_CHUNK - 1;
usr.sbin/ppp/mbuf.c
177
f->u.f.count = 1;
usr.sbin/ppp/mbuf.c
55
size_t count;
usr.sbin/ppp/nat_cmd.c
449
long base, count;
usr.sbin/ppp/nat_cmd.c
463
count = strtol(arg->argv[arg->argn + 1], &end, 10);
usr.sbin/ppp/nat_cmd.c
464
if (*end != '\0' || count < 0)
usr.sbin/ppp/nat_cmd.c
467
LibAliasSetFWBase(la, base, count);
usr.sbin/ppp/ncp.c
212
ncp_Enqueue(struct ncp *ncp, int af, unsigned pri, char *ptr, int count)
usr.sbin/ppp/ncp.c
234
bp = m_get(count + 6, MB_IPOUT);
usr.sbin/ppp/ncp.c
237
memcpy(MBUF_CTOP(bp), ptr, count);
usr.sbin/ppp/ncp.c
248
bp = m_get(count + 6, MB_IPOUT);
usr.sbin/ppp/ncp.c
251
memcpy(MBUF_CTOP(bp), ptr, count);
usr.sbin/pppctl/pppctl.c
245
SmartGets(EditLine *e, int *count, int fd)
usr.sbin/pppctl/pppctl.c
256
result = el_gets(e, count);
usr.sbin/quot/quot.c
177
long count;
usr.sbin/quot/quot.c
197
usr->count = 0;
usr.sbin/quot/quot.c
273
usr->count++;
usr.sbin/quot/quot.c
375
for (usr = usrs, n = nusers; --n >= 0 && usr->count; usr++) {
usr.sbin/quot/quot.c
377
if (count)
usr.sbin/quot/quot.c
378
printf("\t%5ld", usr->count);
usr.sbin/quot/quot.c
492
count = true;
usr.sbin/quot/quot.c
59
static bool count;
usr.sbin/rmt/rmt.c
113
getstring(count);
usr.sbin/rmt/rmt.c
115
DEBUG2("rmtd: L %s %s\n", count, pos);
usr.sbin/rmt/rmt.c
116
rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos));
usr.sbin/rmt/rmt.c
122
getstring(count);
usr.sbin/rmt/rmt.c
123
n = atoi(count);
usr.sbin/rmt/rmt.c
124
DEBUG1("rmtd: W %s\n", count);
usr.sbin/rmt/rmt.c
139
getstring(count);
usr.sbin/rmt/rmt.c
140
DEBUG1("rmtd: R %s\n", count);
usr.sbin/rmt/rmt.c
141
n = atoi(count);
usr.sbin/rmt/rmt.c
153
getstring(count);
usr.sbin/rmt/rmt.c
154
DEBUG2("rmtd: I %s %s\n", op, count);
usr.sbin/rmt/rmt.c
157
mtop.mt_count = atoi(count);
usr.sbin/rmt/rmt.c
52
static char count[SSIZE], mode[SSIZE], pos[SSIZE], op[SSIZE];
usr.sbin/spi/spi.c
178
opt.count = 0;
usr.sbin/spi/spi.c
241
opt.count = (int)strtol(optarg, &pstr, 10);
usr.sbin/spi/spi.c
298
(fdir == DIR_NONE && !finfo && opt.mode == -1 && opt.speed == -1 && opt.count == 0)) {
usr.sbin/spi/spi.c
308
if ((opt.count != 0 || opt.ncmd != 0) && fdir == DIR_NONE) {
usr.sbin/spi/spi.c
317
if (opt.count == 0)
usr.sbin/spi/spi.c
323
if (opt.count < 0 && fdir != DIR_READWRITE && fdir != DIR_WRITE) {
usr.sbin/spi/spi.c
325
opt.count);
usr.sbin/spi/spi.c
547
if (ncmd == 0 && popt->count == 0)
usr.sbin/spi/spi.c
551
if (popt->count < 0) {
usr.sbin/spi/spi.c
555
cbdata = popt->count;
usr.sbin/spi/spi.c
57
int count; /* count (0 through 'n' bytes, negative for
usr.sbin/spi/spi.c
655
if (popt->count < 0) {
usr.sbin/spi/spi.c
656
popt->count = cbread;
usr.sbin/spi/spi.c
674
if (popt->verbose > 0 && popt->count + popt->ncmd) {
usr.sbin/spi/spi.c
675
if ((popt->count + popt->ncmd) == 1)
usr.sbin/spi/spi.c
681
popt->count + popt->ncmd, szbytes);
usr.sbin/spi/spi.c
683
verbose_dump_buffer(pdata, popt->count + popt->ncmd, lsb);
usr.sbin/spi/spi.c
743
icount = popt->count;
usr.sbin/spi/spi.c
813
icount = popt->count + popt->ncmd;
usr.sbin/spi/spi.c
840
if (!err && popt->count > 0)
usr.sbin/spi/spi.c
866
err = _read_write(hdev, pw, NULL, popt->count + popt->ncmd, popt->lsb);
usr.sbin/spi/spi.c
884
icount = popt->count + popt->ncmd; /* assign after fn call */
usr.sbin/spray/spray.c
111
if (!count) {
usr.sbin/spray/spray.c
112
count = 100000 / length;
usr.sbin/spray/spray.c
143
printf ("sending %u packets of length %d to %s ...", count, length,
usr.sbin/spray/spray.c
147
for (i = 0; i < count; i++) {
usr.sbin/spray/spray.c
169
if (host_stats.counter != count) {
usr.sbin/spray/spray.c
170
int packets_dropped = count - host_stats.counter;
usr.sbin/spray/spray.c
174
100.0 * packets_dropped / count );
usr.sbin/spray/spray.c
180
print_xferstats(count, length, xmit_time);
usr.sbin/spray/spray.c
64
u_int count = 0;
usr.sbin/spray/spray.c
72
count = atoi(optarg);
usr.sbin/syslogd/syslogd.c
3127
int count;
usr.sbin/syslogd/syslogd.c
3129
count = 0;
usr.sbin/syslogd/syslogd.c
3132
count++;
usr.sbin/syslogd/syslogd.c
3134
if (count == 0)
usr.sbin/syslogd/syslogd.c
3135
count = 1;
usr.sbin/syslogd/syslogd.c
3136
f->f_num_addr_fds += count;
usr.sbin/syslogd/syslogd.c
3153
int count;
usr.sbin/syslogd/syslogd.c
3155
count = 0;
usr.sbin/syslogd/syslogd.c
3166
count++;
usr.sbin/syslogd/syslogd.c
3169
if (count == 0) {
usr.sbin/virtual_oss/virtual_oss/httpd.c
152
voss_ipv4_csum(const void *vptr, size_t count)
usr.sbin/virtual_oss/virtual_oss/httpd.c
157
while (count--)
usr.sbin/virtual_oss/virtual_oss/httpd.c
167
voss_udp_csum(uint32_t sum, const void *vhdr, size_t count,
usr.sbin/virtual_oss/virtual_oss/httpd.c
172
while (count--)