bin/dd/dd.c
614
st.bytes += nw;
bin/dd/dd.h
65
uintmax_t bytes; /* # of bytes written */
bin/dd/misc.c
113
humanize_number(si, sizeof(si), (int64_t)st.bytes, "B", HN_AUTOSCALE,
bin/dd/misc.c
115
humanize_number(iec, sizeof(iec), (int64_t)st.bytes, "B", HN_AUTOSCALE,
bin/dd/misc.c
117
humanize_number(persec, sizeof(persec), (int64_t)(st.bytes / secs), "B",
bin/dd/misc.c
120
(uintmax_t)st.bytes, si, iec, secs, persec);
bin/dd/misc.c
97
st.bytes, secs, st.bytes / secs);
bin/df/df.c
413
prthumanval(const char *fmt, int64_t bytes)
bin/df/df.c
422
humanize_number(buf, sizeof(buf) - (bytes < 0 ? 0 : 1),
bin/df/df.c
423
bytes, "", HN_AUTOSCALE, flags);
bin/df/df.c
425
xo_attr("value", "%lld", (long long) bytes);
bin/df/df.c
433
prthumanvalinode(const char *fmt, int64_t bytes)
bin/df/df.c
440
humanize_number(buf, sizeof(buf) - (bytes < 0 ? 0 : 1),
bin/df/df.c
441
bytes, "", HN_AUTOSCALE, flags);
bin/df/df.c
443
xo_attr("value", "%lld", (long long) bytes);
bin/ls/print.c
750
printsize(size_t width, off_t bytes)
bin/ls/print.c
760
humanize_number(buf, sizeof(buf), (int64_t)bytes, "",
bin/ls/print.c
765
(u_int)width, bytes);
crypto/heimdal/appl/ftp/ftp/ftp.c
1049
bytes += c;
crypto/heimdal/appl/ftp/ftp/ftp.c
1051
while (bytes >= hashbytes) {
crypto/heimdal/appl/ftp/ftp/ftp.c
1058
if (hash && bytes > 0) {
crypto/heimdal/appl/ftp/ftp/ftp.c
1059
if (bytes < HASHBYTES)
crypto/heimdal/appl/ftp/ftp/ftp.c
1067
bytes = -1;
crypto/heimdal/appl/ftp/ftp/ftp.c
1102
while (hash && (bytes >= hashbytes)) {
crypto/heimdal/appl/ftp/ftp/ftp.c
1107
bytes++;
crypto/heimdal/appl/ftp/ftp/ftp.c
1113
bytes++;
crypto/heimdal/appl/ftp/ftp/ftp.c
1121
bytes++;
crypto/heimdal/appl/ftp/ftp/ftp.c
1131
if (bytes < hashbytes)
crypto/heimdal/appl/ftp/ftp/ftp.c
1139
bytes = -1;
crypto/heimdal/appl/ftp/ftp/ftp.c
1153
if (bytes > 0 && is_retr)
crypto/heimdal/appl/ftp/ftp/ftp.c
1154
ptransfer ("received", bytes, &start, &stop);
crypto/heimdal/appl/ftp/ftp/ftp.c
1179
if (bytes > 0)
crypto/heimdal/appl/ftp/ftp/ftp.c
1180
ptransfer ("received", bytes, &start, &stop);
crypto/heimdal/appl/ftp/ftp/ftp.c
1440
ptransfer (char *direction, long int bytes,
crypto/heimdal/appl/ftp/ftp/ftp.c
1457
bs = bytes / (s ? s : 1);
crypto/heimdal/appl/ftp/ftp/ftp.c
1472
bytes, direction, s, prec, bs, unit);
crypto/heimdal/appl/ftp/ftp/ftp.c
589
int bytes = 0;
crypto/heimdal/appl/ftp/ftp/ftp.c
650
bytes += werr;
crypto/heimdal/appl/ftp/ftp/ftp.c
651
while (hash && bytes > hashbytes) {
crypto/heimdal/appl/ftp/ftp/ftp.c
663
bytes = -1;
crypto/heimdal/appl/ftp/ftp/ftp.c
665
return bytes;
crypto/heimdal/appl/ftp/ftp/ftp.c
677
long bytes = 0, hashbytes = HASHBYTES;
crypto/heimdal/appl/ftp/ftp/ftp.c
814
bytes = copy_stream (fin, dout);
crypto/heimdal/appl/ftp/ftp/ftp.c
820
while (hash && (bytes >= hashbytes)) {
crypto/heimdal/appl/ftp/ftp/ftp.c
828
bytes++;
crypto/heimdal/appl/ftp/ftp/ftp.c
831
bytes++;
crypto/heimdal/appl/ftp/ftp/ftp.c
835
if (bytes < hashbytes)
crypto/heimdal/appl/ftp/ftp/ftp.c
845
bytes = -1;
crypto/heimdal/appl/ftp/ftp/ftp.c
857
if (bytes > 0)
crypto/heimdal/appl/ftp/ftp/ftp.c
858
ptransfer ("sent", bytes, &start, &stop);
crypto/heimdal/appl/ftp/ftp/ftp.c
879
if (bytes > 0)
crypto/heimdal/appl/ftp/ftp/ftp.c
880
ptransfer ("sent", bytes, &start, &stop);
crypto/heimdal/appl/ftp/ftp/ftp.c
906
long bytes = 0, hashbytes = HASHBYTES;
crypto/heimdal/appl/ftp/ftp/security.c
254
int bytes;
crypto/heimdal/appl/ftp/ftp/security.c
256
bytes = (*mech->encode)(app_data, from, length, data_prot, &buf);
crypto/heimdal/appl/ftp/ftp/security.c
257
bytes = htonl(bytes);
crypto/heimdal/appl/ftp/ftp/security.c
258
block_write(fd, &bytes, sizeof(bytes));
crypto/heimdal/appl/ftp/ftp/security.c
259
block_write(fd, buf, ntohl(bytes));
crypto/heimdal/appl/ftp/ftpd/security.c
254
int bytes;
crypto/heimdal/appl/ftp/ftpd/security.c
256
bytes = (*mech->encode)(app_data, from, length, data_prot, &buf);
crypto/heimdal/appl/ftp/ftpd/security.c
257
bytes = htonl(bytes);
crypto/heimdal/appl/ftp/ftpd/security.c
258
block_write(fd, &bytes, sizeof(bytes));
crypto/heimdal/appl/ftp/ftpd/security.c
259
block_write(fd, buf, ntohl(bytes));
crypto/heimdal/appl/push/push.c
221
unsigned count = 0, bytes;
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/lib/asn1/check-common.c
266
if (memcmp (buf, tests[i].bytes, tests[i].byte_len) != 0) {
crypto/heimdal/lib/asn1/check-common.c
269
print_bytes ((unsigned char *)tests[i].bytes, tests[i].byte_len);
crypto/heimdal/lib/asn1/check-common.c
274
rk_dumpdata("correct", tests[i].bytes, tests[i].byte_len);
crypto/heimdal/lib/asn1/check-common.c
372
const void *bytes;
crypto/heimdal/lib/asn1/check-common.c
392
bytes = tests[i].bytes;
crypto/heimdal/lib/asn1/check-common.c
395
bytes = NULL;
crypto/heimdal/lib/asn1/check-common.c
398
buf = map_alloc(OVERRUN, bytes, sz, &buf_map);
crypto/heimdal/lib/asn1/check-common.h
39
const char *bytes;
crypto/heimdal/lib/asn1/lex.c
302
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
crypto/heimdal/lib/com_err/lex.c
302
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
120
unsigned int bytes;
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
122
bytes = 0;
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
124
bytes++;
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
125
if (bytes == 0) bytes = 1;
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
126
while (bytes) {
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
128
int bit = 7*(bytes-1);
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
131
if (bytes != 1)
crypto/heimdal/lib/gssapi/mech/gss_mech_switch.c
136
bytes--;
crypto/heimdal/lib/krb5/n-fold.c
39
int bytes = (len + 7) / 8;
crypto/heimdal/lib/krb5/n-fold.c
47
tmp = malloc(bytes);
crypto/heimdal/lib/krb5/n-fold.c
50
memcpy(tmp, buf, bytes);
crypto/heimdal/lib/krb5/n-fold.c
53
tmp[bytes - 1] &= 0xff << (8 - lbit);
crypto/heimdal/lib/krb5/n-fold.c
55
tmp[bytes - 1] |= buf[0] >> i;
crypto/heimdal/lib/krb5/n-fold.c
57
for(i = 0; i < bytes; i++) {
crypto/heimdal/lib/krb5/n-fold.c
68
if(bb + 8 > bytes * 8)
crypto/heimdal/lib/krb5/n-fold.c
73
b2 = (b1 + 1) % bytes;
crypto/heimdal/lib/krb5/recvauth.c
142
if ((bytes = krb5_net_read (context, p_fd, her_appl_version, len))) {
crypto/heimdal/lib/krb5/recvauth.c
147
if (bytes != len ||
crypto/heimdal/lib/krb5/recvauth.c
78
uint32_t len, bytes;
crypto/heimdal/lib/sl/slc-lex.c
302
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
crypto/krb5/src/clients/ksu/ccache.c
392
char bytes[6], *p, *sym;
crypto/krb5/src/clients/ksu/ccache.c
393
krb5_data data = make_data(bytes, sizeof(bytes));
crypto/krb5/src/include/k5-der.h
158
const void *bytes;
crypto/krb5/src/include/k5-der.h
162
bytes = k5_input_get_bytes(in, len);
crypto/krb5/src/include/k5-der.h
163
if (bytes == NULL)
crypto/krb5/src/include/k5-der.h
165
k5_input_init(contents_out, bytes, len);
crypto/krb5/src/include/k5-hex.h
43
int k5_hex_encode(const void *bytes, size_t len, int uppercase,
crypto/krb5/src/kdc/ndr.c
68
const uint8_t *bytes;
crypto/krb5/src/kdc/ndr.c
80
bytes = k5_input_get_bytes(in, actual_count * 2);
crypto/krb5/src/kdc/ndr.c
81
if (bytes == NULL || k5_utf16le_to_utf8(bytes, actual_count * 2, out) != 0)
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
142
iov[i].data = make_data (bytes, len);
crypto/krb5/src/lib/crypto/krb/make_random_key.c
39
unsigned char *bytes = NULL;
crypto/krb5/src/lib/crypto/krb/make_random_key.c
49
bytes = k5alloc(keybytes, &ret);
crypto/krb5/src/lib/crypto/krb/make_random_key.c
56
random_data.data = (char *) bytes;
crypto/krb5/src/lib/crypto/krb/make_random_key.c
74
zapfree(bytes, keybytes);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1525
uint8_t *bytes;
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
1541
if (bytes == NULL)
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
1551
free(bytes);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1554
assert(buf.ptr == bytes);
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
1559
free(bytes);
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
50
insert_bytes(asn1buf *buf, const void *bytes, size_t len)
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
53
memcpy(buf->ptr - len, bytes, len);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
163
char bytes[4];
crypto/krb5/src/lib/krb5/ccache/cc_file.c
165
ret = read_bytes(context, fp, bytes, 4);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
169
k5_buf_add_len(buf, bytes, 4);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
170
*out = (version < 3) ? load_32_n(bytes) : load_32_be(bytes);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
180
char bytes[2];
crypto/krb5/src/lib/krb5/ccache/cc_file.c
182
ret = read_bytes(context, fp, bytes, 2);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
185
*out = (version < 3) ? load_16_n(bytes) : load_16_be(bytes);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
166
unsigned char bytes[4];
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
171
bytes[0] = KCM_PROTOCOL_VERSION_MAJOR;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
172
bytes[1] = KCM_PROTOCOL_VERSION_MINOR;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
173
store_16_be(opcode, bytes + 2);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
176
k5_buf_add_len(&req->reqbuf, bytes, 4);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
131
const void *bytes = k5_input_get_bytes(in, len);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
135
if (bytes == NULL)
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
137
copy = k5memdup0(bytes, len, &ret);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
151
void *bytes = get_len_bytes(in, version, &len);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
153
*data = (bytes == NULL) ? empty_data() : make_data(bytes, len);
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
361
put_len_bytes(struct k5buf *buf, int version, const void *bytes,
crypto/krb5/src/lib/krb5/ccache/ccmarshal.c
365
k5_buf_add_len(buf, bytes, len);
crypto/krb5/src/lib/krb5/krb/random_str.c
42
unsigned char *bytes = NULL;
crypto/krb5/src/lib/krb5/krb/random_str.c
46
bytes = malloc (bytecount);
crypto/krb5/src/lib/krb5/krb/random_str.c
47
if (bytes == NULL) { err = ENOMEM; }
crypto/krb5/src/lib/krb5/krb/random_str.c
53
data.data = (char *) bytes;
crypto/krb5/src/lib/krb5/krb/random_str.c
60
string [i] = charlist[bytes[i] % (sizeof (charlist) - 1)];
crypto/krb5/src/lib/krb5/krb/random_str.c
65
if (bytes != NULL) { free (bytes); }
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1055
hdr.size.bytes = endian_long(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1059
_uccmcl_nodes = (krb5_ui_4 *) malloc(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1151
hdr.size.bytes = endian_long(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1155
_ucnum_nodes = (krb5_ui_4 *) malloc(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1161
fread((char *) _ucnum_nodes, sizeof(unsigned char), hdr.size.bytes, in);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
1173
size = (hdr.size.bytes -
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
169
hdr.size.bytes = endian_long(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
180
_ucprop_offsets = (krb5_ui_2 *) malloc(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
545
hdr.size.bytes = endian_long(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
549
_uccomp_data = (krb5_ui_4 *) malloc(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
554
size = hdr.size.bytes / sizeof(krb5_ui_4);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
64
krb5_ui_4 bytes;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
743
hdr.size.bytes = endian_long(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
747
_ucdcmp_nodes = (krb5_ui_4 *) malloc(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
753
size = hdr.size.bytes / sizeof(krb5_ui_4);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
798
hdr.size.bytes = endian_long(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
802
_uckdcmp_nodes = (krb5_ui_4 *) malloc(hdr.size.bytes);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucdata.c
808
size = hdr.size.bytes / sizeof(krb5_ui_4);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1280
krb5_ui_4 bytes;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1337
if ((bytes = sizeof(krb5_ui_2) * (NUMPROPS + 1)) & 3)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1338
bytes += 4 - (bytes & 3);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1339
nprops = bytes / sizeof(krb5_ui_2);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1340
bytes += sizeof(krb5_ui_4) * idx;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1379
fwrite((char *) &bytes, sizeof(krb5_ui_4), 1, out);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1528
bytes = comps_used * sizeof(_comp_t);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1529
fwrite((char *) &bytes, sizeof(krb5_ui_4), 1, out);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1606
bytes = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1607
fwrite((char *) &bytes, sizeof(krb5_ui_4), 1, out);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1634
bytes = (sizeof(krb5_ui_4) * idx) +
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1637
fwrite((char *) &bytes, sizeof(krb5_ui_4), 1, out);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1699
bytes = 0;
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1700
fwrite((char *) &bytes, sizeof(krb5_ui_4), 1, out);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1727
bytes = (sizeof(krb5_ui_4) * idx) +
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1730
fwrite((char *) &bytes, sizeof(krb5_ui_4), 1, out);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1782
bytes = ccl_used * sizeof(krb5_ui_4);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1783
fwrite((char *) &bytes, sizeof(krb5_ui_4), 1, out);
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1847
bytes = (ncodes_used * sizeof(_codeidx_t)) + (nums_used * sizeof(_num_t));
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
1857
fwrite((char *) &bytes, sizeof(krb5_ui_4), 1, out);
crypto/krb5/src/lib/krb5/unicode/ucstr.c
69
const uint8_t *bytes;
crypto/krb5/src/lib/krb5/unicode/ucstr.c
76
bytes = k5_input_get_bytes(&in, len);
crypto/krb5/src/lib/krb5/unicode/ucstr.c
77
if (bytes == NULL)
crypto/krb5/src/lib/krb5/unicode/ucstr.c
79
if (KRB5_UTF8_CHARLEN2(bytes, tmplen) != len)
crypto/krb5/src/lib/krb5/unicode/ucstr.c
82
if ((bytes[i] & 0xc0) != 0x80)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
248
" {%.*s}", (int)bi->ksize, bi->bytes);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
258
memcpy(&pgno, bl->bytes, sizeof(pgno));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
259
memcpy(&sz, bl->bytes + sizeof(pgno),
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
266
(int)bl->ksize, bl->bytes);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
268
memcpy(&pgno, bl->bytes + bl->ksize,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
270
memcpy(&sz, bl->bytes + bl->ksize +
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
277
(int)bl->dsize, bl->bytes + bl->ksize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
282
memcpy(&pgno, rl->bytes, sizeof(pgno));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
283
memcpy(&sz, rl->bytes + sizeof(pgno),
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
290
"%.*s", (int)rl->dsize, rl->bytes);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
401
__ovfl_delete(t, bi->bytes) == RET_ERROR) {
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
481
if (bl->flags & P_BIGKEY && __ovfl_delete(t, bl->bytes) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
484
__ovfl_delete(t, bl->bytes + bl->ksize) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
189
a.data = tbl->bytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
191
b.data = bl->bytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
243
memmove(dest, bl->bytes, nksize ? nksize : bl->ksize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
246
memcpy(&pgno, bl->bytes, sizeof(pgno));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
552
memmove(dest, bl->bytes, bl->ksize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_split.c
560
memcpy(&pgno, bl->bytes, sizeof(pgno));
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
102
key->data = bl->bytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
110
if (__ovfl_get(t, bl->bytes + bl->ksize,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
125
memmove(rdata->data, bl->bytes + bl->ksize, bl->dsize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
130
data->data = bl->bytes + bl->ksize;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
173
bigkey = bl->bytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
175
k2.data = bl->bytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
181
bigkey = bi->bytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
183
k2.data = bi->bytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
84
if (__ovfl_get(t, bl->bytes,
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
97
memmove(rkey->data, bl->bytes, bl->ksize);
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
126
char bytes[1]; /* data */
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
176
char bytes[1]; /* data */
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/btree.h
208
char bytes[1];
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
168
if (rl->flags & P_BIGDATA && __ovfl_delete(t, rl->bytes) == RET_ERROR)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
110
memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
115
data->data = rl->bytes;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
95
if (__ovfl_get(t, rl->bytes,
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
42
uint8_t *bytes;
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
52
ret = k5_hex_decode(str + 5, &bytes, &len);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_service_stash.c
59
*password_out = (char *)bytes;
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
354
put(krb5_context context, MDB_dbi db, char *keystr, uint8_t *bytes, size_t len,
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
360
MDB_val key = { strlen(keystr), keystr }, val = { len, bytes }, dummy;
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
834
const uint8_t *bytes = &precomp_table[i*(2 * 32)];
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
836
fe_frombytes_strict(&x, bytes);
crypto/krb5/src/plugins/preauth/spake/edwards25519.c
837
fe_frombytes_strict(&y, bytes + 32);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
352
uint8_t *bytes;
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
356
if (k5_hex_decode(s, &bytes, &len) != 0)
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
360
*d = make_data(bytes, len);
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
367
uint8_t *bytes;
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
371
if (k5_hex_decode(s, &bytes, &len) != 0)
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
377
kb->contents = bytes;
crypto/krb5/src/util/support/hex.c
106
free(bytes);
crypto/krb5/src/util/support/hex.c
109
bytes[i] = h1 * 16 + h2;
crypto/krb5/src/util/support/hex.c
111
bytes[i] = 0;
crypto/krb5/src/util/support/hex.c
113
*bytes_out = bytes;
crypto/krb5/src/util/support/hex.c
50
k5_hex_encode(const void *bytes, size_t len, int uppercase, char **hex_out)
crypto/krb5/src/util/support/hex.c
53
const uint8_t *p = bytes;
crypto/krb5/src/util/support/hex.c
90
uint8_t *bytes;
crypto/krb5/src/util/support/hex.c
98
bytes = malloc(hexlen / 2 + 1);
crypto/krb5/src/util/support/hex.c
99
if (bytes == NULL)
crypto/krb5/src/util/support/t_hex.c
146
uint8_t *bytes;
crypto/krb5/src/util/support/t_hex.c
151
ret = k5_hex_decode(tests[i].hex, &bytes, &len);
crypto/krb5/src/util/support/t_hex.c
152
assert(ret == EINVAL && bytes == NULL && len == 0);
crypto/krb5/src/util/support/t_hex.c
156
ret = k5_hex_decode(tests[i].hex, &bytes, &len);
crypto/krb5/src/util/support/t_hex.c
159
assert(memcmp(bytes, tests[i].binary, len) == 0);
crypto/krb5/src/util/support/t_hex.c
160
assert(bytes[len] == 0);
crypto/krb5/src/util/support/t_hex.c
161
free(bytes);
crypto/openssh/chacha.c
117
if (bytes < 64) {
crypto/openssh/chacha.c
118
for (i = 0;i < bytes;++i) tmp[i] = m[i];
crypto/openssh/chacha.c
206
if (bytes <= 64) {
crypto/openssh/chacha.c
207
if (bytes < 64) {
crypto/openssh/chacha.c
208
for (i = 0;i < bytes;++i) ctarget[i] = c[i];
crypto/openssh/chacha.c
214
bytes -= 64;
crypto/openssh/chacha.c
89
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
crypto/openssh/chacha.c
97
if (!bytes) return;
crypto/openssh/chacha.h
31
u_char *c, u_int bytes)
crypto/openssh/cipher-aesctr.c
69
aesctr_encrypt_bytes(aesctr_ctx *x,const u8 *m,u8 *c,u32 bytes)
crypto/openssh/cipher-aesctr.c
74
while ((bytes--) > 0) {
crypto/openssh/cipher-aesctr.h
33
void aesctr_encrypt_bytes(aesctr_ctx *x,const u8 *m,u8 *c,u32 bytes);
crypto/openssh/clientloop.c
1176
int r, bytes = 0;
crypto/openssh/clientloop.c
1348
bytes++;
crypto/openssh/clientloop.c
1375
bytes++;
crypto/openssh/clientloop.c
1377
return bytes;
crypto/openssh/libcrux_mlkem768_sha3.h
10537
uint8_t bytes[20U];
crypto/openssh/libcrux_mlkem768_sha3.h
10538
libcrux_ml_kem_vector_portable_serialize_10_0d(coefficient, bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
10542
uu____0, Eurydice_array_to_slice((size_t)20U, bytes, uint8_t), uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
10598
uint8_t bytes[22U];
crypto/openssh/libcrux_mlkem768_sha3.h
10599
libcrux_ml_kem_vector_portable_serialize_11_0d(coefficient, bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
10603
uu____0, Eurydice_array_to_slice((size_t)22U, bytes, uint8_t), uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
10709
uint8_t bytes[8U];
crypto/openssh/libcrux_mlkem768_sha3.h
10710
libcrux_ml_kem_vector_portable_serialize_4_0d(coefficient, bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
10714
Eurydice_array_to_slice((size_t)8U, bytes, uint8_t), uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
10769
uint8_t bytes[10U];
crypto/openssh/libcrux_mlkem768_sha3.h
10770
libcrux_ml_kem_vector_portable_serialize_5_0d(coefficients, bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
10774
Eurydice_array_to_slice((size_t)10U, bytes, uint8_t), uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
11336
uint8_t bytes[24U];
crypto/openssh/libcrux_mlkem768_sha3.h
11337
libcrux_ml_kem_vector_portable_serialize_12_0d(coefficient, bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
11341
uu____0, Eurydice_array_to_slice((size_t)24U, bytes, uint8_t), uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
6048
Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
6050
((int16_t)Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
6053
(int16_t)Eurydice_slice_index(bytes, (size_t)0U, uint8_t, uint8_t *);
crypto/openssh/libcrux_mlkem768_sha3.h
6055
((int16_t)Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
6058
(int16_t)Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
6061
(((int16_t)Eurydice_slice_index(bytes, (size_t)4U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
6064
(int16_t)Eurydice_slice_index(bytes, (size_t)3U, uint8_t, uint8_t *)
crypto/openssh/libcrux_mlkem768_sha3.h
6066
(int16_t)Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
6069
((int16_t)Eurydice_slice_index(bytes, (size_t)5U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
6072
(int16_t)Eurydice_slice_index(bytes, (size_t)4U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
6075
((int16_t)Eurydice_slice_index(bytes, (size_t)6U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
6078
(int16_t)Eurydice_slice_index(bytes, (size_t)5U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
6081
(((int16_t)Eurydice_slice_index(bytes, (size_t)8U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
6084
(int16_t)Eurydice_slice_index(bytes, (size_t)7U, uint8_t, uint8_t *)
crypto/openssh/libcrux_mlkem768_sha3.h
6086
(int16_t)Eurydice_slice_index(bytes, (size_t)6U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
6089
((int16_t)Eurydice_slice_index(bytes, (size_t)9U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
6092
(int16_t)Eurydice_slice_index(bytes, (size_t)8U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
6095
(int16_t)Eurydice_slice_index(bytes, (size_t)10U, uint8_t, uint8_t *)
crypto/openssh/libcrux_mlkem768_sha3.h
6097
(int16_t)Eurydice_slice_index(bytes, (size_t)9U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
6132
libcrux_ml_kem_vector_portable_serialize_deserialize_11(Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
6134
Eurydice_slice_subslice2(bytes, (size_t)0U, (size_t)11U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
6137
Eurydice_slice_subslice2(bytes, (size_t)11U, (size_t)22U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
7484
Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
7485
int16_t v0 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)0U,
crypto/openssh/libcrux_mlkem768_sha3.h
7488
int16_t v1 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)0U,
crypto/openssh/libcrux_mlkem768_sha3.h
7492
int16_t v2 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)1U,
crypto/openssh/libcrux_mlkem768_sha3.h
7495
int16_t v3 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)1U,
crypto/openssh/libcrux_mlkem768_sha3.h
7499
int16_t v4 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)2U,
crypto/openssh/libcrux_mlkem768_sha3.h
7502
int16_t v5 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)2U,
crypto/openssh/libcrux_mlkem768_sha3.h
7506
int16_t v6 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)3U,
crypto/openssh/libcrux_mlkem768_sha3.h
7509
int16_t v7 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)3U,
crypto/openssh/libcrux_mlkem768_sha3.h
7524
libcrux_ml_kem_vector_portable_serialize_deserialize_4(Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
7526
Eurydice_slice_subslice2(bytes, (size_t)0U, (size_t)4U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
7528
Eurydice_slice_subslice2(bytes, (size_t)4U, (size_t)8U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
7627
Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
7628
int16_t v0 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)0U,
crypto/openssh/libcrux_mlkem768_sha3.h
7631
int16_t v1 = (int16_t)(((uint32_t)Eurydice_slice_index(bytes, (size_t)1U,
crypto/openssh/libcrux_mlkem768_sha3.h
7634
(uint32_t)Eurydice_slice_index(bytes, (size_t)0U,
crypto/openssh/libcrux_mlkem768_sha3.h
7637
int16_t v2 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)1U,
crypto/openssh/libcrux_mlkem768_sha3.h
7641
int16_t v3 = (int16_t)(((uint32_t)Eurydice_slice_index(bytes, (size_t)2U,
crypto/openssh/libcrux_mlkem768_sha3.h
7645
(uint32_t)Eurydice_slice_index(bytes, (size_t)1U,
crypto/openssh/libcrux_mlkem768_sha3.h
7648
int16_t v4 = (int16_t)(((uint32_t)Eurydice_slice_index(bytes, (size_t)3U,
crypto/openssh/libcrux_mlkem768_sha3.h
7651
(uint32_t)Eurydice_slice_index(bytes, (size_t)2U,
crypto/openssh/libcrux_mlkem768_sha3.h
7654
int16_t v5 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)3U,
crypto/openssh/libcrux_mlkem768_sha3.h
7658
int16_t v6 = (int16_t)(((uint32_t)Eurydice_slice_index(bytes, (size_t)4U,
crypto/openssh/libcrux_mlkem768_sha3.h
7661
(uint32_t)Eurydice_slice_index(bytes, (size_t)3U,
crypto/openssh/libcrux_mlkem768_sha3.h
7664
int16_t v7 = (int16_t)((uint32_t)Eurydice_slice_index(bytes, (size_t)4U,
crypto/openssh/libcrux_mlkem768_sha3.h
7678
libcrux_ml_kem_vector_portable_serialize_deserialize_5(Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
7680
Eurydice_slice_subslice2(bytes, (size_t)0U, (size_t)5U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
7682
Eurydice_slice_subslice2(bytes, (size_t)5U, (size_t)10U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
7799
Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
7801
((int16_t)Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
7804
((int16_t)Eurydice_slice_index(bytes, (size_t)0U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
7807
((int16_t)Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
7810
(int16_t)Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
7813
((int16_t)Eurydice_slice_index(bytes, (size_t)3U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
7816
(int16_t)Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
7819
(int16_t)Eurydice_slice_index(bytes, (size_t)4U, uint8_t, uint8_t *)
crypto/openssh/libcrux_mlkem768_sha3.h
7821
(int16_t)Eurydice_slice_index(bytes, (size_t)3U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
7824
((int16_t)Eurydice_slice_index(bytes, (size_t)6U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
7827
((int16_t)Eurydice_slice_index(bytes, (size_t)5U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
7830
((int16_t)Eurydice_slice_index(bytes, (size_t)7U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
7833
(int16_t)Eurydice_slice_index(bytes, (size_t)6U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
7836
((int16_t)Eurydice_slice_index(bytes, (size_t)8U, uint8_t, uint8_t *) &
crypto/openssh/libcrux_mlkem768_sha3.h
7839
(int16_t)Eurydice_slice_index(bytes, (size_t)7U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
7842
(int16_t)Eurydice_slice_index(bytes, (size_t)9U, uint8_t, uint8_t *)
crypto/openssh/libcrux_mlkem768_sha3.h
7844
(int16_t)Eurydice_slice_index(bytes, (size_t)8U, uint8_t, uint8_t *) >>
crypto/openssh/libcrux_mlkem768_sha3.h
7857
libcrux_ml_kem_vector_portable_serialize_deserialize_10(Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
7859
Eurydice_slice_subslice2(bytes, (size_t)0U, (size_t)10U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
7862
Eurydice_slice_subslice2(bytes, (size_t)10U, (size_t)20U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
7984
Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
7986
(int16_t)Eurydice_slice_index(bytes, (size_t)0U, uint8_t, uint8_t *);
crypto/openssh/libcrux_mlkem768_sha3.h
7988
(int16_t)Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *);
crypto/openssh/libcrux_mlkem768_sha3.h
7990
(int16_t)Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *);
crypto/openssh/libcrux_mlkem768_sha3.h
7997
libcrux_ml_kem_vector_portable_serialize_deserialize_12(Eurydice_slice bytes) {
crypto/openssh/libcrux_mlkem768_sha3.h
7999
Eurydice_slice_subslice2(bytes, (size_t)0U, (size_t)3U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
8001
Eurydice_slice_subslice2(bytes, (size_t)3U, (size_t)6U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
8003
Eurydice_slice_subslice2(bytes, (size_t)6U, (size_t)9U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
8005
Eurydice_slice_subslice2(bytes, (size_t)9U, (size_t)12U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
8007
Eurydice_slice_subslice2(bytes, (size_t)12U, (size_t)15U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
8010
Eurydice_slice_subslice2(bytes, (size_t)15U, (size_t)18U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
8013
Eurydice_slice_subslice2(bytes, (size_t)18U, (size_t)21U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
8016
Eurydice_slice_subslice2(bytes, (size_t)21U, (size_t)24U, uint8_t));
crypto/openssh/libcrux_mlkem768_sha3.h
8246
Eurydice_slice bytes = Eurydice_slice_subslice2(
crypto/openssh/libcrux_mlkem768_sha3.h
8249
libcrux_ml_kem_vector_portable_deserialize_12_0d(bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
8366
Eurydice_slice bytes = Eurydice_slice_subslice2(
crypto/openssh/libcrux_mlkem768_sha3.h
8369
libcrux_ml_kem_vector_portable_deserialize_10_0d(bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
8430
Eurydice_slice bytes = Eurydice_slice_subslice2(
crypto/openssh/libcrux_mlkem768_sha3.h
8433
libcrux_ml_kem_vector_portable_deserialize_11_0d(bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
8735
Eurydice_slice bytes = Eurydice_slice_subslice2(
crypto/openssh/libcrux_mlkem768_sha3.h
8738
libcrux_ml_kem_vector_portable_deserialize_4_0d(bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
8799
Eurydice_slice bytes = Eurydice_slice_subslice2(
crypto/openssh/libcrux_mlkem768_sha3.h
8802
libcrux_ml_kem_vector_portable_deserialize_5_0d(bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
9194
uint8_t bytes[2U];
crypto/openssh/libcrux_mlkem768_sha3.h
9196
bytes);
crypto/openssh/libcrux_mlkem768_sha3.h
9200
uu____0, Eurydice_array_to_slice((size_t)2U, bytes, uint8_t), uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
9362
Eurydice_slice bytes = Eurydice_slice_subslice2(
crypto/openssh/libcrux_mlkem768_sha3.h
9365
libcrux_ml_kem_vector_portable_deserialize_12_0d(bytes);
crypto/openssh/openbsd-compat/chacha_private.h
119
if (bytes < 64) {
crypto/openssh/openbsd-compat/chacha_private.h
120
for (i = 0;i < bytes;++i) tmp[i] = m[i];
crypto/openssh/openbsd-compat/chacha_private.h
210
if (bytes <= 64) {
crypto/openssh/openbsd-compat/chacha_private.h
211
if (bytes < 64) {
crypto/openssh/openbsd-compat/chacha_private.h
212
for (i = 0;i < bytes;++i) ctarget[i] = c[i];
crypto/openssh/openbsd-compat/chacha_private.h
218
bytes -= 64;
crypto/openssh/openbsd-compat/chacha_private.h
91
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
crypto/openssh/openbsd-compat/chacha_private.h
99
if (!bytes) return;
crypto/openssh/openbsd-compat/port-prngd.c
151
seed_from_prngd(unsigned char *buf, size_t bytes)
crypto/openssh/openbsd-compat/port-prngd.c
155
if (get_random_bytes_prngd(buf, bytes, PRNGD_PORT, NULL) == 0)
crypto/openssh/openbsd-compat/port-prngd.c
160
if (get_random_bytes_prngd(buf, bytes, 0, PRNGD_SOCKET) == 0)
crypto/openssh/packet.c
112
u_int64_t bytes;
crypto/openssh/packet.c
1312
state->p_send.bytes += len;
crypto/openssh/packet.c
1723
state->p_read.bytes += state->packlen + 4;
crypto/openssh/packet.c
2285
ssh_packet_set_rekey_limits(struct ssh *ssh, u_int64_t bytes, u_int32_t seconds)
crypto/openssh/packet.c
2287
debug3("rekey after %llu bytes, %u seconds", (unsigned long long)bytes,
crypto/openssh/packet.c
2289
ssh->state->rekey_limit = bytes;
crypto/openssh/packet.c
2426
(r = sshbuf_put_u64(m, state->p_send.bytes)) != 0 ||
crypto/openssh/packet.c
2430
(r = sshbuf_put_u64(m, state->p_read.bytes)) != 0 ||
crypto/openssh/packet.c
2562
(r = sshbuf_get_u64(m, &state->p_send.bytes)) != 0 ||
crypto/openssh/packet.c
2566
(r = sshbuf_get_u64(m, &state->p_read.bytes)) != 0)
crypto/openssh/packet.c
470
*ibytes = ssh->state->p_read.bytes;
crypto/openssh/packet.c
472
*obytes = ssh->state->p_send.bytes;
crypto/openssh/packet.c
982
(unsigned long long)state->p_read.bytes,
crypto/openssh/packet.c
984
(unsigned long long)state->p_send.bytes,
crypto/openssh/progressmeter.c
101
(long long) (bytes + 5) / 100,
crypto/openssh/progressmeter.c
102
(long long) (bytes + 5) / 10 % 10,
crypto/openssh/progressmeter.c
109
format_size(off_t bytes)
crypto/openssh/progressmeter.c
112
static char buf[STRING_SIZE(bytes) + 16];
crypto/openssh/progressmeter.c
114
for (i = 0; bytes >= 10000 && unit[i] != 'T'; i++)
crypto/openssh/progressmeter.c
115
bytes = (bytes + 512) / 1024;
crypto/openssh/progressmeter.c
117
(long long) bytes,
crypto/openssh/progressmeter.c
88
format_rate(off_t bytes)
crypto/openssh/progressmeter.c
91
static char buf[STRING_SIZE(bytes) * 2 + 16];
crypto/openssh/progressmeter.c
93
bytes *= 100;
crypto/openssh/progressmeter.c
94
for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++)
crypto/openssh/progressmeter.c
95
bytes = (bytes + 512) / 1024;
crypto/openssh/progressmeter.c
98
bytes = (bytes + 512) / 1024;
crypto/openssh/sftp-server.c
428
handle_update_read(int handle, ssize_t bytes)
crypto/openssh/sftp-server.c
430
if (handle_is_ok(handle, HANDLE_FILE) && bytes > 0)
crypto/openssh/sftp-server.c
431
handles[handle].bytes_read += bytes;
crypto/openssh/sftp-server.c
435
handle_update_write(int handle, ssize_t bytes)
crypto/openssh/sftp-server.c
437
if (handle_is_ok(handle, HANDLE_FILE) && bytes > 0)
crypto/openssh/sftp-server.c
438
handles[handle].bytes_write += bytes;
crypto/openssh/ssh-keygen.c
468
u_int bytes, bignum_bits;
crypto/openssh/ssh-keygen.c
473
bytes = (bignum_bits + 7) / 8;
crypto/openssh/ssh-keygen.c
474
if (sshbuf_len(b) < bytes)
crypto/openssh/ssh-keygen.c
476
bytes, sshbuf_len(b));
crypto/openssh/ssh-keygen.c
477
if (BN_bin2bn(sshbuf_ptr(b), bytes, value) == NULL)
crypto/openssh/ssh-keygen.c
479
if ((r = sshbuf_consume(b, bytes)) != 0)
crypto/openssh/xmss_commons.c
19
void to_byte(unsigned char *out, unsigned long long in, uint32_t bytes)
crypto/openssh/xmss_commons.c
22
for (i = bytes-1; i >= 0; i--) {
crypto/openssh/xmss_commons.h
17
void to_byte(unsigned char *output, unsigned long long in, uint32_t bytes);
crypto/openssh/xmss_fast.c
38
unsigned char bytes[32];
crypto/openssh/xmss_fast.c
44
addr_to_byte(bytes, addr);
crypto/openssh/xmss_fast.c
45
prf(seed, bytes, sk_seed, n);
crypto/openssh/xmss_hash.c
26
unsigned char* addr_to_byte(unsigned char *bytes, const uint32_t addr[8]){
crypto/openssh/xmss_hash.c
30
to_byte(bytes+i*4, addr[i],4);
crypto/openssh/xmss_hash.c
31
return bytes;
crypto/openssh/xmss_hash.c
33
memcpy(bytes, addr, 32);
crypto/openssh/xmss_hash.c
34
return bytes;
crypto/openssh/xmss_hash.h
15
unsigned char* addr_to_byte(unsigned char *bytes, const uint32_t addr[8]);
crypto/openssl/apps/s_client.c
2593
int bytes;
crypto/openssl/apps/s_client.c
2596
bytes = BIO_read(sbio, mbuf, BUFSIZZ);
crypto/openssl/apps/s_client.c
2597
if (bytes != 3 || memcmp(mbuf, tls_do, 3) != 0)
crypto/openssl/apps/s_client.c
2604
bytes = BIO_read(sbio, mbuf, BUFSIZZ);
crypto/openssl/apps/s_client.c
2605
if (bytes != 6 || memcmp(mbuf, tls_follows, 6) != 0)
crypto/openssl/apps/s_client.c
2690
int bytes = 0;
crypto/openssl/apps/s_client.c
2696
bytes = BIO_read(sbio, (void *)packet, BUFSIZZ);
crypto/openssl/apps/s_client.c
2697
if (bytes < 0) {
crypto/openssl/apps/s_client.c
2701
} else if (bytes < 21) {
crypto/openssl/apps/s_client.c
2704
} else if (bytes != (4 + packet[0] + (packet[1] << 8) + (packet[2] << 16))) {
crypto/openssl/apps/s_client.c
2717
if (pos >= bytes) {
crypto/openssl/apps/s_client.c
2726
if (pos + 15 > bytes) {
crypto/openssl/apps/s_client.c
2754
int bytes;
crypto/openssl/apps/s_client.c
2761
bytes = BIO_read(sbio, sbuf, BUFSIZZ);
crypto/openssl/apps/s_client.c
2762
if (bytes != 1 || sbuf[0] != 'S')
crypto/openssl/crypto/aria/aria.c
855
const unsigned int bytes = n / 8, bits = n % 8;
crypto/openssl/crypto/aria/aria.c
860
t.c[(i + bytes) % ARIA_BLOCK_SIZE] = z->c[i];
crypto/openssl/crypto/asn1/p8_pkey.c
101
const unsigned char *bytes, int len)
crypto/openssl/crypto/asn1/p8_pkey.c
103
return (X509at_add1_attr_by_OBJ(&p8->attributes, obj, type, bytes, len) != NULL);
crypto/openssl/crypto/asn1/p8_pkey.c
93
const unsigned char *bytes, int len)
crypto/openssl/crypto/asn1/p8_pkey.c
95
if (X509at_add1_attr_by_NID(&p8->attributes, nid, type, bytes, len) != NULL)
crypto/openssl/crypto/bn/bn_rand.c
29
int b, ret = 0, bit, bytes, mask;
crypto/openssl/crypto/bn/bn_rand.c
41
bytes = (bits + 7) / 8;
crypto/openssl/crypto/bn/bn_rand.c
45
buf = OPENSSL_malloc(bytes);
crypto/openssl/crypto/bn/bn_rand.c
50
b = flag == NORMAL ? RAND_bytes_ex(libctx, buf, bytes, strength)
crypto/openssl/crypto/bn/bn_rand.c
51
: RAND_priv_bytes_ex(libctx, buf, bytes, strength);
crypto/openssl/crypto/bn/bn_rand.c
62
for (i = 0; i < bytes; i++) {
crypto/openssl/crypto/bn/bn_rand.c
88
buf[bytes - 1] |= 1;
crypto/openssl/crypto/bn/bn_rand.c
89
if (!BN_bin2bn(buf, bytes, rnd))
crypto/openssl/crypto/bn/bn_rand.c
93
OPENSSL_clear_free(buf, bytes);
crypto/openssl/crypto/cmp/cmp_hdr.c
123
unsigned char *bytes = OPENSSL_malloc(len);
crypto/openssl/crypto/cmp/cmp_hdr.c
126
if (bytes == NULL || RAND_bytes_ex(ctx->libctx, bytes, len, 0) <= 0)
crypto/openssl/crypto/cmp/cmp_hdr.c
129
res = ossl_cmp_asn1_octet_string_set1_bytes(tgt, bytes, len);
crypto/openssl/crypto/cmp/cmp_hdr.c
130
OPENSSL_free(bytes);
crypto/openssl/crypto/cmp/cmp_local.h
834
const unsigned char *bytes, int len);
crypto/openssl/crypto/cmp/cmp_util.c
266
const unsigned char *bytes, int len)
crypto/openssl/crypto/cmp/cmp_util.c
274
if (bytes != NULL) {
crypto/openssl/crypto/cmp/cmp_util.c
276
|| !(ASN1_OCTET_STRING_set(new, bytes, len))) {
crypto/openssl/crypto/cms/cms_att.c
101
if (ossl_x509at_add1_attr_by_NID(&si->signedAttrs, nid, type, bytes, len))
crypto/openssl/crypto/cms/cms_att.c
108
const void *bytes, int len)
crypto/openssl/crypto/cms/cms_att.c
110
if (ossl_x509at_add1_attr_by_txt(&si->signedAttrs, attrname, type, bytes,
crypto/openssl/crypto/cms/cms_att.c
159
const void *bytes, int len)
crypto/openssl/crypto/cms/cms_att.c
161
if (ossl_x509at_add1_attr_by_OBJ(&si->unsignedAttrs, obj, type, bytes, len))
crypto/openssl/crypto/cms/cms_att.c
168
const void *bytes, int len)
crypto/openssl/crypto/cms/cms_att.c
170
if (ossl_x509at_add1_attr_by_NID(&si->unsignedAttrs, nid, type, bytes, len))
crypto/openssl/crypto/cms/cms_att.c
177
const void *bytes, int len)
crypto/openssl/crypto/cms/cms_att.c
180
type, bytes, len))
crypto/openssl/crypto/cms/cms_att.c
91
const void *bytes, int len)
crypto/openssl/crypto/cms/cms_att.c
93
if (ossl_x509at_add1_attr_by_OBJ(&si->signedAttrs, obj, type, bytes, len))
crypto/openssl/crypto/cms/cms_att.c
99
int nid, int type, const void *bytes, int len)
crypto/openssl/crypto/dh/dh_check.c
369
unsigned char bytes[1024] = { 0 }; /* Max key size of 8192 bits */
crypto/openssl/crypto/dh/dh_check.c
371
if (BN_num_bytes(pub_key) > (int)sizeof(bytes))
crypto/openssl/crypto/dh/dh_check.c
373
len = BN_bn2bin(pub_key, bytes);
crypto/openssl/crypto/dh/dh_check.c
374
OSSL_SELF_TEST_oncorrupt_byte(st, bytes);
crypto/openssl/crypto/dh/dh_check.c
375
if (BN_bin2bn(bytes, len, pub_key) == NULL)
crypto/openssl/crypto/dsa/dsa_key.c
100
if (BN_bin2bn(bytes, len, pub_key2) != NULL)
crypto/openssl/crypto/dsa/dsa_key.c
80
unsigned char bytes[512] = { 0 };
crypto/openssl/crypto/dsa/dsa_key.c
96
if (BN_num_bytes(pub_key2) > (int)sizeof(bytes))
crypto/openssl/crypto/dsa/dsa_key.c
98
len = BN_bn2bin(pub_key2, bytes);
crypto/openssl/crypto/dsa/dsa_key.c
99
OSSL_SELF_TEST_oncorrupt_byte(st, bytes);
crypto/openssl/crypto/ec/ec_key.c
257
unsigned char bytes[512] = { 0 };
crypto/openssl/crypto/ec/ec_key.c
274
if (BN_num_bytes(pub_key2->X) > (int)sizeof(bytes))
crypto/openssl/crypto/ec/ec_key.c
276
len = BN_bn2bin(pub_key2->X, bytes);
crypto/openssl/crypto/ec/ec_key.c
277
if (OSSL_SELF_TEST_oncorrupt_byte(st, bytes)
crypto/openssl/crypto/ec/ec_key.c
278
&& BN_bin2bn(bytes, len, pub_key2->X) == NULL)
crypto/openssl/crypto/encode_decode/encoder_lib.c
714
int bytes;
crypto/openssl/crypto/encode_decode/encoder_lib.c
749
bytes = 0;
crypto/openssl/crypto/encode_decode/encoder_lib.c
758
++bytes;
crypto/openssl/crypto/encode_decode/encoder_lib.c
763
if ((bytes % 15) == 0 && bytes > 0) {
crypto/openssl/crypto/encode_decode/encoder_lib.c
773
++bytes;
crypto/openssl/crypto/evp/e_aes.c
277
const int bytes = keylen / 2;
crypto/openssl/crypto/evp/e_aes.c
278
const int bits = bytes * 8;
crypto/openssl/crypto/evp/e_aes.c
291
&& CRYPTO_memcmp(key, key + bytes, bytes) == 0) {
crypto/openssl/crypto/evp/e_aes.c
307
aesni_set_encrypt_key(key + bytes, bits, &xctx->ks2.ks);
crypto/openssl/crypto/evp/e_aes.c
3236
const int bytes = keylen / 2;
crypto/openssl/crypto/evp/e_aes.c
3237
const int bits = bytes * 8;
crypto/openssl/crypto/evp/e_aes.c
3260
&& CRYPTO_memcmp(key, key + bytes, bytes) == 0) {
crypto/openssl/crypto/evp/e_aes.c
3287
HWAES_set_encrypt_key(key + bytes, bits, &xctx->ks2.ks);
crypto/openssl/crypto/evp/e_aes.c
3309
vpaes_set_encrypt_key(key + bytes, bits, &xctx->ks2.ks);
crypto/openssl/crypto/evp/e_aes.c
3326
AES_set_encrypt_key(key + bytes, bits, &xctx->ks2.ks);
crypto/openssl/crypto/evp/e_aes.c
644
const int bytes = keylen / 2;
crypto/openssl/crypto/evp/e_aes.c
645
const int bits = bytes * 8;
crypto/openssl/crypto/evp/e_aes.c
658
&& CRYPTO_memcmp(key, key + bytes, bytes) == 0) {
crypto/openssl/crypto/evp/e_aes.c
693
aes_t4_set_encrypt_key(key + bytes, bits, &xctx->ks2.ks);
crypto/openssl/crypto/evp/evp_pkey.c
220
const unsigned char *bytes, int len)
crypto/openssl/crypto/evp/evp_pkey.c
222
if (X509at_add1_attr_by_OBJ(&key->attributes, obj, type, bytes, len))
crypto/openssl/crypto/evp/evp_pkey.c
229
const unsigned char *bytes, int len)
crypto/openssl/crypto/evp/evp_pkey.c
231
if (X509at_add1_attr_by_NID(&key->attributes, nid, type, bytes, len))
crypto/openssl/crypto/evp/evp_pkey.c
238
const unsigned char *bytes, int len)
crypto/openssl/crypto/evp/evp_pkey.c
240
if (X509at_add1_attr_by_txt(&key->attributes, attrname, type, bytes, len))
crypto/openssl/crypto/params.c
1114
size_t bytes;
crypto/openssl/crypto/params.c
1130
bytes = (size_t)BN_num_bytes(val);
crypto/openssl/crypto/params.c
1133
bytes++;
crypto/openssl/crypto/params.c
1135
if (bytes == 0)
crypto/openssl/crypto/params.c
1136
bytes++;
crypto/openssl/crypto/params.c
1139
p->return_size = bytes;
crypto/openssl/crypto/params.c
1142
if (p->data_size >= bytes) {
crypto/openssl/crypto/params.c
1164
p->return_size = bytes;
crypto/openssl/crypto/params_dup.c
29
size_t ossl_param_bytes_to_blocks(size_t bytes)
crypto/openssl/crypto/params_dup.c
31
return (bytes + OSSL_PARAM_ALIGN_SIZE - 1) / OSSL_PARAM_ALIGN_SIZE;
crypto/openssl/crypto/pkcs12/p12_attr.c
83
const unsigned char *bytes, int len)
crypto/openssl/crypto/pkcs12/p12_attr.c
85
if (X509at_add1_attr_by_NID(&bag->attrib, nid, type, bytes, len) != NULL)
crypto/openssl/crypto/pkcs12/p12_attr.c
92
const unsigned char *bytes, int len)
crypto/openssl/crypto/pkcs12/p12_attr.c
94
if (X509at_add1_attr_by_txt(&bag->attrib, attrname, type, bytes, len) != NULL)
crypto/openssl/crypto/rand/rand_egd.c
107
int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
crypto/openssl/crypto/rand/rand_egd.c
117
if (bytes <= 0 || bytes > (int)sizeof(tempbuf))
crypto/openssl/crypto/rand/rand_egd.c
186
tempbuf[1] = bytes;
crypto/openssl/crypto/rand/rand_egd.c
193
if (numbytes <= 0 || numbytes > bytes || numbytes > (int)sizeof(tempbuf))
crypto/openssl/crypto/rand/rand_egd.c
21
int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
crypto/openssl/crypto/rand/rand_egd.c
217
int RAND_egd_bytes(const char *path, int bytes)
crypto/openssl/crypto/rand/rand_egd.c
221
num = RAND_query_egd_bytes(path, NULL, bytes);
crypto/openssl/crypto/rand/rand_egd.c
31
int RAND_egd_bytes(const char *path, int bytes)
crypto/openssl/crypto/rand/rand_lib.c
448
if (meth->bytes != NULL)
crypto/openssl/crypto/rand/rand_lib.c
449
return meth->bytes(buf, num);
crypto/openssl/crypto/rand/rand_lib.c
487
if (meth->bytes != NULL)
crypto/openssl/crypto/rand/rand_lib.c
488
return meth->bytes(buf, num);
crypto/openssl/crypto/rand/randfile.c
102
if (bytes == 0)
crypto/openssl/crypto/rand/randfile.c
119
if (bytes < 0) {
crypto/openssl/crypto/rand/randfile.c
121
bytes = sb.st_size;
crypto/openssl/crypto/rand/randfile.c
123
bytes = RAND_DRBG_STRENGTH;
crypto/openssl/crypto/rand/randfile.c
148
if (bytes > 0)
crypto/openssl/crypto/rand/randfile.c
149
n = (bytes <= RAND_LOAD_BUF_SIZE) ? (int)bytes : RAND_BUF_SIZE;
crypto/openssl/crypto/rand/randfile.c
167
if (bytes > 0 && (bytes -= i) <= 0)
crypto/openssl/crypto/rand/randfile.c
84
int RAND_load_file(const char *file, long bytes)
crypto/openssl/crypto/self_test_core.c
149
int OSSL_SELF_TEST_oncorrupt_byte(OSSL_SELF_TEST *st, unsigned char *bytes)
crypto/openssl/crypto/self_test_core.c
155
bytes[0] ^= 1;
crypto/openssl/crypto/store/store_lib.c
943
*bytes,
crypto/openssl/crypto/store/store_lib.c
969
search->string = bytes;
crypto/openssl/crypto/whrlpool/wp_dgst.c
253
unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md)
crypto/openssl/crypto/whrlpool/wp_dgst.c
261
WHIRLPOOL_Update(&ctx, inp, bytes);
crypto/openssl/crypto/whrlpool/wp_dgst.c
71
int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *_inp, size_t bytes)
crypto/openssl/crypto/whrlpool/wp_dgst.c
81
while (bytes >= chunk) {
crypto/openssl/crypto/whrlpool/wp_dgst.c
83
bytes -= chunk;
crypto/openssl/crypto/whrlpool/wp_dgst.c
86
if (bytes)
crypto/openssl/crypto/whrlpool/wp_dgst.c
87
WHIRLPOOL_BitUpdate(c, inp, bytes * 8);
crypto/openssl/crypto/x509/v3_utl.c
1067
int i = 0, remain = 0, bytes = 0;
crypto/openssl/crypto/x509/v3_utl.c
1075
i-- > 0 && bytes >= 0;
crypto/openssl/crypto/x509/v3_utl.c
1076
remain -= bytes, out += bytes) {
crypto/openssl/crypto/x509/v3_utl.c
1079
bytes = BIO_snprintf(out, remain, template, p[0] << 8 | p[1]);
crypto/openssl/crypto/x509/x509_acert.c
226
int type, const void *bytes, int len)
crypto/openssl/crypto/x509/x509_acert.c
230
return X509at_add1_attr_by_OBJ(attrs, obj, type, bytes, len) != NULL;
crypto/openssl/crypto/x509/x509_acert.c
234
const void *bytes, int len)
crypto/openssl/crypto/x509/x509_acert.c
238
return X509at_add1_attr_by_NID(attrs, nid, type, bytes, len) != NULL;
crypto/openssl/crypto/x509/x509_acert.c
242
const unsigned char *bytes, int len)
crypto/openssl/crypto/x509/x509_acert.c
246
return X509at_add1_attr_by_txt(attrs, attrname, type, bytes, len) != NULL;
crypto/openssl/crypto/x509/x509_att.c
137
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509_att.c
143
attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len);
crypto/openssl/crypto/x509/x509_att.c
155
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509_att.c
168
return ossl_x509at_add1_attr_by_OBJ(x, obj, type, bytes, len);
crypto/openssl/crypto/x509/x509_att.c
173
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509_att.c
179
attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len);
crypto/openssl/crypto/x509/x509_att.c
190
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509_att.c
203
return ossl_x509at_add1_attr_by_NID(x, nid, type, bytes, len);
crypto/openssl/crypto/x509/x509_att.c
209
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509_att.c
215
attr = X509_ATTRIBUTE_create_by_txt(NULL, attrname, type, bytes, len);
crypto/openssl/crypto/x509/x509_att.c
227
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509_att.c
233
attr = X509_ATTRIBUTE_create_by_txt(NULL, attrname, type, bytes, len);
crypto/openssl/crypto/x509/x509_att.c
320
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509_att.c
331
nattr = X509_ATTRIBUTE_create_by_OBJ(attr, obj, type, bytes, len);
crypto/openssl/crypto/x509/x509_cmp.c
332
&& EVP_DigestUpdate(md_ctx, x->bytes->data, x->bytes->length)
crypto/openssl/crypto/x509/x509_local.h
89
const unsigned char *bytes, int len,
crypto/openssl/crypto/x509/x509_lu.c
128
const unsigned char *bytes, int len,
crypto/openssl/crypto/x509/x509_lu.c
133
return ctx->method->get_by_fingerprint(ctx, type, bytes, len, ret);
crypto/openssl/crypto/x509/x509_req.c
263
const unsigned char *bytes, int len)
crypto/openssl/crypto/x509/x509_req.c
270
type, bytes, len))
crypto/openssl/crypto/x509/x509_req.c
278
const unsigned char *bytes, int len)
crypto/openssl/crypto/x509/x509_req.c
285
type, bytes, len))
crypto/openssl/crypto/x509/x509_req.c
293
const unsigned char *bytes, int len)
crypto/openssl/crypto/x509/x509_req.c
300
type, bytes, len))
crypto/openssl/crypto/x509/x509name.c
142
const unsigned char *bytes, int len, int loc,
crypto/openssl/crypto/x509/x509name.c
148
ne = X509_NAME_ENTRY_create_by_OBJ(NULL, obj, type, bytes, len);
crypto/openssl/crypto/x509/x509name.c
157
const unsigned char *bytes, int len, int loc,
crypto/openssl/crypto/x509/x509name.c
162
ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len);
crypto/openssl/crypto/x509/x509name.c
171
const unsigned char *bytes, int len, int loc,
crypto/openssl/crypto/x509/x509name.c
176
ne = X509_NAME_ENTRY_create_by_txt(NULL, field, type, bytes, len);
crypto/openssl/crypto/x509/x509name.c
244
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509name.c
256
nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len);
crypto/openssl/crypto/x509/x509name.c
263
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509name.c
274
nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len);
crypto/openssl/crypto/x509/x509name.c
281
const unsigned char *bytes,
crypto/openssl/crypto/x509/x509name.c
294
if (!X509_NAME_ENTRY_set_data(ret, type, bytes, len))
crypto/openssl/crypto/x509/x509name.c
318
const unsigned char *bytes, int len)
crypto/openssl/crypto/x509/x509name.c
322
if ((ne == NULL) || ((bytes == NULL) && (len != 0)))
crypto/openssl/crypto/x509/x509name.c
325
return ASN1_STRING_set_by_NID(&ne->value, bytes,
crypto/openssl/crypto/x509/x509name.c
331
len = strlen((const char *)bytes);
crypto/openssl/crypto/x509/x509name.c
332
i = ASN1_STRING_set(ne->value, bytes, len);
crypto/openssl/crypto/x509/x509name.c
337
ne->value->type = ASN1_PRINTABLE_type(bytes, len);
crypto/openssl/crypto/x509/x_name.c
100
if ((ret->bytes = BUF_MEM_new()) == NULL) {
crypto/openssl/crypto/x509/x_name.c
124
BUF_MEM_free(a->bytes);
crypto/openssl/crypto/x509/x_name.c
180
if (!BUF_MEM_grow(nm.x->bytes, p - q))
crypto/openssl/crypto/x509/x_name.c
182
memcpy(nm.x->bytes->data, q, p - q);
crypto/openssl/crypto/x509/x_name.c
228
ret = a->bytes->length;
crypto/openssl/crypto/x509/x_name.c
230
memcpy(*out, a->bytes->data, ret);
crypto/openssl/crypto/x509/x_name.c
270
if (!BUF_MEM_grow(a->bytes, len)) {
crypto/openssl/crypto/x509/x_name.c
274
p = (unsigned char *)a->bytes->data;
crypto/openssl/crypto/x509/x_name.c
548
*pder = (unsigned char *)nm->bytes->data;
crypto/openssl/crypto/x509/x_name.c
550
*pderlen = nm->bytes->length;
crypto/openssl/include/crypto/x509.h
380
const unsigned char *bytes,
crypto/openssl/include/crypto/x509.h
384
const unsigned char *bytes,
crypto/openssl/include/crypto/x509.h
389
const unsigned char *bytes,
crypto/openssl/include/crypto/x509.h
42
BUF_MEM *bytes; /* cached encoding: cannot be NULL */
crypto/openssl/include/internal/packet.h
810
#define WPACKET_sub_allocate_bytes_u8(pkt, len, bytes) \
crypto/openssl/include/internal/packet.h
811
WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 1)
crypto/openssl/include/internal/packet.h
812
#define WPACKET_sub_allocate_bytes_u16(pkt, len, bytes) \
crypto/openssl/include/internal/packet.h
813
WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 2)
crypto/openssl/include/internal/packet.h
814
#define WPACKET_sub_allocate_bytes_u24(pkt, len, bytes) \
crypto/openssl/include/internal/packet.h
815
WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 3)
crypto/openssl/include/internal/packet.h
816
#define WPACKET_sub_allocate_bytes_u32(pkt, len, bytes) \
crypto/openssl/include/internal/packet.h
817
WPACKET_sub_allocate_bytes__((pkt), (len), (bytes), 4)
crypto/openssl/include/internal/packet.h
848
#define WPACKET_sub_reserve_bytes_u8(pkt, len, bytes) \
crypto/openssl/include/internal/packet.h
849
WPACKET_reserve_bytes__((pkt), (len), (bytes), 1)
crypto/openssl/include/internal/packet.h
850
#define WPACKET_sub_reserve_bytes_u16(pkt, len, bytes) \
crypto/openssl/include/internal/packet.h
851
WPACKET_sub_reserve_bytes__((pkt), (len), (bytes), 2)
crypto/openssl/include/internal/packet.h
852
#define WPACKET_sub_reserve_bytes_u24(pkt, len, bytes) \
crypto/openssl/include/internal/packet.h
853
WPACKET_sub_reserve_bytes__((pkt), (len), (bytes), 3)
crypto/openssl/include/internal/packet.h
854
#define WPACKET_sub_reserve_bytes_u32(pkt, len, bytes) \
crypto/openssl/include/internal/packet.h
855
WPACKET_sub_reserve_bytes__((pkt), (len), (bytes), 4)
crypto/openssl/include/internal/packet.h
864
int WPACKET_put_bytes__(WPACKET *pkt, uint64_t val, size_t bytes);
crypto/openssl/include/internal/packet_quic.h
140
unsigned char **bytes);
crypto/openssl/include/internal/param_build_set.h
24
size_t ossl_param_bytes_to_blocks(size_t bytes);
crypto/openssl/include/openssl/bio.h
832
int BIO_dump(BIO *b, const void *bytes, int len);
crypto/openssl/include/openssl/bio.h
833
int BIO_dump_indent(BIO *b, const void *bytes, int len, int indent);
crypto/openssl/include/openssl/cms.h
426
const void *bytes, int len);
crypto/openssl/include/openssl/cms.h
429
const void *bytes, int len);
crypto/openssl/include/openssl/cms.h
432
const void *bytes, int len);
crypto/openssl/include/openssl/cms.h
447
const void *bytes, int len);
crypto/openssl/include/openssl/cms.h
450
const void *bytes, int len);
crypto/openssl/include/openssl/cms.h
453
const void *bytes, int len);
crypto/openssl/include/openssl/pkcs12.h
222
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/pkcs12.h
224
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/rand.h
108
int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
crypto/openssl/include/openssl/rand.h
110
int RAND_egd_bytes(const char *path, int bytes);
crypto/openssl/include/openssl/rand.h
42
int (*bytes)(unsigned char *buf, int num);
crypto/openssl/include/openssl/self_test.h
108
int OSSL_SELF_TEST_oncorrupt_byte(OSSL_SELF_TEST *st, unsigned char *bytes);
crypto/openssl/include/openssl/ssl.h
2305
int SSL_bytes_to_cipher_list(SSL *s, const unsigned char *bytes, size_t len,
crypto/openssl/include/openssl/store.h
232
*bytes,
crypto/openssl/include/openssl/whrlpool.h
49
const void *inp, size_t bytes);
crypto/openssl/include/openssl/whrlpool.h
53
OSSL_DEPRECATEDIN_3_0 unsigned char *WHIRLPOOL(const void *inp, size_t bytes,
crypto/openssl/include/openssl/x509.h
1056
const unsigned char *bytes, int len, int loc,
crypto/openssl/include/openssl/x509.h
1059
const unsigned char *bytes, int len, int loc,
crypto/openssl/include/openssl/x509.h
1063
const unsigned char *bytes,
crypto/openssl/include/openssl/x509.h
1067
const unsigned char *bytes,
crypto/openssl/include/openssl/x509.h
1070
const unsigned char *bytes, int len, int loc,
crypto/openssl/include/openssl/x509.h
1074
const unsigned char *bytes,
crypto/openssl/include/openssl/x509.h
1078
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509.h
1163
const unsigned char *bytes,
crypto/openssl/include/openssl/x509.h
1168
const unsigned char *bytes,
crypto/openssl/include/openssl/x509.h
1174
const unsigned char *bytes,
crypto/openssl/include/openssl/x509.h
1187
const unsigned char *bytes,
crypto/openssl/include/openssl/x509.h
1207
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509.h
1210
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509.h
1213
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509.h
1284
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509.h
1286
int type, const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509.h
921
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509.h
924
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509.h
927
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509_acert.h
101
const unsigned char *bytes, int len);
crypto/openssl/include/openssl/x509_acert.h
97
int type, const void *bytes, int len);
crypto/openssl/include/openssl/x509_acert.h
99
const void *bytes, int len);
crypto/openssl/include/openssl/x509_vfy.h
645
const unsigned char *bytes,
crypto/openssl/include/openssl/x509_vfy.h
733
const unsigned char *bytes, int len,
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
54
static int aes_xts_check_keys_differ(const unsigned char *key, size_t bytes,
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
58
&& CRYPTO_memcmp(key, key + bytes, bytes) == 0) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts_hw.c
22
size_t bytes = keylen / 2; \
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts_hw.c
23
size_t bits = bytes * 8; \
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts_hw.c
32
fn_set_enc_key(key + bytes, bits, &xctx->ks2.ks); \
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts_hw.c
16
size_t bytes = keylen / 2; \
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts_hw.c
25
fn_set_enc_key(key + bytes, &xctx->ks2.ks); \
crypto/openssl/providers/implementations/rands/drbg.c
196
size_t bytes;
crypto/openssl/providers/implementations/rands/drbg.c
238
bytes = drbg->parent_get_seed(drbg->parent, pout,
crypto/openssl/providers/implementations/rands/drbg.c
243
return bytes;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
641
ssize_t bytes;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
648
bytes = syscall_random(buffer, bytes_needed);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
649
if (bytes > 0) {
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
650
ossl_rand_pool_add_end(pool, bytes, 8 * bytes);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
651
bytes_needed -= bytes;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
653
} else if (bytes < 0 && errno != EINTR) {
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
672
ssize_t bytes = 0;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
682
bytes = read(fd, buffer, bytes_needed);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
684
if (bytes > 0) {
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
685
ossl_rand_pool_add_end(pool, bytes, 8 * bytes);
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
686
bytes_needed -= bytes;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
688
} else if (bytes < 0 && errno != EINTR) {
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
692
if (bytes < 0 || !keep_random_devices_open)
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
724
size_t bytes = 0;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
731
bytes = bytes_needed;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
733
ossl_rand_pool_add_end(pool, bytes, 8 * bytes);
crypto/openssl/providers/implementations/rands/seeding/rand_win.c
107
size_t bytes = 0;
crypto/openssl/providers/implementations/rands/seeding/rand_win.c
114
bytes = bytes_needed;
crypto/openssl/providers/implementations/rands/seeding/rand_win.c
118
ossl_rand_pool_add_end(pool, bytes, 8 * bytes);
crypto/openssl/providers/implementations/rands/seeding/rand_win.c
72
size_t bytes = 0;
crypto/openssl/providers/implementations/rands/seeding/rand_win.c
76
bytes = bytes_needed;
crypto/openssl/providers/implementations/rands/seeding/rand_win.c
78
ossl_rand_pool_add_end(pool, bytes, 8 * bytes);
crypto/openssl/providers/implementations/rands/seeding/rand_win.c
87
size_t bytes = 0;
crypto/openssl/providers/implementations/rands/seeding/rand_win.c
93
bytes = bytes_needed;
crypto/openssl/providers/implementations/rands/seeding/rand_win.c
98
ossl_rand_pool_add_end(pool, bytes, 8 * bytes);
crypto/openssl/ssl/ssl_lib.c
7108
int SSL_bytes_to_cipher_list(SSL *s, const unsigned char *bytes, size_t len,
crypto/openssl/ssl/ssl_lib.c
7118
if (!PACKET_buf_init(&pkt, bytes, len))
crypto/openssl/test/asn1_encode_test.c
480
unsigned char bytes[1]; /* In reality, there's more */
crypto/openssl/test/asn1_encode_test.c
490
static int do_decode(unsigned char *bytes, long nbytes,
crypto/openssl/test/asn1_encode_test.c
498
start = bytes;
crypto/openssl/test/asn1_encode_test.c
499
enctst = package->d2i(NULL, &bytes, nbytes);
crypto/openssl/test/asn1_encode_test.c
508
if (start + nbytes == bytes
crypto/openssl/test/asn1_encode_test.c
555
static int do_enc_dec(EXPECTED *bytes, long nbytes,
crypto/openssl/test/asn1_encode_test.c
561
void *p = bytes;
crypto/openssl/test/asn1_encode_test.c
567
ret = do_decode(data, len, bytes, nbytes, package);
crypto/openssl/test/bio_base64_test.c
199
raw = OPENSSL_zalloc(t->bytes);
crypto/openssl/test/bio_base64_test.c
201
raw = genbytes(t->bytes);
crypto/openssl/test/bio_base64_test.c
203
if (raw == NULL && t->bytes > 0) {
crypto/openssl/test/bio_base64_test.c
208
out_len = t->bytes + 1024;
crypto/openssl/test/bio_base64_test.c
216
elen = genb64(t->prefix, t->suffix, raw, t->bytes, t->trunc, t->encoded,
crypto/openssl/test/bio_base64_test.c
23
unsigned bytes;
crypto/openssl/test/bio_base64_test.c
288
|| ((t->bytes > 0 || t->no_nl) && *t->suffix && *t->suffix != '-')
crypto/openssl/test/bio_base64_test.c
293
|| n != (int)t->bytes
crypto/openssl/test/bio_base64_test.c
331
fprintf(stderr, ", datalen=%u", t->bytes);
crypto/openssl/test/bio_base64_test.c
353
if (*llen > t->bytes + (t->bytes >> 1))
crypto/openssl/test/bio_base64_test.c
386
t.bytes = lengths[lencase];
crypto/openssl/test/bio_base64_test.c
389
t.bytes += padcase;
crypto/openssl/test/bio_base64_test.c
423
t.bytes = 6;
crypto/openssl/test/bio_prefix_text.c
84
size_t bytes;
crypto/openssl/test/bio_prefix_text.c
86
if (!BIO_write_ex(chain[amount - 1], buf, bytes_in, &bytes))
crypto/openssl/test/bio_prefix_text.c
88
bytes_out += bytes;
crypto/openssl/test/bio_readbuffer_test.c
32
size_t readbytes = 0, bytes = 0, count = 0;
crypto/openssl/test/bio_readbuffer_test.c
83
if (!TEST_int_eq(BIO_read_ex(in_bio, buf, len, &bytes), 1))
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_tfo_test.c
156
if (!TEST_true(BIO_write_ex(cbio, SOCKET_DATA, SOCKET_DATA_LEN, &bytes))) {
crypto/openssl/test/bio_tfo_test.c
176
|| !TEST_true(BIO_read_ex(sbio, read_buffer, sizeof(read_buffer), &bytes))
crypto/openssl/test/bio_tfo_test.c
177
|| !TEST_size_t_eq(bytes, SOCKET_DATA_LEN)
crypto/openssl/test/bio_tfo_test.c
62
size_t bytes;
crypto/openssl/test/bntest.c
1860
size_t bytes;
crypto/openssl/test/bntest.c
1877
for (bytes = 128 - 7; bytes <= 128; bytes++) {
crypto/openssl/test/bntest.c
1880
if (!TEST_true(BN_rand(n, bytes * 8, TOP_BIT_ON, BOTTOM_BIT_NOTOUCH)))
crypto/openssl/test/bntest.c
1882
if (!TEST_int_eq(BN_num_bytes(n), bytes)
crypto/openssl/test/bntest.c
1883
|| !TEST_int_eq(BN_bn2bin(n, reference), bytes))
crypto/openssl/test/bntest.c
1889
if (!TEST_int_eq(BN_bn2binpad(n, out, bytes - 1), -1))
crypto/openssl/test/bntest.c
1892
if (!TEST_int_eq(BN_bn2binpad(n, out, bytes), bytes)
crypto/openssl/test/bntest.c
1893
|| !TEST_mem_eq(out, bytes, reference, bytes))
crypto/openssl/test/bntest.c
1896
if (!TEST_int_eq(BN_bn2binpad(n, out, bytes + 1), bytes + 1)
crypto/openssl/test/bntest.c
1897
|| !TEST_mem_eq(out + 1, bytes, reference, bytes)
crypto/openssl/test/bntest.c
1902
|| !TEST_mem_eq(out + sizeof(out) - bytes, bytes,
crypto/openssl/test/bntest.c
1903
reference, bytes)
crypto/openssl/test/bntest.c
1904
|| !TEST_mem_eq(out, sizeof(out) - bytes,
crypto/openssl/test/bntest.c
1905
zeros, sizeof(out) - bytes))
crypto/openssl/test/cipherbytes_test.c
106
const unsigned char bytes[] = { 0x00, 0x2f, 0x00, 0x33, 0x00, 0x9f, 0x00, 0xff,
crypto/openssl/test/cipherbytes_test.c
110
if (!SSL_bytes_to_cipher_list(s, bytes, sizeof(bytes), 0, &sk, &scsv)
crypto/openssl/test/cipherbytes_test.c
30
const unsigned char bytes[] = { 0x00 };
crypto/openssl/test/cipherbytes_test.c
33
if (!TEST_int_eq(SSL_bytes_to_cipher_list(s, bytes, 0, 0, &sk, &scsv), 0)
crypto/openssl/test/cipherbytes_test.c
49
const unsigned char bytes[] = { 0xc0, 0x0f, 0x00, 0x2f, 0x01, 0x00 };
crypto/openssl/test/cipherbytes_test.c
52
if (!TEST_true(SSL_bytes_to_cipher_list(s, bytes, sizeof(bytes),
crypto/openssl/test/cipherbytes_test.c
74
const unsigned char bytes[] = { 0x00, 0x00, 0x35, 0x01, 0x00, 0x80,
crypto/openssl/test/cipherbytes_test.c
78
if (!TEST_true(SSL_bytes_to_cipher_list(s, bytes, sizeof(bytes), 1,
crypto/openssl/test/cmp_ctx_test.c
107
ASN1_OCTET_STRING_free(bytes);
crypto/openssl/test/cmp_ctx_test.c
623
const ASN1_OCTET_STRING *bytes = NULL; \
crypto/openssl/test/cmp_ctx_test.c
626
bytes = ctx->FIELD; \
crypto/openssl/test/cmp_ctx_test.c
627
return bytes == NULL ? NULL : OPENSSL_strndup((char *)bytes->data, bytes->length); \
crypto/openssl/test/cmp_ctx_test.c
63
ASN1_OCTET_STRING *bytes = NULL;
crypto/openssl/test/cmp_ctx_test.c
78
|| !TEST_ptr(bytes = ASN1_OCTET_STRING_new())
crypto/openssl/test/cmp_ctx_test.c
79
|| !OSSL_CMP_CTX_set1_transactionID(ctx, bytes)
crypto/openssl/test/cmp_ctx_test.c
80
|| !OSSL_CMP_CTX_set1_senderNonce(ctx, bytes)
crypto/openssl/test/cmp_ctx_test.c
81
|| !ossl_cmp_ctx_set1_recipNonce(ctx, bytes))
crypto/openssl/test/drbgtest.c
48
if (meth->bytes != NULL)
crypto/openssl/test/drbgtest.c
49
return meth->bytes(buf, num);
crypto/openssl/test/helpers/pkcs12.c
370
void add_certbag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len,
crypto/openssl/test/helpers/pkcs12.c
380
cert = load_cert_asn1(bytes, len);
crypto/openssl/test/helpers/pkcs12.c
404
void add_keybag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len,
crypto/openssl/test/helpers/pkcs12.c
415
pkey = load_pkey_asn1(bytes, len);
crypto/openssl/test/helpers/pkcs12.c
535
void check_certbag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len,
crypto/openssl/test/helpers/pkcs12.c
566
ref_x509 = load_cert_asn1(bytes, len);
crypto/openssl/test/helpers/pkcs12.c
574
void check_keybag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len,
crypto/openssl/test/helpers/pkcs12.c
633
ref_pkey = load_pkey_asn1(bytes, len);
crypto/openssl/test/helpers/pkcs12.c
75
static X509 *load_cert_asn1(const unsigned char *bytes, int len)
crypto/openssl/test/helpers/pkcs12.c
79
cert = d2i_X509(NULL, &bytes, len);
crypto/openssl/test/helpers/pkcs12.c
86
static EVP_PKEY *load_pkey_asn1(const unsigned char *bytes, int len)
crypto/openssl/test/helpers/pkcs12.c
90
pkey = d2i_AutoPrivateKey(NULL, &bytes, len);
crypto/openssl/test/helpers/pkcs12.h
76
void add_certbag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len,
crypto/openssl/test/helpers/pkcs12.h
78
void add_keybag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len,
crypto/openssl/test/helpers/pkcs12.h
95
void check_certbag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len,
crypto/openssl/test/helpers/pkcs12.h
97
void check_keybag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len,
crypto/openssl/test/packettest.c
156
const unsigned char *bytes = NULL;
crypto/openssl/test/packettest.c
160
|| !TEST_true(PACKET_get_bytes(&pkt, &bytes, 4))
crypto/openssl/test/packettest.c
161
|| !TEST_uchar_eq(bytes[0], 2)
crypto/openssl/test/packettest.c
162
|| !TEST_uchar_eq(bytes[1], 4)
crypto/openssl/test/packettest.c
163
|| !TEST_uchar_eq(bytes[2], 6)
crypto/openssl/test/packettest.c
164
|| !TEST_uchar_eq(bytes[3], 8)
crypto/openssl/test/packettest.c
167
|| !TEST_true(PACKET_get_bytes(&pkt, &bytes, 4))
crypto/openssl/test/packettest.c
168
|| !TEST_uchar_eq(bytes[0], 0xf8)
crypto/openssl/test/packettest.c
169
|| !TEST_uchar_eq(bytes[1], 0xfa)
crypto/openssl/test/packettest.c
170
|| !TEST_uchar_eq(bytes[2], 0xfc)
crypto/openssl/test/packettest.c
171
|| !TEST_uchar_eq(bytes[3], 0xfe)
crypto/openssl/test/packettest.c
180
unsigned char bytes[4];
crypto/openssl/test/packettest.c
184
|| !TEST_true(PACKET_copy_bytes(&pkt, bytes, 4))
crypto/openssl/test/packettest.c
185
|| !TEST_char_eq(bytes[0], 2)
crypto/openssl/test/packettest.c
186
|| !TEST_char_eq(bytes[1], 4)
crypto/openssl/test/packettest.c
187
|| !TEST_char_eq(bytes[2], 6)
crypto/openssl/test/packettest.c
188
|| !TEST_char_eq(bytes[3], 8)
crypto/openssl/test/packettest.c
191
|| !TEST_true(PACKET_copy_bytes(&pkt, bytes, 4))
crypto/openssl/test/packettest.c
192
|| !TEST_uchar_eq(bytes[0], 0xf8)
crypto/openssl/test/packettest.c
193
|| !TEST_uchar_eq(bytes[1], 0xfa)
crypto/openssl/test/packettest.c
194
|| !TEST_uchar_eq(bytes[2], 0xfc)
crypto/openssl/test/packettest.c
195
|| !TEST_uchar_eq(bytes[3], 0xfe)
crypto/openssl/test/rsa_test.c
341
const int bytes = (bits + 7) / 8;
crypto/openssl/test/rsa_test.c
345
if (!TEST_ptr(key) || !TEST_int_le(bytes, (int)sizeof(num)))
crypto/openssl/test/rsa_test.c
354
memset(num, vals[bits % 8], bytes);
crypto/openssl/test/rsa_test.c
361
if (TEST_true(RSA_set0_key(key, BN_bin2bn(num, bytes, NULL),
crypto/openssl/test/rsa_test.c
362
BN_bin2bn(num, bytes, NULL), NULL))
crypto/openssl/test/sanitytest.c
23
char bytes[sizeof(p)];
crypto/openssl/test/sanitytest.c
27
memset(bytes, 0, sizeof(bytes));
crypto/openssl/test/sanitytest.c
28
return TEST_mem_eq(&p, sizeof(p), bytes, sizeof(bytes));
crypto/openssl/test/ssl_old_test.c
1047
bytes = atol(*(++argv));
crypto/openssl/test/ssl_old_test.c
1048
if (bytes == 0L)
crypto/openssl/test/ssl_old_test.c
1049
bytes = 1L;
crypto/openssl/test/ssl_old_test.c
1052
bytes *= 1024L;
crypto/openssl/test/ssl_old_test.c
1054
bytes *= 1024L * 1024L;
crypto/openssl/test/ssl_old_test.c
1786
BIO_printf(bio_stdout, "Doing handshakes=%d bytes=%ld\n", number, bytes);
crypto/openssl/test/ssl_old_test.c
1803
ret = doit(s_ssl, c_ssl, bytes);
crypto/openssl/test/ssl_old_test.c
1806
ret = doit_biopair(s_ssl, c_ssl, bytes, &s_time, &c_time);
crypto/openssl/test/ssl_old_test.c
1811
bytes, &s_time, &c_time);
crypto/openssl/test/ssl_old_test.c
1815
bytes, &s_time, &c_time);
crypto/openssl/test/ssl_old_test.c
623
long bytes, clock_t *s_time, clock_t *c_time);
crypto/openssl/test/ssl_old_test.c
624
int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time,
crypto/openssl/test/ssl_old_test.c
626
int doit(SSL *s_ssl, SSL *c_ssl, long bytes);
crypto/openssl/test/ssl_old_test.c
913
long bytes = 256L;
crypto/openssl/test/testutil.h
648
X509 *load_cert_der(const unsigned char *bytes, int len);
crypto/openssl/test/testutil/format_output.c
206
static int convert_bn_memory(const unsigned char *in, size_t bytes,
crypto/openssl/test/testutil/format_output.c
209
int n = bytes * 2, i;
crypto/openssl/test/testutil/format_output.c
214
hex_convert_memory(in, bytes, out, BN_OUTPUT_SIZE);
crypto/openssl/test/testutil/format_output.c
227
if ((in[bytes] & 0xf0) != 0 && BN_is_negative(bn)) {
crypto/openssl/test/testutil/format_output.c
271
const size_t bytes = bn_bytes;
crypto/openssl/test/testutil/format_output.c
300
len = ((l1 > l2 ? l1 : l2) + bytes - 1) / bytes * bytes;
crypto/openssl/test/testutil/format_output.c
318
cnt = 8 * (len - bytes);
crypto/openssl/test/testutil/format_output.c
319
n1 = convert_bn_memory(m1, bytes, b1, &lz1, bn1);
crypto/openssl/test/testutil/format_output.c
320
n2 = convert_bn_memory(m2, bytes, b2, &lz2, bn2);
crypto/openssl/test/testutil/format_output.c
350
m1 += bytes;
crypto/openssl/test/testutil/format_output.c
352
m2 += bytes;
crypto/openssl/test/testutil/format_output.c
353
len -= bytes;
crypto/openssl/test/testutil/format_output.c
430
const size_t bytes = (MAX_STRING_WIDTH - 9) / 17 * 8;
crypto/openssl/test/testutil/format_output.c
458
n1 = l1 > bytes ? bytes : l1;
crypto/openssl/test/testutil/format_output.c
462
n2 = l2 > bytes ? bytes : l2;
crypto/openssl/test/testutil/format_output.c
507
cnt += bytes;
crypto/openssl/test/wpackettest.c
333
unsigned char *bytes;
crypto/openssl/test/wpackettest.c
336
|| !TEST_true(WPACKET_allocate_bytes(&pkt, 2, &bytes)))
crypto/openssl/test/wpackettest.c
338
bytes[0] = 0xfe;
crypto/openssl/test/wpackettest.c
339
bytes[1] = 0xff;
crypto/openssl/test/wpackettest.c
347
|| !TEST_true(WPACKET_sub_allocate_bytes_u8(&pkt, 2, &bytes)))
crypto/openssl/test/wpackettest.c
349
bytes[0] = 0xfe;
crypto/openssl/test/wpackettest.c
350
bytes[1] = 0xff;
crypto/openssl/test/wpackettest.c
363
const unsigned char bytes[] = { 0xfe, 0xff };
crypto/openssl/test/wpackettest.c
366
|| !TEST_true(WPACKET_memcpy(&pkt, bytes, sizeof(bytes)))
crypto/openssl/test/wpackettest.c
374
|| !TEST_true(WPACKET_sub_memcpy_u8(&pkt, bytes, sizeof(bytes)))
crypto/openssl/test/wpackettest.c
460
unsigned char *bytes;
crypto/openssl/test/wpackettest.c
527
|| !TEST_true(WPACKET_quic_sub_allocate_bytes(&pkt, 3, &bytes)))
crypto/openssl/test/wpackettest.c
530
bytes[0] = 0x55;
crypto/openssl/test/wpackettest.c
531
bytes[1] = 0x66;
crypto/openssl/test/wpackettest.c
532
bytes[2] = 0x77;
lib/libc/db/btree/bt_debug.c
188
" {%.*s}", (int)bi->ksize, bi->bytes);
lib/libc/db/btree/bt_debug.c
200
*(pgno_t *)bl->bytes,
lib/libc/db/btree/bt_debug.c
201
*(u_int32_t *)(bl->bytes + sizeof(pgno_t)));
lib/libc/db/btree/bt_debug.c
204
bl->ksize, bl->bytes);
lib/libc/db/btree/bt_debug.c
208
*(pgno_t *)(bl->bytes + bl->ksize),
lib/libc/db/btree/bt_debug.c
209
*(u_int32_t *)(bl->bytes + bl->ksize +
lib/libc/db/btree/bt_debug.c
213
(int)bl->dsize, bl->bytes + bl->ksize);
lib/libc/db/btree/bt_debug.c
220
*(pgno_t *)rl->bytes,
lib/libc/db/btree/bt_debug.c
221
*(u_int32_t *)(rl->bytes + sizeof(pgno_t)));
lib/libc/db/btree/bt_debug.c
224
"%.*s", (int)rl->dsize, rl->bytes);
lib/libc/db/btree/bt_delete.c
395
__ovfl_delete(t, bi->bytes) == RET_ERROR) {
lib/libc/db/btree/bt_delete.c
475
if (bl->flags & P_BIGKEY && __ovfl_delete(t, bl->bytes) == RET_ERROR)
lib/libc/db/btree/bt_delete.c
478
__ovfl_delete(t, bl->bytes + bl->ksize) == RET_ERROR)
lib/libc/db/btree/bt_split.c
180
a.data = tbl->bytes;
lib/libc/db/btree/bt_split.c
182
b.data = bl->bytes;
lib/libc/db/btree/bt_split.c
233
memmove(dest, bl->bytes, nksize ? nksize : bl->ksize);
lib/libc/db/btree/bt_split.c
236
memcpy(&pgno, bl->bytes, sizeof(pgno));
lib/libc/db/btree/bt_split.c
539
memmove(dest, bl->bytes, bl->ksize);
lib/libc/db/btree/bt_split.c
547
memcpy(&pgno, bl->bytes, sizeof(pgno));
lib/libc/db/btree/bt_utils.c
102
if (__ovfl_get(t, bl->bytes + bl->ksize,
lib/libc/db/btree/bt_utils.c
115
memmove(rdata->data, bl->bytes + bl->ksize, bl->dsize);
lib/libc/db/btree/bt_utils.c
120
data->data = bl->bytes + bl->ksize;
lib/libc/db/btree/bt_utils.c
163
bigkey = bl->bytes;
lib/libc/db/btree/bt_utils.c
165
k2.data = bl->bytes;
lib/libc/db/btree/bt_utils.c
171
bigkey = bi->bytes;
lib/libc/db/btree/bt_utils.c
173
k2.data = bi->bytes;
lib/libc/db/btree/bt_utils.c
77
if (__ovfl_get(t, bl->bytes,
lib/libc/db/btree/bt_utils.c
89
memmove(rkey->data, bl->bytes, bl->ksize);
lib/libc/db/btree/bt_utils.c
94
key->data = bl->bytes;
lib/libc/db/btree/btree.h
122
char bytes[1]; /* data */
lib/libc/db/btree/btree.h
172
char bytes[1]; /* data */
lib/libc/db/btree/btree.h
204
char bytes[1];
lib/libc/db/hash/hash_bigkey.c
274
u_int16_t bytes;
lib/libc/db/hash/hash_bigkey.c
282
for (bytes = hashp->BSIZE - bp[ndx];
lib/libc/db/hash/hash_bigkey.c
283
bytes <= size && bp[ndx + 1] == PARTIAL_KEY;
lib/libc/db/hash/hash_bigkey.c
284
bytes = hashp->BSIZE - bp[ndx]) {
lib/libc/db/hash/hash_bigkey.c
285
if (memcmp(p + bp[ndx], kkey, bytes))
lib/libc/db/hash/hash_bigkey.c
287
kkey += bytes;
lib/libc/db/hash/hash_bigkey.c
288
ksize -= bytes;
lib/libc/db/hash/hash_bigkey.c
297
if (bytes != ksize || memcmp(p + bp[ndx], kkey, bytes)) {
lib/libc/db/recno/rec_delete.c
162
if (rl->flags & P_BIGDATA && __ovfl_delete(t, rl->bytes) == RET_ERROR)
lib/libc/db/recno/rec_utils.c
100
memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
lib/libc/db/recno/rec_utils.c
105
data->data = rl->bytes;
lib/libc/db/recno/rec_utils.c
87
if (__ovfl_get(t, rl->bytes,
lib/libc/inet/inet_cidr_ntop.c
111
size_t bytes;
lib/libc/inet/inet_cidr_ntop.c
127
bytes = (((bits <= 0) ? 1 : bits) + 7) / 8;
lib/libc/inet/inet_cidr_ntop.c
128
if (len > bytes)
lib/libc/inet/inet_cidr_ntop.c
129
bytes = len;
lib/libc/inet/inet_cidr_ntop.c
130
b = decoct(src, bytes, dst, size);
lib/libc/inet/inet_cidr_ntop.c
74
decoct(const u_char *src, int bytes, char *dst, size_t size) {
lib/libc/inet/inet_cidr_ntop.c
79
for (b = 1; b <= bytes; b++) {
lib/libc/inet/inet_cidr_ntop.c
84
if (b != bytes) {
lib/libc/inet/inet_net_pton.c
217
size_t bytes;
lib/libc/inet/inet_net_pton.c
245
bytes = (bits + 7) / 8;
lib/libc/inet/inet_net_pton.c
246
if (bytes > size) {
lib/libc/inet/inet_net_pton.c
250
memcpy(dst, &in6.s6_addr, bytes);
lib/libc/isc/ev_streams.c
228
consume(evStream *str, size_t bytes) {
lib/libc/isc/ev_streams.c
229
while (bytes > 0U) {
lib/libc/isc/ev_streams.c
230
if (bytes < (size_t)str->iovCur->iov_len) {
lib/libc/isc/ev_streams.c
231
str->iovCur->iov_len -= bytes;
lib/libc/isc/ev_streams.c
233
((u_char *)str->iovCur->iov_base + bytes);
lib/libc/isc/ev_streams.c
234
str->ioDone += bytes;
lib/libc/isc/ev_streams.c
235
bytes = 0;
lib/libc/isc/ev_streams.c
237
bytes -= str->iovCur->iov_len;
lib/libc/isc/ev_streams.c
267
int bytes;
lib/libc/isc/ev_streams.c
271
bytes = writev(fd, str->iovCur, str->iovCurCount);
lib/libc/isc/ev_streams.c
272
if (bytes > 0) {
lib/libc/isc/ev_streams.c
275
consume(str, bytes);
lib/libc/isc/ev_streams.c
277
if (bytes < 0 && errno != EINTR) {
lib/libc/isc/ev_streams.c
290
int bytes;
lib/libc/isc/ev_streams.c
294
bytes = readv(fd, str->iovCur, str->iovCurCount);
lib/libc/isc/ev_streams.c
295
if (bytes > 0) {
lib/libc/isc/ev_streams.c
298
consume(str, bytes);
lib/libc/isc/ev_streams.c
300
if (bytes == 0)
lib/libc/isc/ev_streams.c
44
static void consume(evStream *str, size_t bytes);
lib/libc/locale/cXXrtomb_iconv.h
46
char bytes[sizeof(charXX_t) * SRCBUF_LEN];
lib/libc/locale/cXXrtomb_iconv.h
87
src = cs->srcbuf.bytes;
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
117
s = (char *)gs->bytes;
lib/libc/locale/gb18030.c
65
u_char bytes[4];
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
134
s = (char *)gs->bytes;
lib/libc/locale/gb2312.c
60
u_char bytes[2];
lib/libc/locale/mbrtocXX_iconv.h
105
dst = cs->dstbuf.bytes;
lib/libc/locale/mbrtocXX_iconv.h
108
dstleft <= sizeof(cs->dstbuf.bytes));
lib/libc/locale/mbrtocXX_iconv.h
111
cs->dstbuf_len = (dst - cs->dstbuf.bytes) / sizeof(charXX_t);
lib/libc/locale/mbrtocXX_iconv.h
50
char bytes[sizeof(charXX_t) * DSTBUF_LEN];
lib/libdevstat/devstat.c
1018
else if (((const struct device_selection *)arg2)->bytes <
lib/libdevstat/devstat.c
1019
((const struct device_selection *)arg1)->bytes)
lib/libdevstat/devstat.c
1021
else if (((const struct device_selection *)arg2)->bytes >
lib/libdevstat/devstat.c
1022
((const struct device_selection *)arg1)->bytes)
lib/libdevstat/devstat.c
1255
totalbytesread = DELTA(bytes, DEVSTAT_READ);
lib/libdevstat/devstat.c
1256
totalbyteswrite = DELTA(bytes, DEVSTAT_WRITE);
lib/libdevstat/devstat.c
1257
totalbytesfree = DELTA(bytes, DEVSTAT_FREE);
lib/libdevstat/devstat.h
126
u_int64_t bytes;
lib/libgssapi/gss_mech_switch.c
128
int bytes;
lib/libgssapi/gss_mech_switch.c
130
bytes = 0;
lib/libgssapi/gss_mech_switch.c
132
bytes++;
lib/libgssapi/gss_mech_switch.c
133
if (bytes == 0) bytes = 1;
lib/libgssapi/gss_mech_switch.c
134
while (bytes) {
lib/libgssapi/gss_mech_switch.c
136
int bit = 7*(bytes-1);
lib/libgssapi/gss_mech_switch.c
139
if (bytes != 1)
lib/libgssapi/gss_mech_switch.c
144
bytes--;
lib/libomp/omp-tools.h
1005
size_t bytes,
lib/libomp/omp-tools.h
1026
size_t bytes,
lib/libomp/omp-tools.h
1038
size_t bytes,
lib/libomp/omp-tools.h
1049
size_t bytes;
lib/libomp/omp-tools.h
1087
size_t *bytes,
lib/libomp/omp-tools.h
1097
size_t *bytes,
lib/libomp/omp-tools.h
1107
size_t *bytes;
lib/libomp/omp-tools.h
559
size_t *bytes
lib/libomp/omp-tools.h
565
size_t bytes,
lib/libpfctl/libpfctl.c
1693
{ .type = PF_RT_BYTES_IN, .off = _OUT(r.bytes[0]), .cb = snl_attr_get_uint64 },
lib/libpfctl/libpfctl.c
1694
{ .type = PF_RT_BYTES_OUT, .off = _OUT(r.bytes[1]), .cb = snl_attr_get_uint64 },
lib/libpfctl/libpfctl.c
1951
{ .type = PF_ST_BYTES0, .off = _OUT(bytes[0]), .cb = snl_attr_get_uint64 },
lib/libpfctl/libpfctl.c
1952
{ .type = PF_ST_BYTES1, .off = _OUT(bytes[1]), .cb = snl_attr_get_uint64 },
lib/libpfctl/libpfctl.c
3399
{ .type = PF_SN_BYTES_IN, .off = _OUT(bytes[0]), .cb = snl_attr_get_uint64 },
lib/libpfctl/libpfctl.c
3400
{ .type = PF_SN_BYTES_OUT, .off = _OUT(bytes[1]), .cb = snl_attr_get_uint64 },
lib/libpfctl/libpfctl.c
747
pf_nvuint_64_array(nvl, "bytes", 2, rule->bytes, NULL);
lib/libpfctl/libpfctl.c
893
rule->bytes[0] = nvlist_get_number(nvl, "bytes-in");
lib/libpfctl/libpfctl.c
894
rule->bytes[1] = nvlist_get_number(nvl, "bytes-out");
lib/libpfctl/libpfctl.h
109
uint64_t bytes[2];
lib/libpfctl/libpfctl.h
206
uint64_t bytes[2];
lib/libpfctl/libpfctl.h
389
uint64_t bytes[2];
lib/libpfctl/libpfctl.h
434
uint64_t bytes[2];
lib/librpcsec_gss/rpcsec_gss_conf.c
144
int bytes;
lib/librpcsec_gss/rpcsec_gss_conf.c
146
bytes = 0;
lib/librpcsec_gss/rpcsec_gss_conf.c
148
bytes++;
lib/librpcsec_gss/rpcsec_gss_conf.c
149
if (bytes == 0) bytes = 1;
lib/librpcsec_gss/rpcsec_gss_conf.c
150
while (bytes) {
lib/librpcsec_gss/rpcsec_gss_conf.c
152
int bit = 7*(bytes-1);
lib/librpcsec_gss/rpcsec_gss_conf.c
155
if (bytes != 1)
lib/librpcsec_gss/rpcsec_gss_conf.c
160
bytes--;
lib/libusb/libusb01.c
588
usb_std_io(usb_dev_handle * dev, int ep, char *bytes, int size,
lib/libusb/libusb01.c
606
oldbytes = bytes;
lib/libusb/libusb01.c
620
libusb20_tr_setup_intr(xfer, bytes, temp, timeout);
lib/libusb/libusb01.c
622
libusb20_tr_setup_bulk(xfer, bytes, temp, timeout);
lib/libusb/libusb01.c
653
bytes += actlen;
lib/libusb/libusb01.c
662
return (bytes - oldbytes);
lib/libusb/libusb01.c
666
usb_bulk_write(usb_dev_handle * dev, int ep, char *bytes,
lib/libusb/libusb01.c
670
bytes, size, timeout, 0));
lib/libusb/libusb01.c
674
usb_bulk_read(usb_dev_handle * dev, int ep, char *bytes,
lib/libusb/libusb01.c
678
bytes, size, timeout, 0));
lib/libusb/libusb01.c
682
usb_interrupt_write(usb_dev_handle * dev, int ep, char *bytes,
lib/libusb/libusb01.c
686
bytes, size, timeout, 1));
lib/libusb/libusb01.c
690
usb_interrupt_read(usb_dev_handle * dev, int ep, char *bytes,
lib/libusb/libusb01.c
694
bytes, size, timeout, 1));
lib/libusb/libusb01.c
699
int value, int wIndex, char *bytes, int size, int timeout)
lib/libusb/libusb01.c
713
err = libusb20_dev_request_sync((void *)dev, &req, bytes,
lib/libusb/usb.h
284
int usb_bulk_write(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout);
lib/libusb/usb.h
285
int usb_bulk_read(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout);
lib/libusb/usb.h
286
int usb_interrupt_write(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout);
lib/libusb/usb.h
287
int usb_interrupt_read(usb_dev_handle * dev, int ep, char *bytes, int size, int timeout);
lib/libusb/usb.h
288
int usb_control_msg(usb_dev_handle * dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout);
libexec/rtld-elf/powerpc64/reloc.c
331
int bytes = obj->dynsymcount * sizeof(SymCache);
libexec/rtld-elf/powerpc64/reloc.c
339
cache = mmap(NULL, bytes, PROT_READ|PROT_WRITE, MAP_ANON,
libexec/rtld-elf/powerpc64/reloc.c
360
munmap(cache, bytes);
sbin/decryptcore/decryptcore.c
129
ssize_t bytes;
sbin/decryptcore/decryptcore.c
270
bytes = read(ifd, buf, sizeof(buf));
sbin/decryptcore/decryptcore.c
271
if (bytes < 0) {
sbin/decryptcore/decryptcore.c
277
if (bytes > 0) {
sbin/decryptcore/decryptcore.c
279
bytes) == 0) {
sbin/decryptcore/decryptcore.c
294
} while (bytes > 0);
sbin/dump/traverse.c
901
int secsize, bytes, resid, xfer, base, cnt, i;
sbin/dump/traverse.c
923
bytes = size;
sbin/dump/traverse.c
930
bytes -= xfer;
sbin/dump/traverse.c
931
resid = bytes % secsize;
sbin/dump/traverse.c
934
if (bytes >= secsize) {
sbin/dump/traverse.c
935
cnt = cread(diskfd, &buf[xfer], bytes - resid, offset);
sbin/dump/traverse.c
936
if (cnt != bytes - resid)
sbin/dumpon/dumpon.c
325
ssize_t bytes;
sbin/dumpon/dumpon.c
338
bytes = write(filedes[1], kdap, sizeof(*kdap));
sbin/dumpon/dumpon.c
339
if (bytes != sizeof(*kdap))
sbin/dumpon/dumpon.c
341
bytes = write(filedes[1], kdap->kda_encryptedkey,
sbin/dumpon/dumpon.c
343
if (bytes != (ssize_t)kdap->kda_encryptedkeysize)
sbin/dumpon/dumpon.c
349
bytes = read(filedes[0], kdap, sizeof(*kdap));
sbin/dumpon/dumpon.c
350
if (bytes != sizeof(*kdap))
sbin/dumpon/dumpon.c
358
bytes = read(filedes[0], kdap->kda_encryptedkey,
sbin/dumpon/dumpon.c
360
if (bytes != (ssize_t)kdap->kda_encryptedkeysize)
sbin/fsck_ffs/suj.c
2180
jblocks_next(struct jblocks *jblocks, int bytes, int *actual)
sbin/fsck_ffs/suj.c
2187
blocks = btodb(bytes);
sbin/fsck_ffs/suj.c
2210
jblocks_advance(struct jblocks *jblocks, int bytes)
sbin/fsck_ffs/suj.c
2213
jblocks->jb_off += btodb(bytes);
sbin/ipf/ipfsync/ipfsyncd.c
519
int bytes;
sbin/ipf/ipfsync/ipfsyncd.c
525
bytes = inbuf;
sbin/ipf/ipfsync/ipfsyncd.c
529
for (complete = 0; bytes > 0; complete++) {
sbin/ipf/ipfsync/ipfsyncd.c
551
if (bytes < sizeof(*sh) + len) {
sbin/ipf/ipfsync/ipfsyncd.c
552
debug(3, "Not enough bytes %d < %d\n", bytes,
sbin/ipf/ipfsync/ipfsyncd.c
564
bytes -= sendlen;
sbin/ipf/ipfsync/ipfsyncd.c
583
if (bytes > 0) {
sbin/ipf/ipfsync/ipfsyncd.c
584
bcopy(buf + bytes, buf, bytes);
sbin/ipf/ipfsync/ipfsyncd.c
587
debug(4, "complete %d bytes %d error %d\n", complete, bytes, error);
sbin/ipf/ipfsync/ipfsyncd.c
589
*left = bytes;
sbin/mdconfig/mdconfig.c
644
uintmax_t bytes;
sbin/mdconfig/mdconfig.c
648
bytes = strtoumax(length, &endptr, 10);
sbin/mdconfig/mdconfig.c
649
if (errno != 0 || *endptr != '\0' || bytes > INT64_MAX)
sbin/mdconfig/mdconfig.c
651
humanize_number(buf, sizeof(buf), (int64_t)bytes, "",
sbin/natd/natd.c
511
int bytes;
sbin/natd/natd.c
588
bytes = ntohs (ip->ip_len);
sbin/natd/natd.c
592
if (mip != NULL && bytes - origBytes > mip->aliasOverhead)
sbin/natd/natd.c
593
mip->aliasOverhead = bytes - origBytes;
sbin/natd/natd.c
611
bytes,
sbin/natd/natd.c
616
if (wrote != bytes) {
sbin/natd/natd.c
636
int bytes;
sbin/natd/natd.c
746
bytes = ntohs (ip->ip_len);
sbin/natd/natd.c
751
bytes - origBytes > mip->aliasOverhead)
sbin/natd/natd.c
752
mip->aliasOverhead = bytes - origBytes;
sbin/natd/natd.c
770
bytes,
sbin/natd/natd.c
775
if (wrote != bytes) {
sbin/natd/natd.c
795
int bytes;
sbin/natd/natd.c
800
bytes = read (fd, &ifMsg, sizeof ifMsg);
sbin/natd/natd.c
801
if (bytes == -1) {
sbin/pfctl/pf_print_state.c
355
s->bytes[0],
sbin/pfctl/pf_print_state.c
356
s->bytes[1]);
sbin/pfctl/pfctl.c
1172
(unsigned long long)(rule->bytes[0] +
sbin/pfctl/pfctl.c
1173
rule->bytes[1]));
sbin/pfctl/pfctl.c
1221
(unsigned long long)(rule->bytes[0] +
sbin/pfctl/pfctl.c
1222
rule->bytes[1]), (uintmax_t)rule->states_cur);
sbin/pfctl/pfctl.c
1771
(unsigned long long)(rule.bytes[0] +
sbin/pfctl/pfctl.c
1772
rule.bytes[1]),
sbin/pfctl/pfctl.c
1774
(unsigned long long)rule.bytes[0],
sbin/pfctl/pfctl.c
1776
(unsigned long long)rule.bytes[1],
sbin/pfctl/pfctl_optimize.c
187
PF_RULE_FIELD(bytes, DC),
sbin/pfctl/pfctl_parser.c
715
sn->bytes[0] + sn->bytes[1]);
sbin/pfctl/pfctl_qstats.c
343
(unsigned long long)cur.data.cbq_stats.xmit_cnt.bytes,
sbin/pfctl/pfctl_qstats.c
345
(unsigned long long)cur.data.cbq_stats.drop_cnt.bytes);
sbin/pfctl/pfctl_qstats.c
364
(unsigned long long)cur.data.codel_stats.cl_xmitcnt.bytes,
sbin/pfctl/pfctl_qstats.c
367
(unsigned long long)cur.data.codel_stats.cl_dropcnt.bytes +
sbin/pfctl/pfctl_qstats.c
368
cur.data.codel_stats.stats.drop_cnt.bytes);
sbin/pfctl/pfctl_qstats.c
386
(unsigned long long)cur.data.priq_stats.xmitcnt.bytes,
sbin/pfctl/pfctl_qstats.c
388
(unsigned long long)cur.data.priq_stats.dropcnt.bytes);
sbin/pfctl/pfctl_qstats.c
406
(unsigned long long)cur.data.hfsc_stats.xmit_cnt.bytes,
sbin/pfctl/pfctl_qstats.c
408
(unsigned long long)cur.data.hfsc_stats.drop_cnt.bytes);
sbin/pfctl/pfctl_qstats.c
426
(unsigned long long)cur.data.fairq_stats.xmit_cnt.bytes,
sbin/pfctl/pfctl_qstats.c
428
(unsigned long long)cur.data.fairq_stats.drop_cnt.bytes);
sbin/pfctl/pfctl_qstats.c
469
b = qs->data.cbq_stats.xmit_cnt.bytes;
sbin/pfctl/pfctl_qstats.c
473
b = qs->data.priq_stats.xmitcnt.bytes;
sbin/pfctl/pfctl_qstats.c
477
b = qs->data.hfsc_stats.xmit_cnt.bytes;
sbin/pfctl/pfctl_qstats.c
481
b = qs->data.fairq_stats.xmit_cnt.bytes;
sbin/pfctl/pfctl_qstats.c
485
b = qs->data.codel_stats.cl_xmitcnt.bytes;
sbin/recoverdisk/recoverdisk.c
105
pp->bytes_read += bytes;
sbin/recoverdisk/recoverdisk.c
109
account_good_read(time_t now, uint64_t bytes)
sbin/recoverdisk/recoverdisk.c
112
account_good_read_period(now, bytes, &minute, 60L);
sbin/recoverdisk/recoverdisk.c
113
account_good_read_period(now, bytes, &quarter, 900L);
sbin/recoverdisk/recoverdisk.c
114
account_good_read_period(now, bytes, &hour, 3600L);
sbin/recoverdisk/recoverdisk.c
115
account_good_read_period(now, bytes, &day, 86400L);
sbin/recoverdisk/recoverdisk.c
84
account_good_read_period(time_t now, uint64_t bytes,
sbin/tunefs/tunefs.c
639
dir_search(ufs2_daddr_t blk, int bytes)
sbin/tunefs/tunefs.c
645
if (bread(&disk, fsbtodb(&sblock, blk), &block, bytes) <= 0) {
sbin/tunefs/tunefs.c
649
for (off = 0; off < bytes; off += dp->d_reclen) {
share/examples/sound/kqueue.c
42
int rc, bytes, kq;
share/examples/sound/kqueue.c
45
bytes = config.buffer_info.bytes;
share/examples/sound/kqueue.c
61
if ((rc = read(config.fd, config.buf, bytes)) < bytes) {
share/examples/sound/kqueue.c
62
warn("Requested %d bytes, but read %d!\n", bytes, rc);
share/examples/sound/kqueue.c
65
if ((rc = write(config.fd, config.buf, bytes)) < bytes) {
share/examples/sound/kqueue.c
66
warn("Requested %d bytes, but wrote %d!\n", bytes, rc);
share/examples/sound/oss.h
202
if (config->buffer_info.bytes < 1)
share/examples/sound/oss.h
203
config->buffer_info.bytes = config->buffer_info.fragstotal * config->buffer_info.fragsize;
share/examples/sound/oss.h
204
if (config->buffer_info.bytes < 1) {
share/examples/sound/oss.h
206
config->buffer_info.bytes);
share/examples/sound/oss.h
208
config->sample_count = config->buffer_info.bytes / config->sample_size;
share/examples/sound/oss.h
214
config->buffer_info.bytes, config->buffer_info.fragments,
share/examples/sound/oss.h
240
config->buf = mmap(NULL, config->buffer_info.bytes, prot, MAP_SHARED, config->fd, 0);
share/examples/sound/oss.h
244
if ((config->buf = malloc(config->buffer_info.bytes)) == NULL)
share/examples/sound/poll.c
42
int rc, bytes;
share/examples/sound/poll.c
45
bytes = config.buffer_info.bytes;
share/examples/sound/poll.c
53
if ((rc = read(config.fd, config.buf, bytes)) < bytes) {
share/examples/sound/poll.c
55
bytes, rc);
share/examples/sound/poll.c
58
if ((rc = write(config.fd, config.buf, bytes)) < bytes) {
share/examples/sound/poll.c
60
bytes, rc);
share/examples/sound/select.c
42
int rc, bytes;
share/examples/sound/select.c
45
bytes = config.buffer_info.bytes;
share/examples/sound/select.c
53
if ((rc = read(config.fd, config.buf, bytes)) < bytes) {
share/examples/sound/select.c
55
bytes, rc);
share/examples/sound/select.c
58
if ((rc = write(config.fd, config.buf, bytes)) < bytes) {
share/examples/sound/select.c
60
bytes, rc);
share/examples/sound/simple.c
116
int rc, bytes;
share/examples/sound/simple.c
122
bytes = config.buffer_info.bytes;
share/examples/sound/simple.c
123
channels = malloc(bytes);
share/examples/sound/simple.c
126
if ((rc = read(config.fd, config.buf, bytes)) < bytes) {
share/examples/sound/simple.c
127
warn("Requested %d bytes, but read %d!\n", bytes, rc);
share/examples/sound/simple.c
140
if ((rc = write(config.fd, config.buf, bytes)) < bytes) {
share/examples/sound/simple.c
141
warn("Requested %d bytes, but wrote %d!\n", bytes, rc);
share/examples/sound/simple.c
49
for (byte = 0; byte < config->buffer_info.bytes;
share/examples/sound/simple.c
83
for (byte = 0; byte < config->buffer_info.bytes;
stand/common/gfx_fb.c
1194
uint32_t pitch, bytes;
stand/common/gfx_fb.c
1227
bytes = width * sizeof (*state->tg_shadow_fb);
stand/common/gfx_fb.c
1242
bcopy(source, destination, bytes);
stand/efi/boot1/zfs_module.c
108
devinfo->dev->Media->MediaId, (uintmax_t)lba, bytes, rb_size,
stand/efi/boot1/zfs_module.c
53
vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes)
stand/efi/boot1/zfs_module.c
66
rb_size = bytes;
stand/efi/boot1/zfs_module.c
72
size = roundup2(bytes + remainder, devinfo->dev->Media->BlockSize);
stand/efi/boot1/zfs_module.c
74
if (remainder != 0 || size != bytes) {
stand/efi/boot1/zfs_module.c
85
while (bytes > 0) {
stand/efi/boot1/zfs_module.c
90
if (bytes < blksz)
stand/efi/boot1/zfs_module.c
91
blksz = bytes;
stand/efi/boot1/zfs_module.c
95
bytes -= blksz;
stand/efi/libefi/efichar.c
140
int c, bytes;
stand/efi/libefi/efichar.c
152
bytes = 0;
stand/efi/libefi/efichar.c
161
if (bytes != 0)
stand/efi/libefi/efichar.c
165
bytes = 3;
stand/efi/libefi/efichar.c
168
bytes = 2;
stand/efi/libefi/efichar.c
171
bytes = 1;
stand/efi/libefi/efichar.c
174
bytes = 0;
stand/efi/libefi/efichar.c
178
if (bytes > 0) {
stand/efi/libefi/efichar.c
180
bytes--;
stand/efi/libefi/efichar.c
181
} else if (bytes == 0)
stand/efi/libefi/efichar.c
184
if (bytes == 0) {
stand/i386/gptboot/gptboot.c
106
size_t bytes);
stand/i386/gptboot/gptboot.c
625
vdev_read(void *vdev __unused, void *priv, off_t off, void *buf, size_t bytes)
stand/i386/gptboot/gptboot.c
634
if ((off & (DEV_BSIZE - 1)) || (bytes & (DEV_BSIZE - 1)))
stand/i386/gptboot/gptboot.c
641
while (bytes > 0) {
stand/i386/gptboot/gptboot.c
642
nb = bytes / DEV_BSIZE;
stand/i386/gptboot/gptboot.c
650
bytes -= nb * DEV_BSIZE;
stand/libsa/geli/geliboot.c
312
size_t bytes)
stand/libsa/geli/geliboot.c
325
nsec = bytes / secsize;
stand/libsa/geli/geliboot.c
333
secsize = bytes;
stand/libsa/geli/geliboot.h
82
size_t bytes);
stand/libsa/zalloc.c
100
if (bytes == 0)
stand/libsa/zalloc.c
108
if (bytes > mp->mp_Size - mp->mp_Used)
stand/libsa/zalloc.c
121
if (bytes + extra > mn->mr_Bytes)
stand/libsa/zalloc.c
148
if (mn->mr_Bytes == bytes) {
stand/libsa/zalloc.c
151
mn = (MemNode *)((char *)mn + bytes);
stand/libsa/zalloc.c
153
mn->mr_Bytes = ((MemNode *)ptr)->mr_Bytes - bytes;
stand/libsa/zalloc.c
156
mp->mp_Used += bytes;
stand/libsa/zalloc.c
172
zfree(MemPool *mp, void *ptr, uintptr_t bytes)
stand/libsa/zalloc.c
181
bytes = (bytes + MEMNODE_SIZE_MASK) & ~MEMNODE_SIZE_MASK;
stand/libsa/zalloc.c
183
if (bytes == 0)
stand/libsa/zalloc.c
191
(char *)ptr + bytes > (char *)mp->mp_End ||
stand/libsa/zalloc.c
193
panic("zfree(%p,%ju): wild pointer", ptr, (uintmax_t)bytes);
stand/libsa/zalloc.c
198
mp->mp_Used -= bytes;
stand/libsa/zalloc.c
211
if ((char *)ptr + bytes > (char *)mn) {
stand/libsa/zalloc.c
213
(uintmax_t)bytes);
stand/libsa/zalloc.c
220
if ((char *)ptr + bytes == (char *)mn) {
stand/libsa/zalloc.c
223
bytes + mn->mr_Bytes;
stand/libsa/zalloc.c
226
((MemNode *)ptr)->mr_Bytes = bytes;
stand/libsa/zalloc.c
248
(uintmax_t)bytes);
stand/libsa/zalloc.c
258
((MemNode *)ptr)->mr_Bytes = bytes;
stand/libsa/zalloc.c
262
((MemNode *)pmn)->mr_Bytes += bytes;
stand/libsa/zalloc.c
279
zextendPool(MemPool *mp, void *base, uintptr_t bytes)
stand/libsa/zalloc.c
283
mp->mp_Used = bytes;
stand/libsa/zalloc.c
284
mp->mp_End = (char *)base + bytes;
stand/libsa/zalloc.c
285
mp->mp_Size = bytes;
stand/libsa/zalloc.c
294
base = (char *)base + bytes;
stand/libsa/zalloc.c
88
znalloc(MemPool *mp, uintptr_t bytes, size_t align)
stand/libsa/zalloc.c
98
bytes = (bytes + MEMNODE_SIZE_MASK) & ~MEMNODE_SIZE_MASK;
stand/libsa/zalloc_malloc.c
101
*((signed char *)res + bytes - 1) = -2;
stand/libsa/zalloc_malloc.c
110
size_t bytes;
stand/libsa/zalloc_malloc.c
145
bytes = res->ga_Bytes;
stand/libsa/zalloc_malloc.c
146
zfree(&MallocPool, res, bytes);
stand/libsa/zalloc_malloc.c
157
uintptr_t bytes = (uintptr_t)n1 * (uintptr_t)n2;
stand/libsa/zalloc_malloc.c
160
if ((res = Malloc(bytes, file, line)) != NULL) {
stand/libsa/zalloc_malloc.c
161
bzero(res, bytes);
stand/libsa/zalloc_malloc.c
57
Malloc(size_t bytes, const char *file __unused, int line __unused)
stand/libsa/zalloc_malloc.c
59
return (Malloc_align(bytes, 1));
stand/libsa/zalloc_malloc.c
63
Memalign(size_t alignment, size_t bytes, const char *file __unused,
stand/libsa/zalloc_malloc.c
69
return (Malloc_align(bytes, alignment));
stand/libsa/zalloc_malloc.c
73
Malloc_align(size_t bytes, size_t alignment)
stand/libsa/zalloc_malloc.c
78
bytes += MALLOCALIGN + 1;
stand/libsa/zalloc_malloc.c
80
bytes += MALLOCALIGN;
stand/libsa/zalloc_malloc.c
83
while ((res = znalloc(&MallocPool, bytes, alignment)) == NULL) {
stand/libsa/zalloc_malloc.c
84
int incr = (bytes + BLKEXTENDMASK) & ~BLKEXTENDMASK;
stand/libsa/zalloc_malloc.c
99
res->ga_Bytes = bytes;
stand/libsa/zalloc_protos.h
33
Library void *znalloc(struct MemPool *mpool, uintptr_t bytes, size_t align);
stand/libsa/zalloc_protos.h
34
Library void zfree(struct MemPool *mpool, void *ptr, uintptr_t bytes);
stand/libsa/zalloc_protos.h
35
Library void zextendPool(MemPool *mp, void *base, uintptr_t bytes);
stand/libsa/zfs/zfs.c
458
vdev_read(vdev_t *vdev, void *priv, off_t offset, void *buf, size_t bytes)
stand/libsa/zfs/zfs.c
505
total_size = roundup2(head + bytes, secsz);
stand/libsa/zfs/zfs.c
506
tail = total_size - (head + bytes);
stand/libsa/zfs/zfs.c
507
do_tail_read = ((tail > 0) && (head + bytes > secsz));
stand/libsa/zfs/zfs.c
515
if ((head > 0) || do_tail_read || bytes < secsz) {
stand/libsa/zfs/zfs.c
535
memcpy(outbuf, bouncebuf + head, min(secsz - head, bytes));
stand/libsa/zfs/zfs.c
536
outbuf += min(secsz - head, bytes);
stand/libsa/zfs/zfs.c
546
if (bytes < full_sec_size) {
stand/libsa/zfs/zfs.c
552
memcpy(outbuf, bouncebuf, bytes);
stand/libsa/zfs/zfs.c
580
vdev_write(vdev_t *vdev, off_t offset, void *buf, size_t bytes)
stand/libsa/zfs/zfs.c
599
total_size = roundup2(head + bytes, secsz);
stand/libsa/zfs/zfs.c
600
tail = total_size - (head + bytes);
stand/libsa/zfs/zfs.c
601
do_tail_write = ((tail > 0) && (head + bytes > secsz));
stand/libsa/zfs/zfs.c
609
if ((head > 0) || do_tail_write || bytes < secsz) {
stand/libsa/zfs/zfs.c
629
memcpy(bouncebuf + head, outbuf, min(secsz - head, bytes));
stand/libsa/zfs/zfs.c
636
outbuf += min(secsz - head, bytes);
stand/libsa/zfs/zfs.c
646
if (bytes < full_sec_size) {
stand/libsa/zfs/zfs.c
652
memcpy(bouncebuf, outbuf, bytes);
stand/libsa/zfs/zfsimpl.c
695
off_t offset, size_t bytes)
stand/libsa/zfs/zfsimpl.c
714
zio.io_size = bytes;
stand/libsa/zfs/zfsimpl.c
727
vdev_indirect_remap(vdev, offset, bytes, &zio);
stand/libsa/zfs/zfsimpl.c
748
zio.io_data, first->is_target_offset, bytes);
stand/libsa/zfs/zfsimpl.c
783
off_t offset, size_t bytes)
stand/libsa/zfs/zfsimpl.c
787
offset + VDEV_LABEL_START_SIZE, bytes));
stand/libsa/zfs/zfsimpl.c
792
void *buf __unused, off_t offset __unused, size_t bytes __unused)
stand/libsa/zfs/zfsimpl.c
800
off_t offset, size_t bytes)
stand/libsa/zfs/zfsimpl.c
809
rc = kid->v_read(kid, bp, buf, offset, bytes);
stand/libsa/zfs/zfsimpl.c
819
off_t offset, size_t bytes)
stand/libsa/zfs/zfsimpl.c
835
return (kid->v_read(kid, bp, buf, offset, bytes));
sys/amd64/include/vmm.h
539
uint16_t bytes:3; /* 1 or 2 or 4 */
sys/amd64/pci/pci_cfgreg.c
101
pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes)
sys/amd64/pci/pci_cfgreg.c
104
return (pcireg_cfgread(bus, slot, func, reg, bytes));
sys/amd64/pci/pci_cfgreg.c
112
bytes));
sys/amd64/pci/pci_cfgreg.c
116
return (pcireg_cfgread(bus, slot, func, reg, bytes));
sys/amd64/pci/pci_cfgreg.c
125
pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes)
sys/amd64/pci/pci_cfgreg.c
137
if (reg == PCIR_INTLINE && bytes == 1) {
sys/amd64/pci/pci_cfgreg.c
144
return (pci_docfgregread(domain, bus, slot, func, reg, bytes));
sys/amd64/pci/pci_cfgreg.c
152
int bytes)
sys/amd64/pci/pci_cfgreg.c
155
pcireg_cfgwrite(bus, slot, func, reg, data, bytes);
sys/amd64/pci/pci_cfgreg.c
165
bytes);
sys/amd64/pci/pci_cfgreg.c
171
pcireg_cfgwrite(bus, slot, func, reg, data, bytes);
sys/amd64/pci/pci_cfgreg.c
180
pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes)
sys/amd64/pci/pci_cfgreg.c
185
(unsigned)reg <= PCI_REGMAX && bytes != 3 &&
sys/amd64/pci/pci_cfgreg.c
186
(unsigned)bytes <= 4 && (reg & (bytes - 1)) == 0) {
sys/amd64/pci/pci_cfgreg.c
206
pcireg_cfgread(int bus, int slot, int func, int reg, int bytes)
sys/amd64/pci/pci_cfgreg.c
212
port = pci_cfgenable(bus, slot, func, reg, bytes);
sys/amd64/pci/pci_cfgreg.c
214
switch (bytes) {
sys/amd64/pci/pci_cfgreg.c
232
pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes)
sys/amd64/pci/pci_cfgreg.c
237
port = pci_cfgenable(bus, slot, func, reg, bytes);
sys/amd64/pci/pci_cfgreg.c
239
switch (bytes) {
sys/amd64/pci/pci_cfgreg.c
330
unsigned func, unsigned reg, unsigned bytes)
sys/amd64/pci/pci_cfgreg.c
342
switch (bytes) {
sys/amd64/pci/pci_cfgreg.c
362
unsigned func, unsigned reg, int data, unsigned bytes)
sys/amd64/pci/pci_cfgreg.c
373
switch (bytes) {
sys/amd64/pci/pci_cfgreg.c
53
int reg, int bytes);
sys/amd64/pci/pci_cfgreg.c
56
unsigned slot, unsigned func, unsigned reg, unsigned bytes);
sys/amd64/pci/pci_cfgreg.c
59
unsigned bytes);
sys/amd64/pci/pci_cfgreg.c
60
static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes);
sys/amd64/pci/pci_cfgreg.c
61
static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes);
sys/amd64/vmm/amd/svm.c
851
vmexit->u.inout.bytes = (info1 >> 4) & 0x7;
sys/amd64/vmm/amd/vmcb.c
121
int off, bytes;
sys/amd64/vmm/amd/vmcb.c
126
bytes = VMCB_ACCESS_BYTES(ident);
sys/amd64/vmm/amd/vmcb.c
128
if ((off + bytes) >= sizeof (struct vmcb))
sys/amd64/vmm/amd/vmcb.c
136
switch (bytes) {
sys/amd64/vmm/amd/vmcb.c
142
memcpy(ptr + off, val, bytes);
sys/amd64/vmm/amd/vmcb.c
144
memcpy(val, ptr + off, bytes);
sys/amd64/vmm/amd/vmcb.c
147
SVM_CTR1(vcpu, "Invalid size %d for VMCB access: %d", bytes);
sys/amd64/vmm/intel/vmx.c
2646
vmexit->u.inout.bytes = (qual & 0x7) + 1;
sys/amd64/vmm/io/vatpic.c
629
int bytes, uint32_t *eax)
sys/amd64/vmm/io/vatpic.c
667
int bytes, uint32_t *eax)
sys/amd64/vmm/io/vatpic.c
713
vatpic_master_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/io/vatpic.c
722
if (bytes != 1)
sys/amd64/vmm/io/vatpic.c
726
return (vatpic_read(vatpic, atpic, in, port, bytes, eax));
sys/amd64/vmm/io/vatpic.c
729
return (vatpic_write(vatpic, atpic, in, port, bytes, eax));
sys/amd64/vmm/io/vatpic.c
733
vatpic_slave_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/io/vatpic.c
742
if (bytes != 1)
sys/amd64/vmm/io/vatpic.c
746
return (vatpic_read(vatpic, atpic, in, port, bytes, eax));
sys/amd64/vmm/io/vatpic.c
749
return (vatpic_write(vatpic, atpic, in, port, bytes, eax));
sys/amd64/vmm/io/vatpic.c
753
vatpic_elc_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/io/vatpic.c
762
if (bytes != 1)
sys/amd64/vmm/io/vatpic.h
42
int vatpic_master_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/io/vatpic.h
44
int vatpic_slave_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/io/vatpic.h
46
int vatpic_elc_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/io/vatpit.c
338
vatpit_handler(struct vm *vm, bool in, int port, int bytes, uint32_t *eax)
sys/amd64/vmm/io/vatpit.c
347
if (bytes != 1)
sys/amd64/vmm/io/vatpit.c
420
vatpit_nmisc_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/io/vatpit.h
42
int vatpit_handler(struct vm *vm, bool in, int port, int bytes, uint32_t *eax);
sys/amd64/vmm/io/vatpit.h
43
int vatpit_nmisc_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/io/vpmtmr.c
84
vpmtmr_handler(struct vm *vm, bool in, int port, int bytes, uint32_t *val)
sys/amd64/vmm/io/vpmtmr.c
89
if (!in || bytes != 4)
sys/amd64/vmm/io/vpmtmr.h
40
int vpmtmr_handler(struct vm *vm, bool in, int port, int bytes, uint32_t *val);
sys/amd64/vmm/io/vrtc.c
846
vrtc_addr_handler(struct vm *vm, bool in, int port, int bytes, uint32_t *val)
sys/amd64/vmm/io/vrtc.c
852
if (bytes != 1)
sys/amd64/vmm/io/vrtc.c
868
vrtc_data_handler(struct vm *vm, bool in, int port, int bytes, uint32_t *val)
sys/amd64/vmm/io/vrtc.c
879
if (bytes != 1)
sys/amd64/vmm/io/vrtc.h
46
int vrtc_addr_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/io/vrtc.h
48
int vrtc_data_handler(struct vm *vm, bool in, int port, int bytes,
sys/amd64/vmm/vmm_ioport.c
117
mask = vie_size2mask(vmexit->u.inout.bytes);
sys/amd64/vmm/vmm_ioport.c
124
vmexit->u.inout.port, vmexit->u.inout.bytes, &val);
sys/amd64/vmm/vmm_ioport.c
198
int bytes __diagused, error;
sys/amd64/vmm/vmm_ioport.c
200
bytes = vmexit->u.inout.bytes;
sys/amd64/vmm/vmm_ioport.c
201
KASSERT(bytes == 1 || bytes == 2 || bytes == 4,
sys/amd64/vmm/vmm_ioport.c
202
("vm_handle_inout: invalid operand size %d", bytes));
sys/amd64/vmm/vmm_ioport.c
76
switch (vmexit->u.inout.bytes) {
sys/amd64/vmm/vmm_ioport.h
33
bool in, int port, int bytes, uint32_t *val);
sys/arm/arm/stdatomic.c
160
} bytes;
sys/arm/arm/stdatomic.c
163
bytes.in = val;
sys/arm/arm/stdatomic.c
164
r->v8[offset] = bytes.out[0];
sys/arm/arm/stdatomic.c
165
r->v8[offset + 1] = bytes.out[1];
sys/arm/arm/stdatomic.c
175
} bytes;
sys/arm/arm/stdatomic.c
178
bytes.in[0] = r->v8[offset];
sys/arm/arm/stdatomic.c
179
bytes.in[1] = r->v8[offset + 1];
sys/arm/arm/stdatomic.c
180
return (bytes.out);
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
550
buf, bytes, VCHI_FLAGS_BLOCK_UNTIL_QUEUED, NULL);
sys/arm/broadcom/bcm2835/bcm2835_audio.c
554
buf = (char *)buf + bytes;
sys/arm/broadcom/bcm2835/bcm2835_audio.c
555
count -= bytes;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
346
int bytes, col, i, j, row;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
371
bytes = sc->depth / 8;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
378
addr[bytes*j + 2] ^= 0xff;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
381
addr[bytes*j + 1] ^= 0xff;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
382
addr[bytes*j] ^= 0xff;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
761
int bytes, col, i, j, k, row;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
782
bytes = sc->depth / 8;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
794
addr[bytes * j + 0] =
sys/arm/broadcom/bcm2835/bcm2835_fb.c
796
addr[bytes * j + 1] =
sys/arm/broadcom/bcm2835/bcm2835_fb.c
798
addr[bytes * j + 2] =
sys/arm/broadcom/bcm2835/bcm2835_fb.c
801
addr[bytes * j + 0] =
sys/arm/broadcom/bcm2835/bcm2835_fb.c
803
addr[bytes * j + 1] =
sys/arm/broadcom/bcm2835/bcm2835_fb.c
805
addr[bytes * j + 2] =
sys/arm/broadcom/bcm2835/bcm2835_fb.c
809
addr[bytes * j + 3] =
sys/arm/broadcom/bcm2835/bcm2835_fb.c
816
addr[bytes * j] = rgb & 0xff;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
817
addr[bytes * j + 1] = (rgb >> 8) & 0xff;
sys/arm/broadcom/bcm2835/bcm2838_pci.c
314
int bytes)
sys/arm/broadcom/bcm2835/bcm2838_pci.c
327
switch (bytes) {
sys/arm/broadcom/bcm2835/bcm2838_pci.c
348
u_int func, u_int reg, uint32_t val, int bytes)
sys/arm/broadcom/bcm2835/bcm2838_pci.c
360
switch (bytes) {
sys/arm/mv/mv_pci.c
1106
u_int func, u_int reg, int bytes)
sys/arm/mv/mv_pci.c
1121
switch (bytes) {
sys/arm/mv/mv_pci.c
1141
u_int func, u_int reg, uint32_t data, int bytes)
sys/arm/mv/mv_pci.c
1155
switch (bytes) {
sys/arm/mv/mv_pci.c
1200
u_int reg, int bytes)
sys/arm/mv/mv_pci.c
1209
return (mv_pcib_hw_cfgread(sc, bus, slot, func, reg, bytes));
sys/arm/mv/mv_pci.c
1214
u_int reg, uint32_t val, int bytes)
sys/arm/mv/mv_pci.c
1223
mv_pcib_hw_cfgwrite(sc, bus, slot, func, reg, val, bytes);
sys/arm/nvidia/tegra_pcie.c
417
u_int reg, int bytes)
sys/arm/nvidia/tegra_pcie.c
448
switch (bytes) {
sys/arm/nvidia/tegra_pcie.c
466
u_int reg, uint32_t val, int bytes)
sys/arm/nvidia/tegra_pcie.c
496
switch (bytes) {
sys/arm/ti/am335x/am335x_lcd_syscons.c
267
int i, j, bytes;
sys/arm/ti/am335x/am335x_lcd_syscons.c
288
bytes = sc->depth/8;
sys/arm/ti/am335x/am335x_lcd_syscons.c
296
addr[bytes*j + 2] ^= 0xff;
sys/arm/ti/am335x/am335x_lcd_syscons.c
299
addr[bytes*j + 1] ^= 0xff;
sys/arm/ti/am335x/am335x_lcd_syscons.c
300
addr[bytes*j] ^= 0xff;
sys/arm/ti/ti_spi.c
305
int bytes, timeout;
sys/arm/ti/ti_spi.c
311
bytes = min(sc->sc_len - sc->sc_written, sc->sc_fifolvl);
sys/arm/ti/ti_spi.c
312
while (bytes-- > 0) {
sys/arm/ti/ti_spi.c
338
int bytes, timeout;
sys/arm/ti/ti_spi.c
344
bytes = min(sc->sc_len - sc->sc_read, sc->sc_fifolvl);
sys/arm/ti/ti_spi.c
345
while (bytes-- > 0) {
sys/arm64/acpica/pci_cfgreg.c
43
pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes)
sys/arm64/acpica/pci_cfgreg.c
56
int bytes)
sys/arm64/cavium/thunder_pcie_pem.c
569
u_int func, u_int reg, int bytes)
sys/arm64/cavium/thunder_pcie_pem.c
592
switch (bytes) {
sys/arm64/cavium/thunder_pcie_pem.c
614
u_int func, u_int reg, uint32_t val, int bytes)
sys/arm64/cavium/thunder_pcie_pem.c
636
switch (bytes) {
sys/arm64/rockchip/rk_pcie.c
246
int bytes)
sys/arm64/rockchip/rk_pcie.c
256
switch (bytes) {
sys/arm64/rockchip/rk_pcie.c
274
uint32_t val, int bytes)
sys/arm64/rockchip/rk_pcie.c
284
switch (bytes) {
sys/arm64/rockchip/rk_pcie.c
449
u_int func, u_int reg, int bytes)
sys/arm64/rockchip/rk_pcie.c
463
return (rk_pcie_local_cfg_read(sc, false, reg, bytes));
sys/arm64/rockchip/rk_pcie.c
471
switch (bytes) {
sys/arm64/rockchip/rk_pcie.c
492
u_int func, u_int reg, uint32_t val, int bytes)
sys/arm64/rockchip/rk_pcie.c
504
return (rk_pcie_local_cfg_write(sc, false, reg, val, bytes));
sys/arm64/rockchip/rk_pcie.c
511
switch (bytes) {
sys/bsm/audit_record.h
244
token_t *au_to_opaque(const char *data, uint16_t bytes);
sys/cam/cam_ccb.h
330
uint8_t bytes[sizeof(uintptr_t)];
sys/cam/cam_ccb.h
335
uint8_t bytes[CCB_PERIPH_PRIV_SIZE * sizeof(ccb_priv_entry)];
sys/cam/cam_ccb.h
340
uint8_t bytes[CCB_SIM_PRIV_SIZE * sizeof(ccb_priv_entry)];
sys/cam/cam_periph.c
1312
uint32_t bytes;
sys/cam/cam_periph.c
1317
bytes = ccb->csio.dxfer_len - ccb->csio.resid;
sys/cam/cam_periph.c
1320
bytes = ccb->ataio.dxfer_len - ccb->ataio.resid;
sys/cam/cam_periph.c
1323
bytes = ccb->nvmeio.dxfer_len; /* NB: resid no possible */
sys/cam/cam_periph.c
1329
devstat_end_transaction(ds, bytes, tag,
sys/cam/ctl/ctl.c
13943
lun->stats.bytes[type] += ctl_kern_total_len(io);
sys/cam/ctl/ctl.c
13952
port->stats.bytes[type] += ctl_kern_total_len(io);
sys/cam/ctl/ctl.c
6019
ctsio->io_hdr.ctl_private[CTL_PRIV_MODEPAGE].bytes;
sys/cam/ctl/ctl.c
6359
ctsio->io_hdr.ctl_private[CTL_PRIV_MODEPAGE].bytes;
sys/cam/ctl/ctl.c
6824
scsi_u64to8b(lun->stats.bytes[CTL_STATS_WRITE] /
sys/cam/ctl/ctl.c
6826
scsi_u64to8b(lun->stats.bytes[CTL_STATS_READ] /
sys/cam/ctl/ctl_io.h
147
uint8_t bytes[sizeof(uint64_t) * 2];
sys/cam/ctl/ctl_ioctl.h
122
uint64_t bytes[CTL_STATS_NUM_TYPES];
sys/cam/scsi/scsi_all.h
113
uint8_t bytes[11];
sys/cam/scsi/scsi_all.h
4429
scsi_ulto2b(uint32_t val, uint8_t *bytes)
sys/cam/scsi/scsi_all.h
4432
bytes[0] = (val >> 8) & 0xff;
sys/cam/scsi/scsi_all.h
4433
bytes[1] = val & 0xff;
sys/cam/scsi/scsi_all.h
4437
scsi_ulto3b(uint32_t val, uint8_t *bytes)
sys/cam/scsi/scsi_all.h
4440
bytes[0] = (val >> 16) & 0xff;
sys/cam/scsi/scsi_all.h
4441
bytes[1] = (val >> 8) & 0xff;
sys/cam/scsi/scsi_all.h
4442
bytes[2] = val & 0xff;
sys/cam/scsi/scsi_all.h
4446
scsi_ulto4b(uint32_t val, uint8_t *bytes)
sys/cam/scsi/scsi_all.h
4449
bytes[0] = (val >> 24) & 0xff;
sys/cam/scsi/scsi_all.h
4450
bytes[1] = (val >> 16) & 0xff;
sys/cam/scsi/scsi_all.h
4451
bytes[2] = (val >> 8) & 0xff;
sys/cam/scsi/scsi_all.h
4452
bytes[3] = val & 0xff;
sys/cam/scsi/scsi_all.h
4456
scsi_u64to8b(uint64_t val, uint8_t *bytes)
sys/cam/scsi/scsi_all.h
4459
bytes[0] = (val >> 56) & 0xff;
sys/cam/scsi/scsi_all.h
4460
bytes[1] = (val >> 48) & 0xff;
sys/cam/scsi/scsi_all.h
4461
bytes[2] = (val >> 40) & 0xff;
sys/cam/scsi/scsi_all.h
4462
bytes[3] = (val >> 32) & 0xff;
sys/cam/scsi/scsi_all.h
4463
bytes[4] = (val >> 24) & 0xff;
sys/cam/scsi/scsi_all.h
4464
bytes[5] = (val >> 16) & 0xff;
sys/cam/scsi/scsi_all.h
4465
bytes[6] = (val >> 8) & 0xff;
sys/cam/scsi/scsi_all.h
4466
bytes[7] = val & 0xff;
sys/cam/scsi/scsi_all.h
4470
scsi_2btoul(const uint8_t *bytes)
sys/cam/scsi/scsi_all.h
4474
rv = (bytes[0] << 8) |
sys/cam/scsi/scsi_all.h
4475
bytes[1];
sys/cam/scsi/scsi_all.h
4480
scsi_3btoul(const uint8_t *bytes)
sys/cam/scsi/scsi_all.h
4484
rv = (bytes[0] << 16) |
sys/cam/scsi/scsi_all.h
4485
(bytes[1] << 8) |
sys/cam/scsi/scsi_all.h
4486
bytes[2];
sys/cam/scsi/scsi_all.h
4491
scsi_3btol(const uint8_t *bytes)
sys/cam/scsi/scsi_all.h
4493
uint32_t rc = scsi_3btoul(bytes);
sys/cam/scsi/scsi_all.h
4502
scsi_4btoul(const uint8_t *bytes)
sys/cam/scsi/scsi_all.h
4506
rv = (bytes[0] << 24) |
sys/cam/scsi/scsi_all.h
4507
(bytes[1] << 16) |
sys/cam/scsi/scsi_all.h
4508
(bytes[2] << 8) |
sys/cam/scsi/scsi_all.h
4509
bytes[3];
sys/cam/scsi/scsi_all.h
4514
scsi_8btou64(const uint8_t *bytes)
sys/cam/scsi/scsi_all.h
4518
rv = (((uint64_t)bytes[0]) << 56) |
sys/cam/scsi/scsi_all.h
4519
(((uint64_t)bytes[1]) << 48) |
sys/cam/scsi/scsi_all.h
4520
(((uint64_t)bytes[2]) << 40) |
sys/cam/scsi/scsi_all.h
4521
(((uint64_t)bytes[3]) << 32) |
sys/cam/scsi/scsi_all.h
4522
(((uint64_t)bytes[4]) << 24) |
sys/cam/scsi/scsi_all.h
4523
(((uint64_t)bytes[5]) << 16) |
sys/cam/scsi/scsi_all.h
4524
(((uint64_t)bytes[6]) << 8) |
sys/cam/scsi/scsi_all.h
4525
bytes[7];
sys/cam/scsi/scsi_enc_ses.c
1613
scsi_4btoul(cur_stat->bytes));
sys/cam/scsi/scsi_ses.h
1002
uint8_t bytes[2];
sys/cam/scsi/scsi_ses.h
1094
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1153
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1225
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1287
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1334
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1361
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1407
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1440
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1468
uint8_t bytes[1];
sys/cam/scsi/scsi_ses.h
1512
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1547
uint8_t bytes[2];
sys/cam/scsi/scsi_ses.h
159
uint8_t bytes[1];
sys/cam/scsi/scsi_ses.h
1619
uint8_t bytes[1];
sys/cam/scsi/scsi_ses.h
1650
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1672
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1723
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1766
uint8_t bytes[1];
sys/cam/scsi/scsi_ses.h
1784
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1811
uint8_t bytes[1];
sys/cam/scsi/scsi_ses.h
1855
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1888
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
191
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1920
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1953
uint8_t bytes[2];
sys/cam/scsi/scsi_ses.h
1977
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
1999
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
2057
uint8_t bytes[4];
sys/cam/scsi/scsi_ses.h
2066
ses_status_to_ctrl(uint8_t type, uint8_t *bytes)
sys/cam/scsi/scsi_ses.h
2101
bytes[i] &= mask[type][i];
sys/cam/scsi/scsi_ses.h
253
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
313
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
340
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
375
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
397
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
424
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
44
return ((elem->bytes[MK_ENUM(US,UF,_BYTE)] & MK_ENUM(US,UF,_MASK)) \
sys/cam/scsi/scsi_ses.h
465
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
493
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
51
elem->bytes[MK_ENUM(US,UF,_BYTE)] &= ~MK_ENUM(US,UF,_MASK); \
sys/cam/scsi/scsi_ses.h
516
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
52
elem->bytes[MK_ENUM(US,UF,_BYTE)] |= \
sys/cam/scsi/scsi_ses.h
538
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
546
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
568
uint8_t bytes[1];
sys/cam/scsi/scsi_ses.h
599
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
621
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
669
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
697
uint8_t bytes[1];
sys/cam/scsi/scsi_ses.h
715
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
742
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
765
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
788
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
815
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
843
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
866
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
888
uint8_t bytes[3];
sys/cam/scsi/scsi_ses.h
968
uint8_t bytes[1];
sys/cddl/boot/zfs/zfsimpl.h
1636
#define ZAP_LEAF_ARRAY_NCHUNKS(bytes) \
sys/cddl/boot/zfs/zfsimpl.h
1637
(((bytes)+ZAP_LEAF_ARRAY_BYTES-1)/ZAP_LEAF_ARRAY_BYTES)
sys/cddl/boot/zfs/zfssubr.c
1421
void *data, off_t offset, uint64_t bytes, int total_errors, int data_errors)
sys/cddl/boot/zfs/zfssubr.c
1504
if (raidz_checksum_verify(spa, bp, data, bytes) == 0) {
sys/cddl/boot/zfs/zfssubr.c
1568
off_t offset, size_t bytes)
sys/cddl/boot/zfs/zfssubr.c
1587
rm = vdev_raidz_map_alloc(data, offset, bytes, tvd->v_ashift,
sys/cddl/boot/zfs/zfssubr.c
1679
rv = raidz_checksum_verify(vd->v_spa, bp, data, bytes);
sys/cddl/boot/zfs/zfssubr.c
1725
rv = raidz_checksum_verify(vd->v_spa, bp, data, bytes);
sys/cddl/boot/zfs/zfssubr.c
1800
(code = vdev_raidz_combrec(vd->v_spa, rm, bp, data, offset, bytes,
sys/cddl/dev/kinst/amd64/kinst_isa.c
245
kinst_set_disp32(struct kinst_probe *kp, uint8_t *bytes)
sys/cddl/dev/kinst/amd64/kinst_isa.c
249
memcpy(&disp32, bytes, sizeof(disp32));
sys/cddl/dev/kinst/amd64/kinst_isa.c
283
uint8_t *bytes, modrm, rex;
sys/cddl/dev/kinst/amd64/kinst_isa.c
295
bytes = d86.d86_bytes;
sys/cddl/dev/kinst/amd64/kinst_isa.c
303
switch (bytes[i]) {
sys/cddl/dev/kinst/amd64/kinst_isa.c
323
rex = bytes[i];
sys/cddl/dev/kinst/amd64/kinst_isa.c
329
("%s: failed to disassemble instruction at %p", __func__, bytes));
sys/cddl/dev/kinst/amd64/kinst_isa.c
337
switch (bytes[opcidx]) {
sys/cddl/dev/kinst/amd64/kinst_isa.c
339
switch (bytes[opcidx + 1]) {
sys/cddl/dev/kinst/amd64/kinst_isa.c
344
kinst_set_disp32(kp, &bytes[dispoff]);
sys/cddl/dev/kinst/amd64/kinst_isa.c
359
kinst_set_disp8(kp, bytes[dispoff]);
sys/cddl/dev/kinst/amd64/kinst_isa.c
365
kinst_set_disp32(kp, &bytes[dispoff]);
sys/cddl/dev/kinst/amd64/kinst_isa.c
371
kinst_set_disp8(kp, bytes[dispoff]);
sys/cddl/dev/kinst/amd64/kinst_isa.c
378
kinst_set_disp32(kp, &bytes[dispoff]);
sys/cddl/dev/kinst/amd64/kinst_isa.c
383
switch (KINST_MODRM_REG(bytes[d86.d86_rmindex])) {
sys/cddl/dev/kinst/amd64/kinst_isa.c
408
modrm = bytes[d86.d86_rmindex];
sys/cddl/dev/kinst/amd64/kinst_isa.c
414
kinst_set_disp32(kp, &bytes[dispoff]);
sys/cddl/dev/kinst/amd64/kinst_isa.c
421
kinst_set_disp8(kp, bytes[dispoff]);
sys/cddl/dev/kinst/amd64/kinst_isa.c
423
kinst_set_disp32(kp, &bytes[dispoff]);
sys/cddl/dev/kinst/amd64/kinst_isa.c
428
sib = bytes[d86.d86_rmindex + 1];
sys/cddl/dev/kinst/amd64/kinst_isa.c
461
bytes[opcidx] == 0x0f ||
sys/cddl/dev/kinst/amd64/kinst_isa.c
462
bytes[opcidx] == 0xe9 ||
sys/cddl/dev/kinst/amd64/kinst_isa.c
463
bytes[opcidx] == 0xff) {
sys/cddl/dev/kinst/amd64/kinst_isa.c
464
memcpy(kpmd->template, bytes, dispoff);
sys/cddl/dev/kinst/amd64/kinst_isa.c
466
&bytes[dispoff + 4], ilen - (dispoff + 4));
sys/cddl/dev/kinst/amd64/kinst_isa.c
468
} else if (bytes[opcidx] == 0xeb) {
sys/cddl/dev/kinst/amd64/kinst_isa.c
469
memcpy(kpmd->template, bytes, opcidx);
sys/cddl/dev/kinst/amd64/kinst_isa.c
476
} else if (bytes[opcidx] >= 0x70 && bytes[opcidx] <= 0x7f) {
sys/cddl/dev/kinst/amd64/kinst_isa.c
477
memcpy(kpmd->template, bytes, opcidx);
sys/cddl/dev/kinst/amd64/kinst_isa.c
479
kpmd->template[opcidx + 1] = bytes[opcidx] + 0x10;
sys/cddl/dev/kinst/amd64/kinst_isa.c
486
panic("unhandled opcode %#x", bytes[opcidx]);
sys/cddl/dev/kinst/amd64/kinst_isa.c
489
memcpy(kpmd->template, bytes, ilen);
sys/compat/freebsd32/freebsd32.h
537
freebsd32_uint64_t bytes[DEVSTAT_N_TRANS_FLAGS];
sys/compat/linuxkpi/common/include/linux/net_dim.h
339
u64 bytes,
sys/compat/linuxkpi/common/include/linux/net_dim.h
344
s->byte_ctr = bytes;
sys/compat/linuxkpi/common/include/linux/net_dim.h
373
u64 packets, u64 bytes)
sys/compat/linuxkpi/common/include/linux/net_dim.h
388
net_dim_sample(dim->event_ctr, packets, bytes, &end_sample);
sys/compat/linuxkpi/common/include/linux/net_dim.h
398
net_dim_sample(dim->event_ctr, packets, bytes, &dim->start_sample);
sys/compat/linuxkpi/common/include/linux/overflow.h
270
size_t bytes;
sys/compat/linuxkpi/common/include/linux/overflow.h
272
if (check_mul_overflow(factor1, factor2, &bytes))
sys/compat/linuxkpi/common/include/linux/overflow.h
275
return bytes;
sys/compat/linuxkpi/common/include/linux/overflow.h
289
size_t bytes;
sys/compat/linuxkpi/common/include/linux/overflow.h
291
if (check_add_overflow(addend1, addend2, &bytes))
sys/compat/linuxkpi/common/include/linux/overflow.h
294
return bytes;
sys/compat/linuxkpi/common/include/linux/overflow.h
310
size_t bytes;
sys/compat/linuxkpi/common/include/linux/overflow.h
313
check_sub_overflow(minuend, subtrahend, &bytes))
sys/compat/linuxkpi/common/include/linux/overflow.h
316
return bytes;
sys/compat/linuxkpi/common/include/linux/overflow.h
407
u8 bytes[struct_size_t(type, member, count)]; \
sys/compat/linuxkpi/common/src/linux_compat.c
1432
ssize_t bytes;
sys/compat/linuxkpi/common/src/linux_compat.c
1446
bytes = OPW(file, td, fop->read(filp,
sys/compat/linuxkpi/common/src/linux_compat.c
1449
if (bytes >= 0) {
sys/compat/linuxkpi/common/src/linux_compat.c
1451
((uint8_t *)uio->uio_iov->iov_base) + bytes;
sys/compat/linuxkpi/common/src/linux_compat.c
1452
uio->uio_iov->iov_len -= bytes;
sys/compat/linuxkpi/common/src/linux_compat.c
1453
uio->uio_resid -= bytes;
sys/compat/linuxkpi/common/src/linux_compat.c
1455
error = linux_get_error(current, -bytes);
sys/compat/linuxkpi/common/src/linux_compat.c
1474
ssize_t bytes;
sys/compat/linuxkpi/common/src/linux_compat.c
1487
bytes = OPW(file, td, fop->write(filp,
sys/compat/linuxkpi/common/src/linux_compat.c
1490
if (bytes >= 0) {
sys/compat/linuxkpi/common/src/linux_compat.c
1492
((uint8_t *)uio->uio_iov->iov_base) + bytes;
sys/compat/linuxkpi/common/src/linux_compat.c
1493
uio->uio_iov->iov_len -= bytes;
sys/compat/linuxkpi/common/src/linux_compat.c
1494
uio->uio_resid -= bytes;
sys/compat/linuxkpi/common/src/linux_compat.c
1497
error = linux_get_error(current, -bytes);
sys/crypto/chacha20/chacha.c
111
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
sys/crypto/chacha20/chacha.c
119
if (!bytes) return;
sys/crypto/chacha20/chacha.c
139
if (bytes < 64) {
sys/crypto/chacha20/chacha.c
141
for (i = 0; i < bytes; ++i) tmp[i] = m[i];
sys/crypto/chacha20/chacha.c
241
if (bytes <= 64) {
sys/crypto/chacha20/chacha.c
242
if (bytes < 64) {
sys/crypto/chacha20/chacha.c
243
for (i = 0; i < bytes; ++i) ctarget[i] = c[i];
sys/crypto/chacha20/chacha.c
253
bytes -= 64;
sys/crypto/chacha20/chacha.h
37
u_char *c, u_int bytes);
sys/crypto/siphash/siphash.c
101
ctx->buf.b8[7] = (uint8_t)ctx->bytes;
sys/crypto/siphash/siphash.c
133
ctx->bytes += len;
sys/crypto/siphash/siphash.c
63
ctx->bytes = 0;
sys/crypto/siphash/siphash.h
58
uint64_t bytes;
sys/dev/acpica/acpi_pcib_acpi.c
539
u_int reg, int bytes)
sys/dev/acpica/acpi_pcib_acpi.c
543
return (pci_cfgregread(sc->ap_segment, bus, slot, func, reg, bytes));
sys/dev/acpica/acpi_pcib_acpi.c
548
u_int reg, uint32_t data, int bytes)
sys/dev/acpica/acpi_pcib_acpi.c
552
pci_cfgregwrite(sc->ap_segment, bus, slot, func, reg, data, bytes);
sys/dev/acpica/acpi_pcib_acpi.c
80
u_int slot, u_int func, u_int reg, int bytes);
sys/dev/acpica/acpi_pcib_acpi.c
83
int bytes);
sys/dev/agp/agp.c
971
void *agp_alloc_memory(device_t dev, int type, vm_size_t bytes)
sys/dev/agp/agp.c
973
return (void *) AGP_ALLOC_MEMORY(dev, type, bytes);
sys/dev/agp/agpvar.h
99
void *agp_alloc_memory(device_t dev, int type, vm_size_t bytes);
sys/dev/ahci/ahciem.c
470
ads->common.bytes[0] |= SES_OBJSTAT_UNKNOWN;
sys/dev/ahci/ahciem.c
474
ads->common.bytes[0] |= SES_OBJSTAT_UNKNOWN;
sys/dev/ahci/ahciem.c
476
ads->common.bytes[0] |= SES_OBJSTAT_OK;
sys/dev/ahci/ahciem.c
478
ads->common.bytes[0] |= SES_OBJSTAT_NOTAVAIL;
sys/dev/ahci/ahciem.c
480
ads->common.bytes[0] |= SES_OBJSTAT_NOTINSTALLED;
sys/dev/ahci/ahciem.c
482
ads->bytes[2] |= SESCTL_DEVOFF;
sys/dev/ahci/ahciem.c
496
if (ads->common.bytes[0] & SESCTL_CSEL) {
sys/dev/ahci/ahciem.c
498
enc->status[i][1] = ads->bytes[0] &
sys/dev/ahci/ahciem.c
500
enc->status[i][2] = ads->bytes[1] &
sys/dev/ahci/ahciem.c
502
enc->status[i][3] = ads->bytes[2] &
sys/dev/ahci/ahciem.c
505
} else if (ads0->common.bytes[0] & SESCTL_CSEL) {
sys/dev/ahci/ahciem.c
507
enc->status[i][1] = ads0->bytes[0] &
sys/dev/ahci/ahciem.c
509
enc->status[i][2] = ads0->bytes[1] &
sys/dev/ahci/ahciem.c
511
enc->status[i][3] = ads0->bytes[2] &
sys/dev/aic7xxx/aic79xx.c
10219
byte = cmd->bytes;
sys/dev/aic7xxx/aic79xx.c
8819
ahd_outsb(ahd, SEQRAM, instr.bytes, 4);
sys/dev/aic7xxx/aic79xx.h
700
uint8_t bytes[22]; /*
sys/dev/aic7xxx/aic7xxx.c
6625
ahc_outsb(ahc, SEQRAM, instr.bytes, 4);
sys/dev/aic7xxx/aic7xxx.c
7741
byte = cmd->bytes;
sys/dev/aic7xxx/aic7xxx.h
648
uint8_t bytes[22]; /*
sys/dev/aic7xxx/aicasm/aicasm.c
373
cur_instr->format.bytes[0],
sys/dev/aic7xxx/aicasm/aicasm.c
374
cur_instr->format.bytes[1],
sys/dev/aic7xxx/aicasm/aicasm.c
375
cur_instr->format.bytes[2],
sys/dev/aic7xxx/aicasm/aicasm.c
376
cur_instr->format.bytes[3]);
sys/dev/aic7xxx/aicasm/aicasm.c
378
cur_instr->format.bytes[3],
sys/dev/aic7xxx/aicasm/aicasm.c
379
cur_instr->format.bytes[2],
sys/dev/aic7xxx/aicasm/aicasm.c
380
cur_instr->format.bytes[1],
sys/dev/aic7xxx/aicasm/aicasm.c
381
cur_instr->format.bytes[0]);
sys/dev/aic7xxx/aicasm/aicasm.c
614
cur_instr->format.bytes[0],
sys/dev/aic7xxx/aicasm/aicasm.c
615
cur_instr->format.bytes[1],
sys/dev/aic7xxx/aicasm/aicasm.c
616
cur_instr->format.bytes[2],
sys/dev/aic7xxx/aicasm/aicasm.c
617
cur_instr->format.bytes[3]);
sys/dev/aic7xxx/aicasm/aicasm.c
619
cur_instr->format.bytes[3],
sys/dev/aic7xxx/aicasm/aicasm.c
620
cur_instr->format.bytes[2],
sys/dev/aic7xxx/aicasm/aicasm.c
621
cur_instr->format.bytes[1],
sys/dev/aic7xxx/aicasm/aicasm.c
622
cur_instr->format.bytes[0]);
sys/dev/aic7xxx/aicasm/aicasm_insformat.h
101
uint8_t bytes[4];
sys/dev/axgbe/xgbe-txrx.c
127
uint32_t tcp_payload_len = 0, bytes = 0;
sys/dev/axgbe/xgbe-txrx.c
150
bytes += (hlen + payload_len);
sys/dev/axgbe/xgbe-txrx.c
157
bytes = pi->ipi_len;
sys/dev/axgbe/xgbe-txrx.c
161
packet->tx_bytes = bytes;
sys/dev/axgbe/xgbe.h
439
unsigned int bytes; /* BQL byte count */
sys/dev/bhnd/nvram/bhnd_nvram_plist.c
944
const void *bytes;
sys/dev/bhnd/nvram/bhnd_nvram_plist.c
946
bytes = bhnd_nvram_val_bytes(prop->val, olen, otype);
sys/dev/bhnd/nvram/bhnd_nvram_plist.c
949
return (bytes);
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
138
size_t bytes;
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
141
bytes = sizeof(struct bhnd_nvstore_index) + (sizeof(void *) * capacity);
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
142
index = bhnd_nv_malloc(bytes);
sys/dev/bhnd/nvram/bhnd_nvram_store_subr.c
144
BHND_NV_LOG("error allocating %zu byte index\n", bytes);
sys/dev/bhnd/nvram/bhnd_nvram_value.c
1464
const void *bytes;
sys/dev/bhnd/nvram/bhnd_nvram_value.c
1493
bytes = bhnd_nvram_val_bytes(value, &len, &type);
sys/dev/bhnd/nvram/bhnd_nvram_value.c
1494
if ((error = bhnd_nvram_value_nelem(bytes, len, type, &nelem))) {
sys/dev/bhnd/nvram/bhnd_nvram_value.c
1701
void *bytes;
sys/dev/bhnd/nvram/bhnd_nvram_value.c
1726
bytes = bhnd_nvram_val_alloc_bytes(value, ilen, itype, flags);
sys/dev/bhnd/nvram/bhnd_nvram_value.c
1727
if (bytes == NULL)
sys/dev/bhnd/nvram/bhnd_nvram_value.c
1731
memcpy(bytes, inp, ilen);
sys/dev/bhnd/nvram/bhnd_nvram_value.c
564
const void *bytes;
sys/dev/bhnd/nvram/bhnd_nvram_value.c
610
bytes = bhnd_nvram_val_bytes(value, &len, &type);
sys/dev/bhnd/nvram/bhnd_nvram_value.c
611
error = bhnd_nvram_val_new(&result, value->fmt, bytes, len, type,
sys/dev/bnxt/bnxt_re/ib_verbs.c
1220
int rc, bytes = 0;
sys/dev/bnxt/bnxt_re/ib_verbs.c
1238
bytes = (qplib_srq->max_wqe * qplib_srq->wqe_size);
sys/dev/bnxt/bnxt_re/ib_verbs.c
1239
bytes = PAGE_ALIGN(bytes);
sys/dev/bnxt/bnxt_re/ib_verbs.c
1240
umem = ib_umem_get_compat(rdev, context, udata, ureq.srqva, bytes,
sys/dev/bnxt/bnxt_re/ib_verbs.c
1705
int rc, bytes = 0;
sys/dev/bnxt/bnxt_re/ib_verbs.c
1725
bytes = (qplib_qp->sq.max_wqe * qplib_qp->sq.wqe_size);
sys/dev/bnxt/bnxt_re/ib_verbs.c
1726
bytes = PAGE_ALIGN(bytes);
sys/dev/bnxt/bnxt_re/ib_verbs.c
1745
bytes += (psn_nume * psn_sz);
sys/dev/bnxt/bnxt_re/ib_verbs.c
1746
bytes = PAGE_ALIGN(bytes);
sys/dev/bnxt/bnxt_re/ib_verbs.c
1748
umem = ib_umem_get_compat(rdev, context, udata, ureq.qpsva, bytes,
sys/dev/bnxt/bnxt_re/ib_verbs.c
1764
bytes = (qplib_qp->rq.max_wqe * qplib_qp->rq.wqe_size);
sys/dev/bnxt/bnxt_re/ib_verbs.c
1765
bytes = PAGE_ALIGN(bytes);
sys/dev/bnxt/bnxt_re/ib_verbs.c
1767
context, udata, ureq.qprva, bytes,
sys/dev/bnxt/bnxt_re/qplib_res.c
823
u32 bytes;
sys/dev/bnxt/bnxt_re/qplib_res.c
828
bytes = DIV_ROUND_UP(max, 8);
sys/dev/bnxt/bnxt_re/qplib_res.c
830
if (!bytes)
sys/dev/bnxt/bnxt_re/qplib_res.c
831
bytes = 1;
sys/dev/bnxt/bnxt_re/qplib_res.c
832
pdt->tbl = kmalloc(bytes, GFP_KERNEL);
sys/dev/bnxt/bnxt_re/qplib_res.c
835
"QPLIB: PD tbl allocation failed for size = %d\n", bytes);
sys/dev/bnxt/bnxt_re/qplib_res.c
839
memset((u8 *)pdt->tbl, 0xFF, bytes);
sys/dev/bnxt/bnxt_re/qplib_res.c
957
u32 bytes;
sys/dev/bnxt/bnxt_re/qplib_res.c
981
bytes = dpit->max >> 3;
sys/dev/bnxt/bnxt_re/qplib_res.c
982
if (!bytes)
sys/dev/bnxt/bnxt_re/qplib_res.c
983
bytes = 1;
sys/dev/bnxt/bnxt_re/qplib_res.c
985
dpit->tbl = kmalloc(bytes, GFP_KERNEL);
sys/dev/bnxt/bnxt_re/qplib_res.c
990
bytes);
sys/dev/bnxt/bnxt_re/qplib_res.c
994
memset((u8 *)dpit->tbl, 0xFF, bytes);
sys/dev/bnxt/bnxt_re/stats.c
181
bytes = diff + pkts * 4;
sys/dev/bnxt/bnxt_re/stats.c
182
cnps->cur[0].cnp_tx_bytes += bytes;
sys/dev/bnxt/bnxt_re/stats.c
187
bytes = bnxt_re_stat_diff(tmp_counters[0].cnp_rx_bytes,
sys/dev/bnxt/bnxt_re/stats.c
190
cnps->cur[0].cnp_rx_bytes += bytes;
sys/dev/bnxt/bnxt_re/stats.c
209
bytes = bnxt_re_stat_diff(tmp_counters[1].cnp_rx_bytes,
sys/dev/bnxt/bnxt_re/stats.c
212
cnps->cur[1].cnp_rx_bytes += bytes;
sys/dev/bnxt/bnxt_re/stats.c
227
bytes = bnxt_re_stat_diff(roce_only_tmp[0].rx_bytes,
sys/dev/bnxt/bnxt_re/stats.c
230
dstat->cur[0].rx_bytes += bytes;
sys/dev/bnxt/bnxt_re/stats.c
243
bytes = bnxt_re_stat_diff(roce_only_tmp[1].rx_bytes,
sys/dev/bnxt/bnxt_re/stats.c
246
dstat->cur[1].rx_bytes += bytes;
sys/dev/bnxt/bnxt_re/stats.c
99
u64 bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1858
int bytes = 0;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1940
bytes = min_t(unsigned long, (unsigned long)total_size,
sys/dev/cxgbe/cudbg/cudbg_lib.c
1942
temp_buff.size = bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1950
total_size -= bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1951
next_offset += bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2557
unsigned long bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2613
bytes = min_t(unsigned long, bytes_left, (unsigned long)CUDBG_CHUNK_SIZE);
sys/dev/cxgbe/cudbg/cudbg_lib.c
2614
rc = get_scratch_buff(dbg_buff, bytes, &scratch_buff);
sys/dev/cxgbe/cudbg/cudbg_lib.c
2625
(bytes_read + bytes) <= payload[i].end) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
2626
memset(scratch_buff.data, 0, bytes);
sys/dev/cxgbe/cudbg/cudbg_lib.c
2638
bytes, (__be32 *)(scratch_buff.data), 1);
sys/dev/cxgbe/cudbg/cudbg_lib.c
2653
bytes_left -= bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2654
bytes_read += bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2875
u32 buf_size = 0, bytes = 0;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2902
bytes = min_t(unsigned long, bytes_left, (unsigned long)CUDBG_CHUNK_SIZE);
sys/dev/cxgbe/cudbg/cudbg_lib.c
2903
tmp_scratch_buff.size = bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2905
bytes_left -= bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2906
bytes_read += bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3775
u32 value, bytes = 0, bytes_left = 0;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3833
bytes = sizeof(struct cudbg_tcam);
sys/dev/cxgbe/cudbg/cudbg_lib.c
3838
scratch_buff.size = bytes;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3853
bytes = 0;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3865
bytes += sizeof(struct cudbg_tid_data);
sys/dev/cxgbe/cudbg/cudbg_lib.c
3868
if (bytes) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
3869
scratch_buff.size = bytes;
sys/dev/drm2/drm_buffer.h
73
static inline void drm_buffer_advance(struct drm_buffer *buf, int bytes)
sys/dev/drm2/drm_buffer.h
75
buf->iterator += bytes;
sys/dev/e1000/if_em.c
1656
unsigned long bytes, bytes_per_packet, packets;
sys/dev/e1000/if_em.c
1685
bytes = bytes_per_packet = 0;
sys/dev/e1000/if_em.c
1689
bytes = txbytes;
sys/dev/e1000/if_em.c
1695
bytes = lmax(bytes, rxbytes);
sys/dev/e1000/if_em.c
1710
else if ((packets < 5) && (bytes > 512))
sys/dev/e1000/if_em.c
1714
if (bytes > 10000) {
sys/dev/e1000/if_em.c
1725
} else if (packets < 3 && bytes < 512) {
sys/dev/e1000/if_em.c
1730
if (bytes > 25000) {
sys/dev/e1000/if_em.c
1733
} else if (bytes < 1500)
sys/dev/ena/ena.h
287
counter_u64_t bytes;
sys/dev/ena/ena.h
303
counter_u64_t bytes;
sys/dev/ena/ena_datapath.c
1043
counter_u64_add_protected(tx_ring->tx_stats.bytes,
sys/dev/ena/ena_datapath.c
652
counter_u64_add_protected(rx_ring->rx_stats.bytes,
sys/dev/ena/ena_netmap.c
453
counter_u64_add_protected(tx_ring->tx_stats.bytes, packet_len);
sys/dev/ena/ena_netmap.c
979
counter_u64_add_protected(ctx->ring->rx_stats.bytes, len);
sys/dev/ena/ena_sysctl.c
336
CTLFLAG_RD, &tx_stats->bytes, "Bytes sent");
sys/dev/ena/ena_sysctl.c
377
CTLFLAG_RD, &rx_stats->bytes, "Bytes received");
sys/dev/enic/vnic_dev.c
1168
bool reset, uint64_t *packets, uint64_t *bytes)
sys/dev/enic/vnic_dev.c
1179
*bytes = a1;
sys/dev/enic/vnic_dev.c
1183
*bytes = vdev->flow_counters[idx].vcc_bytes;
sys/dev/enic/vnic_dev.h
170
bool reset, uint64_t *packets, uint64_t *bytes);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
370
char bytes[2];
sys/dev/etherswitch/rtl8366/rtl8366rb.c
394
bytes[0] = RTL8366RB_CIR & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
395
bytes[1] = (RTL8366RB_CIR >> 8) & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
397
bytes[0] = RTL8366SR_CIR & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
398
bytes[1] = (RTL8366SR_CIR >> 8) & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
400
err = iicbus_write(iicbus, bytes, 2, &xferd, RTL_IICBUS_TIMEOUT);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
403
err = iicbus_read(iicbus, bytes, 2, &xferd, IIC_LAST_READ, 0);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
406
chipid = ((bytes[1] & 0xff) << 8) | (bytes[0] & 0xff);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
512
char bytes[2];
sys/dev/etherswitch/rtl8366/rtl8366rb.c
518
bytes[0] = addr & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
519
bytes[1] = (addr >> 8) & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
523
err = iicbus_write(iicbus, bytes, 2, &xferd, RTL_IICBUS_TIMEOUT);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
526
err = iicbus_read(iicbus, bytes, 2, &xferd, IIC_LAST_READ, 0);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
529
*data = ((bytes[1] & 0xff) << 8) | (bytes[0] & 0xff);
sys/dev/etherswitch/rtl8366/rtl8366rb.c
541
char bytes[4];
sys/dev/etherswitch/rtl8366/rtl8366rb.c
547
bytes[0] = addr & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
548
bytes[1] = (addr >> 8) & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
549
bytes[2] = data & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
550
bytes[3] = (data >> 8) & 0xff;
sys/dev/etherswitch/rtl8366/rtl8366rb.c
554
err = iicbus_write(iicbus, bytes, 4, &xferd, RTL_IICBUS_TIMEOUT);
sys/dev/fb/vesa.c
1752
int bytes;
sys/dev/fb/vesa.c
1776
if (vesa_bios_set_line_length(*(u_int *)arg, &bytes, NULL))
sys/dev/fb/vesa.c
1778
adp->va_line_width = bytes;
sys/dev/fb/vesa.c
216
static int vesa_bios_set_line_length(int pixel, int *bytes, int *lines);
sys/dev/fb/vesa.c
580
vesa_bios_set_line_length(int pixel, int *bytes, int *lines)
sys/dev/fb/vesa.c
597
if (bytes != NULL)
sys/dev/fb/vesa.c
598
*bytes = regs.R_BX;
sys/dev/firewire/iec68113.h
97
uint8_t bytes[3];
sys/dev/firewire/sbp_targ.c
1424
u_char *bytes;
sys/dev/firewire/sbp_targ.c
1473
bytes = (u_char *)&orb[5];
sys/dev/firewire/sbp_targ.c
1477
bytes[0], bytes[1], bytes[2], bytes[3], bytes[4],
sys/dev/firewire/sbp_targ.c
1478
bytes[5], bytes[6], bytes[7], bytes[8], bytes[9]);
sys/dev/firewire/sbp_targ.c
1479
switch (bytes[0] >> 5) {
sys/dev/firewire/sbp_targ.c
1501
memcpy(atio->cdb_io.cdb_bytes, bytes, atio->cdb_len);
sys/dev/gve/gve_dqo.h
201
uint8_t bytes[12];
sys/dev/gve/gve_tx.c
399
gve_tx_free_fifo(struct gve_tx_fifo *fifo, size_t bytes)
sys/dev/gve/gve_tx.c
401
atomic_add_int(&fifo->available, bytes);
sys/dev/gve/gve_tx.c
541
gve_tx_fifo_can_alloc(struct gve_tx_fifo *fifo, size_t bytes)
sys/dev/gve/gve_tx.c
543
return (atomic_load_int(&fifo->available) >= bytes);
sys/dev/gve/gve_tx.c
554
gve_tx_fifo_pad_alloc_one_frag(struct gve_tx_fifo *fifo, size_t bytes)
sys/dev/gve/gve_tx.c
556
return (fifo->head + bytes < fifo->size) ? 0 : fifo->size - fifo->head;
sys/dev/gve/gve_tx.c
564
int bytes;
sys/dev/gve/gve_tx.c
569
bytes = align_hdr_pad + pad_bytes + pkt_len;
sys/dev/gve/gve_tx.c
571
return (bytes);
sys/dev/gve/gve_tx.c
575
gve_tx_alloc_fifo(struct gve_tx_fifo *fifo, size_t bytes,
sys/dev/gve/gve_tx.c
582
if (bytes == 0)
sys/dev/gve/gve_tx.c
592
KASSERT(gve_tx_fifo_can_alloc(fifo, bytes),
sys/dev/gve/gve_tx.c
598
iov[0].iov_len = bytes;
sys/dev/gve/gve_tx.c
599
fifo->head += bytes;
sys/dev/gve/gve_tx.c
619
atomic_add_int(&fifo->available, -(bytes + padding));
sys/dev/gve/gve_tx_dqo.c
299
.flex0 = metadata->bytes[0],
sys/dev/gve/gve_tx_dqo.c
300
.flex5 = metadata->bytes[5],
sys/dev/gve/gve_tx_dqo.c
301
.flex6 = metadata->bytes[6],
sys/dev/gve/gve_tx_dqo.c
302
.flex7 = metadata->bytes[7],
sys/dev/gve/gve_tx_dqo.c
303
.flex8 = metadata->bytes[8],
sys/dev/gve/gve_tx_dqo.c
304
.flex9 = metadata->bytes[9],
sys/dev/gve/gve_tx_dqo.c
305
.flex10 = metadata->bytes[10],
sys/dev/gve/gve_tx_dqo.c
306
.flex11 = metadata->bytes[11],
sys/dev/gve/gve_tx_dqo.c
317
.flex0 = metadata->bytes[0],
sys/dev/gve/gve_tx_dqo.c
318
.flex1 = metadata->bytes[1],
sys/dev/gve/gve_tx_dqo.c
319
.flex2 = metadata->bytes[2],
sys/dev/gve/gve_tx_dqo.c
320
.flex3 = metadata->bytes[3],
sys/dev/gve/gve_tx_dqo.c
321
.flex4 = metadata->bytes[4],
sys/dev/gve/gve_tx_dqo.c
322
.flex5 = metadata->bytes[5],
sys/dev/gve/gve_tx_dqo.c
323
.flex6 = metadata->bytes[6],
sys/dev/gve/gve_tx_dqo.c
324
.flex7 = metadata->bytes[7],
sys/dev/gve/gve_tx_dqo.c
325
.flex8 = metadata->bytes[8],
sys/dev/gve/gve_tx_dqo.c
326
.flex9 = metadata->bytes[9],
sys/dev/gve/gve_tx_dqo.c
327
.flex10 = metadata->bytes[10],
sys/dev/gve/gve_tx_dqo.c
328
.flex11 = metadata->bytes[11],
sys/dev/hptmv/raid5n.h
44
#define dataxfer_add_item(handle, host, cache, bytes, tocache) \
sys/dev/hptmv/raid5n.h
45
if (tocache) memcpy((PUCHAR)(cache), (PUCHAR)(host), bytes); \
sys/dev/hptmv/raid5n.h
46
else memcpy((PUCHAR)(host), (PUCHAR)(cache), bytes)
sys/dev/hptmv/raid5n.h
62
#define xor_add_item(handle, dest, src, nsrc, bytes) \
sys/dev/hptmv/raid5n.h
65
DoXor2((PULONG)(dest), ((PULONG *)(src))[1], bytes);\
sys/dev/hptmv/raid5n.h
67
DoXor1((PULONG)(dest), ((PULONG *)(src))[0], ((PULONG *)(src))[1], bytes);\
sys/dev/hyperv/pcib/vmbus_pcib.c
1772
u_int reg, int bytes)
sys/dev/hyperv/pcib/vmbus_pcib.c
1785
_hv_pcifront_read_config(hpdev, reg, bytes, &data);
sys/dev/hyperv/pcib/vmbus_pcib.c
1792
u_int reg, uint32_t data, int bytes)
sys/dev/hyperv/pcib/vmbus_pcib.c
1804
_hv_pcifront_write_config(hpdev, reg, bytes, data);
sys/dev/iavf/iavf_iflib.h
155
u32 bytes;
sys/dev/iavf/iavf_iflib.h
184
u32 bytes;
sys/dev/iavf/if_iavf_iflib.c
1712
if (rxr->bytes == 0)
sys/dev/ice/ice_nvm.c
338
u32 bytes = sizeof(u16);
sys/dev/ice/ice_nvm.c
348
status = ice_read_flat_nvm(hw, offset * sizeof(u16), &bytes,
sys/dev/ice/ice_nvm.c
396
u32 bytes = *words * 2, i;
sys/dev/ice/ice_nvm.c
404
status = ice_read_flat_nvm(hw, offset * 2, &bytes, (u8 *)data, true);
sys/dev/ice/ice_nvm.c
407
*words = (u16)(bytes / 2);
sys/dev/ice/ice_sched.c
5540
int ice_cfg_rl_burst_size(struct ice_hw *hw, u32 bytes)
sys/dev/ice/ice_sched.c
5544
if (bytes < ICE_MIN_BURST_SIZE_ALLOWED ||
sys/dev/ice/ice_sched.c
5545
bytes > ICE_MAX_BURST_SIZE_ALLOWED)
sys/dev/ice/ice_sched.c
5547
if (ice_round_to_num(bytes, 64) <=
sys/dev/ice/ice_sched.c
5553
bytes = ice_round_to_num(bytes, 64);
sys/dev/ice/ice_sched.c
5555
burst_size_to_prog |= (u16)(bytes / 64);
sys/dev/ice/ice_sched.c
5561
bytes = ice_round_to_num(bytes, 1024);
sys/dev/ice/ice_sched.c
5563
if (bytes > ICE_MAX_BURST_SIZE_KBYTE_GRANULARITY)
sys/dev/ice/ice_sched.c
5564
bytes = ICE_MAX_BURST_SIZE_KBYTE_GRANULARITY;
sys/dev/ice/ice_sched.c
5566
burst_size_to_prog |= (u16)(bytes / 1024);
sys/dev/ice/ice_sched.h
285
int ice_cfg_rl_burst_size(struct ice_hw *hw, u32 bytes);
sys/dev/igc/if_igc.c
911
unsigned long bytes, bytes_per_packet, packets;
sys/dev/igc/if_igc.c
940
bytes = bytes_per_packet = 0;
sys/dev/igc/if_igc.c
944
bytes = txbytes;
sys/dev/igc/if_igc.c
950
bytes = lmax(bytes, rxbytes);
sys/dev/igc/if_igc.c
965
else if ((packets < 5) && (bytes > 512))
sys/dev/igc/if_igc.c
969
if (bytes > 10000) {
sys/dev/igc/if_igc.c
980
} else if (packets < 3 && bytes < 512) {
sys/dev/igc/if_igc.c
985
if (bytes > 25000) {
sys/dev/igc/if_igc.c
988
} else if (bytes < 1500)
sys/dev/iicbus/acpi_iicbus.c
157
uint8_t bytes[2] = { cmd, count };
sys/dev/iicbus/acpi_iicbus.c
159
{ slave, IIC_M_WR | IIC_M_NOSTOP, nitems(bytes), bytes },
sys/dev/iicbus/iicbb.c
516
int bytes, error = 0;
sys/dev/iicbus/iicbb.c
518
bytes = 0;
sys/dev/iicbus/iicbb.c
527
bytes++;
sys/dev/iicbus/iicbb.c
531
*sent = bytes;
sys/dev/iicbus/iicbb.c
539
int bytes = 0;
sys/dev/iicbus/iicbb.c
548
bytes++;
sys/dev/iicbus/iicbb.c
552
*read = bytes;
sys/dev/iicbus/iicsmb.c
354
uint8_t bytes[] = { cmd, byte };
sys/dev/iicbus/iicsmb.c
356
{ slave, IIC_M_WR, nitems(bytes), bytes },
sys/dev/iicbus/iicsmb.c
367
uint8_t bytes[] = { cmd, word & 0xff, word >> 8 };
sys/dev/iicbus/iicsmb.c
369
{ slave, IIC_M_WR, nitems(bytes), bytes },
sys/dev/iicbus/iicsmb.c
426
uint8_t bytes[2] = { cmd, count };
sys/dev/iicbus/iicsmb.c
428
{ slave, IIC_M_WR | IIC_M_NOSTOP, nitems(bytes), bytes },
sys/dev/iicbus/mux/iicmux.c
158
iicmux_read(device_t dev, char *buf, int len, int *bytes, int last, int delay)
sys/dev/iicbus/mux/iicmux.c
162
return (iicbus_read(sc->busdev, buf, len, bytes, last, delay));
sys/dev/iicbus/mux/iicmux.c
206
iicmux_write(device_t dev, const char *buf, int len, int *bytes, int timeout)
sys/dev/iicbus/mux/iicmux.c
210
return (iicbus_write(sc->busdev, buf, len, bytes, timeout));
sys/dev/ipmi/ipmi_ssif.c
59
dump_buffer(device_t dev, const char *msg, u_char *bytes, int len)
sys/dev/ipmi/ipmi_ssif.c
65
printf(" %02x", bytes[i]);
sys/dev/isl/isl.c
92
uint8_t bytes[] = { reg, val };
sys/dev/isl/isl.c
94
{ addr, IIC_M_WR, nitems(bytes), bytes },
sys/dev/ixgbe/if_ix.c
2614
if (rxr->bytes == 0) {
sys/dev/ixgbe/if_ix.c
2619
if ((rxr->bytes) && (rxr->packets))
sys/dev/ixgbe/if_ix.c
2620
newitr = rxr->bytes / rxr->packets;
sys/dev/ixgbe/if_ix.c
2651
rxr->bytes = 0;
sys/dev/ixgbe/if_ix.c
525
txr->bytes = 0;
sys/dev/ixgbe/if_ix.c
582
rxr->bytes = 0;
sys/dev/ixgbe/if_ixv.c
287
txr->bytes = 0;
sys/dev/ixgbe/if_ixv.c
338
rxr->bytes = 0;
sys/dev/ixgbe/ix_txrx.c
242
txr->bytes += pi->ipi_len;
sys/dev/ixgbe/ix_txrx.c
425
rxr->bytes += len;
sys/dev/ixgbe/ixgbe.h
287
u32 bytes; /* used for AIM */
sys/dev/ixgbe/ixgbe.h
309
u32 bytes; /* Used for AIM calc */
sys/dev/ixgbe/ixgbe_e610.c
3288
u32 bytes = sizeof(u16);
sys/dev/ixgbe/ixgbe_e610.c
3292
status = ixgbe_read_flat_nvm(hw, offset * sizeof(u16), &bytes,
sys/dev/ixgbe/ixgbe_e610.c
3316
u32 bytes = *words * 2, i;
sys/dev/ixgbe/ixgbe_e610.c
3319
status = ixgbe_read_flat_nvm(hw, offset * 2, &bytes, (u8 *)data, true);
sys/dev/ixgbe/ixgbe_e610.c
3321
*words = bytes / 2;
sys/dev/ixl/i40e_nvm.c
1008
status = i40e_nvmupd_state_init(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1012
status = i40e_nvmupd_state_reading(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1016
status = i40e_nvmupd_state_writing(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1059
u8 *bytes, int *perrno)
sys/dev/ixl/i40e_nvm.c
1075
status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1086
status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1117
status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1134
status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1166
status = i40e_nvmupd_exec_aq(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1170
status = i40e_nvmupd_get_aq_result(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1174
status = i40e_nvmupd_get_aq_event(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1200
u8 *bytes, int *perrno)
sys/dev/ixl/i40e_nvm.c
1212
status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1216
status = i40e_nvmupd_nvm_read(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1244
u8 *bytes, int *perrno)
sys/dev/ixl/i40e_nvm.c
1257
status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1265
status = i40e_nvmupd_nvm_write(hw, cmd, bytes, perrno);
sys/dev/ixl/i40e_nvm.c
1525
u8 *bytes, int *perrno)
sys/dev/ixl/i40e_nvm.c
1553
aq_desc = (struct i40e_aq_desc *)bytes;
sys/dev/ixl/i40e_nvm.c
1570
i40e_memcpy(buff, &bytes[aq_desc_len], aq_data_len,
sys/dev/ixl/i40e_nvm.c
1610
u8 *bytes, int *perrno)
sys/dev/ixl/i40e_nvm.c
1648
i40e_memcpy(bytes, buff, len, I40E_NONDMA_TO_NONDMA);
sys/dev/ixl/i40e_nvm.c
1650
bytes += len;
sys/dev/ixl/i40e_nvm.c
1662
i40e_memcpy(bytes, buff, remainder, I40E_NONDMA_TO_NONDMA);
sys/dev/ixl/i40e_nvm.c
1679
u8 *bytes, int *perrno)
sys/dev/ixl/i40e_nvm.c
1697
i40e_memcpy(bytes, &hw->nvm_aq_event_desc, cmd->data_size,
sys/dev/ixl/i40e_nvm.c
1714
u8 *bytes, int *perrno)
sys/dev/ixl/i40e_nvm.c
1729
bytes, last, &cmd_details);
sys/dev/ixl/i40e_nvm.c
1793
u8 *bytes, int *perrno)
sys/dev/ixl/i40e_nvm.c
1810
(u16)cmd->data_size, bytes, last,
sys/dev/ixl/i40e_nvm.c
841
u8 *bytes, int *perrno);
sys/dev/ixl/i40e_nvm.c
844
u8 *bytes, int *perrno);
sys/dev/ixl/i40e_nvm.c
847
u8 *bytes, int *perrno);
sys/dev/ixl/i40e_nvm.c
856
u8 *bytes, int *perrno);
sys/dev/ixl/i40e_nvm.c
859
u8 *bytes, int *perrno);
sys/dev/ixl/i40e_nvm.c
862
u8 *bytes, int *perrno);
sys/dev/ixl/i40e_nvm.c
865
u8 *bytes, int *perrno);
sys/dev/ixl/i40e_nvm.c
868
u8 *bytes, int *perrno);
sys/dev/ixl/i40e_nvm.c
916
u8 *bytes, int *perrno)
sys/dev/ixl/i40e_nvm.c
951
bytes[0] = hw->nvmupd_state;
sys/dev/ixl/i40e_nvm.c
954
bytes[1] = 0;
sys/dev/ixl/i40e_nvm.c
955
*((u16 *)&bytes[2]) = hw->nvm_wait_opcode;
sys/dev/ixl/i40e_nvm.c
980
i40e_memset(bytes + hw->nvmupd_features.size, 0x0,
sys/dev/ixl/i40e_nvm.c
984
i40e_memcpy(bytes, &hw->nvmupd_features,
sys/dev/ixl/i40e_prototype.h
495
u8 *bytes, int *);
sys/dev/ixl/ixl.h
344
u32 bytes;
sys/dev/ixl/ixl.h
369
u32 bytes;
sys/dev/ixl/ixl_pf_iflib.c
631
if (rxr->bytes == 0)
sys/dev/ixl/ixl_pf_iflib.c
635
rx_bytes = rxr->bytes/rxr->itr;
sys/dev/ixl/ixl_pf_iflib.c
683
rxr->bytes = 0;
sys/dev/ixl/ixl_pf_iflib.c
705
if (txr->bytes == 0)
sys/dev/ixl/ixl_pf_iflib.c
709
tx_bytes = txr->bytes/txr->itr;
sys/dev/ixl/ixl_pf_iflib.c
757
txr->bytes = 0;
sys/dev/jedec_dimm/jedec_dimm.c
682
uint8_t bytes[512];
sys/dev/jedec_dimm/jedec_dimm.c
687
rc = smbus_readb(sc->smbus, sc->spd_addr, i, &bytes[i]);
sys/dev/jedec_dimm/jedec_dimm.c
715
&bytes[256 + i]);
sys/dev/jedec_dimm/jedec_dimm.c
725
hexdump(bytes, (page_changed ? 512 : 256), NULL, 0);
sys/dev/mana/mana.h
142
counter_u64_t bytes; /* rx, tx */
sys/dev/mana/mana_en.c
1717
counter_u64_add_protected(rx_stats->bytes, pkt_len);
sys/dev/mana/mana_en.c
497
uint64_t packets, bytes;
sys/dev/mana/mana_en.c
511
bytes = 0;
sys/dev/mana/mana_en.c
646
bytes += len;
sys/dev/mana/mana_en.c
657
counter_u64_add_protected(tx_stats->bytes, bytes);
sys/dev/mana/mana_en.c
658
counter_u64_add_protected(port_stats->tx_bytes, bytes);
sys/dev/mana/mana_sysctl.c
296
CTLFLAG_RD, &tx_stats->bytes, "Bytes sent");
sys/dev/mana/mana_sysctl.c
332
CTLFLAG_RD, &rx_stats->bytes, "Bytes received");
sys/dev/mfi/mfi.c
3197
(union mfi_sgl *)&cm->cm_frame->bytes[ioc->mfi_sgl_off];
sys/dev/mfi/mfi.c
3509
(union mfi_sgl *)&cm->cm_frame->bytes[l_ioc.lioc_sgl_off];
sys/dev/mfi/mfireg.h
622
uint8_t bytes[MFI_FRAME_SIZE];
sys/dev/mlx4/mlx4_en/en.h
299
u64 bytes;
sys/dev/mlx4/mlx4_en/en.h
352
u64 bytes;
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1136
rx_bytes = priv->rx_ring[ring]->bytes;
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1619
priv->tx_ring[i]->bytes = 0;
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
1625
priv->rx_ring[i]->bytes = 0;
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
2866
CTLFLAG_RD, &tx_ring->bytes, 0, "TX bytes");
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
2883
CTLFLAG_RD, &rx_ring->bytes, 0, "RX bytes");
sys/dev/mlx4/mlx4_en/mlx4_en_port.c
156
u64 packets, bytes;
sys/dev/mlx4/mlx4_en/mlx4_en_port.c
163
bytes = 0;
sys/dev/mlx4/mlx4_en/mlx4_en_port.c
168
bytes += READ_ONCE(ring->bytes);
sys/dev/mlx4/mlx4_en/mlx4_en_port.c
171
priv->pkstats.rx_bytes = bytes;
sys/dev/mlx4/mlx4_en/mlx4_en_port.c
174
bytes = 0;
sys/dev/mlx4/mlx4_en/mlx4_en_port.c
179
bytes += READ_ONCE(ring->bytes);
sys/dev/mlx4/mlx4_en/mlx4_en_port.c
182
priv->pkstats.tx_bytes = bytes;
sys/dev/mlx4/mlx4_en/mlx4_en_port.c
440
priv->pkstats.rx_bytes += priv->rx_ring[i]->bytes;
sys/dev/mlx4/mlx4_en/mlx4_en_port.c
454
priv->pkstats.tx_bytes += ring->bytes;
sys/dev/mlx4/mlx4_en/mlx4_en_rx.c
792
ring->bytes += length;
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
752
ring->bytes += payload_len + (num_pkts * ihs);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
764
ring->bytes += max_t (unsigned int,
sys/dev/mlx5/fs.h
420
u64 *bytes, u64 *packets, u64 *lastuse);
sys/dev/mlx5/fs.h
422
u64 *packets, u64 *bytes);
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
102
sa_entry->savp, sa_entry->ifpo, sa_entry->kspi, bytes, packets);
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
508
void *priv, u64 *bytes, u64 *packets)
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
514
mlx5_fc_query(mdev, ipsec_rule->fc, packets, bytes);
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
534
lt->bytes = bytes_in + bytes_out;
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
65
u64 *packets, u64 *bytes)
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
70
mlx5_fc_query(mdev, ipsec_rule->fc, packets, bytes);
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
87
u64 bytes, bytes1, packets1, packets;
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
95
mlx5e_ipsec_handle_counters_onedir(sa_entry, &packets, &bytes);
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
98
bytes += bytes1;
sys/dev/mlx5/mlx5_core/fs_cmd.h
111
u64 *packets, u64 *bytes);
sys/dev/mlx5/mlx5_core/mlx5_fs_cmd.c
722
u64 *packets, u64 *bytes)
sys/dev/mlx5/mlx5_core/mlx5_fs_cmd.c
740
*bytes = MLX5_GET64(traffic_counter, stats, octets);
sys/dev/mlx5/mlx5_core/mlx5_fs_counters.c
160
u64 bytes = MLX5_GET64(traffic_counter, stats, octets);
sys/dev/mlx5/mlx5_core/mlx5_fs_counters.c
166
cache->bytes = bytes;
sys/dev/mlx5/mlx5_core/mlx5_fs_counters.c
358
counter->lastbytes = counter->cache.bytes;
sys/dev/mlx5/mlx5_core/mlx5_fs_counters.c
46
u64 bytes;
sys/dev/mlx5/mlx5_core/mlx5_fs_counters.c
477
u64 *packets, u64 *bytes)
sys/dev/mlx5/mlx5_core/mlx5_fs_counters.c
479
return mlx5_cmd_fc_query(dev, counter->id, packets, bytes);
sys/dev/mlx5/mlx5_core/mlx5_fs_counters.c
489
u64 *bytes, u64 *packets, u64 *lastuse)
sys/dev/mlx5/mlx5_core/mlx5_fs_counters.c
495
*bytes = c.bytes - counter->lastbytes;
sys/dev/mlx5/mlx5_core/mlx5_fs_counters.c
499
counter->lastbytes = c.bytes;
sys/dev/mlx5/mlx5_en/en.h
602
m(+1, u64, bytes, "bytes", "Received bytes") \
sys/dev/mlx5/mlx5_en/en.h
622
m(+1, u64, bytes, "bytes", "Transmitted bytes") \
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
851
rx_bytes += rq_stats->bytes;
sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
633
rq->stats.bytes += byte_cnt;
sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
716
net_dim(&rq->dim, rq->stats.packets, rq->stats.bytes);
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
1009
sq->stats.bytes += sq->mbuf[pi].num_bytes;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
672
sq->stats.bytes += sq->mbuf[pi].num_bytes;
sys/dev/mmc/mmcsd.c
233
uintmax_t bytes;
sys/dev/mmc/mmcsd.c
375
bytes = mmcsd_pretty_size(size, unit);
sys/dev/mmc/mmcsd.c
378
MMCSD_LABEL_ENH, bytes, unit, (uintmax_t)sc->enh_base,
sys/dev/mmc/mmcsd.c
435
uintmax_t bytes;
sys/dev/mmc/mmcsd.c
450
bytes = size;
sys/dev/mmc/mmcsd.c
452
for (i = 0; i <= 2 && bytes >= 1000; i++) {
sys/dev/mmc/mmcsd.c
453
bytes = (bytes + 1000 / 2 - 1) / 1000;
sys/dev/mmc/mmcsd.c
468
return (bytes);
sys/dev/mmc/mmcsd.c
487
uintmax_t bytes;
sys/dev/mmc/mmcsd.c
561
bytes = mmcsd_pretty_size(media_size, unit);
sys/dev/mmc/mmcsd.c
565
part->name, cnt, bytes, unit, mmc_get_card_id_string(dev),
sys/dev/mmc/mmcsd.c
570
printf("%s: %ju%sB partition %d%s at %s\n", part->name, bytes,
sys/dev/mmc/mmcsd.c
607
part->name, cnt, bytes, unit, type, enh ?
sys/dev/mmc/mmcsd.c
612
"(%s)%s at %s\n", part->name, cnt, bytes, unit,
sys/dev/mxge/if_mxge.c
207
mxge_dma_alloc(mxge_softc_t *sc, mxge_dma_t *dma, size_t bytes,
sys/dev/mxge/if_mxge.c
214
if (bytes > 4096 && alignment == 4096) {
sys/dev/mxge/if_mxge.c
216
maxsegsize = bytes;
sys/dev/mxge/if_mxge.c
229
bytes, /* maxsize */
sys/dev/mxge/if_mxge.c
250
err = bus_dmamap_load(dma->dmat, dma->map, dma->addr, bytes,
sys/dev/mxge/if_mxge.c
3181
size_t bytes;
sys/dev/mxge/if_mxge.c
3190
bytes = rx_ring_entries * sizeof (*ss->rx_small.shadow);
sys/dev/mxge/if_mxge.c
3191
ss->rx_small.shadow = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
sys/dev/mxge/if_mxge.c
3193
bytes = rx_ring_entries * sizeof (*ss->rx_big.shadow);
sys/dev/mxge/if_mxge.c
3194
ss->rx_big.shadow = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
sys/dev/mxge/if_mxge.c
3197
bytes = rx_ring_entries * sizeof (*ss->rx_small.info);
sys/dev/mxge/if_mxge.c
3198
ss->rx_small.info = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
sys/dev/mxge/if_mxge.c
3200
bytes = rx_ring_entries * sizeof (*ss->rx_big.info);
sys/dev/mxge/if_mxge.c
3201
ss->rx_big.info = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
sys/dev/mxge/if_mxge.c
3279
bytes = 8 +
sys/dev/mxge/if_mxge.c
3281
ss->tx.req_bytes = malloc(bytes, M_DEVBUF, M_WAITOK);
sys/dev/mxge/if_mxge.c
3287
bytes = sizeof (*ss->tx.seg_list) * ss->tx.max_desc;
sys/dev/mxge/if_mxge.c
3289
malloc(bytes, M_DEVBUF, M_WAITOK);
sys/dev/mxge/if_mxge.c
3292
bytes = tx_ring_entries * sizeof (*ss->tx.info);
sys/dev/mxge/if_mxge.c
3293
ss->tx.info = malloc(bytes, M_DEVBUF, M_ZERO|M_WAITOK);
sys/dev/mxge/if_mxge.c
4251
size_t bytes;
sys/dev/mxge/if_mxge.c
4262
bytes = sizeof (*sc->ss) * sc->num_slices;
sys/dev/mxge/if_mxge.c
4263
sc->ss = malloc(bytes, M_DEVBUF, M_NOWAIT | M_ZERO);
sys/dev/mxge/if_mxge.c
4273
bytes = max_intr_slots * sizeof (*ss->rx_done.entry);
sys/dev/mxge/if_mxge.c
4274
err = mxge_dma_alloc(sc, &ss->rx_done.dma, bytes, 4096);
sys/dev/mxge/if_mxge.c
4278
bzero(ss->rx_done.entry, bytes);
sys/dev/mxge/if_mxge.c
4286
bytes = sizeof (*ss->fw_stats);
sys/dev/mxge/if_mxge.c
4401
size_t bytes;
sys/dev/mxge/if_mxge.c
4429
bytes = sizeof (*sc->msix_irq_res) * sc->num_slices;
sys/dev/mxge/if_mxge.c
4430
sc->msix_irq_res = malloc(bytes, M_DEVBUF, M_NOWAIT|M_ZERO);
sys/dev/mxge/if_mxge.c
4449
bytes = sizeof (*sc->msix_ih) * sc->num_slices;
sys/dev/mxge/if_mxge.c
4450
sc->msix_ih = malloc(bytes, M_DEVBUF, M_NOWAIT|M_ZERO);
sys/dev/mxge/if_mxge.c
885
const size_t bytes = sizeof (struct mcp_gen_header);
sys/dev/mxge/if_mxge.c
902
hdr = malloc(bytes, M_DEVBUF, M_NOWAIT);
sys/dev/mxge/if_mxge.c
909
hdr_offset, (char *)hdr, bytes);
sys/dev/netmap/if_ptnet.c
1014
stats[idx].bytes += pq->stats.bytes;
sys/dev/netmap/if_ptnet.c
1030
return (stats[0].bytes);
sys/dev/netmap/if_ptnet.c
108
uint64_t bytes; /* if_[io]bytes */
sys/dev/netmap/if_ptnet.c
1535
pq->stats.bytes += mhead->m_pkthdr.len;
sys/dev/netmap/if_ptnet.c
1864
pq->stats.bytes += mhead->m_pkthdr.len;
sys/dev/oce/oce_hw.h
3370
uint64_t bytes;
sys/dev/ocs_fc/sli4.c
8730
uint32_t bytes = 0;
sys/dev/ocs_fc/sli4.c
8735
bytes = SLI_ROUND_PAGE(n_rpi * SLI4_FCOE_HDR_TEMPLATE_SIZE);
sys/dev/ocs_fc/sli4.c
8738
return bytes;
sys/dev/ocs_fc/sli4.h
51
sli_page_count(size_t bytes, uint32_t page_size)
sys/dev/ocs_fc/sli4.h
76
return (bytes + mask) >> shift;
sys/dev/pcf/pcf.c
381
int bytes, error = 0;
sys/dev/pcf/pcf.c
388
bytes = 0;
sys/dev/pcf/pcf.c
404
bytes ++;
sys/dev/pcf/pcf.c
408
*sent = bytes;
sys/dev/pcf/pcf.c
412
device_printf(dev, " >> %d bytes written (%d)\n", bytes, error);
sys/dev/pcf/pcf.c
423
int bytes, error = 0;
sys/dev/pcf/pcf.c
440
bytes = 0;
sys/dev/pcf/pcf.c
463
bytes ++;
sys/dev/pcf/pcf.c
467
*read = bytes;
sys/dev/pcf/pcf.c
471
device_printf(dev, " << %d bytes read (%d): %#x%s\n", bytes, error,
sys/dev/pcf/pcf.c
472
(unsigned)obuf[0], bytes > 1? "...": "");
sys/dev/pci/controller/pci_n1sdp.c
258
u_int func, u_int reg, int bytes)
sys/dev/pci/controller/pci_n1sdp.c
283
switch (bytes) {
sys/dev/pci/controller/pci_n1sdp.c
304
u_int func, u_int reg, uint32_t val, int bytes)
sys/dev/pci/controller/pci_n1sdp.c
329
switch (bytes) {
sys/dev/pci/pci_dw.c
519
u_int func, u_int reg, int bytes)
sys/dev/pci/pci_dw.c
548
switch (bytes) {
sys/dev/pci/pci_dw.c
568
u_int func, u_int reg, uint32_t val, int bytes)
sys/dev/pci/pci_dw.c
595
switch (bytes) {
sys/dev/pci/pci_host_generic.c
298
u_int func, u_int reg, int bytes)
sys/dev/pci/pci_host_generic.c
315
switch (bytes) {
sys/dev/pci/pci_host_generic.c
334
u_int func, u_int reg, uint32_t val, int bytes)
sys/dev/pci/pci_host_generic.c
348
switch (bytes) {
sys/dev/pci/pci_host_generic.c
72
u_int func, u_int reg, int bytes);
sys/dev/pci/pci_host_generic.c
74
u_int func, u_int reg, uint32_t val, int bytes);
sys/dev/pci/pci_host_generic_den0115.c
203
u_int func, u_int reg, int bytes)
sys/dev/pci/pci_host_generic_den0115.c
218
if (arm_smccc_invoke(SMCCC_PCI_READ, addr, reg, bytes, &result) < 0) {
sys/dev/pci/pci_host_generic_den0115.c
227
u_int func, u_int reg, uint32_t val, int bytes)
sys/dev/pci/pci_host_generic_den0115.c
242
arm_smccc_invoke(SMCCC_PCI_WRITE, addr, reg, bytes, val, &result);
sys/dev/qat/qat_common/adf_pfvf_vf_proto.c
209
u8 bytes,
sys/dev/qat/qat_common/adf_pfvf_vf_proto.c
218
--bytes;
sys/dev/qat/qat_common/adf_pfvf_vf_proto.c
220
ret = adf_vf2pf_blkmsg_data_req(accel_dev, true, &type, &bytes);
sys/dev/qat/qat_common/adf_pfvf_vf_proto.c
229
bytes);
sys/dev/qat/qat_common/adf_pfvf_vf_proto.c
233
*crc = bytes;
sys/dev/qlnx/qlnxe/bcm_osal.h
425
#define OSAL_STRNCPY(dst, src, bytes) strncpy(dst, src, bytes)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
385
#define BYTES_TO_DWORDS(bytes) ((bytes) / BYTES_IN_DWORD)
sys/dev/qlnx/qlnxe/ecore_hsi_common.h
1573
u8 bytes[8] /* Byte Array */;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
364
u8 bytes[16];
sys/dev/qlnx/qlnxe/ecore_roce_api.h
395
u8 bytes[16];
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
3737
memcpy(&qp_attr->ah_attr.grh.dgid.raw[0], ¶ms.dgid.bytes[0],
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
849
memcpy(&qp_params->sgid.bytes[0],
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
851
sizeof(qp_params->sgid.bytes));
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
852
memcpy(&qp_params->dgid.bytes[0],
sys/dev/qlxgb/qla_hw.c
1066
bytes = sizeof(q80_tx_cmd_t) - Q8_TX_CMD_TSO_ALIGN;
sys/dev/qlxgb/qla_hw.c
1067
bytes = QL_MIN(bytes, hdr_len);
sys/dev/qlxgb/qla_hw.c
1084
bytes -= ((ETHER_ADDR_LEN * 2) + 4);
sys/dev/qlxgb/qla_hw.c
1086
bcopy(src, dst, bytes);
sys/dev/qlxgb/qla_hw.c
1087
src += bytes;
sys/dev/qlxgb/qla_hw.c
1088
hdr_len -= bytes;
sys/dev/qlxgb/qla_hw.c
1090
bcopy(src, dst, bytes);
sys/dev/qlxgb/qla_hw.c
1091
src += bytes;
sys/dev/qlxgb/qla_hw.c
1092
hdr_len -= bytes;
sys/dev/qlxgb/qla_hw.c
1102
bytes = QL_MIN((sizeof(q80_tx_cmd_t)), hdr_len);
sys/dev/qlxgb/qla_hw.c
1104
bcopy(src, tx_cmd, bytes);
sys/dev/qlxgb/qla_hw.c
1105
src += bytes;
sys/dev/qlxgb/qla_hw.c
1106
hdr_len -= bytes;
sys/dev/qlxgb/qla_hw.c
925
uint32_t total_length = 0, bytes, tx_cmd_count = 0;
sys/dev/qlxgb/qla_hw.c
957
bytes = sizeof(q80_tx_cmd_t) - Q8_TX_CMD_TSO_ALIGN;
sys/dev/qlxgb/qla_hw.c
958
bytes = QL_MIN(bytes, hdr_len);
sys/dev/qlxgb/qla_hw.c
961
hdr_len -= bytes;
sys/dev/qlxgb/qla_hw.c
964
bytes = QL_MIN((sizeof(q80_tx_cmd_t)), hdr_len);
sys/dev/qlxgb/qla_hw.c
965
hdr_len -= bytes;
sys/dev/qlxgbe/ql_hw.c
2476
uint32_t total_length = 0, bytes, tx_cmd_count = 0, txr_next;
sys/dev/qlxgbe/ql_hw.c
2514
bytes = sizeof(q80_tx_cmd_t) - Q8_TX_CMD_TSO_ALIGN;
sys/dev/qlxgbe/ql_hw.c
2515
bytes = QL_MIN(bytes, hdr_len);
sys/dev/qlxgbe/ql_hw.c
2518
hdr_len -= bytes;
sys/dev/qlxgbe/ql_hw.c
2521
bytes = QL_MIN((sizeof(q80_tx_cmd_t)), hdr_len);
sys/dev/qlxgbe/ql_hw.c
2522
hdr_len -= bytes;
sys/dev/qlxgbe/ql_hw.c
2658
bytes = sizeof(q80_tx_cmd_t) - Q8_TX_CMD_TSO_ALIGN;
sys/dev/qlxgbe/ql_hw.c
2659
bytes = QL_MIN(bytes, hdr_len);
sys/dev/qlxgbe/ql_hw.c
2679
bytes -= ((ETHER_ADDR_LEN * 2) + ETHER_VLAN_ENCAP_LEN);
sys/dev/qlxgbe/ql_hw.c
2681
bcopy(src, dst, bytes);
sys/dev/qlxgbe/ql_hw.c
2682
src += bytes;
sys/dev/qlxgbe/ql_hw.c
2683
hdr_len -= bytes;
sys/dev/qlxgbe/ql_hw.c
2685
bcopy(src, dst, bytes);
sys/dev/qlxgbe/ql_hw.c
2686
src += bytes;
sys/dev/qlxgbe/ql_hw.c
2687
hdr_len -= bytes;
sys/dev/qlxgbe/ql_hw.c
2699
bytes = QL_MIN((sizeof(q80_tx_cmd_t)), hdr_len);
sys/dev/qlxgbe/ql_hw.c
2701
bcopy(src, tx_cmd, bytes);
sys/dev/qlxgbe/ql_hw.c
2702
src += bytes;
sys/dev/qlxgbe/ql_hw.c
2703
hdr_len -= bytes;
sys/dev/qlxge/qls_hw.h
720
uint8_t bytes[128];
sys/dev/qlxge/qls_hw.h
876
uint8_t bytes[63];
sys/dev/sfxge/common/ef10_tlv_layout.h
209
uint8_t bytes[];
sys/dev/sfxge/common/ef10_tlv_layout.h
217
uint8_t bytes[];
sys/dev/sfxge/common/ef10_tlv_layout.h
233
uint8_t bytes[];
sys/dev/sfxge/common/ef10_tlv_layout.h
241
uint8_t bytes[];
sys/dev/sfxge/common/ef10_tlv_layout.h
921
uint8_t bytes[];
sys/dev/sfxge/common/ef10_tlv_layout.h
938
uint8_t bytes[];
sys/dev/sfxge/common/ef10_tlv_layout.h
956
uint8_t bytes[];
sys/dev/sfxge/common/efx_mcdi.c
1846
uint32_t bytes;
sys/dev/sfxge/common/efx_mcdi.c
1860
bytes = encp->enc_mac_stats_nstats * sizeof (efx_qword_t);
sys/dev/sfxge/common/efx_mcdi.c
1862
if (EFSYS_MEM_SIZE(esmp) < bytes) {
sys/dev/sfxge/common/efx_mcdi.c
1872
MCDI_IN_SET_DWORD(req, MAC_STATS_IN_DMA_LEN, bytes);
sys/dev/sfxge/common/efx_mcdi.c
466
size_t bytes;
sys/dev/sfxge/common/efx_mcdi.c
487
bytes = MIN(emrp->emr_out_length_used, emrp->emr_out_length);
sys/dev/sfxge/common/efx_mcdi.c
488
efx_mcdi_read_response(enp, emrp->emr_out_buf, hdr_len, bytes);
sys/dev/sfxge/common/efx_mcdi.c
495
emrp->emr_out_buf, bytes);
sys/dev/smartpqi/smartpqi_structures.h
491
uint8_t bytes[1];
sys/dev/sound/pcm/dsp.c
1323
a->bytes = sndbuf_getready(bs);
sys/dev/sound/pcm/dsp.c
1324
a->fragments = a->bytes / bs->blksz;
sys/dev/sound/pcm/dsp.c
1341
a->bytes = sndbuf_getfree(bs);
sys/dev/sound/pcm/dsp.c
1342
a->fragments = a->bytes / bs->blksz;
sys/dev/sound/pcm/dsp.c
1358
a->bytes = bs->total;
sys/dev/sound/pcm/dsp.c
1375
a->bytes = bs->total;
sys/dev/usb/wlan/if_run.c
1225
uint64_t bytes;
sys/dev/usb/wlan/if_run.c
1258
bytes = *temp;
sys/dev/usb/wlan/if_run.c
1259
if (bytes != be64toh(0xffffff0210280210ULL)) {
sys/dev/vkbd/vkbd.c
359
int error, avail, bytes;
sys/dev/vkbd/vkbd.c
404
bytes = avail * sizeof(q->q[0]);
sys/dev/vkbd/vkbd.c
405
if (bytes > uio->uio_resid) {
sys/dev/vkbd/vkbd.c
407
bytes = avail * sizeof(q->q[0]);
sys/dev/vkbd/vkbd.c
410
error = uiomove((void *) &q->q[q->tail], bytes, uio);
sys/dev/vnic/nicvf_queues.c
2208
rq->stats.bytes = GET_RQ_STATS(RQ_SQ_STATS_OCTS);
sys/dev/vnic/nicvf_queues.c
2222
sq->stats.bytes = GET_SQ_STATS(RQ_SQ_STATS_OCTS);
sys/dev/vnic/nicvf_queues.h
127
#define NICVF_ADDR_ALIGN_LEN(addr, bytes) \
sys/dev/vnic/nicvf_queues.h
128
(NICVF_ALIGNED_ADDR((addr), (bytes)) - (bytes))
sys/dev/vnic/nicvf_queues.h
232
uint64_t bytes;
sys/dev/vt/hw/vga/vt_vga.c
394
vga_compute_shifted_pattern(const uint8_t *src, unsigned int bytes,
sys/dev/vt/hw/vga/vt_vga.c
440
unsigned int i, bytes;
sys/dev/vt/hw/vga/vt_vga.c
443
bytes = (src_width + 7) / 8;
sys/dev/vt/hw/vga/vt_vga.c
446
vga_compute_shifted_pattern(src + (src_y + i) * bytes,
sys/dev/vt/hw/vga/vt_vga.c
447
bytes, src_x, x_count, dst_x, &pattern, &relevant_bits);
sys/dev/vt/hw/vga/vt_vga.c
461
src_mask + (src_y + i) * bytes,
sys/dev/vt/hw/vga/vt_vga.c
462
bytes, src_x, x_count, dst_x,
sys/dev/wg/if_wg.c
133
uint8_t bytes[16];
sys/dev/xen/pcifront/pcifront.c
591
int reg, int bytes)
sys/dev/xen/pcifront/pcifront.c
600
.size = bytes,
sys/dev/xen/pcifront/pcifront.c
607
bus, slot, func, reg, bytes, op.value, err);
sys/dev/xen/pcifront/pcifront.c
618
int reg, u_int32_t data, int bytes)
sys/dev/xen/pcifront/pcifront.c
627
.size = bytes,
sys/dev/xen/pcifront/pcifront.c
635
bus, slot, func, reg, bytes, data, err);
sys/dev/xilinx/xlnx_pcib.c
458
u_int func, u_int reg, int bytes)
sys/dev/xilinx/xlnx_pcib.c
481
switch (bytes) {
sys/dev/xilinx/xlnx_pcib.c
502
u_int func, u_int reg, uint32_t val, int bytes)
sys/dev/xilinx/xlnx_pcib.c
530
switch (bytes) {
sys/fs/nfsserver/nfs_nfsdsocket.c
495
nfsrvd_statend(int op, uint64_t bytes, struct bintime *now,
sys/fs/nfsserver/nfs_nfsdsocket.c
512
NFSD_VNET(nfsstatsv1_p)->srvbytes[op] += bytes;
sys/fs/tmpfs/tmpfs_subr.c
396
long pages, bytes;
sys/fs/tmpfs/tmpfs_subr.c
399
bytes = pages * PAGE_SIZE;
sys/fs/tmpfs/tmpfs_subr.c
401
error = sysctl_handle_long(oidp, &bytes, 0, req);
sys/fs/tmpfs/tmpfs_subr.c
405
pages = bytes / PAGE_SIZE;
sys/fs/udf/osta.c
238
unsigned char bytes[] = { 0x70, 0x6A, 0x77 };
sys/fs/udf/osta.c
243
x = cksum(bytes, sizeof bytes);
sys/i386/i386/pmap.c
349
static void *pmap_pdpt_allocf(uma_zone_t zone, vm_size_t bytes, int domain,
sys/i386/i386/pmap.c
879
pmap_pdpt_allocf(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *sflagsp,
sys/i386/i386/pmap.c
888
bytes, flags, 0x0ULL, 0xffffffffULL, 1, 0, VM_MEMATTR_DEFAULT));
sys/i386/pci/pci_cfgreg.c
175
pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes)
sys/i386/pci/pci_cfgreg.c
178
return (pcireg_cfgread(bus, slot, func, reg, bytes));
sys/i386/pci/pci_cfgreg.c
186
bytes));
sys/i386/pci/pci_cfgreg.c
190
return (pcireg_cfgread(bus, slot, func, reg, bytes));
sys/i386/pci/pci_cfgreg.c
199
pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes)
sys/i386/pci/pci_cfgreg.c
208
if (reg == PCIR_INTLINE && bytes == 1) {
sys/i386/pci/pci_cfgreg.c
213
return (pci_docfgregread(domain, bus, slot, func, reg, bytes));
sys/i386/pci/pci_cfgreg.c
221
int bytes)
sys/i386/pci/pci_cfgreg.c
224
pcireg_cfgwrite(bus, slot, func, reg, data, bytes);
sys/i386/pci/pci_cfgreg.c
234
bytes);
sys/i386/pci/pci_cfgreg.c
240
pcireg_cfgwrite(bus, slot, func, reg, data, bytes);
sys/i386/pci/pci_cfgreg.c
249
pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes)
sys/i386/pci/pci_cfgreg.c
257
&& bytes != 3
sys/i386/pci/pci_cfgreg.c
258
&& (unsigned)bytes <= 4
sys/i386/pci/pci_cfgreg.c
259
&& (reg & (bytes - 1)) == 0) {
sys/i386/pci/pci_cfgreg.c
299
pcireg_cfgread(int bus, int slot, int func, int reg, int bytes)
sys/i386/pci/pci_cfgreg.c
305
port = pci_cfgenable(bus, slot, func, reg, bytes);
sys/i386/pci/pci_cfgreg.c
307
switch (bytes) {
sys/i386/pci/pci_cfgreg.c
325
pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes)
sys/i386/pci/pci_cfgreg.c
330
port = pci_cfgenable(bus, slot, func, reg, bytes);
sys/i386/pci/pci_cfgreg.c
332
switch (bytes) {
sys/i386/pci/pci_cfgreg.c
651
unsigned func, unsigned reg, unsigned bytes)
sys/i386/pci/pci_cfgreg.c
662
switch (bytes) {
sys/i386/pci/pci_cfgreg.c
683
unsigned func, unsigned reg, int data, unsigned bytes)
sys/i386/pci/pci_cfgreg.c
693
switch (bytes) {
sys/i386/pci/pci_cfgreg.c
87
int reg, int bytes);
sys/i386/pci/pci_cfgreg.c
89
static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes);
sys/i386/pci/pci_cfgreg.c
90
static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes);
sys/i386/pci/pci_cfgreg.c
93
unsigned slot, unsigned func, unsigned reg, unsigned bytes);
sys/i386/pci/pci_cfgreg.c
96
unsigned bytes);
sys/kern/kern_cpuset.c
1372
size_t bytes;
sys/kern/kern_cpuset.c
1389
bytes = snprintf(p, bufsiz, "%lx", set->__bits[i]);
sys/kern/kern_cpuset.c
1390
p += bytes;
sys/kern/kern_cpuset.c
1391
bufsiz -= bytes;
sys/kern/subr_devstat.c
294
devstat_end_transaction(struct devstat *ds, uint32_t bytes,
sys/kern/subr_devstat.c
311
ds->bytes[flags] += bytes;
sys/kern/subr_devstat.c
443
FU64_CP(*nds, ds32, bytes[i]);
sys/kern/subr_vmem.c
747
vmem_bt_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag,
sys/kern/subr_vmem.c
759
if (vmem_xalloc(vm_dom[domain].vmd_kernel_arena, bytes, 0, 0, 0,
sys/kern/subr_vmem.c
762
if (kmem_back_domain(domain, kernel_object, addr, bytes,
sys/kern/subr_vmem.c
767
vmem_xfree(vm_dom[domain].vmd_kernel_arena, addr, bytes);
sys/kern/sysv_sem.c
184
#define SEM_ALIGN(bytes) roundup2(bytes, sizeof(long))
sys/kern/tty.c
154
size_t bytes;
sys/kern/tty.c
182
bytes = ttyoutq_bytesused(&tp->t_outq);
sys/kern/tty.c
194
else if (leaving && ttyoutq_bytesused(&tp->t_outq) < bytes) {
sys/kern/tty.c
198
bytes = ttyoutq_bytesused(&tp->t_outq);
sys/kern/tty_ttydisc.c
890
uint8_t bytes[UTF8_STACKBUF] = { 0 };
sys/kern/tty_ttydisc.c
896
bytes[curidx] = c;
sys/kern/tty_ttydisc.c
910
bytes[curidx] = c;
sys/kern/tty_ttydisc.c
919
memmove(&bytes[0], &bytes[curidx + 1],
sys/kern/tty_ttydisc.c
923
CTL_UTF8_CONT(bytes[0])) {
sys/kern/tty_ttydisc.c
928
ttyinq_write(&tp->t_inq, bytes,
sys/kern/tty_ttydisc.c
934
teken_utf8_bytes_to_codepoint(bytes,
sys/kern/tty_ttydisc.c
946
ttyinq_write(&tp->t_inq, bytes,
sys/kgssapi/krb5/kcrypto.c
187
uint8_t *bytes, *p, *q;
sys/kgssapi/krb5/kcrypto.c
202
bytes = malloc(randomlen, M_GSSAPI, M_WAITOK);
sys/kgssapi/krb5/kcrypto.c
205
for (i = 0, p = bytes, q = folded; i < randomlen;
sys/kgssapi/krb5/kcrypto.c
214
krb5_random_to_key(dk, bytes);
sys/kgssapi/krb5/kcrypto.c
217
free(bytes, M_GSSAPI);
sys/libkern/murmur3_32.c
45
const uint8_t *bytes;
sys/libkern/murmur3_32.c
50
bytes = data;
sys/libkern/murmur3_32.c
57
k = le32dec(bytes);
sys/libkern/murmur3_32.c
58
bytes += 4;
sys/libkern/murmur3_32.c
75
k |= bytes[2] << 16;
sys/libkern/murmur3_32.c
77
k |= bytes[1] << 8;
sys/libkern/murmur3_32.c
79
k |= bytes[0];
sys/net/altq/altq.h
69
u_int64_t bytes;
sys/net/altq/altq.h
73
do { (cntr)->packets++; (cntr)->bytes += len; } while (/*CONSTCOND*/ 0)
sys/net/pfvar.h
1088
uint64_t bytes[2];
sys/net/pfvar.h
1197
u_int64_t bytes[2];
sys/net/pfvar.h
1492
u_int32_t bytes[2][2];
sys/net/pfvar.h
1519
u_int32_t bytes[2][2];
sys/net/pfvar.h
1558
u_int32_t bytes[2][2];
sys/net/pfvar.h
772
counter_u64_t bytes[2];
sys/net/pfvar.h
822
struct pf_counter_u64 bytes[2];
sys/net/pfvar.h
936
counter_u64_t bytes[2];
sys/netgraph/netflow/netflow.c
1066
rec->octets = htonl(fle->f.bytes);
sys/netgraph/netflow/netflow.c
340
fle->f.bytes = plen;
sys/netgraph/netflow/netflow.c
418
fle6->f.bytes = plen;
sys/netgraph/netflow/netflow.c
739
fle->f.bytes += plen;
sys/netgraph/netflow/netflow.c
751
(fle->f.bytes >= (CNTR_MAX - IF_MAXMTU)) ) {
sys/netgraph/netflow/netflow.c
862
fle6->f.bytes += plen;
sys/netgraph/netflow/netflow.c
874
(fle6->f.bytes >= (CNTR_MAX - IF_MAXMTU)) ) {
sys/netgraph/netflow/netflow_v9.c
273
rec->i_octets = htonl(fed->bytes);
sys/netgraph/netflow/netflow_v9.c
304
rec->i_octets = htonl(fed6->bytes);
sys/netgraph/netflow/ng_netflow.h
259
u_long bytes;
sys/netgraph/netflow/ng_netflow.h
277
u_long bytes;
sys/netgraph/ng_pppoe.c
308
char bytes[sizeof(void *)];
sys/netgraph/ng_pppoe.c
648
bcopy(tag + 1, cookie.bytes, sizeof(void *));
sys/netgraph/ng_pppoe.h
248
u_int8_t bytes[2048];
sys/netinet/in_pcb.c
258
size_t bytes;
sys/netinet/in_pcb.c
260
bytes = __offsetof(struct inpcblbgroup, il_inp[size]);
sys/netinet/in_pcb.c
261
grp = malloc(bytes, M_PCB, M_ZERO | M_NOWAIT);
sys/netinet/tcp_ratelimit.c
1620
uint64_t lentim, res, bytes;
sys/netinet/tcp_ratelimit.c
1627
bytes = bw / mss_divisor;
sys/netinet/tcp_ratelimit.c
1629
bytes = bw / 1000;
sys/netinet/tcp_ratelimit.c
1631
bytes = bw / divisor;
sys/netinet/tcp_ratelimit.c
1633
if (bytes > 0xffff) {
sys/netinet/tcp_ratelimit.c
1634
bytes = 0xffff;
sys/netinet/tcp_ratelimit.c
1637
new_tso = (bytes + segsiz - 1) / segsiz;
sys/netinet/tcp_ratelimit.h
195
uint64_t bytes;
sys/netinet/tcp_ratelimit.h
201
bytes = bw / RL_DEFAULT_DIVISOR;
sys/netinet/tcp_ratelimit.h
203
bytes = bw / divisor;
sys/netinet/tcp_ratelimit.h
205
if (bytes > 0xffff) {
sys/netinet/tcp_ratelimit.h
206
bytes = 0xffff;
sys/netinet/tcp_ratelimit.h
209
new_tso = (bytes + segsiz - 1) / segsiz;
sys/netinet/tcp_stacks/bbr.c
5672
uint32_t maxseg, bytes;
sys/netinet/tcp_stacks/bbr.c
5779
bytes = bw / 1024;
sys/netinet/tcp_stacks/bbr.c
5780
if (bytes > (64 * 1024))
sys/netinet/tcp_stacks/bbr.c
5781
bytes = 64 * 1024;
sys/netinet/tcp_stacks/bbr.c
5782
new_tso = bytes / maxseg;
sys/netinet/tcp_stacks/rack.c
15590
uint32_t bytes;
sys/netinet/tcp_stacks/rack.c
15592
bytes = tp->gput_ack - tp->gput_seq;
sys/netinet/tcp_stacks/rack.c
15594
bytes += tp->gput_seq - tp->snd_una;
sys/netinet/tcp_stacks/rack.c
15595
if (bytes > sbavail(&tptosocket(tp)->so_snd)) {
sys/netinet/tcp_stacks/rack.c
16412
uint32_t bytes;
sys/netinet/tcp_stacks/rack.c
16414
bytes = tp->gput_ack - tp->gput_seq;
sys/netinet/tcp_stacks/rack.c
16416
bytes += tp->gput_seq - tp->snd_una;
sys/netinet/tcp_stacks/rack.c
16417
if (bytes > sbavail(&tptosocket(tp)->so_snd)) {
sys/netinet/tcp_stacks/rack.c
4751
uint32_t segsiz, bytes, reqbytes, us_cts;
sys/netinet/tcp_stacks/rack.c
4784
bytes = 0;
sys/netinet/tcp_stacks/rack.c
4792
bytes = 0;
sys/netinet/tcp_stacks/rack.c
4829
bytes = 0;
sys/netinet/tcp_stacks/rack.c
4835
bytes = (th_ack - tp->gput_seq);
sys/netinet/tcp_stacks/rack.c
4836
bytes_ps = (uint64_t)bytes;
sys/netinet/tcp_stacks/rack.c
4904
rack_log_pacing_delay_calc(rack, bytes, reqbytes,
sys/netinet/tcp_stacks/rack.c
5154
rack_log_pacing_delay_calc(rack, bytes, tim, bytes_ps, stim,
sys/netinet/tcp_stacks/rack.c
5157
bytes, /* flex2 */
sys/netinet/tcp_stacks/rack.c
581
uint64_t tim, bytes;
sys/netinet/tcp_stacks/rack.c
584
bytes = rack->r_ctl.lt_bw_bytes;
sys/netinet/tcp_stacks/rack.c
588
bytes += (rack->rc_tp->snd_una - rack->r_ctl.lt_seq);
sys/netinet/tcp_stacks/rack.c
591
if ((bytes != 0) && (tim != 0))
sys/netinet/tcp_stacks/rack.c
592
return ((bytes * (uint64_t)1000000) / tim);
sys/netinet/tcp_stacks/rack.c
7822
uint32_t bytes;
sys/netinet/tcp_stacks/rack.c
7824
bytes = tp->gput_ack - tp->gput_seq;
sys/netinet/tcp_stacks/rack.c
7826
bytes += tp->gput_seq - tp->snd_una;
sys/netinet/tcp_stacks/rack.c
7827
if (bytes > sbavail(&tptosocket(tp)->so_snd)) {
sys/netipsec/ipsec_offload.c
1012
lft_c->bytes += lft_l->bytes;
sys/netipsec/ipsec_offload.c
1125
lft_l.bytes = counter_u64_fetch(sav->accel_lft_sw + 1);
sys/netipsec/key.c
122
#define _BITS(bytes) ((bytes) << 3)
sys/netipsec/key.c
3824
lft_c.bytes = counter_u64_fetch(sav->lft_c_bytes);
sys/netipsec/key.c
3921
lft_c.bytes = sav->accel_hw_octets;
sys/netipsec/key.c
4322
dst->bytes = src->sadb_lifetime_bytes;
sys/netipsec/key.c
4761
(sav->lft_h->bytes != 0 && counter_u64_fetch(
sys/netipsec/key.c
4762
sav->lft_c_bytes) > sav->lft_h->bytes)) {
sys/netipsec/key.c
4774
(sav->lft_s->bytes != 0 && counter_u64_fetch(
sys/netipsec/key.c
4775
sav->lft_c_bytes) > sav->lft_s->bytes) ||
sys/netipsec/key.c
7679
lt->sadb_lifetime_bytes = sav->lft_h->bytes;
sys/netipsec/key.c
7685
lt->sadb_lifetime_bytes = sav->lft_s->bytes;
sys/netipsec/key.c
8934
p->sadb_lifetime_bytes = src->bytes;
sys/netipsec/key_debug.c
788
lft->allocations, (uintmax_t)lft->bytes, (uintmax_t)lft->addtime,
sys/netipsec/key_debug.c
867
lft_c.bytes = counter_u64_fetch(sav->lft_c_bytes);
sys/netipsec/keydb.h
91
u_int64_t bytes;
sys/netpfil/ipfilter/netinet/ip_htable.c
1107
u_int bytes)
sys/netpfil/ipfilter/netinet/ip_htable.c
1134
ipe->ipe_bytes += bytes;
sys/netpfil/ipfilter/netinet/ip_pool.c
722
u_int bytes)
sys/netpfil/ipfilter/netinet/ip_pool.c
762
m->ipn_bytes += bytes;
sys/netpfil/ipfw/test/dn_test.h
118
uint64_t bytes;
sys/netpfil/ipfw/test/main.c
174
_q->ni.bytes = 0;
sys/netpfil/ipfw/test/main.c
175
_q->ni.sch_bytes = si->ni.bytes;
sys/netpfil/ipfw/test/main.c
186
_q->ni.bytes += len;
sys/netpfil/ipfw/test/main.c
187
si->ni.bytes += len;
sys/netpfil/ipfw/test/main.c
190
double bytes = (double)_q->ni.bytes;
sys/netpfil/ipfw/test/main.c
191
double sch_bytes = (double)si->ni.bytes - _q->ni.sch_bytes;
sys/netpfil/ipfw/test/main.c
193
double wfi = sch_bytes * weight - bytes;
sys/netpfil/pf/pf.c
11434
pf_counter_u64_add_protected(&(r->bytes[dir_out]), pd->tot_len);
sys/netpfil/pf/pf.c
11519
s->bytes[s_dir_rev] += pd->tot_len;
sys/netpfil/pf/pf.c
11532
s->sns[sn_type]->bytes[dir_out],
sys/netpfil/pf/pf.c
1282
counter_u64_free(sn->bytes[i]);
sys/netpfil/pf/pf.c
1339
(*sn)->bytes[i] = counter_u64_alloc(M_NOWAIT);
sys/netpfil/pf/pf.c
1342
if ((*sn)->bytes[i] == NULL || (*sn)->packets[i] == NULL) {
sys/netpfil/pf/pf.c
2899
pf_counter_u64_periodic(&rule->bytes[i]);
sys/netpfil/pf/pf.c
5570
uint8_t bytes[SHA512_DIGEST_LENGTH];
sys/netpfil/pf/pf.c
5596
SHA512_Final(digest.bytes, &ctx);
sys/netpfil/pf/pf.c
5828
counter_u64_add(r->bytes[dir == PF_OUT], m_length(m, NULL));
sys/netpfil/pf/pf.h
541
u_int64_t bytes[2];
sys/netpfil/pf/pf.h
703
u_int64_t bytes[2];
sys/netpfil/pf/pf_ioctl.c
1584
pf_counter_u64_rollup_protected(&rule->bytes[0],
sys/netpfil/pf/pf_ioctl.c
1585
pf_counter_u64_fetch(&old_rule->bytes[0]));
sys/netpfil/pf/pf_ioctl.c
1586
pf_counter_u64_rollup_protected(&rule->bytes[1],
sys/netpfil/pf/pf_ioctl.c
1587
pf_counter_u64_fetch(&old_rule->bytes[1]));
sys/netpfil/pf/pf_ioctl.c
2455
out->bytes[i] = counter_u64_fetch(in->bytes[i]);
sys/netpfil/pf/pf_ioctl.c
2755
pf_counter_u64_deinit(&rule->bytes[i]);
sys/netpfil/pf/pf_ioctl.c
2775
pf_counter_u64_zero(&rule->bytes[i]);
sys/netpfil/pf/pf_ioctl.c
3060
pf_counter_u64_init(&rule->bytes[i], M_WAITOK);
sys/netpfil/pf/pf_ioctl.c
358
pf_counter_u64_init(&V_pf_default_rule.bytes[i], M_WAITOK);
sys/netpfil/pf/pf_ioctl.c
4160
counter_u64_zero(rule->bytes[i]);
sys/netpfil/pf/pf_ioctl.c
4229
rule->bytes[i] = counter_u64_alloc(M_WAITOK);
sys/netpfil/pf/pf_ioctl.c
4719
pf_counter_u64_init(&newrule->bytes[i], M_WAITOK);
sys/netpfil/pf/pf_ioctl.c
5232
pf_counter_u64_zero(&rule->bytes[i]);
sys/netpfil/pf/pf_ioctl.c
581
counter_u64_free(rule->bytes[i]);
sys/netpfil/pf/pf_ioctl.c
6792
pf_state_counter_hton(st->bytes[0], sp->pfs_1301.bytes[0]);
sys/netpfil/pf/pf_ioctl.c
6793
pf_state_counter_hton(st->bytes[1], sp->pfs_1301.bytes[1]);
sys/netpfil/pf/pf_ioctl.c
6881
sp->bytes[0] = st->bytes[0];
sys/netpfil/pf/pf_ioctl.c
6882
sp->bytes[1] = st->bytes[1];
sys/netpfil/pf/pf_ioctl.c
7951
pf_counter_u64_deinit(&V_pf_default_rule.bytes[i]);
sys/netpfil/pf/pf_nl.c
1034
nlattr_add_u64(nw, PF_RT_BYTES_IN, pf_counter_u64_fetch(&rule->bytes[0]));
sys/netpfil/pf/pf_nl.c
1035
nlattr_add_u64(nw, PF_RT_BYTES_OUT, pf_counter_u64_fetch(&rule->bytes[1]));
sys/netpfil/pf/pf_nl.c
1786
nlattr_add_u64(nw, PF_SN_BYTES_IN, counter_u64_fetch(n->bytes[0]));
sys/netpfil/pf/pf_nl.c
1787
nlattr_add_u64(nw, PF_SN_BYTES_OUT, counter_u64_fetch(n->bytes[1]));
sys/netpfil/pf/pf_nl.c
206
nlattr_add_u64(nw, PF_ST_BYTES0, s->bytes[0]);
sys/netpfil/pf/pf_nl.c
207
nlattr_add_u64(nw, PF_ST_BYTES1, s->bytes[1]);
sys/netpfil/pf/pf_norm.c
1213
pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len);
sys/netpfil/pf/pf_norm.c
1364
pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len);
sys/netpfil/pf/pf_norm.c
1447
pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len);
sys/netpfil/pf/pf_norm.c
2198
pf_counter_u64_add_protected(&r->bytes[pd->dir == PF_OUT], pd->tot_len);
sys/netpfil/pf/pf_nv.c
1114
counter_u64_fetch(krule->bytes[0]));
sys/netpfil/pf/pf_nv.c
1116
counter_u64_fetch(krule->bytes[1]));
sys/netpfil/pf/pf_nv.c
740
pf_counter_u64_fetch(&rule->bytes[i]));
sys/netpfil/pf/pf_nv.c
995
s->bytes[i]);
sys/netpfil/pf/pflow.c
1016
if (st->bytes[0] != 0) /* first flow from state */ {
sys/netpfil/pf/pflow.c
1027
if (st->bytes[1] != 0) /* second flow from state */ {
sys/netpfil/pf/pflow.c
1049
if (st->bytes[0] != 0) /* first flow from state */
sys/netpfil/pf/pflow.c
1052
if (st->bytes[1] != 0) /* second flow from state */
sys/netpfil/pf/pflow.c
644
flow1->flow_octets = htonl(st->bytes[0]);
sys/netpfil/pf/pflow.c
645
flow2->flow_octets = htonl(st->bytes[1]);
sys/netpfil/pf/pflow.c
678
flow1->flow_octets = htobe64(st->bytes[0]);
sys/netpfil/pf/pflow.c
679
flow2->flow_octets = htobe64(st->bytes[1]);
sys/netpfil/pf/pflow.c
717
flow1->flow_octets = htobe64(st->bytes[0]);
sys/netpfil/pf/pflow.c
718
flow2->flow_octets = htobe64(st->bytes[1]);
sys/netpfil/pf/pflow.c
796
u_int64_t bytes[2];
sys/netpfil/pf/pflow.c
803
if ((st->bytes[0] < (u_int64_t)PFLOW_MAXBYTES)
sys/netpfil/pf/pflow.c
804
&& (st->bytes[1] < (u_int64_t)PFLOW_MAXBYTES))
sys/netpfil/pf/pflow.c
809
bytes[0] = pfs_copy.bytes[0];
sys/netpfil/pf/pflow.c
810
bytes[1] = pfs_copy.bytes[1];
sys/netpfil/pf/pflow.c
812
while (bytes[0] > PFLOW_MAXBYTES) {
sys/netpfil/pf/pflow.c
813
pfs_copy.bytes[0] = PFLOW_MAXBYTES;
sys/netpfil/pf/pflow.c
814
pfs_copy.bytes[1] = 0;
sys/netpfil/pf/pflow.c
818
if ((bytes[0] - PFLOW_MAXBYTES) > 0)
sys/netpfil/pf/pflow.c
819
bytes[0] -= PFLOW_MAXBYTES;
sys/netpfil/pf/pflow.c
822
while (bytes[1] > (u_int64_t)PFLOW_MAXBYTES) {
sys/netpfil/pf/pflow.c
823
pfs_copy.bytes[1] = PFLOW_MAXBYTES;
sys/netpfil/pf/pflow.c
824
pfs_copy.bytes[0] = 0;
sys/netpfil/pf/pflow.c
828
if ((bytes[1] - PFLOW_MAXBYTES) > 0)
sys/netpfil/pf/pflow.c
829
bytes[1] -= PFLOW_MAXBYTES;
sys/netpfil/pf/pflow.c
832
pfs_copy.bytes[0] = bytes[0];
sys/netpfil/pf/pflow.c
833
pfs_copy.bytes[1] = bytes[1];
sys/netpfil/pf/pflow.c
972
if (st->bytes[0] != 0) /* first flow from state */
sys/netpfil/pf/pflow.c
975
if (st->bytes[1] != 0) /* second flow from state */
sys/ofed/drivers/infiniband/ulp/sdp/sdp_zcopy.c
329
int bytes = 0;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_zcopy.c
332
bytes += sge->length;
sys/ofed/drivers/infiniband/ulp/sdp/sdp_zcopy.c
337
return bytes;
sys/powerpc/aim/mmu_oea64.c
1874
moea64_uma_page_alloc(uma_zone_t zone, vm_size_t bytes, int domain,
sys/powerpc/aim/slb.c
490
slb_uma_real_alloc(uma_zone_t zone, vm_size_t bytes, int domain,
sys/powerpc/mpc85xx/pci_mpc85xx.c
450
u_int reg, int bytes)
sys/powerpc/mpc85xx/pci_mpc85xx.c
465
switch (bytes) {
sys/powerpc/mpc85xx/pci_mpc85xx.c
488
u_int reg, uint32_t data, int bytes)
sys/powerpc/mpc85xx/pci_mpc85xx.c
503
switch (bytes) {
sys/powerpc/mpc85xx/pci_mpc85xx.c
560
u_int reg, int bytes)
sys/powerpc/mpc85xx/pci_mpc85xx.c
568
return (fsl_pcib_cfgread(sc, bus, slot, func, reg, bytes));
sys/powerpc/mpc85xx/pci_mpc85xx.c
573
u_int reg, uint32_t val, int bytes)
sys/powerpc/mpc85xx/pci_mpc85xx.c
580
fsl_pcib_cfgwrite(sc, bus, slot, func, reg, val, bytes);
sys/powerpc/powerpc/uma_machdep.c
46
uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain, u_int8_t *flags,
sys/powerpc/ps3/ps3-hvcall.h
91
int lv1_read_virtual_uart(uint64_t port, uint64_t buffer, uint64_t bytes, uint64_t *bytes_read);
sys/powerpc/ps3/ps3-hvcall.h
92
int lv1_write_virtual_uart(uint64_t port, uint64_t buffer, uint64_t bytes, uint64_t *bytes_written);
sys/powerpc/pseries/phyp_console.c
361
char bytes[16];
sys/powerpc/pseries/phyp_console.c
376
cbuf.bytes[0] = VS_DATA_PACKET_HEADER;
sys/powerpc/pseries/phyp_console.c
377
cbuf.bytes[1] = 4 + bufsize; /* total length, max 16 bytes */
sys/powerpc/pseries/phyp_console.c
378
cbuf.bytes[2] = (seqno >> 8) & 0xff;
sys/powerpc/pseries/phyp_console.c
379
cbuf.bytes[3] = seqno & 0xff;
sys/powerpc/pseries/phyp_console.c
380
memcpy(&cbuf.bytes[4], buffer, bufsize);
sys/powerpc/pseries/phyp_dbg.c
150
unsigned char bytes[8];
sys/powerpc/pseries/phyp_dbg.c
153
cbuf.bytes[0] = (unsigned char)c;
sys/riscv/sifive/sifive_spi.c
185
uint32_t bytes;
sys/riscv/sifive/sifive_spi.c
192
bytes = (txlen > SFSPI_FIFO_DEPTH) ? SFSPI_FIFO_DEPTH : txlen;
sys/riscv/sifive/sifive_spi.c
193
sfspi_tx(sc, txbuf, bytes);
sys/riscv/sifive/sifive_spi.c
194
txbuf += bytes;
sys/riscv/sifive/sifive_spi.c
195
sfspi_rx(sc, rxbuf, bytes);
sys/riscv/sifive/sifive_spi.c
196
rxbuf += bytes;
sys/riscv/sifive/sifive_spi.c
197
txlen -= bytes;
sys/riscv/starfive/jh7110_pcie.c
166
u_int reg, int bytes)
sys/riscv/starfive/jh7110_pcie.c
178
switch (bytes) {
sys/riscv/starfive/jh7110_pcie.c
197
u_int reg, uint32_t val, int bytes)
sys/riscv/starfive/jh7110_pcie.c
209
switch (bytes) {
sys/security/audit/bsm_token.c
556
au_to_opaque(const char *data, u_int16_t bytes)
sys/security/audit/bsm_token.c
561
GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int16_t) + bytes);
sys/security/audit/bsm_token.c
564
ADD_U_INT16(dptr, bytes);
sys/security/audit/bsm_token.c
565
ADD_MEM(dptr, data, bytes);
sys/sys/devicestat.h
155
u_int64_t bytes[DEVSTAT_N_TRANS_FLAGS];
sys/sys/devicestat.h
199
void devstat_end_transaction(struct devstat *ds, u_int32_t bytes,
sys/sys/malloc.h
298
extern void *Malloc(size_t bytes, const char *file, int line);
sys/sys/param.h
242
#define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \
sys/sys/param.h
243
(sizeof (bytes) > sizeof(long) \
sys/sys/param.h
244
? (daddr_t)((unsigned long long)(bytes) >> DEV_BSHIFT) \
sys/sys/param.h
245
: (daddr_t)((unsigned long)(bytes) >> DEV_BSHIFT))
sys/sys/soundcard.h
820
int bytes; /* Avail. space in bytes (includes partly used fragments) */
sys/sys/soundcard.h
930
int bytes; /* Total # of bytes processed */
sys/teken/teken_wcwidth.h
134
teken_utf8_bytes_to_codepoint(uint8_t bytes[4], int nbytes)
sys/teken/teken_wcwidth.h
153
if (__builtin_clz(~(bytes[0] & 0xf0) << 24) != nbytes)
sys/teken/teken_wcwidth.h
158
return (bytes[0] & 0x7f);
sys/teken/teken_wcwidth.h
160
return (bytes[0] & 0x1f) << 6 | (bytes[1] & 0x3f);
sys/teken/teken_wcwidth.h
162
return (bytes[0] & 0xf) << 12 | (bytes[1] & 0x3f) << 6 |
sys/teken/teken_wcwidth.h
163
(bytes[2] & 0x3f);
sys/teken/teken_wcwidth.h
165
return (bytes[0] & 0x7) << 18 | (bytes[1] & 0x3f) << 12 |
sys/teken/teken_wcwidth.h
166
(bytes[2] & 0x3f) << 6 | (bytes[3] & 0x3f);
sys/ufs/ffs/ffs_softdep.c
2786
int bytes,
sys/ufs/ffs/ffs_softdep.c
2794
blocks = bytes / DEV_BSIZE;
sys/ufs/ffs/ffs_softdep.c
2817
int bytes)
sys/ufs/ffs/ffs_softdep.c
2821
jblocks->jb_free += bytes / DEV_BSIZE;
sys/vm/uma_core.c
1876
startup_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag,
sys/vm/uma_core.c
1883
pages = howmany(bytes, PAGE_SIZE);
sys/vm/uma_core.c
1907
startup_free(void *mem, vm_size_t bytes)
sys/vm/uma_core.c
1919
if (va >= bootstart && va + bytes <= bootmem)
sys/vm/uma_core.c
1920
pmap_remove(kernel_pmap, va, va + bytes);
sys/vm/uma_core.c
1921
for (; bytes != 0; bytes -= PAGE_SIZE, m++) {
sys/vm/uma_core.c
1942
page_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag,
sys/vm/uma_core.c
1948
p = kmem_malloc_domainset(DOMAINSET_FIXED(domain), bytes, wait);
sys/vm/uma_core.c
1954
pcpu_page_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag,
sys/vm/uma_core.c
1965
MPASS(bytes == (mp_maxid + 1) * PAGE_SIZE);
sys/vm/uma_core.c
1991
if ((addr = kva_alloc(bytes)) == 0)
sys/vm/uma_core.c
2019
noobj_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *flags,
sys/vm/uma_core.c
2035
npages = howmany(bytes, PAGE_SIZE);
sys/vm/uma_core.c
2055
atomic_fetchadd_long(&keg->uk_offset, round_page(bytes));
sys/vm/uma_core.c
2069
contig_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag,
sys/vm/uma_core.c
2075
bytes, wait, 0, ~(vm_paddr_t)0, 1, 0, VM_MEMATTR_DEFAULT));
sys/vm/uma_core.c
2080
uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *flags,
sys/vm/uma_int.h
671
void *uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain,
sys/vm/vm_map.c
187
kmapent_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag,
sys/vm/vm_map.c
197
addr = vm_map_findspace(kernel_map, vm_map_min(kernel_map), bytes);
sys/vm/vm_map.c
198
if (addr + bytes < addr || addr + bytes > vm_map_max(kernel_map))
sys/vm/vm_map.c
200
error = vm_map_insert(kernel_map, NULL, 0, addr, addr + bytes,
sys/vm/vm_map.c
206
error = kmem_back_domain(domain, kernel_object, addr, bytes, M_NOWAIT |
sys/vm/vm_map.c
213
vm_map_delete(kernel_map, addr, bytes);
sys/vm/vnode_pager.c
1261
int bytes = ptoa(count);
sys/vm/vnode_pager.c
1283
rtval = VOP_PUTPAGES(vp, m, bytes, flags, rtvals);
sys/x86/include/legacyvar.h
51
u_int func, u_int reg, int bytes);
sys/x86/include/legacyvar.h
55
u_int func, u_int reg, uint32_t data, int bytes);
sys/x86/include/pci_cfgreg.h
61
u_int32_t pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes);
sys/x86/include/pci_cfgreg.h
62
void pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, u_int32_t data, int bytes);
sys/x86/iommu/amd_cmd.c
119
int bytes;
sys/x86/iommu/amd_cmd.c
123
bytes = descr_count << AMDIOMMU_CMD_SZ_SHIFT;
sys/x86/iommu/amd_cmd.c
125
if (bytes <= unit->x86c.inv_queue_avail)
sys/x86/iommu/amd_cmd.c
134
if (bytes <= unit->x86c.inv_queue_avail)
sys/x86/iommu/amd_cmd.c
151
unit->x86c.inv_queue_avail -= bytes;
sys/x86/iommu/intel_qi.c
102
int bytes;
sys/x86/iommu/intel_qi.c
106
bytes = descr_count << DMAR_IQ_DESCR_SZ_SHIFT;
sys/x86/iommu/intel_qi.c
108
if (bytes <= unit->x86c.inv_queue_avail)
sys/x86/iommu/intel_qi.c
117
if (bytes <= unit->x86c.inv_queue_avail)
sys/x86/iommu/intel_qi.c
134
unit->x86c.inv_queue_avail -= bytes;
sys/x86/pci/pci_bus.c
64
u_int reg, int bytes)
sys/x86/pci/pci_bus.c
66
return(pci_cfgregread(0, bus, slot, func, reg, bytes));
sys/x86/pci/pci_bus.c
73
u_int reg, uint32_t data, int bytes)
sys/x86/pci/pci_bus.c
75
pci_cfgregwrite(0, bus, slot, func, reg, data, bytes);
tests/sys/audit/utils.c
56
int reclen, bytes = 0;
tests/sys/audit/utils.c
72
while (bytes < reclen) {
tests/sys/audit/utils.c
73
if (au_fetch_tok(&token, buff + bytes, reclen - bytes) == -1) {
tests/sys/audit/utils.c
81
bytes += token.len;
tests/sys/capsicum/ioctl.cc
129
int bytes;
tests/sys/capsicum/ioctl.cc
130
EXPECT_OK(ioctl(fd, FIONREAD, &bytes));
tests/sys/capsicum/ioctl.cc
137
EXPECT_OK(ioctl(fd, FIONREAD, &bytes));
tests/sys/capsicum/ioctl.cc
158
EXPECT_OK(ioctl(fd_nread, FIONREAD, &bytes));
tests/sys/capsicum/ioctl.cc
159
EXPECT_NOTCAPABLE(ioctl(fd_clex, FIONREAD, &bytes));
tests/sys/capsicum/ioctl.cc
182
EXPECT_NOTCAPABLE(ioctl(fd, FIONREAD, &bytes));
tests/sys/capsicum/ioctl.cc
27
int bytes;
tests/sys/capsicum/ioctl.cc
28
EXPECT_OK(ioctl(fd, FIONREAD, &bytes));
tests/sys/capsicum/ioctl.cc
29
EXPECT_NOTCAPABLE(ioctl(fd_no, FIONREAD, &bytes));
tests/sys/capsicum/ioctl.cc
46
int bytes;
tests/sys/capsicum/ioctl.cc
47
EXPECT_OK(ioctl(fd, FIONREAD, &bytes));
tests/sys/cddl/zfs/bin/readmmap.c
114
bytes = pread(fd, buf, size, 0);
tests/sys/cddl/zfs/bin/readmmap.c
115
if (bytes != size) {
tests/sys/cddl/zfs/bin/readmmap.c
116
(void) printf("short read: %d != %zu\n", bytes, size);
tests/sys/cddl/zfs/bin/readmmap.c
58
int fd = -1, bytes, retval = 0;
tests/sys/cddl/zfs/bin/readmmap.c
83
bytes = write(fd, buf, size);
tests/sys/cddl/zfs/bin/readmmap.c
84
if (bytes != size) {
tests/sys/cddl/zfs/bin/readmmap.c
85
(void) printf("short write: %d != %zu\n", bytes, size);
tests/sys/fifo/fifo_kqueue.c
224
ssize_t bytes, i, n;
tests/sys/fifo/fifo_kqueue.c
235
bytes = 0;
tests/sys/fifo/fifo_kqueue.c
238
bytes++;
tests/sys/fifo/fifo_kqueue.c
241
ATF_REQUIRE(bytes > 1);
tests/sys/fifo/fifo_kqueue.c
243
for (i = 0; i < bytes / 2; i++)
tests/sys/fifo/fifo_kqueue.c
245
bytes -= i;
tests/sys/fifo/fifo_kqueue.c
260
ATF_REQUIRE(kev[0].data == bytes);
tests/sys/fifo/fifo_kqueue.c
263
while (bytes-- > 0)
tests/sys/fs/fusefs/bmap.cc
250
assert(osize < sizeof(out.body.bytes));
tests/sys/fs/fusefs/bmap.cc
252
bzero(out.body.bytes, osize);
tests/sys/fs/fusefs/bmap.cc
311
assert(osize < sizeof(out.body.bytes));
tests/sys/fs/fusefs/bmap.cc
313
bzero(out.body.bytes, osize);
tests/sys/fs/fusefs/copy_file_range.cc
82
const char *buf = (const char*)in.body.bytes +
tests/sys/fs/fusefs/create.cc
227
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/create.cc
50
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/create.cc
75
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/create.cc
99
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/default_permissions.cc
765
memcpy((void*)out.body.bytes, value, value_len);
tests/sys/fs/fusefs/default_permissions.cc
95
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/fallocate.cc
70
assert(in.body.read.size <= sizeof(out.body.bytes));
tests/sys/fs/fusefs/fallocate.cc
73
memset(out.body.bytes, 'X', in.body.read.size);
tests/sys/fs/fusefs/fallocate.cc
77
const char *buf = (const char*)in.body.bytes +
tests/sys/fs/fusefs/fallocate.cc
80
assert(length <= sizeof(in.body.bytes) -
tests/sys/fs/fusefs/io.cc
140
const char *buf = (const char*)in.body.bytes +
tests/sys/fs/fusefs/io.cc
145
assert((size_t)isize <= sizeof(in.body.bytes) -
tests/sys/fs/fusefs/io.cc
161
void *buf = out.body.bytes;
tests/sys/fs/fusefs/io.cc
164
assert((size_t)isize <= sizeof(out.body.bytes));
tests/sys/fs/fusefs/ioctl.cc
66
uint8_t *in_buf = in.body.bytes + sizeof(in.body.ioctl);
tests/sys/fs/fusefs/ioctl.cc
67
uint8_t *out_buf = out.body.bytes + sizeof(out.body.ioctl);
tests/sys/fs/fusefs/link.cc
164
const char *name = (const char*)in.body.bytes
tests/sys/fs/fusefs/link.cc
204
const char *name = (const char*)in.body.bytes
tests/sys/fs/fusefs/link.cc
46
const char *name = (const char*)in.body.bytes
tests/sys/fs/fusefs/link.cc
80
const char *name = (const char*)in.body.bytes
tests/sys/fs/fusefs/mkdir.cc
137
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mkdir.cc
175
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mkdir.cc
217
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mkdir.cc
258
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mkdir.cc
64
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mkdir.cc
99
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mknod.cc
119
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mknod.cc
190
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mknod.cc
76
const char *name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mockfs.cc
199
name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mockfs.cc
202
name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mockfs.cc
276
name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mockfs.cc
283
name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mockfs.cc
286
name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mockfs.cc
318
const char *src = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mockfs.cc
366
name = (const char*)in.body.bytes +
tests/sys/fs/fusefs/mockfs.cc
400
name = (const char*)out.body.bytes +
tests/sys/fs/fusefs/mockfs.cc
862
strlcpy((char*)&out->body.bytes + sizeof(out->body.inval_entry),
tests/sys/fs/fusefs/mockfs.cc
863
name, sizeof(out->body.bytes) - sizeof(out->body.inval_entry));
tests/sys/fs/fusefs/mockfs.cc
895
bcopy(data, (char*)&out->body.bytes + sizeof(out->body.store), size);
tests/sys/fs/fusefs/mockfs.hh
157
uint8_t bytes[
tests/sys/fs/fusefs/mockfs.hh
210
uint8_t bytes[0x40000];
tests/sys/fs/fusefs/notify.cc
601
strlcpy((char*)&out->body.bytes + sizeof(out->body.inval_entry),
tests/sys/fs/fusefs/notify.cc
602
name, sizeof(out->body.bytes) - sizeof(out->body.inval_entry));
tests/sys/fs/fusefs/read.cc
1027
memmove(out.body.bytes, CONTENTS, bufsize);
tests/sys/fs/fusefs/read.cc
1243
memmove(out.body.bytes, CONTENTS, bufsize);
tests/sys/fs/fusefs/read.cc
1511
memmove(out.body.bytes, CONTENTS, bufsize);
tests/sys/fs/fusefs/read.cc
500
memmove(out.body.bytes, CONTENTS, size1);
tests/sys/fs/fusefs/read.cc
529
memmove(out.body.bytes, CONTENTS, size2);
tests/sys/fs/fusefs/rename.cc
112
const char *src = (const char*)in.body.bytes +
tests/sys/fs/fusefs/rename.cc
147
const char *src = (const char*)in.body.bytes +
tests/sys/fs/fusefs/rename.cc
290
const char *src = (const char*)in.body.bytes +
tests/sys/fs/fusefs/rename.cc
335
const char *src = (const char*)in.body.bytes +
tests/sys/fs/fusefs/rename.cc
408
const char *src = (const char*)in.body.bytes +
tests/sys/fs/fusefs/setattr.cc
526
assert(osize <= sizeof(out.body.bytes));
tests/sys/fs/fusefs/setattr.cc
529
memset(out.body.bytes, 'X', osize);
tests/sys/fs/fusefs/setattr.cc
531
bzero(out.body.bytes, osize);
tests/sys/fs/fusefs/symlink.cc
140
const char *name = (const char*)in.body.bytes;
tests/sys/fs/fusefs/symlink.cc
48
const char *name = (const char*)in.body.bytes;
tests/sys/fs/fusefs/symlink.cc
77
const char *name = (const char*)in.body.bytes;
tests/sys/fs/fusefs/utils.cc
287
const char *a = (const char*)in.body.bytes +
tests/sys/fs/fusefs/utils.cc
394
assert(osize <= sizeof(out.body.bytes));
tests/sys/fs/fusefs/utils.cc
396
memmove(out.body.bytes, contents, osize);
tests/sys/fs/fusefs/utils.cc
492
const char *buf = (const char*)in.body.bytes +
tests/sys/fs/fusefs/utils.cc
497
assert(isize <= sizeof(in.body.bytes) -
tests/sys/fs/fusefs/utils.cc
528
const char *buf = (const char*)in.body.bytes +
tests/sys/fs/fusefs/utils.cc
532
assert(isize <= sizeof(in.body.bytes) -
tests/sys/fs/fusefs/write.cc
100
assert(size <= sizeof(in.body.bytes) -
tests/sys/fs/fusefs/write.cc
97
const char *buf = (const char*)in.body.bytes +
tests/sys/fs/fusefs/xattr.cc
112
const char *a = (const char*)in.body.bytes +
tests/sys/fs/fusefs/xattr.cc
135
const char *a = (const char *)in.body.bytes +
tests/sys/fs/fusefs/xattr.cc
317
memcpy((void*)out.body.bytes, value, value_len);
tests/sys/fs/fusefs/xattr.cc
342
memcpy((void*)out.body.bytes, value, value_len);
tests/sys/fs/fusefs/xattr.cc
415
memcpy((void*)out.body.bytes, attrs, sizeof(attrs));
tests/sys/fs/fusefs/xattr.cc
535
strlcpy((char*)out.body.bytes, attrs, l);
tests/sys/fs/fusefs/xattr.cc
586
memcpy((char*)out.body.bytes, attrs1, sizeof(attrs1));
tests/sys/fs/fusefs/xattr.cc
616
memcpy((char*)out.body.bytes, attrs1, sizeof(attrs1));
tests/sys/fs/fusefs/xattr.cc
641
memcpy(&out.body.bytes[16 * i], l, 16);
tests/sys/fs/fusefs/xattr.cc
673
memcpy((void*)out.body.bytes, attrs, sizeof(attrs));
tests/sys/fs/fusefs/xattr.cc
705
memcpy((void*)out.body.bytes, attrs, sizeof(attrs));
tests/sys/fs/fusefs/xattr.cc
94
const char *a = (const char*)in.body.bytes;
tests/sys/fs/tarfs/tarsum.c
39
uint8_t bytes[512];
tests/sys/fs/tarfs/tarsum.c
68
sum += ustar.bytes[i];
tests/sys/kern/pipe/pipe_kqueue_test.c
244
ssize_t bytes, n;
tests/sys/kern/pipe/pipe_kqueue_test.c
252
bytes = 0;
tests/sys/kern/pipe/pipe_kqueue_test.c
255
bytes++;
tests/sys/kern/pipe/pipe_kqueue_test.c
286
ATF_REQUIRE(kev[0].data == bytes);
tests/sys/kern/pipe/pipe_kqueue_test.c
297
ssize_t bytes, n;
tests/sys/kern/pipe/pipe_kqueue_test.c
324
bytes = 0;
tests/sys/kern/pipe/pipe_kqueue_test.c
327
bytes++;
tests/sys/kern/pipe/pipe_kqueue_test.c
348
ATF_REQUIRE(kev[1].data == bytes);
tests/sys/kern/socket_splice.c
822
uint32_t bytes;
tests/sys/kern/socket_splice.c
841
sz = MIN(xfer->bytes, 1024 * 1024);
tests/sys/kern/socket_splice.c
848
for (resid = xfer->bytes; xfer->bytes > 0 || resid > 0;) {
tests/sys/kern/socket_splice.c
849
n = write(xfer->fd, buf, MIN(sz, xfer->bytes));
tests/sys/kern/socket_splice.c
854
ATF_REQUIRE(xfer->bytes >= (size_t)n);
tests/sys/kern/socket_splice.c
855
xfer->bytes -= n;
tests/sys/kern/socket_splice.c
882
uint32_t bytes;
tests/sys/kern/socket_splice.c
886
bytes = arc4random_uniform(1024 * 1024 * 1024) + 1;
tests/sys/kern/socket_splice.c
893
.bytes = bytes,
tests/sys/kern/socket_splice.c
898
.bytes = bytes,
tests/sys/kern/tty_pts.c
24
int bytes;
tests/sys/kern/tty_pts.c
29
ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes));
tests/sys/kern/tty_pts.c
30
ATF_REQUIRE_EQ(0, bytes);
tests/sys/kern/tty_pts.c
33
ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes));
tests/sys/kern/tty_pts.c
34
ATF_REQUIRE_EQ(sizeof(buf) - 1, bytes);
tests/sys/kern/tty_pts.c
38
ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes));
tests/sys/kern/tty_pts.c
39
ATF_REQUIRE_EQ(0, bytes);
tests/sys/kern/tty_pts.c
46
ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes));
tests/sys/kern/tty_pts.c
47
ATF_REQUIRE_EQ(sizeof(buf) - 1, bytes);
tests/sys/kern/tty_pts.c
55
ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes));
tests/sys/kern/tty_pts.c
56
ATF_REQUIRE_EQ(0, bytes);
tests/sys/net/bpf/bpf_multi_read.c
36
const unsigned char *bytes __unused)
tests/sys/net/bpf/pcap-test.c
144
inject_packet(u_char *user, const struct pcap_pkthdr *h, const u_char *bytes)
tests/sys/net/bpf/pcap-test.c
151
if (pcap_inject(p, bytes, h->caplen) != (int)h->caplen)
tests/sys/net/bpf/pcap-test.c
182
store_packet(u_char *user, const struct pcap_pkthdr *h, const u_char *bytes)
tests/sys/net/bpf/pcap-test.c
188
p->data = bytes;
tests/sys/netinet/fibs_multibind_test.c
663
int bytes, rs;
tests/sys/netinet/fibs_multibind_test.c
670
error = ioctl(s[0], FIONREAD, &bytes);
tests/sys/netinet/fibs_multibind_test.c
673
if (bytes == 0) {
tests/sys/netinet/fibs_multibind_test.c
674
error = ioctl(s[1], FIONREAD, &bytes);
tests/sys/netinet/fibs_multibind_test.c
684
ATF_REQUIRE(bytes == 1);
tools/build/bootstrap-m4/inittokenizer.c
300
YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
tools/build/cross-build/include/linux/libutil.h
47
int humanize_number(char *buf, size_t len, int64_t bytes, const char *suffix,
tools/test/xregs_sig/xregs_sig.c
125
arc4random_buf(xregs, xregs_banks[bank].regs * xregs_banks[bank].bytes);
tools/test/xregs_sig/xregs_sig.c
133
for (k = 0; k < xregs_banks[bank].bytes; k++) {
tools/test/xregs_sig/xregs_sig.c
155
r1 = xregs1 + i * xregs_banks[bank].bytes;
tools/test/xregs_sig/xregs_sig.c
156
r2 = xregs2 + i * xregs_banks[bank].bytes;
tools/test/xregs_sig/xregs_sig.c
157
for (j = 0; j < xregs_banks[bank].bytes; j++) {
tools/test/xregs_sig/xregs_sig.c
178
int sz = xregs_banks[bank].regs * xregs_banks[bank].bytes;
tools/test/xregs_sig/xregs_sig.c
244
xregs_banks[bank].b_name, xregs_banks[bank].regs, xregs_banks[bank].bytes);
tools/test/xregs_sig/xregs_sig.c
52
uint32_t bytes;
tools/test/xregs_sig/xregs_sig.c
70
.bytes = 16,
tools/test/xregs_sig/xregs_sig.c
78
.bytes = 32,
tools/test/xregs_sig/xregs_sig.c
92
.bytes = 16,
tools/tools/ioat/ioatcontrol.c
250
uintmax_t bytes;
tools/tools/ioat/ioatcontrol.c
269
bytes = (uintmax_t)t->buffer_size * t->status[IOAT_TEST_OK];
tools/tools/ioat/ioatcontrol.c
271
humanize_number(bytesh, sizeof(bytesh), (int64_t)bytes, "B",
tools/tools/ioat/ioatcontrol.c
275
(int64_t)1000 * bytes / t->duration, "B/s", HN_AUTOSCALE,
tools/tools/ioat/ioatcontrol.c
277
printf("%ju (%s) copied in %u ms (%s)\n", bytes, bytesh,
tools/tools/ioat/ioatcontrol.c
280
printf("%ju (%s) copied\n", bytes, bytesh);
tools/tools/kttcp/kttcp.c
78
unsigned long long bytes;
tools/tools/kttcp/kttcp.c
81
bytes = strtoull(str, &cp, 10);
tools/tools/kttcp/kttcp.c
82
if (bytes == ULLONG_MAX && errno == ERANGE)
tools/tools/kttcp/kttcp.c
89
bytes *= 1024;
tools/tools/kttcp/kttcp.c
91
bytes *= 1024 * 1024;
tools/tools/kttcp/kttcp.c
93
bytes *= 1024 * 1024 * 1024;
tools/tools/kttcp/kttcp.c
98
return (bytes);
tools/tools/netmap/ctrs.h
9
uint64_t pkts, bytes, events;
tools/tools/netmap/lb.c
258
cur.bytes += c->bytes;
tools/tools/netmap/lb.c
263
x.bytes = c->bytes - pipe_prev[j].bytes;
tools/tools/netmap/lb.c
267
bps = ((x.bytes*1000000 + usec/2) / usec) * 8;
tools/tools/netmap/lb.c
304
x.bytes = cur.bytes - prev.bytes;
tools/tools/netmap/lb.c
308
bps = ((x.bytes*1000000 + usec/2) / usec) * 8;
tools/tools/netmap/lb.c
541
port->ctr.bytes += rs->len;
tools/tools/netmap/nmreplay.c
1480
(20 bytes framing + 4 bytes crc)
tools/tools/netmap/pkt-gen.c
1460
targ->ctr.bytes = sent*size;
tools/tools/netmap/pkt-gen.c
1722
targ->ctr.bytes = sent*size;
tools/tools/netmap/pkt-gen.c
1737
targ->ctr.bytes = sent*size;
tools/tools/netmap/pkt-gen.c
1836
targ->ctr.bytes += m*size;
tools/tools/netmap/pkt-gen.c
1868
targ->ctr.bytes = sent*size;
tools/tools/netmap/pkt-gen.c
1881
const u_char * bytes)
tools/tools/netmap/pkt-gen.c
1884
(void)bytes; /* UNUSED */
tools/tools/netmap/pkt-gen.c
1885
ctr->bytes += h->len;
tools/tools/netmap/pkt-gen.c
1892
receive_packets(struct netmap_ring *ring, u_int limit, int dump, uint64_t *bytes)
tools/tools/netmap/pkt-gen.c
1898
if (bytes == NULL)
tools/tools/netmap/pkt-gen.c
1899
bytes = &b;
tools/tools/netmap/pkt-gen.c
1909
*bytes += slot->len;
tools/tools/netmap/pkt-gen.c
1965
targ->ctr.bytes += i;
tools/tools/netmap/pkt-gen.c
2016
m = receive_packets(rxring, targ->g->burst, dump, &cur.bytes);
tools/tools/netmap/pkt-gen.c
2199
targ->ctr.bytes = sent * size;
tools/tools/netmap/pkt-gen.c
2220
targ->ctr.bytes = sent * size;
tools/tools/netmap/pkt-gen.c
2410
cur.bytes += slot->len;
tools/tools/netmap/pkt-gen.c
2451
size = (int)(cur->bytes / cur->pkts);
tools/tools/netmap/pkt-gen.c
2456
(unsigned long long)cur->bytes,
tools/tools/netmap/pkt-gen.c
2463
bw = (8.0 * cur->bytes) / delta;
tools/tools/netmap/pkt-gen.c
2464
raw_bw = (8.0 * cur->bytes + cur->pkts * g->framing) / delta;
tools/tools/netmap/pkt-gen.c
2717
prev.pkts = prev.bytes = prev.events = 0;
tools/tools/netmap/pkt-gen.c
2729
cur.pkts = cur.bytes = cur.events = 0;
tools/tools/netmap/pkt-gen.c
2736
cur.bytes += targs[i].ctr.bytes;
tools/tools/netmap/pkt-gen.c
2744
x.bytes = cur.bytes - prev.bytes;
tools/tools/netmap/pkt-gen.c
2783
norm(b3, 1000000*((double)x.bytes*8+(double)x.pkts*g->framing)/usec, normalize),
tools/tools/netmap/pkt-gen.c
2794
cur.pkts = cur.bytes = cur.events = 0;
tools/tools/netmap/pkt-gen.c
2819
cur.bytes += targs[i].ctr.bytes;
tools/tools/usbtest/usb_modem_test.c
320
(int)p->rx_bytes.bytes,
tools/tools/usbtest/usb_modem_test.c
321
(int)p->tx_bytes.bytes,
tools/tools/usbtest/usb_modem_test.c
324
p->rx_bytes.bytes = 0;
tools/tools/usbtest/usb_modem_test.c
325
p->tx_bytes.bytes = 0;
tools/tools/usbtest/usb_modem_test.c
85
bps->bytes += len;
tools/tools/usbtest/usbtest.h
35
uint32_t bytes;
tools/tools/zfsboottest/zfsboottest.c
76
vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes)
tools/tools/zfsboottest/zfsboottest.c
80
if (pread(fd, buf, bytes, off) != bytes)
usr.bin/ar/acpyacc.y
330
size_t bytes;
usr.bin/ar/acpyacc.y
341
for (buf = p, bytes = sb.st_size; bytes > 0; bytes -= w) {
usr.bin/ar/acpyacc.y
342
w = write(ofd, buf, bytes);
usr.bin/ar/acpyacc.y
350
if (bytes > 0)
usr.bin/ctlstat/ctlstat.c
262
total_bytes += cur_stats->bytes[i];
usr.bin/ctlstat/ctlstat.c
268
total_bytes -= prev_stats->bytes[i];
usr.bin/ctlstat/ctlstat.c
345
stats[i].bytes[iotype]);
usr.bin/ctlstat/ctlstat.c
376
stats[i].bytes[iotype]);
usr.bin/ctlstat/ctlstat.c
594
CTLSTAT_PROMETHEUS_LOOP(bytes, collector);
usr.bin/ctlstat/ctlstat.c
711
ctx->cur_total_stats[st].bytes[j] += \
usr.bin/ctlstat/ctlstat.c
712
ctx->cur_stats[i].bytes[j]
usr.bin/dtc/checking.hh
239
uint32_t bytes)
usr.bin/dtc/checking.hh
240
: property_checker(name, property_name), size(bytes) {}
usr.bin/dtc/fdt.cc
135
int bytes = 0;
usr.bin/dtc/fdt.cc
139
bytes++;
usr.bin/dtc/fdt.cc
161
if ((is_all_printable && (bytes > nuls)) || bytes == 0)
usr.bin/dtc/fdt.cc
263
std::vector<char> bytes;
usr.bin/dtc/fdt.cc
273
bytes.push_back(c);
usr.bin/dtc/fdt.cc
276
v.string_data = string(bytes.begin(), bytes.end());
usr.bin/dtc/fdt.cc
780
std::vector<char> bytes;
usr.bin/dtc/fdt.cc
783
bytes.push_back(structs[0]);
usr.bin/dtc/fdt.cc
786
name = string(bytes.begin(), bytes.end());
usr.bin/dtc/fdt.cc
787
bytes.clear();
usr.bin/dtc/fdt.cc
793
bytes.push_back(structs[0]);
usr.bin/dtc/fdt.cc
796
unit_address = string(bytes.begin(), bytes.end());
usr.bin/dtc/input_buffer.cc
1215
std::vector<char> bytes;
usr.bin/dtc/input_buffer.cc
1218
bytes.push_back(c);
usr.bin/dtc/input_buffer.cc
1220
return string(bytes.begin(), bytes.end());
usr.bin/dtc/input_buffer.cc
1244
std::vector<char> bytes;
usr.bin/dtc/input_buffer.cc
1247
bytes.push_back(c);
usr.bin/dtc/input_buffer.cc
1251
bytes.push_back(c);
usr.bin/dtc/input_buffer.cc
1254
return string(bytes.begin(), bytes.end());
usr.bin/dtc/input_buffer.cc
1260
std::vector<char> bytes;
usr.bin/dtc/input_buffer.cc
1263
bytes.push_back(c);
usr.bin/dtc/input_buffer.cc
1265
return string(bytes.begin(), bytes.end());
usr.bin/dtc/input_buffer.cc
1271
std::vector<char> bytes;
usr.bin/dtc/input_buffer.cc
1278
bytes.push_back(c);
usr.bin/dtc/input_buffer.cc
1280
return string(bytes.begin(), bytes.end());
usr.bin/du/du.c
469
prthumanval(const char *fmt, int64_t bytes)
usr.bin/du/du.c
474
bytes *= cblocksize;
usr.bin/du/du.c
477
bytes *= DEV_BSIZE;
usr.bin/du/du.c
481
humanize_number(buf, sizeof(buf), bytes, "", HN_AUTOSCALE, flags);
usr.bin/fetch/fetch.c
245
stat_bytes(char *str, size_t strsz, off_t bytes)
usr.bin/fetch/fetch.c
249
while (bytes > 9999 && prefix[1] != '\0') {
usr.bin/fetch/fetch.c
250
bytes /= 1024;
usr.bin/fetch/fetch.c
253
snprintf(str, strsz, "%4ju %cB", (uintmax_t)bytes, *prefix);
usr.bin/fetch/fetch.c
262
char bytes[16];
usr.bin/fetch/fetch.c
272
stat_bytes(bytes, sizeof bytes, (off_t)bps);
usr.bin/fetch/fetch.c
273
snprintf(str, strsz, "%sps", bytes);
usr.bin/fetch/fetch.c
283
char bytes[16], bps[16], eta[16];
usr.bin/fetch/fetch.c
300
stat_bytes(bytes, sizeof bytes, xs->rcvd);
usr.bin/fetch/fetch.c
301
setproctitle("%s [%s]", xs->name, bytes);
usr.bin/fetch/fetch.c
302
fprintf(stderr, " %s", bytes);
usr.bin/fetch/fetch.c
304
stat_bytes(bytes, sizeof bytes, xs->size);
usr.bin/fetch/fetch.c
307
bytes);
usr.bin/fetch/fetch.c
310
bytes);
usr.bin/fetch/fetch.c
366
char bytes[16], bps[16], eta[16];
usr.bin/fetch/fetch.c
373
stat_bytes(bytes, sizeof bytes, xs->rcvd);
usr.bin/fetch/fetch.c
376
fprintf(stderr, " %s %s %s\n", bytes, bps, eta);
usr.bin/lex/initscan.c
299
YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
usr.bin/quota/quota.c
255
prthumanval(int len, u_int64_t bytes)
usr.bin/quota/quota.c
262
humanize_number(buf, MIN(sizeof(buf), 5), bytes, "",
usr.bin/tail/extern.h
67
int bytes(FILE *, const char *, off_t);
usr.bin/tail/forward.c
150
if (bytes(fp, fn, off))
usr.bin/tail/reverse.c
87
bytes(fp, fn, off);
usr.bin/truss/syscalls.c
1979
size_t bytes = sizeof(struct pollfd) * numfds;
usr.bin/truss/syscalls.c
1982
if ((pfd = malloc(bytes)) == NULL)
usr.bin/truss/syscalls.c
1984
bytes);
usr.bin/truss/syscalls.c
1985
if (get_struct(pid, args[sc->offset], pfd, bytes) != -1) {
usr.bin/truss/syscalls.c
2006
size_t bytes = _howmany(numfds, _NFDBITS) * _NFDBITS;
usr.bin/truss/syscalls.c
2009
if ((fds = malloc(bytes)) == NULL)
usr.bin/truss/syscalls.c
2011
bytes);
usr.bin/truss/syscalls.c
2012
if (get_struct(pid, args[sc->offset], fds, bytes) != -1) {
usr.bin/truss/syscalls.c
2164
size_t bytes;
usr.bin/truss/syscalls.c
2173
bytes = sizeof(struct kevent) * numevents;
usr.bin/truss/syscalls.c
2174
if ((ke = malloc(bytes)) == NULL)
usr.bin/truss/syscalls.c
2177
bytes);
usr.bin/truss/syscalls.c
2181
ke, bytes) != -1) {
usr.bin/truss/syscalls.c
2198
size_t bytes;
usr.bin/truss/syscalls.c
2207
bytes = sizeof(struct freebsd11_kevent) * numevents;
usr.bin/truss/syscalls.c
2208
if ((ke11 = malloc(bytes)) == NULL)
usr.bin/truss/syscalls.c
2211
bytes);
usr.bin/truss/syscalls.c
2216
ke11, bytes) != -1) {
usr.bin/vtfontcvt/vtfontcvt.c
257
add_glyph(const uint8_t *bytes, unsigned int map_idx, int fallback)
usr.bin/vtfontcvt/vtfontcvt.c
266
hash = fnv_32_buf(bytes, wbytes * height, FNV1_32_INIT) % FONTCVT_NHASH;
usr.bin/vtfontcvt/vtfontcvt.c
268
if (memcmp(gl->g_data, bytes, wbytes * height) == 0) {
usr.bin/vtfontcvt/vtfontcvt.c
277
memcpy(gl->g_data, bytes, wbytes * height);
usr.bin/vtfontcvt/vtfontcvt.c
317
add_char(unsigned curchar, unsigned map_idx, uint8_t *bytes, uint8_t *bytes_r)
usr.bin/vtfontcvt/vtfontcvt.c
324
gl = add_glyph(bytes, 0, 1);
usr.bin/vtfontcvt/vtfontcvt.c
326
gl = add_glyph(bytes, map_idx, 0);
usr.bin/vtfontcvt/vtfontcvt.c
404
uint8_t *line, *bytes, *bytes_r;
usr.bin/vtfontcvt/vtfontcvt.c
467
bytes = xmalloc(wbytes * height);
usr.bin/vtfontcvt/vtfontcvt.c
493
memset(bytes, 0, wbytes * height);
usr.bin/vtfontcvt/vtfontcvt.c
523
rv = split_row(bytes + i * wbytes,
usr.bin/vtfontcvt/vtfontcvt.c
530
rv = add_char(curchar, map_idx, bytes,
usr.bin/vtfontcvt/vtfontcvt.c
541
free(bytes);
usr.bin/vtfontcvt/vtfontcvt.c
552
uint8_t *bytes = NULL, *bytes_r = NULL, *line = NULL;
usr.bin/vtfontcvt/vtfontcvt.c
560
if (bytes != NULL)
usr.bin/vtfontcvt/vtfontcvt.c
564
if (bytes != NULL)
usr.bin/vtfontcvt/vtfontcvt.c
568
if (bytes == NULL) {
usr.bin/vtfontcvt/vtfontcvt.c
569
bytes = xmalloc(wbytes * height);
usr.bin/vtfontcvt/vtfontcvt.c
594
rv = split_row(bytes + i * wbytes,
usr.bin/vtfontcvt/vtfontcvt.c
602
rv = add_char(curchar, map_idx, bytes,
usr.bin/vtfontcvt/vtfontcvt.c
610
free(bytes);
usr.sbin/bhyve/amd64/atkbdc.c
308
int port __unused, int bytes, uint32_t *eax, void *arg)
usr.sbin/bhyve/amd64/atkbdc.c
314
if (bytes != 1)
usr.sbin/bhyve/amd64/atkbdc.c
394
int port __unused, int bytes, uint32_t *eax, void *arg)
usr.sbin/bhyve/amd64/atkbdc.c
399
if (bytes != 1)
usr.sbin/bhyve/amd64/fwctl.c
531
int port __unused, int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/fwctl.c
535
if (bytes == 1)
usr.sbin/bhyve/amd64/fwctl.c
537
else if (bytes == 4)
usr.sbin/bhyve/amd64/fwctl.c
542
if (bytes == 2)
usr.sbin/bhyve/amd64/fwctl.c
544
else if (bytes == 4)
usr.sbin/bhyve/amd64/inout.c
103
int addrsize, bytes, flags, in, port, prot, rep;
usr.sbin/bhyve/amd64/inout.c
113
bytes = vmexit->u.inout.bytes;
usr.sbin/bhyve/amd64/inout.c
118
assert(bytes == 1 || bytes == 2 || bytes == 4);
usr.sbin/bhyve/amd64/inout.c
157
vis->seg_name, &vis->seg_desc, index, bytes,
usr.sbin/bhyve/amd64/inout.c
164
bytes, prot, iov, nitems(iov), &fault);
usr.sbin/bhyve/amd64/inout.c
173
if (vie_alignment_check(vis->paging.cpl, bytes,
usr.sbin/bhyve/amd64/inout.c
181
vm_copyin(iov, &val, bytes);
usr.sbin/bhyve/amd64/inout.c
183
retval = handler(ctx, in, port, bytes, &val, arg);
usr.sbin/bhyve/amd64/inout.c
188
vm_copyout(&val, iov, bytes);
usr.sbin/bhyve/amd64/inout.c
192
index -= bytes;
usr.sbin/bhyve/amd64/inout.c
194
index += bytes;
usr.sbin/bhyve/amd64/inout.c
221
val = eax & vie_size2mask(bytes);
usr.sbin/bhyve/amd64/inout.c
222
retval = handler(ctx, in, port, bytes, &val, arg);
usr.sbin/bhyve/amd64/inout.c
224
eax &= ~vie_size2mask(bytes);
usr.sbin/bhyve/amd64/inout.c
225
eax |= val & vie_size2mask(bytes);
usr.sbin/bhyve/amd64/inout.c
64
int port __unused, int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/inout.c
67
switch (bytes) {
usr.sbin/bhyve/amd64/inout.h
42
int bytes, uint32_t *eax, void *arg);
usr.sbin/bhyve/amd64/mptbl.c
89
uint8_t *bytes;
usr.sbin/bhyve/amd64/mptbl.c
92
for(bytes = base, sum = 0; len > 0; len--) {
usr.sbin/bhyve/amd64/mptbl.c
93
sum += *bytes++;
usr.sbin/bhyve/amd64/pci_lpc.c
213
int port, int bytes, uint32_t *eax, void *arg)
usr.sbin/bhyve/amd64/pci_lpc.c
220
switch (bytes) {
usr.sbin/bhyve/amd64/pci_lpc.c
425
pci_lpc_cfgwrite(struct pci_devinst *pi, int coff, int bytes, uint32_t val)
usr.sbin/bhyve/amd64/pci_lpc.c
429
if (bytes == 1) {
usr.sbin/bhyve/amd64/pm.c
159
int port __unused, int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/pm.c
162
if (bytes != 2)
usr.sbin/bhyve/amd64/pm.c
183
int port __unused, int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/pm.c
186
if (bytes != 2)
usr.sbin/bhyve/amd64/pm.c
236
int port __unused, int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/pm.c
240
if (bytes != 2)
usr.sbin/bhyve/amd64/pm.c
286
int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/pm.c
292
if (bytes != 1)
usr.sbin/bhyve/amd64/pm.c
310
int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/pm.c
312
if (bytes != 1)
usr.sbin/bhyve/amd64/pm.c
334
int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/pm.c
338
if (bytes != 1)
usr.sbin/bhyve/amd64/pm.c
61
int port __unused, int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/pm.c
67
if (bytes != 1)
usr.sbin/bhyve/amd64/post.c
38
int port __unused, int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/amd64/post.c
42
if (bytes != 1)
usr.sbin/bhyve/amd64/task_switch.c
628
int stacksize, bytes, error;
usr.sbin/bhyve/amd64/task_switch.c
649
bytes = 4;
usr.sbin/bhyve/amd64/task_switch.c
651
bytes = 2;
usr.sbin/bhyve/amd64/task_switch.c
664
esp -= bytes;
usr.sbin/bhyve/amd64/task_switch.c
667
&seg_desc, esp, bytes, stacksize, PROT_WRITE, &gla)) {
usr.sbin/bhyve/amd64/task_switch.c
673
if (vie_alignment_check(paging->cpl, bytes, cr0, rflags, gla)) {
usr.sbin/bhyve/amd64/task_switch.c
679
error = vm_copy_setup(vcpu, paging, gla, bytes, PROT_WRITE,
usr.sbin/bhyve/amd64/task_switch.c
684
vm_copyout(&errcode, iov, bytes);
usr.sbin/bhyve/amd64/vga.c
1215
int bytes, uint32_t *eax, void *arg)
usr.sbin/bhyve/amd64/vga.c
1220
switch (bytes) {
usr.sbin/bhyve/amd64/vga.c
715
int bytes __unused, uint8_t *val, void *arg)
usr.sbin/bhyve/amd64/vga.c
942
int bytes __unused, uint8_t val, void *arg)
usr.sbin/bhyve/amd64/vmexit.c
77
int bytes, port, in;
usr.sbin/bhyve/amd64/vmexit.c
81
bytes = vme->u.inout.bytes;
usr.sbin/bhyve/amd64/vmexit.c
88
bytes == 1 ? 'b' : (bytes == 2 ? 'w' : 'l'),
usr.sbin/bhyve/basl.c
496
basl_table_append_bytes(struct basl_table *const table, const void *const bytes,
usr.sbin/bhyve/basl.c
502
assert(bytes != NULL);
usr.sbin/bhyve/basl.c
521
memcpy(end, bytes, len);
usr.sbin/bhyve/basl.h
78
int basl_table_append_bytes(struct basl_table *table, const void *bytes,
usr.sbin/bhyve/gdb.c
1245
size_t resid, todo, bytes;
usr.sbin/bhyve/gdb.c
1317
bytes = 1;
usr.sbin/bhyve/gdb.c
1319
bytes = 2;
usr.sbin/bhyve/gdb.c
1321
bytes = 4;
usr.sbin/bhyve/gdb.c
1323
bytes);
usr.sbin/bhyve/gdb.c
1329
gpa += bytes;
usr.sbin/bhyve/gdb.c
1330
gva += bytes;
usr.sbin/bhyve/gdb.c
1331
resid -= bytes;
usr.sbin/bhyve/gdb.c
1332
todo -= bytes;
usr.sbin/bhyve/gdb.c
1333
while (bytes > 0) {
usr.sbin/bhyve/gdb.c
1336
bytes--;
usr.sbin/bhyve/gdb.c
1359
size_t resid, todo, bytes;
usr.sbin/bhyve/gdb.c
1435
bytes = 1;
usr.sbin/bhyve/gdb.c
1438
bytes = 2;
usr.sbin/bhyve/gdb.c
1441
bytes = 4;
usr.sbin/bhyve/gdb.c
1445
bytes);
usr.sbin/bhyve/gdb.c
1447
gpa += bytes;
usr.sbin/bhyve/gdb.c
1448
gva += bytes;
usr.sbin/bhyve/gdb.c
1449
resid -= bytes;
usr.sbin/bhyve/gdb.c
1450
todo -= bytes;
usr.sbin/bhyve/gdb.c
1451
data += 2 * bytes;
usr.sbin/bhyve/gdb.c
1452
len -= 2 * bytes;
usr.sbin/bhyve/pci_emul.c
1280
int bytes, uint32_t val)
usr.sbin/bhyve/pci_emul.c
1287
if (off == 2 && bytes == 2) {
usr.sbin/bhyve/pci_emul.c
1299
CFGWRITE(pi, offset, val, bytes);
usr.sbin/bhyve/pci_emul.c
1304
int bytes, uint32_t val)
usr.sbin/bhyve/pci_emul.c
1313
if ((offset - capoff) == 2 && bytes == 2) {
usr.sbin/bhyve/pci_emul.c
1320
CFGWRITE(pi, offset, val, bytes);
usr.sbin/bhyve/pci_emul.c
1343
int bytes, uint32_t val)
usr.sbin/bhyve/pci_emul.c
1347
CFGWRITE(pi, offset, val, bytes);
usr.sbin/bhyve/pci_emul.c
1385
pci_emul_capwrite(struct pci_devinst *pi, int offset, int bytes, uint32_t val,
usr.sbin/bhyve/pci_emul.c
1391
if ((offset & (bytes - 1)) != 0)
usr.sbin/bhyve/pci_emul.c
1417
if (offset == capoff && bytes == 4) {
usr.sbin/bhyve/pci_emul.c
1418
bytes = 2;
usr.sbin/bhyve/pci_emul.c
1427
msicap_cfgwrite(pi, capoff, offset, bytes, val);
usr.sbin/bhyve/pci_emul.c
1430
msixcap_cfgwrite(pi, capoff, offset, bytes, val);
usr.sbin/bhyve/pci_emul.c
1433
pciecap_cfgwrite(pi, capoff, offset, bytes, val);
usr.sbin/bhyve/pci_emul.c
1471
int bytes, uint64_t *val, void *arg1 __unused, long arg2 __unused)
usr.sbin/bhyve/pci_emul.c
1482
pci_cfgrw(in, bus, slot, func, coff, bytes, (uint32_t *)val);
usr.sbin/bhyve/pci_emul.c
164
int bytes, uint32_t *val);
usr.sbin/bhyve/pci_emul.c
167
CFGWRITE(struct pci_devinst *pi, int coff, uint32_t val, int bytes)
usr.sbin/bhyve/pci_emul.c
170
if (bytes == 1)
usr.sbin/bhyve/pci_emul.c
172
else if (bytes == 2)
usr.sbin/bhyve/pci_emul.c
179
CFGREAD(struct pci_devinst *pi, int coff, int bytes)
usr.sbin/bhyve/pci_emul.c
182
if (bytes == 1)
usr.sbin/bhyve/pci_emul.c
184
else if (bytes == 2)
usr.sbin/bhyve/pci_emul.c
2156
pci_emul_hdrtype_fixup(int bus, int slot, int off, int bytes, uint32_t *rv)
usr.sbin/bhyve/pci_emul.c
2160
if (off <= PCIR_HDRTYPE && off + bytes > PCIR_HDRTYPE) {
usr.sbin/bhyve/pci_emul.c
2162
switch (bytes) {
usr.sbin/bhyve/pci_emul.c
2239
pci_emul_cmdsts_write(struct pci_devinst *pi, int coff, uint32_t new, int bytes)
usr.sbin/bhyve/pci_emul.c
2256
old = CFGREAD(pi, coff, bytes);
usr.sbin/bhyve/pci_emul.c
2259
CFGWRITE(pi, coff, new, bytes); /* update config */
usr.sbin/bhyve/pci_emul.c
2265
pci_cfgrw(int in, int bus, int slot, int func, int coff, int bytes,
usr.sbin/bhyve/pci_emul.c
2285
if (pi == NULL || (bytes != 1 && bytes != 2 && bytes != 4) ||
usr.sbin/bhyve/pci_emul.c
2286
(coff & (bytes - 1)) != 0) {
usr.sbin/bhyve/pci_emul.c
2319
needcfg = pe->pe_cfgread(pi, coff, bytes, valp);
usr.sbin/bhyve/pci_emul.c
2325
*valp = CFGREAD(pi, coff, bytes);
usr.sbin/bhyve/pci_emul.c
2327
pci_emul_hdrtype_fixup(bus, slot, coff, bytes, valp);
usr.sbin/bhyve/pci_emul.c
2331
(*pe->pe_cfgwrite)(pi, coff, bytes, *valp) == 0)
usr.sbin/bhyve/pci_emul.c
2342
if (bytes != 4 || (coff & 0x3) != 0)
usr.sbin/bhyve/pci_emul.c
2418
pci_emul_capwrite(pi, coff, bytes, *valp, 0, 0);
usr.sbin/bhyve/pci_emul.c
2420
pci_emul_cmdsts_write(pi, coff, *valp, bytes);
usr.sbin/bhyve/pci_emul.c
2422
CFGWRITE(pi, coff, *valp, bytes);
usr.sbin/bhyve/pci_emul.c
2432
int port __unused, int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/pci_emul.c
2436
if (bytes != 4) {
usr.sbin/bhyve/pci_emul.c
2438
*eax = (bytes == 2) ? 0xffff : 0xff;
usr.sbin/bhyve/pci_emul.c
2462
int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/pci_emul.c
2466
assert(bytes == 1 || bytes == 2 || bytes == 4);
usr.sbin/bhyve/pci_emul.c
2470
pci_cfgrw(in, cfgbus, cfgslot, cfgfunc, coff, bytes, eax);
usr.sbin/bhyve/pci_emul.c
521
int bytes, uint32_t *eax, void *arg)
usr.sbin/bhyve/pci_emul.c
533
(uint64_t)port + bytes <=
usr.sbin/bhyve/pci_emul.c
538
offset, bytes);
usr.sbin/bhyve/pci_emul.c
541
bytes, *eax);
usr.sbin/bhyve/pci_emul.h
243
void pci_emul_capwrite(struct pci_devinst *pi, int offset, int bytes,
usr.sbin/bhyve/pci_emul.h
67
int bytes, uint32_t val);
usr.sbin/bhyve/pci_emul.h
69
int bytes, uint32_t *retval);
usr.sbin/bhyve/pci_nvme.c
1125
size_t bytes;
usr.sbin/bhyve/pci_nvme.c
1132
bytes = PAGE_SIZE - (prp1 & PAGE_MASK);
usr.sbin/bhyve/pci_nvme.c
1133
bytes = MIN(bytes, len);
usr.sbin/bhyve/pci_nvme.c
1135
p = vm_map_gpa(ctx, prp1, bytes);
usr.sbin/bhyve/pci_nvme.c
1141
memcpy(p, b, bytes);
usr.sbin/bhyve/pci_nvme.c
1143
memcpy(b, p, bytes);
usr.sbin/bhyve/pci_nvme.c
1145
b += bytes;
usr.sbin/bhyve/pci_nvme.c
1147
len -= bytes;
usr.sbin/bhyve/pci_nvme.c
2144
size_t bytes, uint16_t status)
usr.sbin/bhyve/pci_nvme.c
2153
sc->write_dunits_remainder += (bytes / 512);
usr.sbin/bhyve/pci_nvme.c
2163
sc->read_dunits_remainder += (bytes / 512);
usr.sbin/bhyve/pci_nvme.c
2188
size_t offset, bytes;
usr.sbin/bhyve/pci_nvme.c
2195
bytes = nblocks << nvstore->sectsz_bits;
usr.sbin/bhyve/pci_nvme.c
2198
if ((nvstore->size <= offset) || ((nvstore->size - offset) < bytes))
usr.sbin/bhyve/pci_nvme.c
220
size_t bytes;
usr.sbin/bhyve/pci_nvme.c
2355
req->bytes, status);
usr.sbin/bhyve/pci_nvme.c
2403
size_t offset, uint64_t bytes,
usr.sbin/bhyve/pci_nvme.c
2417
buf + offset, bytes, dir))
usr.sbin/bhyve/pci_nvme.c
2431
size_t offset, uint64_t bytes,
usr.sbin/bhyve/pci_nvme.c
2438
size = MIN(PAGE_SIZE - (prp1 % PAGE_SIZE), bytes);
usr.sbin/bhyve/pci_nvme.c
2445
bytes -= size;
usr.sbin/bhyve/pci_nvme.c
2447
if (bytes == 0) {
usr.sbin/bhyve/pci_nvme.c
2449
} else if (bytes <= PAGE_SIZE) {
usr.sbin/bhyve/pci_nvme.c
2450
size = bytes;
usr.sbin/bhyve/pci_nvme.c
2461
while (bytes) {
usr.sbin/bhyve/pci_nvme.c
2463
if ((prp_list == last) && (bytes > PAGE_SIZE)) {
usr.sbin/bhyve/pci_nvme.c
2475
size = MIN(bytes, PAGE_SIZE);
usr.sbin/bhyve/pci_nvme.c
2484
bytes -= size;
usr.sbin/bhyve/pci_nvme.c
2508
uint64_t lba, nblocks, bytes;
usr.sbin/bhyve/pci_nvme.c
2515
bytes = nblocks << nvstore->sectsz_bits;
usr.sbin/bhyve/pci_nvme.c
2516
if (bytes > NVME_MAX_DATA_SIZE) {
usr.sbin/bhyve/pci_nvme.c
2531
req->bytes = bytes;
usr.sbin/bhyve/pci_nvme.c
2540
cmd->prp2, offset, bytes, is_write);
usr.sbin/bhyve/pci_nvme.c
2543
cmd->prp1, cmd->prp2, offset, bytes, is_write);
usr.sbin/bhyve/pci_nvme.c
2550
pci_nvme_stats_write_read_update(sc, cmd->opc, bytes, *status);
usr.sbin/bhyve/pci_nvme.c
2632
size_t offset, bytes;
usr.sbin/bhyve/pci_nvme.c
2656
bytes = range[0].length << sectsz_bits;
usr.sbin/bhyve/pci_nvme.c
2667
req->io_req.br_resid = bytes;
usr.sbin/bhyve/pci_nvme.c
2676
bytes = range[r].length << sectsz_bits;
usr.sbin/bhyve/pci_nvme.c
2677
if (bytes == 0)
usr.sbin/bhyve/pci_nvme.c
2680
if ((nvstore->size - offset) < bytes) {
usr.sbin/bhyve/pci_nvme.c
2686
iov[dr].iov_len = bytes;
usr.sbin/bhyve/pci_passthru.c
1080
struct pci_devinst *pi __unused, int coff, int bytes, uint32_t *rv)
usr.sbin/bhyve/pci_passthru.c
1096
if (bytes <= 2)
usr.sbin/bhyve/pci_passthru.c
1104
*rv = passthru_read_config(&sc->psc_sel, coff, bytes);
usr.sbin/bhyve/pci_passthru.c
1111
struct pci_devinst *pi __unused, int coff __unused, int bytes __unused,
usr.sbin/bhyve/pci_passthru.c
1118
passthru_cfgread(struct pci_devinst *pi, int coff, int bytes, uint32_t *rv)
usr.sbin/bhyve/pci_passthru.c
1125
return (sc->psc_pcir_rhandler[coff](sc, pi, coff, bytes, rv));
usr.sbin/bhyve/pci_passthru.c
1127
return (passthru_cfgread_default(sc, pi, coff, bytes, rv));
usr.sbin/bhyve/pci_passthru.c
1132
int coff, int bytes, uint32_t val)
usr.sbin/bhyve/pci_passthru.c
1141
pci_emul_capwrite(pi, coff, bytes, val, sc->psc_msi.capoff,
usr.sbin/bhyve/pci_passthru.c
1153
pci_emul_capwrite(pi, coff, bytes, val, sc->psc_msix.capoff,
usr.sbin/bhyve/pci_passthru.c
1183
if (bytes <= 2)
usr.sbin/bhyve/pci_passthru.c
1196
passthru_write_config(&sc->psc_sel, coff, bytes, val);
usr.sbin/bhyve/pci_passthru.c
1203
struct pci_devinst *pi __unused, int coff __unused, int bytes __unused,
usr.sbin/bhyve/pci_passthru.c
1210
passthru_cfgwrite(struct pci_devinst *pi, int coff, int bytes, uint32_t val)
usr.sbin/bhyve/pci_passthru.c
1217
return (sc->psc_pcir_whandler[coff](sc, pi, coff, bytes, val));
usr.sbin/bhyve/pci_passthru.c
1219
return (passthru_cfgwrite_default(sc, pi, coff, bytes, val));
usr.sbin/bhyve/pci_passthru.h
35
struct pci_devinst *pi, int coff, int bytes, uint32_t *rv);
usr.sbin/bhyve/pci_passthru.h
37
struct pci_devinst *pi, int coff, int bytes, uint32_t val);
usr.sbin/bhyve/pci_passthru.h
48
int coff, int bytes, uint32_t *rv);
usr.sbin/bhyve/pci_passthru.h
50
int coff, int bytes, uint32_t val);
usr.sbin/bhyve/pctestdev.c
181
int port __unused, int bytes __unused, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/pctestdev.c
214
int port, int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/pctestdev.c
219
if (port + bytes > IOPORT_BASE + IOPORT_LEN)
usr.sbin/bhyve/pctestdev.c
223
mask = (-1UL >> (32 - (bytes * 8))) << lsb;
usr.sbin/bhyve/pctestdev.c
237
int bytes, uint32_t *eax, void *arg __unused)
usr.sbin/bhyve/pctestdev.c
241
if (bytes != 1)
usr.sbin/bhyve/pctestdev.c
75
int port, int bytes, uint32_t *eax, void *arg);
usr.sbin/bhyve/pctestdev.c
80
int port, int bytes, uint32_t *eax, void *arg);
usr.sbin/bhyve/pctestdev.c
82
int port, int bytes, uint32_t *eax, void *arg);
usr.sbin/bhyve/qemu_fwcfg.c
120
const int port __unused, const int bytes, uint32_t *const eax,
usr.sbin/bhyve/qemu_fwcfg.c
123
if (bytes != sizeof(uint16_t)) {
usr.sbin/bhyve/qemu_fwcfg.c
125
bytes);
usr.sbin/bhyve/qemu_fwcfg.c
142
const int port __unused, const int bytes, uint32_t *const eax,
usr.sbin/bhyve/qemu_fwcfg.c
145
if (bytes != sizeof(uint8_t)) {
usr.sbin/bhyve/qemu_fwcfg.c
147
bytes);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
194
printf("\tbytes\t\t%d\n", vmexit->u.inout.bytes);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
446
vm_get_vmcb_field(struct vcpu *vcpu, int off, int bytes,
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
450
return (vm_get_register(vcpu, VMCB_ACCESS(off, bytes), ret_val));
usr.sbin/bsdinstall/partedit/gpart_ops.c
1040
uint64_t bytes;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1190
if (expand_number(items[1].value, &bytes) != 0) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1199
size = MIN((intmax_t)(bytes/sector), maxsize);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1283
size_t bytes = add_boot_partition(geom, pp, scheme,
usr.sbin/bsdinstall/partedit/gpart_ops.c
1287
if (bytes > 0) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1288
firstfree += bytes / sector;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1289
size -= (bytes + stripe)/sector;
usr.sbin/bsdinstall/partedit/gpart_ops.c
416
size_t bootsize, bytes;
usr.sbin/bsdinstall/partedit/gpart_ops.c
446
bytes = 0;
usr.sbin/bsdinstall/partedit/gpart_ops.c
447
while (bytes < bootsize)
usr.sbin/bsdinstall/partedit/gpart_ops.c
448
bytes += read(bootfd, boot + bytes, bootsize - bytes);
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1071
val->v.counter64 = e->bytes[IN];
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1074
val->v.counter64 = e->bytes[OUT];
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
124
u_int64_t bytes[2];
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1521
e->bytes[IN] = rule.bytes[IN];
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
1522
e->bytes[OUT] = rule.bytes[OUT];
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1878
uint32_t bytes = 1;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1882
if (oid->len < bytes)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1898
bytes += temp.subs[0];
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1906
bytes += temp.subs[0];
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1908
asn_slice_oid(&out, &temp, 1, bytes);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1915
for (bytes = 0; bytes < 4; bytes++)
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1916
ip[bytes] = temp.subs[bytes];
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1919
bytes = 4;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1937
bytes = 2;
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1938
memcpy(&cnt64, temp.subs, bytes);
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c
1946
return (bytes);
usr.sbin/cron/cron/do_command.c
123
int bytes = 1;
usr.sbin/cron/cron/do_command.c
703
bytes++;
usr.sbin/cron/cron/do_command.c
760
bytes, (bytes==1)?"":"s",
usr.sbin/flowctl/flowctl.c
367
(u_int)(fle->bytes / fle->packets),
usr.sbin/flowctl/flowctl.c
410
(u_int)(fle6->bytes / fle6->packets),
usr.sbin/fstyp/hammer2.c
109
memcpy(media, (char *)media + boff, bytes);
usr.sbin/fstyp/hammer2.c
120
size_t bytes;
usr.sbin/fstyp/hammer2.c
123
media = read_media(fp, bref, &bytes);
usr.sbin/fstyp/hammer2.c
154
bcount = bytes / sizeof(hammer2_blockref_t);
usr.sbin/fstyp/hammer2.c
210
size_t bytes;
usr.sbin/fstyp/hammer2.c
240
media = read_media(fp, bref, &bytes);
usr.sbin/fstyp/hammer2.c
74
size_t bytes, io_bytes, boff;
usr.sbin/fstyp/hammer2.c
76
bytes = (bref->data_off & HAMMER2_OFF_MASK_RADIX);
usr.sbin/fstyp/hammer2.c
77
if (bytes)
usr.sbin/fstyp/hammer2.c
78
bytes = (size_t)1 << bytes;
usr.sbin/fstyp/hammer2.c
79
*media_bytes = bytes;
usr.sbin/fstyp/hammer2.c
81
if (!bytes) {
usr.sbin/fstyp/hammer2.c
91
while (io_bytes + boff < bytes)
usr.sbin/fstyp/hammer_disk.h
569
#define HAMMER_HEAD_DOALIGN(bytes) \
usr.sbin/fstyp/hammer_disk.h
570
(((bytes) + HAMMER_HEAD_ALIGN_MASK) & ~HAMMER_HEAD_ALIGN_MASK)
usr.sbin/iostat/iostat.c
861
dev_select[dn].bytes = total_bytes;
usr.sbin/makefs/ffs/buf.c
127
size_t bytes;
usr.sbin/makefs/ffs/buf.c
133
bytes = (size_t)bp->b_bcount;
usr.sbin/makefs/ffs/buf.c
136
(long long)bp->b_blkno, (long long) offset, bytes);
usr.sbin/makefs/ffs/buf.c
141
rv = write(bp->b_fs->fd, bp->b_data, bytes);
usr.sbin/makefs/ffs/buf.c
147
if (rv == (ssize_t)bytes)
usr.sbin/makefs/zfs/dsl.c
462
dsl_dir_size_add(zfs_dsl_dir_t *dir, uint64_t bytes)
usr.sbin/makefs/zfs/dsl.c
464
dir->phys->dd_used_bytes += bytes;
usr.sbin/makefs/zfs/dsl.c
465
dir->phys->dd_compressed_bytes += bytes;
usr.sbin/makefs/zfs/dsl.c
466
dir->phys->dd_uncompressed_bytes += bytes;
usr.sbin/makefs/zfs/dsl.c
473
dsl_dir_root_finalize(zfs_opt_t *zfs, uint64_t bytes)
usr.sbin/makefs/zfs/dsl.c
475
dsl_dir_size_add(zfs->mosdsldir, bytes);
usr.sbin/makefs/zfs/dsl.c
476
zfs->mosdsldir->phys->dd_used_breakdown[DD_USED_HEAD] += bytes;
usr.sbin/makefs/zfs/dsl.c
478
dsl_dir_size_add(zfs->rootdsldir, bytes);
usr.sbin/makefs/zfs/dsl.c
479
zfs->rootdsldir->phys->dd_used_breakdown[DD_USED_CHILD] += bytes;
usr.sbin/makefs/zfs/dsl.c
532
uint64_t bytes, childbytes, snapnamesid;
usr.sbin/makefs/zfs/dsl.c
558
bytes = objset_space(os);
usr.sbin/makefs/zfs/dsl.c
559
headds->phys->ds_used_bytes = bytes;
usr.sbin/makefs/zfs/dsl.c
560
headds->phys->ds_uncompressed_bytes = bytes;
usr.sbin/makefs/zfs/dsl.c
561
headds->phys->ds_compressed_bytes = bytes;
usr.sbin/makefs/zfs/dsl.c
576
dsl_dir_size_add(dir, bytes + childbytes);
usr.sbin/makefs/zfs/dsl.c
579
dir->phys->dd_used_breakdown[DD_USED_HEAD] = bytes;
usr.sbin/makefs/zfs/zap.c
204
off_t bytes, loc;
usr.sbin/makefs/zfs/zap.c
216
bytes = sizeof(*mzap) + (zap->kvpcnt - 1) * sizeof(*ment);
usr.sbin/makefs/zfs/zap.c
217
assert(bytes <= (off_t)MZAP_MAX_BLKSZ);
usr.sbin/makefs/zfs/zap.c
229
loc = objset_space_alloc(zfs, zap->os, &bytes);
usr.sbin/makefs/zfs/zap.c
233
dnode->dn_datablkszsec = bytes >> MINBLOCKSHIFT;
usr.sbin/makefs/zfs/zap.c
235
vdev_pwrite_dnode_data(zfs, dnode, zfs->filebuf, bytes, loc);
usr.sbin/ppp/link.c
134
size_t len, bytes;
usr.sbin/ppp/link.c
137
bytes = 0;
usr.sbin/ppp/link.c
142
bytes += m_length(m);
usr.sbin/ppp/link.c
147
return bytes;
usr.sbin/repquota/repquota.c
92
static void prthumanval(int64_t bytes);
usr.sbin/sndctl/sndctl.c
314
bytes2frames(int bytes, int fmt)
usr.sbin/sndctl/sndctl.c
337
return (bytes / (samplesz * ch));
usr.sbin/virtual_oss/virtual_oss/main.c
1142
uint64_t bytes;
usr.sbin/virtual_oss/virtual_oss/main.c
1334
bytes = (pvc->buffer_size * pvc->buffer_frags);
usr.sbin/virtual_oss/virtual_oss/main.c
1336
if (temp < 0 || (uint64_t)temp > bytes)
usr.sbin/virtual_oss/virtual_oss/main.c
1337
temp = bytes;
usr.sbin/virtual_oss/virtual_oss/main.c
1339
data.buf_info.bytes = temp;
usr.sbin/virtual_oss/virtual_oss/main.c
1345
bytes = (pvc->buffer_size * pvc->buffer_frags);
usr.sbin/virtual_oss/virtual_oss/main.c
1347
if (temp < 0 || (uint64_t)temp >= bytes) {
usr.sbin/virtual_oss/virtual_oss/main.c
1350
data.buf_info.bytes = 0;
usr.sbin/virtual_oss/virtual_oss/main.c
1353
bytes -= temp;
usr.sbin/virtual_oss/virtual_oss/main.c
1354
data.buf_info.fragments = bytes / pvc->buffer_size;
usr.sbin/virtual_oss/virtual_oss/main.c
1355
data.buf_info.bytes = bytes;
usr.sbin/virtual_oss/virtual_oss/main.c
1432
bytes =
usr.sbin/virtual_oss/virtual_oss/main.c
1435
data.oss_count_info.bytes = bytes;
usr.sbin/virtual_oss/virtual_oss/main.c
1436
data.oss_count_info.blocks = bytes / pvc->buffer_size;
usr.sbin/virtual_oss/virtual_oss/main.c
1437
data.oss_count_info.ptr = bytes % (pvc->buffer_size * pvc->buffer_frags);
usr.sbin/virtual_oss/virtual_oss/main.c
1442
bytes =
usr.sbin/virtual_oss/virtual_oss/main.c
1445
data.oss_count_info.bytes = bytes;
usr.sbin/virtual_oss/virtual_oss/main.c
1446
data.oss_count_info.blocks = bytes / pvc->buffer_size;
usr.sbin/virtual_oss/virtual_oss/main.c
1447
data.oss_count_info.ptr = bytes % (pvc->buffer_size * pvc->buffer_frags);