bin/dd/dd.c
392
st.bytes += nw;
bin/dd/dd.h
70
off_t bytes; /* # of bytes written */
bin/dd/misc.c
63
bps = st.bytes / elapsed.tv_sec;
bin/dd/misc.c
69
bps = st.bytes * 1000 / msec;
bin/dd/misc.c
71
bps = st.bytes * 1000000000 / elapsed.tv_nsec;
bin/dd/misc.c
73
bps = st.bytes;
bin/dd/misc.c
90
"(%llu bytes/sec)\n", (long long)st.bytes,
bin/df/df.c
281
prthumanval(long long bytes)
bin/df/df.c
285
if (fmt_scaled(bytes, ret) == -1) {
bin/df/df.c
286
(void)printf(" %lld", bytes);
bin/ls/print.c
376
printsize(int width, off_t bytes)
bin/ls/print.c
380
if ((f_humanval) && (fmt_scaled(bytes, ret) != -1)) {
bin/ls/print.c
384
(void)printf("%*lld ", width, (long long)bytes);
include/siphash.h
60
uint32_t bytes;
lib/libc/crypt/chacha_private.h
117
if (bytes < 64) {
lib/libc/crypt/chacha_private.h
118
for (i = 0;i < bytes;++i) tmp[i] = m[i];
lib/libc/crypt/chacha_private.h
208
if (bytes <= 64) {
lib/libc/crypt/chacha_private.h
209
if (bytes < 64) {
lib/libc/crypt/chacha_private.h
210
for (i = 0;i < bytes;++i) ctarget[i] = c[i];
lib/libc/crypt/chacha_private.h
216
bytes -= 64;
lib/libc/crypt/chacha_private.h
89
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
lib/libc/crypt/chacha_private.h
97
if (!bytes) return;
lib/libc/db/btree/bt_debug.c
186
" {%.*s}", (int)bi->ksize, bi->bytes);
lib/libc/db/btree/bt_debug.c
198
*(pgno_t *)bl->bytes,
lib/libc/db/btree/bt_debug.c
199
*(u_int32_t *)(bl->bytes + sizeof(pgno_t)));
lib/libc/db/btree/bt_debug.c
201
(void)fprintf(stderr, "%s/", bl->bytes);
lib/libc/db/btree/bt_debug.c
205
*(pgno_t *)(bl->bytes + bl->ksize),
lib/libc/db/btree/bt_debug.c
206
*(u_int32_t *)(bl->bytes + bl->ksize +
lib/libc/db/btree/bt_debug.c
210
(int)bl->dsize, bl->bytes + bl->ksize);
lib/libc/db/btree/bt_debug.c
217
*(pgno_t *)rl->bytes,
lib/libc/db/btree/bt_debug.c
218
*(u_int32_t *)(rl->bytes + sizeof(pgno_t)));
lib/libc/db/btree/bt_debug.c
221
"%.*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
235
bt_preserve(t, *(pgno_t *)bl->bytes) == RET_ERROR)
lib/libc/db/btree/bt_split.c
537
memmove(dest, bl->bytes, bl->ksize);
lib/libc/db/btree/bt_split.c
544
bt_preserve(t, *(pgno_t *)bl->bytes) == RET_ERROR)
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
124
char bytes[1]; /* data */
lib/libc/db/btree/btree.h
174
char bytes[1]; /* data */
lib/libc/db/btree/btree.h
206
char bytes[1];
lib/libc/db/hash/hash_bigkey.c
273
u_int16_t bytes;
lib/libc/db/hash/hash_bigkey.c
281
for (bytes = hashp->BSIZE - bp[ndx];
lib/libc/db/hash/hash_bigkey.c
282
bytes <= size && bp[ndx + 1] == PARTIAL_KEY;
lib/libc/db/hash/hash_bigkey.c
283
bytes = hashp->BSIZE - bp[ndx]) {
lib/libc/db/hash/hash_bigkey.c
284
if (memcmp(p + bp[ndx], kkey, bytes))
lib/libc/db/hash/hash_bigkey.c
286
kkey += bytes;
lib/libc/db/hash/hash_bigkey.c
287
ksize -= bytes;
lib/libc/db/hash/hash_bigkey.c
296
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
102
data->data = rl->bytes;
lib/libc/db/recno/rec_utils.c
84
if (__ovfl_get(t, rl->bytes,
lib/libc/db/recno/rec_utils.c
97
memmove(t->bt_rdata.data, rl->bytes, rl->dsize);
lib/libc/hash/siphash.c
126
used = ctx->bytes % sizeof(ctx->buf);
lib/libc/hash/siphash.c
129
ctx->buf[7] = ctx->bytes;
lib/libc/hash/siphash.c
68
ctx->bytes = 0;
lib/libc/hash/siphash.c
81
used = ctx->bytes % sizeof(ctx->buf);
lib/libc/hash/siphash.c
82
ctx->bytes += len;
lib/libc/net/inet_net_pton.c
211
size_t bytes;
lib/libc/net/inet_net_pton.c
239
bytes = (bits + 7) / 8;
lib/libc/net/inet_net_pton.c
240
if (bytes > size) {
lib/libc/net/inet_net_pton.c
244
memcpy(dst, &in6.s6_addr, bytes);
lib/libc/rpc/svc.c
172
size_t bytes;
lib/libc/rpc/svc.c
174
bytes = howmany(sock + 128, NFDBITS) * sizeof(fd_mask);
lib/libc/rpc/svc.c
176
if ((fds = (fd_set *)mem_alloc(bytes)) != NULL) {
lib/libc/rpc/svc.c
177
memset(fds, 0, bytes);
lib/libc/rpc/svc.c
183
__svc_fdsetsize = bytes / sizeof(fd_mask) * NFDBITS;
lib/libcrypto/asn1/a_time_tm.c
288
ASN1_time_parse(const char *bytes, size_t len, struct tm *tm, int mode)
lib/libcrypto/asn1/a_time_tm.c
293
if (bytes == NULL)
lib/libcrypto/asn1/a_time_tm.c
296
CBS_init(&cbs, bytes, len);
lib/libcrypto/asn1/p8_pkey.c
189
const unsigned char *bytes, int len)
lib/libcrypto/asn1/p8_pkey.c
191
if (X509at_add1_attr_by_NID(&p8->attributes, nid, type, bytes,
lib/libcrypto/asn1/x_name.c
264
if ((ret->bytes = BUF_MEM_new()) == NULL)
lib/libcrypto/asn1/x_name.c
291
BUF_MEM_free(a->bytes);
lib/libcrypto/asn1/x_name.c
328
if (!BUF_MEM_grow(nm.x->bytes, p - q))
lib/libcrypto/asn1/x_name.c
330
memcpy(nm.x->bytes->data, q, p - q);
lib/libcrypto/asn1/x_name.c
374
ret = a->bytes->length;
lib/libcrypto/asn1/x_name.c
376
memcpy(*out, a->bytes->data, ret);
lib/libcrypto/asn1/x_name.c
429
if (!BUF_MEM_grow(a->bytes, len))
lib/libcrypto/asn1/x_name.c
431
p = (unsigned char *)a->bytes->data;
lib/libcrypto/asn1/x_name.c
661
*pder = (unsigned char *)nm->bytes->data;
lib/libcrypto/asn1/x_name.c
663
*pderlen = nm->bytes->length;
lib/libcrypto/bio/bio.h
592
int BIO_dump(BIO *b, const char *bytes, int len);
lib/libcrypto/bio/bio.h
593
int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent);
lib/libcrypto/bn/bn_convert.c
691
int bits, bytes;
lib/libcrypto/bn/bn_convert.c
696
bytes = (bits + 7) / 8;
lib/libcrypto/bn/bn_convert.c
698
out_bin_len = extend + bytes;
lib/libcrypto/bn/bn_lib.c
234
bn_expand_bytes(BIGNUM *bn, size_t bytes)
lib/libcrypto/bn/bn_lib.c
238
if (bytes > (INT_MAX - BN_BYTES + 1))
lib/libcrypto/bn/bn_lib.c
241
words = (bytes + BN_BYTES - 1) / BN_BYTES;
lib/libcrypto/bn/bn_local.h
272
int bn_expand_bytes(BIGNUM *a, size_t bytes);
lib/libcrypto/bn/bn_rand.c
125
int ret = 0, bit, bytes, mask;
lib/libcrypto/bn/bn_rand.c
146
bytes = (bits + 7) / 8;
lib/libcrypto/bn/bn_rand.c
150
buf = malloc(bytes);
lib/libcrypto/bn/bn_rand.c
157
arc4random_buf(buf, bytes);
lib/libcrypto/bn/bn_rand.c
166
for (i = 0; i < bytes; i++) {
lib/libcrypto/bn/bn_rand.c
190
buf[bytes - 1] |= 1;
lib/libcrypto/bn/bn_rand.c
191
if (BN_bin2bn(buf, bytes, rnd) == NULL)
lib/libcrypto/bn/bn_rand.c
196
freezero(buf, bytes);
lib/libcrypto/bytestring/bs_cbs.c
495
CBS bytes;
lib/libcrypto/bytestring/bs_cbs.c
499
if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER))
lib/libcrypto/bytestring/bs_cbs.c
503
data = CBS_data(&bytes);
lib/libcrypto/bytestring/bs_cbs.c
504
len = CBS_len(&bytes);
lib/libcrypto/chacha/chacha-merged.c
119
chacha_encrypt_bytes(chacha_ctx *x, const u8 *m, u8 *c, u32 bytes)
lib/libcrypto/chacha/chacha-merged.c
129
if (!bytes)
lib/libcrypto/chacha/chacha-merged.c
150
if (bytes < 64) {
lib/libcrypto/chacha/chacha-merged.c
151
for (i = 0; i < bytes; ++i)
lib/libcrypto/chacha/chacha-merged.c
200
if (bytes < 64) {
lib/libcrypto/chacha/chacha-merged.c
262
if (bytes <= 64) {
lib/libcrypto/chacha/chacha-merged.c
263
if (bytes < 64) {
lib/libcrypto/chacha/chacha-merged.c
264
for (i = 0; i < bytes; ++i)
lib/libcrypto/chacha/chacha-merged.c
269
x->unused = 64 - bytes;
lib/libcrypto/chacha/chacha-merged.c
272
bytes -= 64;
lib/libcrypto/chacha/chacha-merged.c
32
u8 *c, u32 bytes)
lib/libcrypto/cms/cms.h
293
int type, const void *bytes, int len);
lib/libcrypto/cms/cms.h
295
const void *bytes, int len);
lib/libcrypto/cms/cms.h
297
const char *attrname, int type, const void *bytes, int len);
lib/libcrypto/cms/cms.h
310
const ASN1_OBJECT *obj, int type, const void *bytes, int len);
lib/libcrypto/cms/cms.h
312
const void *bytes, int len);
lib/libcrypto/cms/cms.h
314
int type, const void *bytes, int len);
lib/libcrypto/cms/cms_att.c
111
const void *bytes, int len)
lib/libcrypto/cms/cms_att.c
113
if (X509at_add1_attr_by_OBJ(&si->signedAttrs, obj, type, bytes, len))
lib/libcrypto/cms/cms_att.c
121
const void *bytes, int len)
lib/libcrypto/cms/cms_att.c
123
if (X509at_add1_attr_by_NID(&si->signedAttrs, nid, type, bytes, len))
lib/libcrypto/cms/cms_att.c
131
const void *bytes, int len)
lib/libcrypto/cms/cms_att.c
133
if (X509at_add1_attr_by_txt(&si->signedAttrs, attrname, type, bytes, len))
lib/libcrypto/cms/cms_att.c
194
int type, const void *bytes, int len)
lib/libcrypto/cms/cms_att.c
196
if (X509at_add1_attr_by_OBJ(&si->unsignedAttrs, obj, type, bytes, len))
lib/libcrypto/cms/cms_att.c
204
const void *bytes, int len)
lib/libcrypto/cms/cms_att.c
206
if (X509at_add1_attr_by_NID(&si->unsignedAttrs, nid, type, bytes, len))
lib/libcrypto/cms/cms_att.c
214
int type, const void *bytes, int len)
lib/libcrypto/cms/cms_att.c
217
bytes, len))
lib/libcrypto/curve25519/curve25519.c
1207
const uint8_t *bytes = &precomp_table[i*(2 * 32)];
lib/libcrypto/curve25519/curve25519.c
1209
fe_frombytes(x, bytes);
lib/libcrypto/curve25519/curve25519.c
1210
fe_frombytes(y, bytes + 32);
lib/libcrypto/mlkem/mlkem_internal.c
832
uint8_t *bytes;
lib/libcrypto/mlkem/mlkem_internal.c
835
bytes = external->key_1024->bytes;
lib/libcrypto/mlkem/mlkem_internal.c
837
bytes = external->key_768->bytes;
lib/libcrypto/mlkem/mlkem_internal.c
839
pub->t = (struct scalar *)bytes + offset;
lib/libcrypto/mlkem/mlkem_internal.c
841
pub->rho = bytes + offset;
lib/libcrypto/mlkem/mlkem_internal.c
843
pub->public_key_hash = bytes + offset;
lib/libcrypto/mlkem/mlkem_internal.c
845
pub->m = (void *)(bytes + offset);
lib/libcrypto/mlkem/mlkem_internal.c
861
uint8_t *bytes;
lib/libcrypto/mlkem/mlkem_internal.c
864
bytes = external->key_1024->bytes;
lib/libcrypto/mlkem/mlkem_internal.c
866
bytes = external->key_768->bytes;
lib/libcrypto/mlkem/mlkem_internal.c
868
priv->pub.t = (struct scalar *)(bytes + offset);
lib/libcrypto/mlkem/mlkem_internal.c
870
priv->pub.rho = bytes + offset;
lib/libcrypto/mlkem/mlkem_internal.c
872
priv->pub.public_key_hash = bytes + offset;
lib/libcrypto/mlkem/mlkem_internal.c
874
priv->pub.m = (void *)(bytes + offset);
lib/libcrypto/mlkem/mlkem_internal.c
876
priv->s = (void *)(bytes + offset);
lib/libcrypto/mlkem/mlkem_internal.c
878
priv->fo_failure_secret = bytes + offset;
lib/libcrypto/mlkem/mlkem_internal.c
981
memcpy(out_public_key->key_768->bytes,
lib/libcrypto/mlkem/mlkem_internal.c
982
private_key->key_768->bytes,
lib/libcrypto/mlkem/mlkem_internal.c
983
sizeof(out_public_key->key_768->bytes));
lib/libcrypto/mlkem/mlkem_internal.c
986
memcpy(out_public_key->key_1024->bytes,
lib/libcrypto/mlkem/mlkem_internal.c
987
private_key->key_1024->bytes,
lib/libcrypto/mlkem/mlkem_internal.c
988
sizeof(out_public_key->key_1024->bytes));
lib/libcrypto/mlkem/mlkem_internal.h
101
uint8_t bytes[512 * (3 + 9) + 32 + 32];
lib/libcrypto/mlkem/mlkem_internal.h
110
uint8_t bytes[512 * (3 + 3 + 9) + 32 + 32 + 32];
lib/libcrypto/mlkem/mlkem_internal.h
82
uint8_t bytes[512 * (4 + 16) + 32 + 32];
lib/libcrypto/mlkem/mlkem_internal.h
92
uint8_t bytes[512 * (4 + 4 + 16) + 32 + 32 + 32];
lib/libcrypto/poly1305/poly1305-donna.c
110
while (bytes >= poly1305_block_size) {
lib/libcrypto/poly1305/poly1305-donna.c
13
const unsigned char *m, size_t bytes);
lib/libcrypto/poly1305/poly1305-donna.c
166
bytes -= poly1305_block_size;
lib/libcrypto/poly1305/poly1305-donna.c
177
poly1305_update(poly1305_context *ctx, const unsigned char *m, size_t bytes)
lib/libcrypto/poly1305/poly1305-donna.c
185
if (want > bytes)
lib/libcrypto/poly1305/poly1305-donna.c
186
want = bytes;
lib/libcrypto/poly1305/poly1305-donna.c
189
bytes -= want;
lib/libcrypto/poly1305/poly1305-donna.c
199
if (bytes >= poly1305_block_size) {
lib/libcrypto/poly1305/poly1305-donna.c
200
size_t want = (bytes & ~(poly1305_block_size - 1));
lib/libcrypto/poly1305/poly1305-donna.c
203
bytes -= want;
lib/libcrypto/poly1305/poly1305-donna.c
207
if (bytes) {
lib/libcrypto/poly1305/poly1305-donna.c
208
for (i = 0; i < bytes; i++)
lib/libcrypto/poly1305/poly1305-donna.c
210
st->leftover += bytes;
lib/libcrypto/poly1305/poly1305-donna.c
84
poly1305_blocks(poly1305_state_internal_t *st, const unsigned char *m, size_t bytes)
lib/libcrypto/rand/rand.h
77
int (*bytes)(unsigned char *buf, int num);
lib/libcrypto/rand/randfile.c
80
RAND_load_file(const char *file, long bytes)
lib/libcrypto/rand/randfile.c
83
if (bytes == -1)
lib/libcrypto/rand/randfile.c
86
return bytes;
lib/libcrypto/sm2/sm2_za.c
102
if ((bytes = BN_num_bytes(b)) > p_bytes)
lib/libcrypto/sm2/sm2_za.c
104
memset(buf, 0, p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
105
BN_bn2bin(b, buf + p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
113
if ((bytes = BN_num_bytes(xG)) > p_bytes)
lib/libcrypto/sm2/sm2_za.c
115
memset(buf, 0, p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
116
BN_bn2bin(xG, buf + p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
121
if ((bytes = BN_num_bytes(yG)) > p_bytes)
lib/libcrypto/sm2/sm2_za.c
123
memset(buf, 0, p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
124
BN_bn2bin(yG, buf + p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
133
if ((bytes = BN_num_bytes(xA)) > p_bytes)
lib/libcrypto/sm2/sm2_za.c
135
memset(buf, 0, p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
136
BN_bn2bin(xA, buf + p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
141
if ((bytes = BN_num_bytes(yA)) > p_bytes)
lib/libcrypto/sm2/sm2_za.c
143
memset(buf, 0, p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
144
BN_bn2bin(yA, buf + p_bytes - bytes);
lib/libcrypto/sm2/sm2_za.c
36
int bytes, p_bytes;
lib/libcrypto/sm2/sm2_za.c
96
if ((bytes = BN_num_bytes(a)) > p_bytes)
lib/libcrypto/sm2/sm2_za.c
98
BN_bn2bin(a, buf + p_bytes - bytes);
lib/libcrypto/x509/x509.h
719
const unsigned char *bytes, int len);
lib/libcrypto/x509/x509.h
722
const unsigned char *bytes, int len);
lib/libcrypto/x509/x509.h
725
const unsigned char *bytes, int len);
lib/libcrypto/x509/x509.h
801
int type, const unsigned char *bytes, int len, int loc, int set);
lib/libcrypto/x509/x509.h
803
const unsigned char *bytes, int len, int loc, int set);
lib/libcrypto/x509/x509.h
805
const char *field, int type, const unsigned char *bytes, int len);
lib/libcrypto/x509/x509.h
807
int type, const unsigned char *bytes, int len);
lib/libcrypto/x509/x509.h
809
const unsigned char *bytes, int len, int loc, int set);
lib/libcrypto/x509/x509.h
812
const unsigned char *bytes, int len);
lib/libcrypto/x509/x509.h
816
const unsigned char *bytes, int len);
lib/libcrypto/x509/x509.h
894
const char *atrname, int type, const unsigned char *bytes, int len);
lib/libcrypto/x509/x509.h
930
const unsigned char *bytes, int len);
lib/libcrypto/x509/x509_alt.c
647
uint8_t *bytes = NULL;
lib/libcrypto/x509/x509_alt.c
702
type = x509_constraints_general_to_bytes(ret, &bytes, &len);
lib/libcrypto/x509/x509_alt.c
703
CBS_init(&cbs, bytes, len);
lib/libcrypto/x509/x509_alt.c
709
(int)len, bytes);
lib/libcrypto/x509/x509_alt.c
714
if (!x509_constraints_uri_host(bytes, len, NULL)) {
lib/libcrypto/x509/x509_alt.c
717
(int)len, bytes);
lib/libcrypto/x509/x509_alt.c
725
(int)len, bytes);
lib/libcrypto/x509/x509_att.c
140
int type, const unsigned char *bytes, int len)
lib/libcrypto/x509/x509_att.c
145
attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len);
lib/libcrypto/x509/x509_att.c
155
const unsigned char *bytes, int len)
lib/libcrypto/x509/x509_att.c
160
attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len);
lib/libcrypto/x509/x509_att.c
170
int type, const unsigned char *bytes, int len)
lib/libcrypto/x509/x509_att.c
175
attr = X509_ATTRIBUTE_create_by_txt(NULL, attrname, type, bytes, len);
lib/libcrypto/x509/x509_att.c
252
int type, const unsigned char *bytes, int len)
lib/libcrypto/x509/x509_att.c
263
nattr = X509_ATTRIBUTE_create_by_OBJ(attr, obj, type, bytes, len);
lib/libcrypto/x509/x509_cmp.c
299
EVP_DigestUpdate(md_ctx, x->bytes->data, x->bytes->length) &&
lib/libcrypto/x509/x509_constraints.c
1002
if ((name->name = strndup(bytes, len)) == NULL) {
lib/libcrypto/x509/x509_constraints.c
1009
if (len > 0 && memchr(bytes + 1, '@', len - 1) != NULL) {
lib/libcrypto/x509/x509_constraints.c
1042
memcpy(&name->address[0], bytes, len);
lib/libcrypto/x509/x509_constraints.c
1048
if ((name->name = strndup(bytes, len)) == NULL) {
lib/libcrypto/x509/x509_constraints.c
704
x509_constraints_general_to_bytes(GENERAL_NAME *name, uint8_t **bytes,
lib/libcrypto/x509/x509_constraints.c
707
*bytes = NULL;
lib/libcrypto/x509/x509_constraints.c
713
*bytes = aname->data;
lib/libcrypto/x509/x509_constraints.c
721
*bytes = aname->data;
lib/libcrypto/x509/x509_constraints.c
729
*bytes = aname->data;
lib/libcrypto/x509/x509_constraints.c
738
*bytes = dname->canon_enc;
lib/libcrypto/x509/x509_constraints.c
745
*bytes = name->d.ip->data;
lib/libcrypto/x509/x509_constraints.c
771
uint8_t *bytes = NULL;
lib/libcrypto/x509/x509_constraints.c
780
name_type = x509_constraints_general_to_bytes(name, &bytes,
lib/libcrypto/x509/x509_constraints.c
782
CBS_init(&cbs, bytes, len);
lib/libcrypto/x509/x509_constraints.c
805
if (!x509_constraints_uri_host(bytes, len,
lib/libcrypto/x509/x509_constraints.c
821
if (bytes == NULL || ((vname->der = malloc(len)) ==
lib/libcrypto/x509/x509_constraints.c
826
memcpy(vname->der, bytes, len);
lib/libcrypto/x509/x509_constraints.c
839
memcpy(vname->address, bytes, len);
lib/libcrypto/x509/x509_constraints.c
967
uint8_t next, *bytes = NULL;
lib/libcrypto/x509/x509_constraints.c
985
name_type = x509_constraints_general_to_bytes(constraint, &bytes, &len);
lib/libcrypto/x509/x509_constraints.c
986
CBS_init(&cbs, bytes, len);
lib/libcrypto/x509/x509_constraints.c
991
if (bytes == NULL || (name->der = malloc(len)) == NULL) {
lib/libcrypto/x509/x509_constraints.c
995
memcpy(name->der, bytes, len);
lib/libcrypto/x509/x509_internal.h
112
int x509_constraints_general_to_bytes(GENERAL_NAME *name, uint8_t **bytes,
lib/libcrypto/x509/x509_local.h
113
BUF_MEM *bytes;
lib/libcrypto/x509/x509_local.h
115
char *bytes;
lib/libcrypto/x509/x509_local.h
433
const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len);
lib/libcrypto/x509/x509_local.h
435
int nid, int type, const unsigned char *bytes, int len);
lib/libcrypto/x509/x509_local.h
437
const char *attrname, int type, const unsigned char *bytes, int len);
lib/libcrypto/x509/x509_req.c
283
const unsigned char *bytes, int len)
lib/libcrypto/x509/x509_req.c
286
type, bytes, len))
lib/libcrypto/x509/x509_req.c
294
const unsigned char *bytes, int len)
lib/libcrypto/x509/x509_req.c
297
type, bytes, len))
lib/libcrypto/x509/x509_req.c
305
const unsigned char *bytes, int len)
lib/libcrypto/x509/x509_req.c
308
type, bytes, len))
lib/libcrypto/x509/x509name.c
220
const unsigned char *bytes, int len, int loc, int set)
lib/libcrypto/x509/x509name.c
225
ne = X509_NAME_ENTRY_create_by_OBJ(NULL, obj, type, bytes, len);
lib/libcrypto/x509/x509name.c
236
const unsigned char *bytes, int len, int loc, int set)
lib/libcrypto/x509/x509name.c
241
ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len);
lib/libcrypto/x509/x509name.c
252
const unsigned char *bytes, int len, int loc, int set)
lib/libcrypto/x509/x509name.c
257
ne = X509_NAME_ENTRY_create_by_txt(NULL, field, type, bytes, len);
lib/libcrypto/x509/x509name.c
327
const char *field, int type, const unsigned char *bytes, int len)
lib/libcrypto/x509/x509name.c
338
nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len);
lib/libcrypto/x509/x509name.c
346
const unsigned char *bytes, int len)
lib/libcrypto/x509/x509name.c
356
nentry = X509_NAME_ENTRY_create_by_OBJ(ne, obj, type, bytes, len);
lib/libcrypto/x509/x509name.c
364
int type, const unsigned char *bytes, int len)
lib/libcrypto/x509/x509name.c
376
if (!X509_NAME_ENTRY_set_data(ret, type, bytes, len))
lib/libcrypto/x509/x509name.c
405
const unsigned char *bytes, int len)
lib/libcrypto/x509/x509name.c
407
if (ne == NULL || (bytes == NULL && len != 0))
lib/libcrypto/x509/x509name.c
410
return ASN1_STRING_set_by_NID(&ne->value, bytes, len, type,
lib/libcrypto/x509/x509name.c
413
len = strlen((const char *)bytes);
lib/libcrypto/x509/x509name.c
414
if (!ASN1_STRING_set(ne->value, bytes, len))
lib/libcurses/trace/lib_trace.c
396
char bytes[sizeof(int)];
lib/libcurses/trace/lib_trace.c
405
unsigned ch = ((byteorder.bytes[0] == 0x34)
lib/libevent/event_tagging.c
101
int bytes = 0;
lib/libevent/event_tagging.c
112
data[bytes++] = lower;
lib/libevent/event_tagging.c
116
evbuffer_add(evbuf, data, bytes);
lib/libevent/event_tagging.c
118
return (bytes);
lib/libossaudio/soundcard.h
297
int bytes;
lib/libossaudio/soundcard.h
301
int bytes;
lib/libssl/bs_cbs.c
495
CBS bytes;
lib/libssl/bs_cbs.c
499
if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER))
lib/libssl/bs_cbs.c
503
data = CBS_data(&bytes);
lib/libssl/bs_cbs.c
504
len = CBS_len(&bytes);
libexec/ld.so/chacha_private.h
117
if (bytes < 64) {
libexec/ld.so/chacha_private.h
118
for (i = 0;i < bytes;++i) tmp[i] = m[i];
libexec/ld.so/chacha_private.h
208
if (bytes <= 64) {
libexec/ld.so/chacha_private.h
209
if (bytes < 64) {
libexec/ld.so/chacha_private.h
210
for (i = 0;i < bytes;++i) ctarget[i] = c[i];
libexec/ld.so/chacha_private.h
216
bytes -= 64;
libexec/ld.so/chacha_private.h
89
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
libexec/ld.so/chacha_private.h
97
if (!bytes) return;
libexec/ld.so/util.c
90
char bytes[KEYSZ + IVSZ];
libexec/ld.so/util.c
92
if (_dl_getentropy(bytes, KEYSZ + IVSZ) != 0)
libexec/ld.so/util.c
94
chacha_keysetup(&chacha, bytes, KEYSZ * 8);
libexec/ld.so/util.c
95
chacha_ivsetup(&chacha, bytes + KEYSZ);
libexec/ld.so/util.c
96
if (_dl_getentropy(bytes, KEYSZ + IVSZ) != 0)
libexec/snmpd/snmpd_metrics/mib.c
1918
agentx_varbind_counter64(vb, r->bytes[IN] + r->bytes[OUT]);
libexec/snmpd/snmpd_metrics/mib.c
1922
agentx_varbind_counter64(vb, r->bytes[IN]);
libexec/snmpd/snmpd_metrics/mib.c
1926
agentx_varbind_counter64(vb, r->bytes[OUT]);
regress/lib/libcrypto/bio/bio_dump.c
58
const uint8_t bytes[] = {
regress/lib/libcrypto/bio/bio_dump.c
767
.input = bytes,
regress/lib/libcrypto/bio/bio_dump.c
92
#define BYTES_LEN (sizeof(bytes) / sizeof(bytes[0]))
regress/lib/libcrypto/poly1305/poly1305test.c
12
void poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes,
regress/lib/libcrypto/poly1305/poly1305test.c
19
poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes,
regress/lib/libcrypto/poly1305/poly1305test.c
23
CRYPTO_poly1305_update(&ctx, m, bytes);
regress/lib/libsndio/play/play.c
25
int bytes = delta * (int)(par.bps * par.pchan);
regress/lib/libsndio/play/play.c
27
realpos += bytes;
regress/lib/libsndio/play/play.c
32
bytes, playpos - realpos,
regress/lib/libssl/ssl/ssltest.c
318
int doit_biopair(SSL *s_ssl, SSL *c_ssl, long bytes, clock_t *s_time,
regress/lib/libssl/ssl/ssltest.c
320
int doit(SSL *s_ssl, SSL *c_ssl, long bytes);
regress/lib/libssl/ssl/ssltest.c
428
long bytes = 256L;
regress/lib/libssl/ssl/ssltest.c
487
bytes = atol(*(++argv));
regress/lib/libssl/ssl/ssltest.c
488
if (bytes == 0L)
regress/lib/libssl/ssl/ssltest.c
489
bytes = 1L;
regress/lib/libssl/ssl/ssltest.c
492
bytes*=1024L;
regress/lib/libssl/ssl/ssltest.c
494
bytes*=1024L*1024L;
regress/lib/libssl/ssl/ssltest.c
719
ret = doit_biopair(s_ssl, c_ssl, bytes, &s_time,
regress/lib/libssl/ssl/ssltest.c
723
ret = doit(s_ssl, c_ssl, bytes);
regress/lib/libssl/ssl/ssltest.c
729
if ((number > 1) || (bytes > 1L))
regress/lib/libssl/ssl/ssltest.c
731
number, bytes);
regress/sys/crypto/cmac/cmac_test.c
38
print128(unsigned char *bytes)
regress/sys/crypto/cmac/cmac_test.c
42
printf("%02x",bytes[j]);
regress/sys/kern/cmsgsize/cmsgsize.c
42
int so, bytes;
regress/sys/kern/cmsgsize/cmsgsize.c
58
bytes = test_cmsgsize(so, &src, &dst, CFG_SO_MAX_SEND_BUFFER,
regress/sys/kern/cmsgsize/cmsgsize.c
60
if (bytes >= 0)
regress/sys/kern/cmsgsize/cmsgsize.c
61
errx(1, "1: %d bytes sent", bytes);
regress/sys/kern/cmsgsize/cmsgsize.c
70
bytes = test_cmsgsize(so, &src, &dst, CFG_SO_MAX_SEND_BUFFER,
regress/sys/kern/cmsgsize/cmsgsize.c
72
if (bytes >= 0)
regress/sys/kern/cmsgsize/cmsgsize.c
73
errx(1, "2: %d bytes sent", bytes);
regress/sys/kern/cmsgsize/cmsgsize.c
82
bytes = test_cmsgsize(so, &src, &dst, CFG_SO_MAX_SEND_BUFFER,
regress/sys/kern/cmsgsize/cmsgsize.c
84
if (bytes < 0)
regress/sys/kern/cmsgsize/cmsgsize.c
92
bytes = test_cmsgsize(so, &src, &dst, CFG_SO_MAX_SEND_BUFFER,
regress/sys/kern/cmsgsize/cmsgsize.c
94
if (bytes < 0)
sbin/disklabel/editor.c
1645
u_int64_t bytes, offsetalign, sizealign;
sbin/disklabel/editor.c
1659
bytes = DL_GETPSIZE(pp) * lp->d_secsize;
sbin/disklabel/editor.c
1660
if (bytes > 128ULL * 1024 * 1024 * 1024)
sbin/disklabel/editor.c
1662
if (bytes > 512ULL * 1024 * 1024 * 1024)
sbin/fdisk/disk.c
125
size_t bytes;
sbin/fdisk/disk.c
128
bytes = count * dl.d_secsize;
sbin/fdisk/disk.c
138
secbuf = calloc(1, bytes);
sbin/fdisk/disk.c
142
len = read(disk.dk_fd, secbuf, bytes);
sbin/fdisk/disk.c
145
warn("read(%zu @ %lld)", bytes, (int64_t)where);
sbin/fdisk/disk.c
150
if (len != (ssize_t)bytes) {
sbin/fdisk/disk.c
152
warnx("short read(%zu @ %lld)", bytes, (int64_t)where);
sbin/fdisk/disk.c
166
size_t bytes;
sbin/fdisk/disk.c
169
bytes = count * dl.d_secsize;
sbin/fdisk/disk.c
179
len = write(disk.dk_fd, buf, bytes);
sbin/fdisk/disk.c
182
warn("write(%zu @ %lld)", bytes, (int64_t)where);
sbin/fdisk/disk.c
186
if (len != (ssize_t)bytes) {
sbin/fdisk/disk.c
188
warnx("short write(%zu @ %lld)", bytes, (int64_t)where);
sbin/iked/parse.y
1111
uint64_t bytes = 0;
sbin/iked/parse.y
1114
if (sscanf($1, "%llu%c", &bytes, &unit) != 2) {
sbin/iked/parse.y
1121
bytes *= 1024;
sbin/iked/parse.y
1124
bytes *= 1024 * 1024;
sbin/iked/parse.y
1127
bytes *= 1024 * 1024 * 1024;
sbin/iked/parse.y
1133
$$ = bytes;
sbin/pfctl/pf_print_state.c
314
u_int64_t bytes[2];
sbin/pfctl/pf_print_state.c
331
bcopy(s->bytes[0], &bytes[0], sizeof(u_int64_t));
sbin/pfctl/pf_print_state.c
332
bcopy(s->bytes[1], &bytes[1], sizeof(u_int64_t));
sbin/pfctl/pf_print_state.c
336
betoh64(bytes[0]),
sbin/pfctl/pf_print_state.c
337
betoh64(bytes[1]));
sbin/pfctl/pfctl.c
1315
(unsigned long long)(pr.rule.bytes[0] +
sbin/pfctl/pfctl.c
1316
pr.rule.bytes[1]),
sbin/pfctl/pfctl.c
1318
(unsigned long long)pr.rule.bytes[0],
sbin/pfctl/pfctl.c
1320
(unsigned long long)pr.rule.bytes[1],
sbin/pfctl/pfctl.c
881
(unsigned long long)(rule->bytes[0] +
sbin/pfctl/pfctl.c
882
rule->bytes[1]), rule->states_cur);
sbin/pfctl/pfctl_optimize.c
187
PF_RULE_FIELD(bytes, DC),
sbin/pfctl/pfctl_parser.c
712
sn->bytes[0] + sn->bytes[1]);
sbin/pfctl/pfctl_queue.c
210
(unsigned long long)stats->xmit_cnt.bytes,
sbin/pfctl/pfctl_queue.c
212
(unsigned long long)stats->drop_cnt.bytes);
sbin/pfctl/pfctl_queue.c
246
if (stats->xmit_cnt.bytes >= s->prev_bytes)
sbin/pfctl/pfctl_queue.c
248
(stats->xmit_cnt.bytes - s->prev_bytes)) /
sbin/pfctl/pfctl_queue.c
256
s->prev_bytes = stats->xmit_cnt.bytes;
sbin/route/route.c
2252
int bits, bytes, error, first = 1;
sbin/route/route.c
2279
bytes = (bits + 7) / 8;
sbin/route/route.c
2280
if (srclen < bytes || bytes > sizeof(dest.s_addr))
sbin/route/route.c
2283
memcpy(&dest.s_addr, src, bytes);
sbin/route/route.c
2284
src += bytes;
sbin/route/route.c
2285
srclen -= bytes;
sbin/unwind/libunbound/util/configlexer.c
310
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
sys/arch/alpha/alpha/machdep.c
1139
u_long totalbytesleft, bytes, i, n, memcl;
sys/arch/alpha/alpha/machdep.c
1187
bytes = mem_clusters[memcl].size & ~PAGE_MASK;
sys/arch/alpha/alpha/machdep.c
1189
for (i = 0; i < bytes; i += n, totalbytesleft -= n) {
sys/arch/alpha/alpha/machdep.c
1196
n = bytes - i;
sys/arch/amd64/amd64/machdep.c
1087
u_long totalbytesleft, bytes, i, n, memseg;
sys/arch/amd64/amd64/machdep.c
1131
bytes = mem_clusters[memseg].size;
sys/arch/amd64/amd64/machdep.c
1133
for (i = 0; i < bytes; i += n, totalbytesleft -= n) {
sys/arch/amd64/amd64/machdep.c
1139
n = bytes - i;
sys/arch/arm64/arm64/machdep.c
612
u_long totalbytesleft, bytes, i, n, memseg;
sys/arch/arm64/arm64/machdep.c
651
bytes = n = i = memseg = 0;
sys/arch/arm64/arm64/machdep.c
657
bytes = mem_clusters[memseg].size;
sys/arch/arm64/arm64/machdep.c
659
for (i = 0; i < bytes; i += n, totalbytesleft -= n) {
sys/arch/arm64/arm64/machdep.c
665
n = bytes - i;
sys/arch/hppa/hppa/machdep.c
1018
int psize, bytes, i, n;
sys/arch/hppa/hppa/machdep.c
1044
bytes = ptoa(physmem);
sys/arch/hppa/hppa/machdep.c
1049
for (i = 0; i < bytes; i += n) {
sys/arch/hppa/hppa/machdep.c
1052
n = bytes - i;
sys/crypto/chacha_private.h
128
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
sys/crypto/chacha_private.h
136
if (!bytes) return;
sys/crypto/chacha_private.h
156
if (bytes < 64) {
sys/crypto/chacha_private.h
157
for (i = 0;i < bytes;++i) tmp[i] = m[i];
sys/crypto/chacha_private.h
247
if (bytes <= 64) {
sys/crypto/chacha_private.h
248
if (bytes < 64) {
sys/crypto/chacha_private.h
249
for (i = 0;i < bytes;++i) ctarget[i] = c[i];
sys/crypto/chacha_private.h
255
bytes -= 64;
sys/crypto/poly1305.c
148
bytes -= poly1305_block_size;
sys/crypto/poly1305.c
159
poly1305_update(poly1305_state *st, const unsigned char *m, size_t bytes)
sys/crypto/poly1305.c
166
if (want > bytes)
sys/crypto/poly1305.c
167
want = bytes;
sys/crypto/poly1305.c
170
bytes -= want;
sys/crypto/poly1305.c
180
if (bytes >= poly1305_block_size) {
sys/crypto/poly1305.c
181
size_t want = (bytes & ~(poly1305_block_size - 1));
sys/crypto/poly1305.c
184
bytes -= want;
sys/crypto/poly1305.c
188
if (bytes) {
sys/crypto/poly1305.c
189
for (i = 0; i < bytes; i++)
sys/crypto/poly1305.c
191
st->leftover += bytes;
sys/crypto/poly1305.c
66
poly1305_blocks(poly1305_state *st, const unsigned char *m, size_t bytes)
sys/crypto/poly1305.c
92
while (bytes >= poly1305_block_size) {
sys/crypto/siphash.c
123
used = ctx->bytes % sizeof(ctx->buf);
sys/crypto/siphash.c
126
ctx->buf[7] = ctx->bytes;
sys/crypto/siphash.c
68
ctx->bytes = 0;
sys/crypto/siphash.c
80
used = ctx->bytes % sizeof(ctx->buf);
sys/crypto/siphash.c
81
ctx->bytes += len;
sys/crypto/siphash.h
58
uint32_t bytes;
sys/ddb/db_examine.c
142
bytes = 0;
sys/ddb/db_examine.c
146
db_get_value(addr+bytes, 1,
sys/ddb/db_examine.c
150
bytes++;
sys/ddb/db_examine.c
151
if (!(bytes % 4))
sys/ddb/db_examine.c
154
} while ((bytes != 16) && count--);
sys/ddb/db_examine.c
157
(16-bytes)*2 + (4 - bytes/4) + 1, " ");
sys/ddb/db_examine.c
159
while (bytes--) {
sys/ddb/db_examine.c
78
int bytes;
sys/dev/acpi/acpidmar.c
1502
uint64_t bytes;
sys/dev/acpi/acpidmar.c
1509
bytes = (uint64_t)VTD_PAGE_SIZE << am;
sys/dev/acpi/acpidmar.c
1510
if ((addr & (bytes - 1)) != 0)
sys/dev/acpi/acpidmar.c
1512
if ((uint64_t)(end - addr) < bytes)
sys/dev/adb/adb.h
62
unsigned char bytes[8]; /* bytes from register 0 */
sys/dev/adb/akbd.c
280
memcpy(event.bytes, buffer + 1, event.byte_count);
sys/dev/adb/akbd.c
465
akbd_capslockwrapper(sc, event->bytes[0]);
sys/dev/adb/akbd.c
472
if (event->bytes[0] == event->bytes[1] &&
sys/dev/adb/akbd.c
473
ADBK_KEYVAL(event->bytes[0]) == ADBK_RESET) {
sys/dev/adb/akbd.c
474
if (event->bytes[0] == ADBK_KEYDOWN(ADBK_RESET)) {
sys/dev/adb/akbd.c
489
akbd_capslockwrapper(sc, event->bytes[0]);
sys/dev/adb/akbd.c
490
akbd_capslockwrapper(sc, event->bytes[1]);
sys/dev/adb/ams.c
424
memcpy(event.bytes, buffer + 1, event.byte_count);
sys/dev/adb/ams.c
462
buttons = (~event->bytes[2]) & 0xff;
sys/dev/adb/ams.c
464
buttons = (event->bytes[0] & 0x80) ? 0 : 1;
sys/dev/adb/ams.c
469
buttons = (~event->bytes[2]) & 0x07;
sys/dev/adb/ams.c
471
buttons = (event->bytes[0] & 0x80) ? 0 : 1;
sys/dev/adb/ams.c
477
if (!(event->bytes[i] & 0x80))
sys/dev/adb/ams.c
486
if (!(event->bytes[i] & mask))
sys/dev/adb/ams.c
497
dx = ((signed int) (event->bytes[1] & 0x3f)) -
sys/dev/adb/ams.c
498
((event->bytes[1] & 0x40) ? 64 : 0);
sys/dev/adb/ams.c
499
dy = ((signed int) (event->bytes[0] & 0x3f)) -
sys/dev/adb/ams.c
500
((event->bytes[0] & 0x40) ? 64 : 0);
sys/dev/audio.c
268
struct audio_params *p, struct audio_params *r, int bytes)
sys/dev/audio.c
273
np = bytes / audio_gcd(p->bps * p->channels, bytes);
sys/dev/audio.c
278
nr = bytes / audio_gcd(r->bps * r->channels, bytes);
sys/dev/ic/adv.c
593
ccb->sghead.sg_list[nsegs].bytes =
sys/dev/ic/advlib.c
1216
asc_sg_head_ptr->sg_list[0].bytes = buf_size;
sys/dev/ic/advlib.c
2325
scsiq->q1.data_cnt = sg_head->sg_list[0].bytes;
sys/dev/ic/advlib.c
2337
data_cnt += sg_head->sg_list[i].bytes;
sys/dev/ic/advlib.c
2372
sg_head->sg_list[sg_entry_cnt_minus_one].bytes;
sys/dev/ic/advlib.c
2378
sg_head->sg_list[sg_entry_cnt_minus_one].bytes -=
sys/dev/ic/advlib.c
2474
scsiq->q1.data_cnt = sg_head->sg_list[0].bytes;
sys/dev/ic/advlib.h
561
u_int32_t bytes;
sys/dev/ic/aic79xx.c
8571
ahd_outsb(ahd, SEQRAM, instr.bytes, 4);
sys/dev/ic/aic79xx.c
9706
byte = cmd->bytes;
sys/dev/ic/aic79xx.h
674
uint8_t bytes[22]; /*
sys/dev/ic/aic7xxx.c
6361
ahc_outsb(ahc, SEQRAM, instr.bytes, 4);
sys/dev/ic/aic7xxx.c
7129
byte = cmd->bytes;
sys/dev/ic/aic7xxxvar.h
653
uint8_t bytes[22]; /*
sys/dev/ic/bt8xx.h
284
u_char bytes[ 256 ];
sys/dev/ic/wdc.c
1448
wdc_output_bytes(struct ata_drive_datas *drvp, void *bytes, unsigned int buflen)
sys/dev/ic/wdc.c
1458
(void *)((u_int8_t *)bytes + off), roundlen);
sys/dev/ic/wdc.c
1468
(void *)((u_int8_t *)bytes + off), roundlen);
sys/dev/ic/wdc.c
1473
wdc_input_bytes(struct ata_drive_datas *drvp, void *bytes, unsigned int buflen)
sys/dev/ic/wdc.c
1483
(void *)((u_int8_t *)bytes + off), roundlen);
sys/dev/ic/wdc.c
1493
(void *)((u_int8_t *)bytes + off), roundlen);
sys/dev/ipmi.c
1088
getbits(u_int8_t *bytes, int bitpos, int bitlen)
sys/dev/ipmi.c
1097
if (bytes[bitpos >> 3] & mask)
sys/dev/microcode/aic7xxx/aicasm.c
372
cur_instr->format.bytes[0],
sys/dev/microcode/aic7xxx/aicasm.c
373
cur_instr->format.bytes[1],
sys/dev/microcode/aic7xxx/aicasm.c
374
cur_instr->format.bytes[2],
sys/dev/microcode/aic7xxx/aicasm.c
375
cur_instr->format.bytes[3]);
sys/dev/microcode/aic7xxx/aicasm.c
377
cur_instr->format.bytes[3],
sys/dev/microcode/aic7xxx/aicasm.c
378
cur_instr->format.bytes[2],
sys/dev/microcode/aic7xxx/aicasm.c
379
cur_instr->format.bytes[1],
sys/dev/microcode/aic7xxx/aicasm.c
380
cur_instr->format.bytes[0]);
sys/dev/microcode/aic7xxx/aicasm.c
615
cur_instr->format.bytes[0],
sys/dev/microcode/aic7xxx/aicasm.c
616
cur_instr->format.bytes[1],
sys/dev/microcode/aic7xxx/aicasm.c
617
cur_instr->format.bytes[2],
sys/dev/microcode/aic7xxx/aicasm.c
618
cur_instr->format.bytes[3]);
sys/dev/microcode/aic7xxx/aicasm.c
620
cur_instr->format.bytes[3],
sys/dev/microcode/aic7xxx/aicasm.c
621
cur_instr->format.bytes[2],
sys/dev/microcode/aic7xxx/aicasm.c
622
cur_instr->format.bytes[1],
sys/dev/microcode/aic7xxx/aicasm.c
623
cur_instr->format.bytes[0]);
sys/dev/microcode/aic7xxx/aicasm_insformat.h
102
uint8_t bytes[4];
sys/dev/pci/auich.c
1340
u_int32_t wait_us, actual_48k_rate, bytes, ac97rate;
sys/dev/pci/auich.c
1355
bytes = 16000;
sys/dev/pci/auich.c
1356
temp_buffer = auich_allocm(sc, 0, bytes, M_DEVBUF, M_NOWAIT);
sys/dev/pci/auich.c
1369
sc->pcmi.dmalist[civ].len = bytes / sc->sc_sample_size;
sys/dev/pci/auich.c
1469
actual_48k_rate = (bytes * 250000) / wait_us;
sys/dev/pci/bktr/bktr_core.c
1981
buf = &(((struct eeProm *)arg)->bytes[ 0 ]);
sys/dev/pci/bktr/bktr_core.c
1989
buf = &(((struct eeProm *)arg)->bytes[ 0 ]);
sys/dev/pci/bktr/bktr_core.c
1997
buf = &(((struct eeProm *)arg)->bytes[ 0 ]);
sys/dev/pci/drm/amd/amdgpu/amdgpu_bo_list.c
207
const uint32_t bytes = min(bo_info_size, info_size);
sys/dev/pci/drm/amd/amdgpu/amdgpu_bo_list.c
216
if (copy_from_user(&info[i], uptr, bytes)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
675
static s64 bytes_to_us(struct amdgpu_device *adev, u64 bytes)
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
680
return bytes >> adev->mm_stats.log2_max_MBps;
sys/dev/pci/drm/amd/amdgpu/amdgpu_eeprom.c
228
u32 bytes)
sys/dev/pci/drm/amd/amdgpu/amdgpu_eeprom.c
230
return amdgpu_eeprom_xfer(i2c_adap, eeprom_addr, eeprom_buf, bytes,
sys/dev/pci/drm/amd/amdgpu/amdgpu_eeprom.c
236
u32 bytes)
sys/dev/pci/drm/amd/amdgpu/amdgpu_eeprom.c
238
return amdgpu_eeprom_xfer(i2c_adap, eeprom_addr, eeprom_buf, bytes,
sys/dev/pci/drm/amd/amdgpu/amdgpu_eeprom.h
31
u32 bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_eeprom.h
35
u32 bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ring.c
608
ssize_t bytes = min_t(ssize_t, ring->mqd_size - *pos, size);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ring.c
614
if (copy_to_user(buf, from, bytes))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ring.c
617
*pos += bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ring.c
618
return bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1502
uint64_t bytes = 4 - (pos & 0x3);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1507
if (size < bytes) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1508
mask &= 0xffffffff >> (bytes - size) * 8;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1509
bytes = size;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1520
memcpy(buf, &value, bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1526
pos += bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1527
buf += bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
1528
size -= bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2617
size_t bytes = min(size, AMDGPU_TTM_VRAM_MAX_DW_READ * 4);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2620
amdgpu_device_vram_access(adev, *pos, value, bytes, false);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2621
if (copy_to_user(buf, value, bytes))
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2624
result += bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2625
buf += bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2626
*pos += bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2627
size -= bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2700
size_t bytes = PAGE_SIZE - off;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2705
bytes = min(bytes, size);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2726
r = copy_to_user(buf, ptr + off, bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2731
size -= bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2732
*pos += bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2733
result += bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2759
size_t bytes = PAGE_SIZE - off;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2764
bytes = min(bytes, size);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2781
r = copy_from_user(ptr + off, buf, bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2786
size -= bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2787
*pos += bytes;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
2788
result += bytes;
sys/dev/pci/drm/amd/amdgpu/cik_sdma.c
721
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/cik_sdma.c
725
ib->ptr[ib->length_dw++] = bytes;
sys/dev/pci/drm/amd/amdgpu/sdma_v2_4.c
657
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/sdma_v2_4.c
661
ib->ptr[ib->length_dw++] = bytes;
sys/dev/pci/drm/amd/amdgpu/sdma_v3_0.c
930
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/sdma_v3_0.c
934
ib->ptr[ib->length_dw++] = bytes;
sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
1590
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
1594
ib->ptr[ib->length_dw++] = bytes - 1;
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
1186
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
1190
ib->ptr[ib->length_dw++] = bytes - 1;
sys/dev/pci/drm/amd/amdgpu/sdma_v5_0.c
1158
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/sdma_v5_0.c
1162
ib->ptr[ib->length_dw++] = bytes - 1;
sys/dev/pci/drm/amd/amdgpu/sdma_v5_2.c
1057
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/sdma_v5_2.c
1061
ib->ptr[ib->length_dw++] = bytes - 1;
sys/dev/pci/drm/amd/amdgpu/sdma_v6_0.c
1063
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/sdma_v6_0.c
1067
ib->ptr[ib->length_dw++] = bytes - 1;
sys/dev/pci/drm/amd/amdgpu/sdma_v7_0.c
1080
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/sdma_v7_0.c
1086
ib->ptr[ib->length_dw++] = bytes - 1;
sys/dev/pci/drm/amd/amdgpu/si_dma.c
326
unsigned bytes = count * 8;
sys/dev/pci/drm/amd/amdgpu/si_dma.c
329
1, 0, 0, bytes);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1596
if (offload_work->data.bytes.device_service_irq.bits.UP_REQ_MSG_RDY ||
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1597
offload_work->data.bytes.device_service_irq.bits.DOWN_REP_MSG_RDY) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1606
if (offload_work->data.bytes.device_service_irq.bits.AUTOMATED_TEST) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
4131
if (hpd_irq_data.bytes.device_service_irq.bits.AUTOMATED_TEST) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
4137
if (hpd_irq_data.bytes.device_service_irq.bits.UP_REQ_MSG_RDY ||
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
4138
hpd_irq_data.bytes.device_service_irq.bits.DOWN_REP_MSG_RDY) {
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
4219
if (hpd_irq_data.bytes.device_service_irq.bits.CP_IRQ) {
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1964
uint32_t bytes = sizeof(struct dmub_ips_residency_info);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1974
cmd.ips_query_residency_info.info_data.size = bytes;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1983
memcpy(driver_info, ctx->dmub_srv->dmub->scratch_mem_fb.cpu_addr, bytes);
sys/dev/pci/drm/amd/display/dc/dc_dp_types.h
483
} bytes;
sys/dev/pci/drm/amd/display/dc/dc_dp_types.h
522
} bytes;
sys/dev/pci/drm/amd/display/dc/dc_dp_types.h
638
} bytes;
sys/dev/pci/drm/amd/display/dc/dce/dce_dmcu.c
477
unsigned int bytes)
sys/dev/pci/drm/amd/display/dc/dce/dce_dmcu.c
495
for (count = 0; count < bytes; count++)
sys/dev/pci/drm/amd/display/dc/dce/dce_dmcu.c
81
unsigned int bytes)
sys/dev/pci/drm/amd/display/dc/dce/dce_dmcu.c
95
for (count = 0; count < bytes; count++)
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm.c
102
unsigned int bytes,
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm.c
110
dmub_abm_init_config(abm, src, bytes, inst);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
161
unsigned int bytes,
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
172
memcpy(dc->dmub_srv->dmub->scratch_mem_fb.cpu_addr, (void *)src, bytes);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
179
cmd.abm_init_config.abm_init_config_data.bytes = bytes;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
226
unsigned int bytes = sizeof(struct abm_save_restore);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
232
memcpy(dc->dmub_srv->dmub->scratch_mem_fb.cpu_addr, (void *)pData, bytes);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
239
cmd.abm_save_restore.abm_init_config_data.bytes = bytes;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
249
memcpy((void *)pData, dc->dmub_srv->dmub->scratch_mem_fb.cpu_addr, bytes);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.h
39
unsigned int bytes,
sys/dev/pci/drm/amd/display/dc/inc/hw/abm.h
57
unsigned int bytes,
sys/dev/pci/drm/amd/display/dc/inc/hw/dmcu.h
64
unsigned int bytes);
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
327
irq_data->bytes.lane_status_updated.bits.EQ_INTERLANE_ALIGN_DONE_128b_132b =
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
329
irq_data->bytes.lane_status_updated.bits.CDS_INTERLANE_ALIGN_DONE_128b_132b =
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
358
&irq_data->bytes.link_service_irq_esi0.raw, 1);
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
375
irq_data->bytes.sink_cnt.raw = tmp[DP_SINK_COUNT_ESI - DP_SINK_COUNT_ESI];
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
376
irq_data->bytes.device_service_irq.raw = tmp[DP_DEVICE_SERVICE_IRQ_VECTOR_ESI0 - DP_SINK_COUNT_ESI];
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
377
irq_data->bytes.lane01_status.raw = tmp[DP_LANE0_1_STATUS_ESI - DP_SINK_COUNT_ESI];
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
378
irq_data->bytes.lane23_status.raw = tmp[DP_LANE2_3_STATUS_ESI - DP_SINK_COUNT_ESI];
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
379
irq_data->bytes.lane_status_updated.raw = tmp[DP_LANE_ALIGN_STATUS_UPDATED_ESI - DP_SINK_COUNT_ESI];
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
380
irq_data->bytes.sink_status.raw = tmp[DP_SINK_STATUS_ESI - DP_SINK_COUNT_ESI];
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
381
irq_data->bytes.link_service_irq_esi0.raw = tmp[DP_LINK_SERVICE_IRQ_VECTOR_ESI0 - DP_SINK_COUNT_ESI];
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
447
if (hpd_irq_dpcd_data.bytes.device_service_irq.bits.AUTOMATED_TEST) {
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
483
if (hpd_irq_dpcd_data.bytes.device_service_irq.bits.UP_REQ_MSG_RDY) {
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
490
if (hpd_irq_dpcd_data.bytes.device_service_irq.bits.DOWN_REP_MSG_RDY) {
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
525
if (hpd_irq_dpcd_data.bytes.link_service_irq_esi0.bits.DP_LINK_TUNNELING_IRQ)
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
530
hpd_irq_dpcd_data.bytes.sink_cnt.bits.SINK_COUNT
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
71
&hpd_irq_dpcd_data->bytes.lane01_status.raw,
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
89
(!hpd_irq_dpcd_data->bytes.lane_status_updated.bits.EQ_INTERLANE_ALIGN_DONE_128b_132b ||
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
90
!hpd_irq_dpcd_data->bytes.lane_status_updated.bits.CDS_INTERLANE_ALIGN_DONE_128b_132b)) {
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c
92
} else if (!hpd_irq_dpcd_data->bytes.lane_status_updated.bits.INTERLANE_ALIGN_DONE) {
sys/dev/pci/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
257
dpcd_backlight_get.bytes.backlight_millinits_avg;
sys/dev/pci/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
259
dpcd_backlight_get.bytes.backlight_millinits_peak;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
164
#define dmub_memcpy(dest, source, bytes) memcpy((dest), (source), (bytes))
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
171
#define dmub_memset(dest, val, bytes) memset((dest), (val), (bytes))
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
178
#define dmub_memcmp(lhs, rhs, bytes) memcmp((lhs), (rhs), (bytes))
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5255
uint16_t bytes;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5433
uint16_t bytes;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5468
uint16_t bytes;
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
1029
size_t bytes;
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
1033
bytes = min(count, sizeof(buf_cpy) - 1);
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
1034
memcpy(buf_cpy, buf, bytes);
sys/dev/pci/drm/amd/pm/amdgpu_pm.c
1035
buf_cpy[bytes] = '\0';
sys/dev/pci/drm/display/drm_dp_mst_topology.c
1155
u8 port_num, u32 offset, u8 num_bytes, u8 *bytes)
sys/dev/pci/drm/display/drm_dp_mst_topology.c
1163
req.u.dpcd_write.bytes = bytes;
sys/dev/pci/drm/display/drm_dp_mst_topology.c
3473
int offset, int size, u8 *bytes)
sys/dev/pci/drm/display/drm_dp_mst_topology.c
3512
memcpy(bytes, txmsg->reply.u.remote_dpcd_read_ack.bytes, ret);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
3524
int offset, int size, u8 *bytes)
sys/dev/pci/drm/display/drm_dp_mst_topology.c
3540
build_dpcd_write(txmsg, port->port_num, offset, size, bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
410
memcpy(&buf[idx], req->u.dpcd_write.bytes, req->u.dpcd_write.num_bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
422
memcpy(&buf[idx], req->u.i2c_read.transactions[i].bytes, req->u.i2c_read.transactions[i].num_bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
442
memcpy(&buf[idx], req->u.i2c_write.bytes, req->u.i2c_write.num_bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
533
w->bytes = kmemdup(&buf[++idx], w->num_bytes,
sys/dev/pci/drm/display/drm_dp_mst_topology.c
535
if (!w->bytes)
sys/dev/pci/drm/display/drm_dp_mst_topology.c
552
tx->bytes = kmemdup(&buf[++idx],
sys/dev/pci/drm/display/drm_dp_mst_topology.c
555
if (!tx->bytes) {
sys/dev/pci/drm/display/drm_dp_mst_topology.c
567
kfree(tx->bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
583
w->bytes = kmemdup(&buf[++idx], w->num_bytes,
sys/dev/pci/drm/display/drm_dp_mst_topology.c
585
if (!w->bytes)
sys/dev/pci/drm/display/drm_dp_mst_topology.c
5850
msg.u.i2c_read.transactions[i].bytes = msgs[i].buf;
sys/dev/pci/drm/display/drm_dp_mst_topology.c
5878
memcpy(msgs[num - 1].buf, txmsg->reply.u.remote_i2c_read_ack.bytes, msgs[num - 1].len);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
5907
msg.u.i2c_write.bytes = msgs[i].buf;
sys/dev/pci/drm/display/drm_dp_mst_topology.c
654
req->u.dpcd_write.bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
671
rtx->num_bytes, rtx->bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
679
req->u.i2c_write.bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
724
kfree(req.u.dpcd_write.bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
728
kfree(req.u.i2c_read.transactions[i].bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
73
int offset, int size, u8 *bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
731
kfree(req.u.i2c_write.bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
76
int offset, int size, u8 *bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
877
memcpy(repmsg->u.remote_dpcd_read_ack.bytes, &raw->msg[idx], repmsg->u.remote_dpcd_read_ack.num_bytes);
sys/dev/pci/drm/display/drm_dp_mst_topology.c
911
memcpy(repmsg->u.remote_i2c_read_ack.bytes, &raw->msg[idx], repmsg->u.remote_i2c_read_ack.num_bytes);
sys/dev/pci/drm/drm_displayid.c
100
iter->length = iter->idx + sizeof(*base) + base->bytes;
sys/dev/pci/drm/drm_displayid.c
65
dispid_length = sizeof(*base) + base->bytes + 1;
sys/dev/pci/drm/drm_displayid_internal.h
95
u8 bytes;
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
748
unsigned long bytes = min(bytes_left, PAGE_SIZE - offset);
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
753
ptr = ioremap_wc(iomap + daddr + offset, bytes);
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
758
memcpy_toio(ptr, buf, bytes);
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
760
memcpy_fromio(buf, ptr, bytes);
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
764
buf += bytes;
sys/dev/pci/drm/i915/gem/i915_gem_ttm.c
765
bytes_left -= bytes;
sys/dev/pci/drm/i915/gt/gen7_renderclear.c
135
static u32 *batch_alloc_bytes(struct batch_chunk *bc, u32 align, u32 bytes)
sys/dev/pci/drm/i915/gt/gen7_renderclear.c
137
GEM_BUG_ON(!IS_ALIGNED(bytes, sizeof(*bc->start)));
sys/dev/pci/drm/i915/gt/gen7_renderclear.c
138
return batch_alloc_items(bc, align, bytes / sizeof(*bc->start));
sys/dev/pci/drm/i915/gt/intel_ring.c
195
unsigned int bytes)
sys/dev/pci/drm/i915/gt/intel_ring.c
200
if (intel_ring_update_space(ring) >= bytes)
sys/dev/pci/drm/i915/gt/intel_ring.c
209
if (bytes <= __intel_ring_space(target->postfix,
sys/dev/pci/drm/i915/gt/intel_ring.c
226
GEM_BUG_ON(ring->space < bytes);
sys/dev/pci/drm/i915/gt/intel_ring.c
234
const unsigned int bytes = num_dwords * sizeof(u32);
sys/dev/pci/drm/i915/gt/intel_ring.c
242
total_bytes = bytes + rq->reserved_space;
sys/dev/pci/drm/i915/gt/intel_ring.c
248
if (bytes > remain_usable) {
sys/dev/pci/drm/i915/gt/intel_ring.c
300
GEM_BUG_ON(ring->emit > ring->size - bytes);
sys/dev/pci/drm/i915/gt/intel_ring.c
301
GEM_BUG_ON(ring->space < bytes);
sys/dev/pci/drm/i915/gt/intel_ring.c
304
memset32(cs, POISON_INUSE, bytes / sizeof(*cs));
sys/dev/pci/drm/i915/gt/intel_ring.c
305
ring->emit += bytes;
sys/dev/pci/drm/i915/gt/intel_ring.c
306
ring->space -= bytes;
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
129
return log->sizes[GUC_LOG_SECTIONS_CRASH].bytes;
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
136
return log->sizes[GUC_LOG_SECTIONS_DEBUG].bytes;
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
143
return log->sizes[GUC_LOG_SECTIONS_CAPTURE].bytes;
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
68
log->sizes[i].bytes = sections[i].default_val;
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
71
if (log->sizes[GUC_LOG_SECTIONS_DEBUG].bytes >= SZ_1M &&
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
73
log->sizes[GUC_LOG_SECTIONS_CRASH].bytes = SZ_1M;
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
78
if ((log->sizes[i].bytes % SZ_1M) == 0) {
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
86
if (!IS_ALIGNED(log->sizes[i].bytes, log->sizes[i].units))
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
88
sections[i].name, log->sizes[i].bytes, log->sizes[i].units);
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.c
89
log->sizes[i].count = log->sizes[i].bytes / log->sizes[i].units;
sys/dev/pci/drm/i915/gt/uc/intel_guc_log.h
55
s32 bytes; /* Size in bytes */
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
2673
size_t bytes = sizeof(policy->h2g.header) +
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
2676
return bytes / sizeof(u32);
sys/dev/pci/drm/i915/gvt/cfg_space.c
118
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/cfg_space.c
122
if (drm_WARN_ON(&i915->drm, bytes > 4))
sys/dev/pci/drm/i915/gvt/cfg_space.c
126
offset + bytes > vgpu->gvt->device_info.cfg_space_size))
sys/dev/pci/drm/i915/gvt/cfg_space.c
129
memcpy(p_data, vgpu_cfg_space(vgpu) + offset, bytes);
sys/dev/pci/drm/i915/gvt/cfg_space.c
146
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/cfg_space.c
152
vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/cfg_space.c
168
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/cfg_space.c
177
vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/cfg_space.c
182
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/cfg_space.c
257
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/cfg_space.c
262
if (drm_WARN_ON(&i915->drm, bytes > 4))
sys/dev/pci/drm/i915/gvt/cfg_space.c
266
offset + bytes > vgpu->gvt->device_info.cfg_space_size))
sys/dev/pci/drm/i915/gvt/cfg_space.c
271
if (drm_WARN_ON(&i915->drm, bytes > 2))
sys/dev/pci/drm/i915/gvt/cfg_space.c
273
return emulate_pci_command_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/cfg_space.c
280
return emulate_pci_rom_bar_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/cfg_space.c
285
emulate_pci_bar_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/cfg_space.c
303
vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/cfg_space.c
306
vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/cfg_space.c
70
u8 *src, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/cfg_space.c
77
for (; i < bytes && (off + i < sizeof(pci_cfg_space_rw_bmp)); i++) {
sys/dev/pci/drm/i915/gvt/cfg_space.c
94
if (i < bytes)
sys/dev/pci/drm/i915/gvt/cfg_space.c
95
memcpy(cfg_base + off + i, src + i, bytes - i);
sys/dev/pci/drm/i915/gvt/edid.c
142
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/edid.c
147
memcpy(&vgpu_vreg(vgpu, offset), p_data, bytes);
sys/dev/pci/drm/i915/gvt/edid.c
182
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/edid.c
283
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/edid.c
292
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/edid.c
305
memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes);
sys/dev/pci/drm/i915/gvt/edid.c
317
memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes);
sys/dev/pci/drm/i915/gvt/edid.c
338
memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes);
sys/dev/pci/drm/i915/gvt/edid.c
345
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/edid.c
351
memcpy(p_data, (void *)&value, bytes);
sys/dev/pci/drm/i915/gvt/edid.c
356
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/edid.c
380
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/edid.c
384
if (drm_WARN_ON(&i915->drm, bytes > 8 && (offset & (bytes - 1))))
sys/dev/pci/drm/i915/gvt/edid.c
388
return gmbus2_mmio_read(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/edid.c
390
return gmbus3_mmio_read(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/edid.c
392
memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes);
sys/dev/pci/drm/i915/gvt/edid.c
410
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/edid.c
414
if (drm_WARN_ON(&i915->drm, bytes > 8 && (offset & (bytes - 1))))
sys/dev/pci/drm/i915/gvt/edid.c
418
return gmbus0_mmio_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/edid.c
420
return gmbus1_mmio_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/edid.c
422
return gmbus2_mmio_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/edid.c
424
return gmbus3_mmio_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/edid.c
426
memcpy(&vgpu_vreg(vgpu, offset), p_data, bytes);
sys/dev/pci/drm/i915/gvt/edid.h
136
unsigned int offset, void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/edid.h
139
unsigned int offset, void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/gtt.c
1627
u64 pa, void *p_data, int bytes)
sys/dev/pci/drm/i915/gvt/gtt.c
1652
if (bytes == info->gtt_entry_size) {
sys/dev/pci/drm/i915/gvt/gtt.c
2080
unsigned int off, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/gtt.c
2088
if (bytes != 4 && bytes != 8)
sys/dev/pci/drm/i915/gvt/gtt.c
2095
memset(p_data, 0, bytes);
sys/dev/pci/drm/i915/gvt/gtt.c
2101
bytes);
sys/dev/pci/drm/i915/gvt/gtt.c
2118
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/gtt.c
2123
if (bytes != 4 && bytes != 8)
sys/dev/pci/drm/i915/gvt/gtt.c
2127
ret = emulate_ggtt_mmio_read(vgpu, off, p_data, bytes);
sys/dev/pci/drm/i915/gvt/gtt.c
2143
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/gtt.c
2158
if (bytes != 4 && bytes != 8)
sys/dev/pci/drm/i915/gvt/gtt.c
2169
bytes);
sys/dev/pci/drm/i915/gvt/gtt.c
2175
if (bytes < info->gtt_entry_size) {
sys/dev/pci/drm/i915/gvt/gtt.c
2189
bytes);
sys/dev/pci/drm/i915/gvt/gtt.c
2261
unsigned int off, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/gtt.c
2269
if (bytes != 4 && bytes != 8)
sys/dev/pci/drm/i915/gvt/gtt.c
2273
ret = emulate_ggtt_mmio_write(vgpu, off, p_data, bytes);
sys/dev/pci/drm/i915/gvt/gtt.c
717
u64 pa, void *p_data, int bytes);
sys/dev/pci/drm/i915/gvt/gtt.c
721
u64 gpa, void *data, int bytes)
sys/dev/pci/drm/i915/gvt/gtt.c
727
if (bytes != 4 && bytes != 8)
sys/dev/pci/drm/i915/gvt/gtt.c
730
ret = ppgtt_handle_guest_write_page_table_bytes(spt, gpa, data, bytes);
sys/dev/pci/drm/i915/gvt/gtt.h
285
unsigned int off, void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/gtt.h
288
unsigned int off, void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/gvt.h
542
void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/gvt.h
545
void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1007
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
101
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1011
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1025
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
103
memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1032
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1049
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1054
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1067
unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
107
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1075
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
109
memcpy(&vgpu_vreg(vgpu, offset), p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1182
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1196
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1354
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1357
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1362
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1366
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1416
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1425
read_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1430
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1434
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1459
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1463
read_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1467
if (offset + bytes > _vgtif_reg(vgt_id) + 4)
sys/dev/pci/drm/i915/gvt/handlers.c
1472
if (offset + bytes >
sys/dev/pci/drm/i915/gvt/handlers.c
1485
offset, bytes, *(u32 *)p_data);
sys/dev/pci/drm/i915/gvt/handlers.c
1535
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1568
offset, bytes, data);
sys/dev/pci/drm/i915/gvt/handlers.c
1573
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1579
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1593
return intel_vgpu_default_mmio_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1597
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1599
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1612
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1614
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1625
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1627
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1635
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1640
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1654
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1665
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1671
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1673
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1678
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1696
return intel_vgpu_default_mmio_read(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1700
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1754
return intel_vgpu_default_mmio_write(vgpu, offset, &value, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1758
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1785
return intel_vgpu_default_mmio_write(vgpu, offset, &value, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1789
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1800
return intel_vgpu_default_mmio_write(vgpu, offset, &v, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1804
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1818
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1831
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1844
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1865
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1873
return intel_vgpu_default_mmio_read(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1877
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1895
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1920
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1937
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1956
unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1959
read_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1965
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
1990
return intel_vgpu_default_mmio_read(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
1994
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
2036
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
2048
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
206
unsigned int fence_num, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
2095
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
2099
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
2127
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
2131
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
2145
unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
2150
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
222
memset(p_data, 0, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
229
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
249
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
254
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
259
p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
262
read_vreg(vgpu, off, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
267
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
274
ret = sanitize_fence_mmio_access(vgpu, fence_num, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
277
write_vreg(vgpu, off, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
292
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
3080
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
3082
read_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
3097
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
3099
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
3114
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
3119
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
3139
void *pdata, unsigned int bytes, bool is_read)
sys/dev/pci/drm/i915/gvt/handlers.c
3148
if (drm_WARN_ON(&i915->drm, bytes > 8))
sys/dev/pci/drm/i915/gvt/handlers.c
3158
return func(vgpu, offset, pdata, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
3167
gvt_dbg_mmio("untracked MMIO %08x len %d\n", offset, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
3172
return mmio_info->read(vgpu, offset, pdata, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
3183
ret = mmio_info->write(vgpu, offset, pdata, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
3189
memcpy(&data, pdata, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
3192
ret = mmio_info->write(vgpu, offset, &data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
3208
intel_vgpu_default_mmio_read(vgpu, offset, pdata, bytes) :
sys/dev/pci/drm/i915/gvt/handlers.c
3209
intel_vgpu_default_mmio_write(vgpu, offset, pdata, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
326
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
331
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
375
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
377
return intel_gvt_i2c_handle_gmbus_read(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
381
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
383
return intel_gvt_i2c_handle_gmbus_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
387
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
389
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
405
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
407
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
417
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
419
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
435
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
454
read_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
713
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
717
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
786
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
792
if (bytes != 4 || !IS_ALIGNED(offset, bytes) || !engine) {
sys/dev/pci/drm/i915/gvt/handlers.c
794
vgpu->id, offset, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
803
intel_vgpu_default_mmio_write(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
809
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
811
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
825
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
917
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
934
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
961
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
967
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/handlers.c
979
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
994
unsigned int offset, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/handlers.c
998
write_vreg(vgpu, offset, p_data, bytes);
sys/dev/pci/drm/i915/gvt/interrupt.c
196
unsigned int reg, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/interrupt.c
226
unsigned int reg, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/interrupt.c
265
unsigned int reg, void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/interrupt.c
304
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/interrupt.h
199
void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/interrupt.h
201
unsigned int reg, void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/interrupt.h
203
unsigned int reg, void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/interrupt.h
205
unsigned int reg, void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
110
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/mmio.c
118
failsafe_emulate_mmio_rw(vgpu, pa, p_data, bytes, true);
sys/dev/pci/drm/i915/gvt/mmio.c
125
if (drm_WARN_ON(&i915->drm, bytes > 8))
sys/dev/pci/drm/i915/gvt/mmio.c
132
if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8))
sys/dev/pci/drm/i915/gvt/mmio.c
135
!reg_is_gtt(gvt, offset + bytes - 1)))
sys/dev/pci/drm/i915/gvt/mmio.c
139
p_data, bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
146
ret = intel_gvt_read_gpa(vgpu, pa, p_data, bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
150
if (drm_WARN_ON(&i915->drm, !reg_is_mmio(gvt, offset + bytes - 1)))
sys/dev/pci/drm/i915/gvt/mmio.c
154
if (drm_WARN_ON(&i915->drm, !IS_ALIGNED(offset, bytes)))
sys/dev/pci/drm/i915/gvt/mmio.c
158
ret = intel_vgpu_mmio_reg_rw(vgpu, offset, p_data, bytes, true);
sys/dev/pci/drm/i915/gvt/mmio.c
168
offset, bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
185
void *p_data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/mmio.c
193
failsafe_emulate_mmio_rw(vgpu, pa, p_data, bytes, false);
sys/dev/pci/drm/i915/gvt/mmio.c
201
if (drm_WARN_ON(&i915->drm, bytes > 8))
sys/dev/pci/drm/i915/gvt/mmio.c
208
if (drm_WARN_ON(&i915->drm, bytes != 4 && bytes != 8))
sys/dev/pci/drm/i915/gvt/mmio.c
211
!reg_is_gtt(gvt, offset + bytes - 1)))
sys/dev/pci/drm/i915/gvt/mmio.c
215
p_data, bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
222
ret = intel_gvt_write_gpa(vgpu, pa, p_data, bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
226
ret = intel_vgpu_mmio_reg_rw(vgpu, offset, p_data, bytes, false);
sys/dev/pci/drm/i915/gvt/mmio.c
235
bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
68
void *p_data, unsigned int bytes, bool read)
sys/dev/pci/drm/i915/gvt/mmio.c
83
bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
86
bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
91
memcpy(p_data, pt, bytes);
sys/dev/pci/drm/i915/gvt/mmio.c
93
memcpy(pt, p_data, bytes);
sys/dev/pci/drm/i915/gvt/mmio.h
100
void *pdata, unsigned int bytes, bool is_read);
sys/dev/pci/drm/i915/gvt/mmio.h
103
void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/mmio.h
90
void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/mmio.h
92
void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/mmio.h
95
void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/mmio.h
97
void *p_data, unsigned int bytes);
sys/dev/pci/drm/i915/gvt/page_track.c
160
void *data, unsigned int bytes)
sys/dev/pci/drm/i915/gvt/page_track.c
173
ret = page_track->handler(page_track, gpa, data, bytes);
sys/dev/pci/drm/i915/gvt/page_track.h
35
u64 gpa, void *data, int bytes);
sys/dev/pci/drm/i915/gvt/page_track.h
57
void *data, unsigned int bytes);
sys/dev/pci/drm/i915/i915_gpu_error.c
1025
__sg_set_buf(m.cur++, m.buf, m.bytes, m.iter);
sys/dev/pci/drm/i915/i915_gpu_error.c
1026
m.bytes = 0;
sys/dev/pci/drm/i915/i915_gpu_error.c
154
GEM_BUG_ON(e->bytes >= e->size);
sys/dev/pci/drm/i915/i915_gpu_error.c
155
len = vscnprintf(e->buf + e->bytes, e->size - e->bytes, fmt, args);
sys/dev/pci/drm/i915/i915_gpu_error.c
160
e->bytes += len;
sys/dev/pci/drm/i915/i915_gpu_error.c
174
GEM_BUG_ON(e->bytes + len > e->size);
sys/dev/pci/drm/i915/i915_gpu_error.c
175
memcpy(e->buf + e->bytes, str, len);
sys/dev/pci/drm/i915/i915_gpu_error.c
176
e->bytes += len;
sys/dev/pci/drm/i915/i915_gpu_error.c
86
if (e->bytes + len + 1 <= e->size)
sys/dev/pci/drm/i915/i915_gpu_error.c
89
if (e->bytes) {
sys/dev/pci/drm/i915/i915_gpu_error.c
90
__sg_set_buf(e->cur++, e->buf, e->bytes, e->iter);
sys/dev/pci/drm/i915/i915_gpu_error.c
91
e->iter += e->bytes;
sys/dev/pci/drm/i915/i915_gpu_error.c
93
e->bytes = 0;
sys/dev/pci/drm/i915/i915_gpu_error.h
237
size_t bytes;
sys/dev/pci/drm/i915/selftests/intel_memory_region.c
1016
u32 bytes[] = {
sys/dev/pci/drm/i915/selftests/intel_memory_region.c
1082
count = ARRAY_SIZE(bytes);
sys/dev/pci/drm/i915/selftests/intel_memory_region.c
1090
bytes[0] = igt_random_offset(&prng, 64, PAGE_SIZE - 64, 0, sizeof(u32));
sys/dev/pci/drm/i915/selftests/intel_memory_region.c
1091
GEM_BUG_ON(!IS_ALIGNED(bytes[0], sizeof(u32)));
sys/dev/pci/drm/i915/selftests/intel_memory_region.c
1101
size = bytes[order[i] % count];
sys/dev/pci/drm/i915/selftests/intel_memory_region.c
1104
align = bytes[order[i] % count];
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
284
u8 bytes[255];
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
300
u8 bytes[255];
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
377
u8 *bytes;
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
387
u8 *bytes;
sys/dev/pci/drm/include/drm/display/drm_dp_mst_helper.h
399
u8 *bytes;
sys/dev/pci/drm/radeon/cik_sdma.c
808
unsigned bytes = count * 8;
sys/dev/pci/drm/radeon/cik_sdma.c
809
if (bytes > 0x1FFFF8)
sys/dev/pci/drm/radeon/cik_sdma.c
810
bytes = 0x1FFFF8;
sys/dev/pci/drm/radeon/cik_sdma.c
814
ib->ptr[ib->length_dw++] = bytes;
sys/dev/pci/drm/radeon/cik_sdma.c
821
pe += bytes;
sys/dev/pci/drm/radeon/cik_sdma.c
822
src += bytes;
sys/dev/pci/drm/radeon/cik_sdma.c
823
count -= bytes / 8;
sys/dev/pci/drm/radeon/r600_cs.c
479
uint32_t bytes = track->nsamples * track->log_nsamples * 8 * (tile_max + 1);
sys/dev/pci/drm/radeon/r600_cs.c
481
if (bytes + track->cb_color_frag_offset[i] >
sys/dev/pci/drm/radeon/r600_cs.c
485
__func__, tile_max, bytes,
sys/dev/pci/drm/radeon/r600_cs.c
497
uint32_t bytes = (block_max + 1) * 128;
sys/dev/pci/drm/radeon/r600_cs.c
499
if (bytes + track->cb_color_tile_offset[i] >
sys/dev/pci/drm/radeon/r600_cs.c
503
__func__, block_max, bytes,
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
114
AUX_SW_WR_BYTES(bytes));
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
116
AUX_SW_WR_BYTES(bytes));
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
149
AUX_SW_WR_BYTES(bytes) | AUX_SW_GO);
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
176
bytes = AUX_SW_REPLY_GET_BYTE_COUNT(tmp);
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
177
if (bytes) {
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
184
for (i = 0; i < bytes - 1; i++) {
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
190
ret = bytes - 1;
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
67
int bytes;
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
88
bytes = BARE_ADDRESS_SIZE;
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
91
bytes++;
sys/dev/pci/drm/radeon/radeon_dp_auxch.c
93
bytes += msg->size;
sys/dev/pci/drm/radeon/si_dma.c
74
unsigned bytes = count * 8;
sys/dev/pci/drm/radeon/si_dma.c
75
if (bytes > 0xFFFF8)
sys/dev/pci/drm/radeon/si_dma.c
76
bytes = 0xFFFF8;
sys/dev/pci/drm/radeon/si_dma.c
79
1, 0, 0, bytes);
sys/dev/pci/drm/radeon/si_dma.c
85
pe += bytes;
sys/dev/pci/drm/radeon/si_dma.c
86
src += bytes;
sys/dev/pci/drm/radeon/si_dma.c
87
count -= bytes / 8;
sys/dev/pci/drm/ttm/ttm_bo_vm.c
658
unsigned long bytes = min(bytes_left, PAGE_SIZE - offset);
sys/dev/pci/drm/ttm/ttm_bo_vm.c
670
memcpy(ptr, buf, bytes);
sys/dev/pci/drm/ttm/ttm_bo_vm.c
672
memcpy(buf, ptr, bytes);
sys/dev/pci/drm/ttm/ttm_bo_vm.c
676
buf += bytes;
sys/dev/pci/drm/ttm/ttm_bo_vm.c
677
bytes_left -= bytes;
sys/dev/pci/if_ice.c
3668
uint32_t bytes = sizeof(uint16_t);
sys/dev/pci/if_ice.c
3678
status = ice_read_flat_nvm(hw, offset * sizeof(uint16_t), &bytes,
sys/dev/pci/if_ice.c
6894
ice_cfg_rl_burst_size(struct ice_hw *hw, uint32_t bytes)
sys/dev/pci/if_ice.c
6898
if (bytes < ICE_MIN_BURST_SIZE_ALLOWED ||
sys/dev/pci/if_ice.c
6899
bytes > ICE_MAX_BURST_SIZE_ALLOWED)
sys/dev/pci/if_ice.c
6901
if (ice_round_to_num(bytes, 64) <=
sys/dev/pci/if_ice.c
6907
bytes = ice_round_to_num(bytes, 64);
sys/dev/pci/if_ice.c
6909
burst_size_to_prog |= (uint16_t)(bytes / 64);
sys/dev/pci/if_ice.c
6915
bytes = ice_round_to_num(bytes, 1024);
sys/dev/pci/if_ice.c
6917
if (bytes > ICE_MAX_BURST_SIZE_KBYTE_GRANULARITY)
sys/dev/pci/if_ice.c
6918
bytes = ICE_MAX_BURST_SIZE_KBYTE_GRANULARITY;
sys/dev/pci/if_ice.c
6920
burst_size_to_prog |= (uint16_t)(bytes / 1024);
sys/dev/pci/pciide_piix_reg.h
55
#define PIIX_IDETIM_SET(x, bytes, channel) \
sys/dev/pci/pciide_piix_reg.h
56
((x) | ((bytes) << (16 * (channel))))
sys/dev/pci/pciide_piix_reg.h
57
#define PIIX_IDETIM_CLEAR(x, bytes, channel) \
sys/dev/pci/pciide_piix_reg.h
58
((x) & ~((bytes) << (16 * (channel))))
sys/dev/usb/dwc2/dwc2_core.h
1366
void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes);
sys/dev/usb/dwc2/dwc2_hcd.c
423
void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes)
sys/dev/usb/dwc2/dwc2_hcd.c
426
int word_count = (bytes + 3) / 4;
sys/dev/usb/dwc2/dwc2_hcd.c
435
dev_vdbg(hsotg->dev, "%s(%p,%p,%d)\n", __func__, hsotg, dest, bytes);
sys/dev/usb/dwc2/dwc2var.h
141
#define HS_NSECS(bytes) (((55 * 8 * 2083) \
sys/dev/usb/dwc2/dwc2var.h
142
+ (2083UL * (3 + BitTime(bytes))))/1000 \
sys/dev/usb/dwc2/dwc2var.h
144
#define HS_NSECS_ISO(bytes) (((38 * 8 * 2083) \
sys/dev/usb/dwc2/dwc2var.h
145
+ (2083UL * (3 + BitTime(bytes))))/1000 \
sys/dev/usb/dwc2/dwc2var.h
147
#define HS_USECS(bytes) NS_TO_US(HS_NSECS(bytes))
sys/dev/usb/dwc2/dwc2var.h
148
#define HS_USECS_ISO(bytes) NS_TO_US(HS_NSECS_ISO(bytes))
sys/dev/usb/if_bwfm_usb.c
123
uint32_t bytes;
sys/dev/usb/if_bwfm_usb.c
667
rdlbytes = letoh32(state.bytes);
sys/dev/usb/if_bwfm_usb.c
701
rdlbytes = letoh32(state.bytes);
sys/dev/usb/if_bwfm_usb.c
718
rdlbytes = letoh32(state.bytes);
sys/dev/usb/udl.c
1615
int i, j, bytes, eob, padding, next;
sys/dev/usb/udl.c
1618
bit_pos = bytes = eob = padding = 0;
sys/dev/usb/udl.c
1674
bytes += 2;
sys/dev/usb/udl.c
1703
return (bytes);
sys/isofs/udf/ecma167-udf.h
161
uint8_t bytes[6];
sys/kern/subr_disk.c
485
uint64_t bytes, partlba, sectors;
sys/kern/subr_disk.c
500
bytes = sectors * lp->d_secsize;
sys/kern/subr_disk.c
505
free(ngp, M_DEVBUF, bytes);
sys/kern/subr_disk.c
517
free(ngp, M_DEVBUF, bytes);
sys/net/fq_codel.c
585
fqc->drop_cnt.bytes += m->m_pkthdr.len;
sys/net/fq_codel.c
671
&fqc->drop_cnt.packets, &fqc->drop_cnt.bytes);
sys/net/fq_codel.c
699
fqc->xmit_cnt.bytes += m->m_pkthdr.len;
sys/net/fq_codel.h
25
uint64_t bytes;
sys/net/hfsc.h
41
u_int64_t bytes;
sys/net/hfsc.h
45
do { (cntr)->packets++; (cntr)->bytes += len; } while (0)
sys/net/if_aggr.c
3141
struct kstat_kv bytes;
sys/net/if_aggr.c
3161
kstat_kv_u64(&pk->protos[proto].bytes) =
sys/net/if_aggr.c
3215
kstat_kv_unit_init(&pk->protos[proto].bytes,
sys/net/if_pflow.c
1002
if ((bytes[0] - PFLOW_MAXBYTES) > 0)
sys/net/if_pflow.c
1003
bytes[0] -= PFLOW_MAXBYTES;
sys/net/if_pflow.c
1006
while (bytes[1] > (u_int64_t)PFLOW_MAXBYTES) {
sys/net/if_pflow.c
1007
pfs_copy.bytes[1] = PFLOW_MAXBYTES;
sys/net/if_pflow.c
1008
pfs_copy.bytes[0] = 0;
sys/net/if_pflow.c
1012
if ((bytes[1] - PFLOW_MAXBYTES) > 0)
sys/net/if_pflow.c
1013
bytes[1] -= PFLOW_MAXBYTES;
sys/net/if_pflow.c
1016
pfs_copy.bytes[0] = bytes[0];
sys/net/if_pflow.c
1017
pfs_copy.bytes[1] = bytes[1];
sys/net/if_pflow.c
1136
if (st->bytes[0] != 0) /* first flow from state */
sys/net/if_pflow.c
1139
if (st->bytes[1] != 0) /* second flow from state */
sys/net/if_pflow.c
1169
if (st->bytes[0] != 0) /* first flow from state */
sys/net/if_pflow.c
1174
if (st->bytes[1] != 0) /* second flow from state */
sys/net/if_pflow.c
1190
if (st->bytes[0] != 0) /* first flow from state */
sys/net/if_pflow.c
1195
if (st->bytes[1] != 0) /* second flow from state */
sys/net/if_pflow.c
1212
if (st->bytes[0] != 0) /* first flow from state */
sys/net/if_pflow.c
1215
if (st->bytes[1] != 0) /* second flow from state */
sys/net/if_pflow.c
796
flow1->flow_octets = htonl(st->bytes[0]);
sys/net/if_pflow.c
797
flow2->flow_octets = htonl(st->bytes[1]);
sys/net/if_pflow.c
830
flow1->flow_octets = htobe64(st->bytes[0]);
sys/net/if_pflow.c
831
flow2->flow_octets = htobe64(st->bytes[1]);
sys/net/if_pflow.c
878
flow1->flow_octets = htobe64(st->bytes[0]);
sys/net/if_pflow.c
879
flow2->flow_octets = htobe64(st->bytes[1]);
sys/net/if_pflow.c
922
flow1->flow_octets = htobe64(st->bytes[0]);
sys/net/if_pflow.c
923
flow2->flow_octets = htobe64(st->bytes[1]);
sys/net/if_pflow.c
977
u_int64_t bytes[2];
sys/net/if_pflow.c
987
if ((st->bytes[0] < (u_int64_t)PFLOW_MAXBYTES)
sys/net/if_pflow.c
988
&& (st->bytes[1] < (u_int64_t)PFLOW_MAXBYTES))
sys/net/if_pflow.c
993
bytes[0] = pfs_copy.bytes[0];
sys/net/if_pflow.c
994
bytes[1] = pfs_copy.bytes[1];
sys/net/if_pflow.c
996
while (bytes[0] > PFLOW_MAXBYTES) {
sys/net/if_pflow.c
997
pfs_copy.bytes[0] = PFLOW_MAXBYTES;
sys/net/if_pflow.c
998
pfs_copy.bytes[1] = 0;
sys/net/if_rport.c
250
uint64_t bytes = 0;
sys/net/if_rport.c
283
bytes += m->m_pkthdr.len;
sys/net/if_rport.c
317
counters[ifc_ibytes] += bytes;
sys/net/ifq.c
709
uint64_t bytes = 0;
sys/net/ifq.c
722
bytes += m->m_pkthdr.len;
sys/net/ifq.c
754
ifiq->ifiq_bytes += bytes;
sys/net/ifq.c
765
ifiq->ifiq_bytes += bytes;
sys/net/pf.c
1656
pf_state_counter_hton(st->bytes[0], sp->bytes[0]);
sys/net/pf.c
1657
pf_state_counter_hton(st->bytes[1], sp->bytes[1]);
sys/net/pf.c
4382
uint8_t bytes[SHA512_DIGEST_LENGTH];
sys/net/pf.c
4410
SHA512Final(digest.bytes, &ctx);
sys/net/pf.c
8227
r->bytes[dirndx] += pd->tot_len;
sys/net/pf.c
8230
a->bytes[dirndx] += pd->tot_len;
sys/net/pf.c
8238
sni->sn->bytes[dirndx] += pd->tot_len;
sys/net/pf.c
8242
st->bytes[dirndx] += pd->tot_len;
sys/net/pf.c
8246
ri->r->bytes[dirndx] += pd->tot_len;
sys/net/pf_ioctl.c
2535
rule->bytes[0] = rule->bytes[1] = 0;
sys/net/pfvar.h
524
u_int64_t bytes[2];
sys/net/pfvar.h
658
u_int64_t bytes[2];
sys/net/pfvar.h
794
u_int32_t bytes[2][2];
sys/net/pfvar_priv.h
166
u_int64_t bytes[2];
sys/net/toeplitz.c
139
scache->bytes[val] = res;
sys/net/toeplitz.h
31
uint16_t bytes[256];
sys/net/toeplitz.h
37
return (scache->bytes[byte]);
sys/netinet/ip_ipsp.h
482
uint64_t bytes)
sys/netinet/ip_ipsp.h
484
counters_pkt(tdb->tdb_counters, pc, bc, bytes);
sys/netinet/tcp_subr.c
950
uint8_t bytes[SHA512_DIGEST_LENGTH];
sys/netinet/tcp_subr.c
976
SHA512Final(digest.bytes, &ctx);
sys/ntfs/ntfs_subr.c
1309
u_int64_t *bytes)
sys/ntfs/ntfs_subr.c
1330
if (bytes)
sys/ntfs/ntfs_subr.c
1331
*bytes = bn;
sys/scsi/cd.c
1663
cmd->bytes[8] = 8;
sys/scsi/cd.c
1664
cmd->bytes[9] = 0 | (0 << 6);
sys/scsi/cd.c
1677
cmd->bytes[8] = 16;
sys/scsi/cd.c
1678
cmd->bytes[9] = 1 | (a->lsc.agid << 6);
sys/scsi/cd.c
1690
cmd->bytes[8] = 12;
sys/scsi/cd.c
1691
cmd->bytes[9] = 2 | (a->lsk.agid << 6);
sys/scsi/cd.c
1704
_lto4b(a->lstk.lba, &cmd->bytes[1]);
sys/scsi/cd.c
1705
cmd->bytes[8] = 12;
sys/scsi/cd.c
1706
cmd->bytes[9] = 4 | (a->lstk.agid << 6);
sys/scsi/cd.c
1723
cmd->bytes[8] = 8;
sys/scsi/cd.c
1724
cmd->bytes[9] = 5 | (a->lsasf.agid << 6);
sys/scsi/cd.c
1737
cmd->bytes[8] = 16;
sys/scsi/cd.c
1738
cmd->bytes[9] = 1 | (a->hsc.agid << 6);
sys/scsi/cd.c
1753
cmd->bytes[8] = 12;
sys/scsi/cd.c
1754
cmd->bytes[9] = 3 | (a->hsk.agid << 6);
sys/scsi/cd.c
1771
cmd->bytes[9] = 0x3f | (a->lsa.agid << 6);
sys/scsi/cd.c
1780
cmd->bytes[8] = 8;
sys/scsi/cd.c
1781
cmd->bytes[9] = 8 | (0 << 6);
sys/scsi/cd.c
1799
cmd->bytes[8] = 8;
sys/scsi/cd.c
1800
cmd->bytes[9] = 6 | (0 << 6);
sys/scsi/cd.c
1846
cmd->bytes[6] = s->type;
sys/scsi/cd.c
1847
_lto2b(xs->datalen, &cmd->bytes[7]);
sys/scsi/cd.c
1849
cmd->bytes[5] = s->physical.layer_num;
sys/scsi/cd.c
1903
cmd->bytes[6] = s->type;
sys/scsi/cd.c
1904
_lto2b(xs->datalen, &cmd->bytes[7]);
sys/scsi/cd.c
1906
cmd->bytes[5] = s->copyright.layer_num;
sys/scsi/cd.c
1984
cmd->bytes[6] = s->type;
sys/scsi/cd.c
1985
_lto2b(xs->datalen, &cmd->bytes[7]);
sys/scsi/iscsi.h
96
u_int32_t bytes;
sys/scsi/scsi_all.h
50
u_int8_t bytes[15];
sys/scsi/scsi_base.c
1086
size_t bytes;
sys/scsi/scsi_base.c
1123
bytes = sizeof(data->hdr.data_length) + data->hdr.data_length;
sys/scsi/scsi_base.c
1124
if (bytes < len)
sys/scsi/scsi_base.c
1125
len = bytes;
sys/scsi/scsi_base.c
1127
len, bytes, pg_code);
sys/scsi/scsi_base.c
1145
size_t bytes;
sys/scsi/scsi_base.c
1182
bytes = sizeof(data->hdr_big.data_length) +
sys/scsi/scsi_base.c
1184
if (bytes < len)
sys/scsi/scsi_base.c
1185
len = bytes;
sys/scsi/scsi_base.c
1187
"data:\n", len, bytes, pg_code);
sys/scsi/scsi_base.c
845
size_t bytes;
sys/scsi/scsi_base.c
853
bytes = SID_SCSI2_HDRLEN + SID_SCSI2_ALEN;
sys/scsi/scsi_base.c
861
if (bytes > sizeof(*inqbuf))
sys/scsi/scsi_base.c
862
bytes = sizeof(*inqbuf);
sys/scsi/scsi_base.c
863
scsi_init_inquiry(xs, 0, 0, inqbuf, bytes);
sys/scsi/scsi_base.c
882
bytes = avail;
sys/scsi/scsi_base.c
913
u_int32_t bytes;
sys/scsi/scsi_base.c
934
bytes = sizeof(struct scsi_vpd_hdr) +
sys/scsi/scsi_base.c
936
if (bytes < buflen)
sys/scsi/scsi_base.c
937
buflen = bytes;
sys/scsi/scsi_base.c
939
buflen, bytes, page);
sys/scsi/scsiconf.h
100
bytes[2] = (val >> 40) & 0xff;
sys/scsi/scsiconf.h
101
bytes[3] = (val >> 32) & 0xff;
sys/scsi/scsiconf.h
102
bytes[4] = (val >> 24) & 0xff;
sys/scsi/scsiconf.h
103
bytes[5] = (val >> 16) & 0xff;
sys/scsi/scsiconf.h
104
bytes[6] = (val >> 8) & 0xff;
sys/scsi/scsiconf.h
105
bytes[7] = val & 0xff;
sys/scsi/scsiconf.h
109
_2btol(u_int8_t *bytes)
sys/scsi/scsiconf.h
113
rv = (bytes[0] << 8) | bytes[1];
sys/scsi/scsiconf.h
118
_3btol(u_int8_t *bytes)
sys/scsi/scsiconf.h
122
rv = (bytes[0] << 16) | (bytes[1] << 8) | bytes[2];
sys/scsi/scsiconf.h
127
_4btol(u_int8_t *bytes)
sys/scsi/scsiconf.h
131
rv = (bytes[0] << 24) | (bytes[1] << 16) |
sys/scsi/scsiconf.h
132
(bytes[2] << 8) | bytes[3];
sys/scsi/scsiconf.h
137
_5btol(u_int8_t *bytes)
sys/scsi/scsiconf.h
141
rv = ((u_int64_t)bytes[0] << 32) |
sys/scsi/scsiconf.h
142
((u_int64_t)bytes[1] << 24) |
sys/scsi/scsiconf.h
143
((u_int64_t)bytes[2] << 16) |
sys/scsi/scsiconf.h
144
((u_int64_t)bytes[3] << 8) |
sys/scsi/scsiconf.h
145
(u_int64_t)bytes[4];
sys/scsi/scsiconf.h
150
_8btol(u_int8_t *bytes)
sys/scsi/scsiconf.h
154
rv = (((u_int64_t)bytes[0]) << 56) |
sys/scsi/scsiconf.h
155
(((u_int64_t)bytes[1]) << 48) |
sys/scsi/scsiconf.h
156
(((u_int64_t)bytes[2]) << 40) |
sys/scsi/scsiconf.h
157
(((u_int64_t)bytes[3]) << 32) |
sys/scsi/scsiconf.h
158
(((u_int64_t)bytes[4]) << 24) |
sys/scsi/scsiconf.h
159
(((u_int64_t)bytes[5]) << 16) |
sys/scsi/scsiconf.h
160
(((u_int64_t)bytes[6]) << 8) |
sys/scsi/scsiconf.h
161
((u_int64_t)bytes[7]);
sys/scsi/scsiconf.h
57
static __inline void _lto2b(u_int32_t val, u_int8_t *bytes);
sys/scsi/scsiconf.h
58
static __inline void _lto3b(u_int32_t val, u_int8_t *bytes);
sys/scsi/scsiconf.h
59
static __inline void _lto4b(u_int32_t val, u_int8_t *bytes);
sys/scsi/scsiconf.h
60
static __inline void _lto8b(u_int64_t val, u_int8_t *bytes);
sys/scsi/scsiconf.h
61
static __inline u_int32_t _2btol(u_int8_t *bytes);
sys/scsi/scsiconf.h
62
static __inline u_int32_t _3btol(u_int8_t *bytes);
sys/scsi/scsiconf.h
63
static __inline u_int32_t _4btol(u_int8_t *bytes);
sys/scsi/scsiconf.h
64
static __inline u_int64_t _5btol(u_int8_t *bytes);
sys/scsi/scsiconf.h
65
static __inline u_int64_t _8btol(u_int8_t *bytes);
sys/scsi/scsiconf.h
68
_lto2b(u_int32_t val, u_int8_t *bytes)
sys/scsi/scsiconf.h
71
bytes[0] = (val >> 8) & 0xff;
sys/scsi/scsiconf.h
72
bytes[1] = val & 0xff;
sys/scsi/scsiconf.h
76
_lto3b(u_int32_t val, u_int8_t *bytes)
sys/scsi/scsiconf.h
79
bytes[0] = (val >> 16) & 0xff;
sys/scsi/scsiconf.h
80
bytes[1] = (val >> 8) & 0xff;
sys/scsi/scsiconf.h
81
bytes[2] = val & 0xff;
sys/scsi/scsiconf.h
85
_lto4b(u_int32_t val, u_int8_t *bytes)
sys/scsi/scsiconf.h
88
bytes[0] = (val >> 24) & 0xff;
sys/scsi/scsiconf.h
89
bytes[1] = (val >> 16) & 0xff;
sys/scsi/scsiconf.h
90
bytes[2] = (val >> 8) & 0xff;
sys/scsi/scsiconf.h
91
bytes[3] = val & 0xff;
sys/scsi/scsiconf.h
95
_lto8b(u_int64_t val, u_int8_t *bytes)
sys/scsi/scsiconf.h
98
bytes[0] = (val >> 56) & 0xff;
sys/scsi/scsiconf.h
99
bytes[1] = (val >> 48) & 0xff;
sys/tmpfs/tmpfs_subr.c
874
size_t newpages, oldpages, bytes;
sys/tmpfs/tmpfs_subr.c
889
bytes = (newpages - oldpages) << PAGE_SHIFT;
sys/tmpfs/tmpfs_subr.c
890
if (tmpfs_mem_incr(tmp, bytes) == 0)
sys/tmpfs/tmpfs_subr.c
896
tmpfs_mem_decr(tmp, bytes);
usr.bin/dig/dig.c
175
received(unsigned int bytes, struct sockaddr_storage *from, dig_query_t *query) {
usr.bin/dig/dig.c
204
printf(";; MSG SIZE rcvd: %u\n", bytes);
usr.bin/dig/dig.c
221
: (uint64_t)bytes,
usr.bin/dig/dig.c
229
: (uint64_t)bytes,
usr.bin/dig/dig.h
352
(*dighost_received)(unsigned int bytes, struct sockaddr_storage *from, dig_query_t *query);
usr.bin/dig/dighost.c
181
(*dighost_received)(unsigned int bytes, struct sockaddr_storage *from, dig_query_t *query);
usr.bin/dig/dighost.c
322
unsigned char *bytes = (unsigned char *)&in6;
usr.bin/dig/dighost.c
330
*cp++ = hex_digits[bytes[i] & 0x0f];
usr.bin/dig/dighost.c
332
*cp++ = hex_digits[(bytes[i] >> 4) & 0x0f];
usr.bin/dig/host.c
148
received(unsigned int bytes, struct sockaddr_storage *from, dig_query_t *query) {
usr.bin/dig/host.c
156
bytes, fromtext, uelapsed(&now, &query->time_sent)/1000);
usr.bin/dig/lib/dns/hmac_link.c
126
unsigned int bytes;
usr.bin/dig/lib/dns/hmac_link.c
132
bytes = (key->key_size + 7) / 8;
usr.bin/dig/lib/dns/hmac_link.c
133
if (isc_buffer_availablelength(data) < bytes)
usr.bin/dig/lib/dns/hmac_link.c
135
isc_buffer_putmem(data, hkey->key, bytes);
usr.bin/dig/lib/dns/hmac_link.c
270
unsigned int bytes;
usr.bin/dig/lib/dns/hmac_link.c
276
bytes = (key->key_size + 7) / 8;
usr.bin/dig/lib/dns/hmac_link.c
277
if (isc_buffer_availablelength(data) < bytes)
usr.bin/dig/lib/dns/hmac_link.c
279
isc_buffer_putmem(data, hkey->key, bytes);
usr.bin/dig/lib/dns/hmac_link.c
414
unsigned int bytes;
usr.bin/dig/lib/dns/hmac_link.c
420
bytes = (key->key_size + 7) / 8;
usr.bin/dig/lib/dns/hmac_link.c
421
if (isc_buffer_availablelength(data) < bytes)
usr.bin/dig/lib/dns/hmac_link.c
423
isc_buffer_putmem(data, hkey->key, bytes);
usr.bin/dig/lib/dns/hmac_link.c
558
unsigned int bytes;
usr.bin/dig/lib/dns/hmac_link.c
564
bytes = (key->key_size + 7) / 8;
usr.bin/dig/lib/dns/hmac_link.c
565
if (isc_buffer_availablelength(data) < bytes)
usr.bin/dig/lib/dns/hmac_link.c
567
isc_buffer_putmem(data, hkey->key, bytes);
usr.bin/dig/lib/dns/hmac_link.c
702
unsigned int bytes;
usr.bin/dig/lib/dns/hmac_link.c
708
bytes = (key->key_size + 7) / 8;
usr.bin/dig/lib/dns/hmac_link.c
709
if (isc_buffer_availablelength(data) < bytes)
usr.bin/dig/lib/dns/hmac_link.c
711
isc_buffer_putmem(data, hkey->key, bytes);
usr.bin/dig/lib/dns/tsig.c
623
unsigned int bytes = (digestbits + 1) / 8;
usr.bin/dig/lib/dns/tsig.c
624
if (response && bytes < querytsig.siglen)
usr.bin/dig/lib/dns/tsig.c
625
bytes = querytsig.siglen;
usr.bin/dig/lib/dns/tsig.c
626
if (bytes > isc_buffer_usedlength(&sigbuf))
usr.bin/dig/lib/dns/tsig.c
627
bytes = isc_buffer_usedlength(&sigbuf);
usr.bin/dig/lib/dns/tsig.c
628
tsig.siglen = bytes;
usr.bin/dig/lib/isc/log.c
711
unsigned int bytes;
usr.bin/dig/lib/isc/log.c
722
bytes = lctx->category_count * sizeof(ISC_LIST(isc_logchannellist_t));
usr.bin/dig/lib/isc/log.c
724
lists = malloc(bytes);
usr.bin/dig/lib/isc/log.c
729
memset(lists, 0, bytes);
usr.bin/dig/lib/isc/log.c
732
bytes = lcfg->channellist_count *
usr.bin/dig/lib/isc/log.c
734
memmove(lists, lcfg->channellists, bytes);
usr.bin/dig/nslookup.c
374
received(unsigned int bytes, struct sockaddr_storage *from, dig_query_t *query)
usr.bin/dig/nslookup.c
376
UNUSED(bytes);
usr.bin/ftp/fetch.c
1051
bytes = 0;
usr.bin/ftp/fetch.c
1065
bytes += len;
usr.bin/ftp/fetch.c
1075
while (bytes >= hashbytes) {
usr.bin/ftp/fetch.c
1085
if (hash && !progress && bytes > 0) {
usr.bin/ftp/fetch.c
1086
if (bytes < mark)
usr.bin/ftp/fetch.c
1102
filesize != -1 && len == 0 && bytes != filesize) {
usr.bin/ftp/fetch.c
1189
bytes += rlen;
usr.bin/ftp/fetch.c
248
bytes = 0;
usr.bin/ftp/fetch.c
255
bytes += len;
usr.bin/ftp/fetch.c
265
while (bytes >= hashbytes) {
usr.bin/ftp/fetch.c
275
if (hash && !progress && bytes > 0) {
usr.bin/ftp/fetch.c
276
if (bytes < mark)
usr.bin/ftp/ftp.c
1080
bytes += c;
usr.bin/ftp/ftp.c
1082
while (bytes >= hashbytes) {
usr.bin/ftp/ftp.c
1091
if (hash && (!progress || filesize < 0) && bytes > 0) {
usr.bin/ftp/ftp.c
1092
if (bytes < mark)
usr.bin/ftp/ftp.c
1100
bytes = -1;
usr.bin/ftp/ftp.c
1145
(bytes >= hashbytes)) {
usr.bin/ftp/ftp.c
1150
bytes++;
usr.bin/ftp/ftp.c
1156
bytes++;
usr.bin/ftp/ftp.c
1164
bytes++;
usr.bin/ftp/ftp.c
1177
if (bytes < hashbytes)
usr.bin/ftp/ftp.c
1185
bytes = -1;
usr.bin/ftp/ftp.c
1203
if (bytes >= 0 && is_retr) {
usr.bin/ftp/ftp.c
1204
if (bytes > 0)
usr.bin/ftp/ftp.c
1247
if (bytes > 0)
usr.bin/ftp/ftp.c
1707
if (bytes > 0)
usr.bin/ftp/ftp.c
591
bytes = 0;
usr.bin/ftp/ftp.c
748
bytes += c;
usr.bin/ftp/ftp.c
754
while (bytes >= hashbytes) {
usr.bin/ftp/ftp.c
763
if (hash && (!progress || filesize < 0) && bytes > 0) {
usr.bin/ftp/ftp.c
764
if (bytes < mark)
usr.bin/ftp/ftp.c
774
bytes = -1;
usr.bin/ftp/ftp.c
783
(bytes >= hashbytes)) {
usr.bin/ftp/ftp.c
791
bytes++;
usr.bin/ftp/ftp.c
794
bytes++;
usr.bin/ftp/ftp.c
799
if (bytes < hashbytes)
usr.bin/ftp/ftp.c
809
bytes = -1;
usr.bin/ftp/ftp.c
824
if (bytes > 0)
usr.bin/ftp/ftp.c
847
if (bytes > 0)
usr.bin/ftp/ftp.c
888
bytes = 0;
usr.bin/ftp/ftp_var.h
166
extern off_t bytes; /* current # of bytes read */
usr.bin/ftp/main.c
152
off_t bytes;
usr.bin/ftp/util.c
775
cursize = bytes + restart_point;
usr.bin/ftp/util.c
878
} else if (bytes <= 0 || elapsed <= 0.0 || cursize > filesize) {
usr.bin/ftp/util.c
886
(bytes / elapsed) - elapsed);
usr.bin/ftp/util.c
935
bs = bytes / (elapsed == 0.0 ? 1 : elapsed);
usr.bin/ftp/util.c
943
(long long)bytes, bytes == 1 ? "" : "s", direction,
usr.bin/ftp/util.c
948
if (siginfo && bytes > 0 && elapsed > 0.0 && filesize >= 0 &&
usr.bin/ftp/util.c
949
bytes + restart_point <= filesize) {
usr.bin/ftp/util.c
951
(bytes / elapsed) - elapsed);
usr.bin/last/last.c
253
ssize_t bytes;
usr.bin/last/last.c
272
(bytes = read(wfd, buf, sizeof(buf))) == -1)
usr.bin/last/last.c
274
for (bp = &buf[bytes / sizeof(buf[0]) - 1]; bp >= buf; --bp) {
usr.bin/lex/tables.c
283
size_t bytes, rv;
usr.bin/lex/tables.c
286
bytes = sizeof (flex_uint32_t);
usr.bin/lex/tables.c
287
rv = fwrite (&vnet, bytes, 1, wr->out);
usr.bin/lex/tables.c
290
wr->total_written += bytes;
usr.bin/lex/tables.c
291
return bytes;
usr.bin/lex/tables.c
302
size_t bytes, rv;
usr.bin/lex/tables.c
305
bytes = sizeof (flex_uint16_t);
usr.bin/lex/tables.c
306
rv = fwrite (&vnet, bytes, 1, wr->out);
usr.bin/lex/tables.c
309
wr->total_written += bytes;
usr.bin/lex/tables.c
310
return bytes;
usr.bin/lex/tables.c
320
size_t bytes, rv;
usr.bin/lex/tables.c
322
bytes = sizeof (flex_uint8_t);
usr.bin/lex/tables.c
323
rv = fwrite (&v, bytes, 1, wr->out);
usr.bin/lex/tables.c
326
wr->total_written += bytes;
usr.bin/lex/tables.c
327
return bytes;
usr.bin/nm/nm.c
254
size_t bytes;
usr.bin/nm/nm.c
270
bytes = fread((char *)&exec_head, 1, sizeof(exec_head), fp);
usr.bin/nm/nm.c
271
if (bytes < sizeof(exec_head)) {
usr.bin/nm/nm.c
272
if (bytes < sizeof(exec_head.elf32) || IS_ELF(exec_head.elf32)) {
usr.bin/ssh/chacha.c
115
if (bytes < 64) {
usr.bin/ssh/chacha.c
116
for (i = 0;i < bytes;++i) tmp[i] = m[i];
usr.bin/ssh/chacha.c
204
if (bytes <= 64) {
usr.bin/ssh/chacha.c
205
if (bytes < 64) {
usr.bin/ssh/chacha.c
206
for (i = 0;i < bytes;++i) ctarget[i] = c[i];
usr.bin/ssh/chacha.c
212
bytes -= 64;
usr.bin/ssh/chacha.c
87
chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
usr.bin/ssh/chacha.c
95
if (!bytes) return;
usr.bin/ssh/chacha.h
31
u_char *c, u_int bytes)
usr.bin/ssh/cipher-aesctr.c
65
aesctr_encrypt_bytes(aesctr_ctx *x,const u8 *m,u8 *c,u32 bytes)
usr.bin/ssh/cipher-aesctr.c
70
while ((bytes--) > 0) {
usr.bin/ssh/cipher-aesctr.h
33
void aesctr_encrypt_bytes(aesctr_ctx *x,const u8 *m,u8 *c,u32 bytes);
usr.bin/ssh/clientloop.c
1170
int r, bytes = 0;
usr.bin/ssh/clientloop.c
1352
bytes++;
usr.bin/ssh/clientloop.c
1379
bytes++;
usr.bin/ssh/clientloop.c
1381
return bytes;
usr.bin/ssh/libcrux_mlkem768_sha3.h
10218
uint8_t bytes[24U];
usr.bin/ssh/libcrux_mlkem768_sha3.h
10219
libcrux_ml_kem_vector_portable_serialize_12_b8(coefficient, bytes);
usr.bin/ssh/libcrux_mlkem768_sha3.h
10223
Eurydice_array_to_slice((size_t)24U, bytes, uint8_t), uint8_t);
usr.bin/ssh/libcrux_mlkem768_sha3.h
6514
Eurydice_slice bytes) {
usr.bin/ssh/libcrux_mlkem768_sha3.h
6516
(uint32_t)Eurydice_slice_index(bytes, (size_t)0U, uint8_t, uint8_t *) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6519
(uint32_t)Eurydice_slice_index(bytes, (size_t)0U, uint8_t, uint8_t *) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6523
(uint32_t)Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6526
(uint32_t)Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6530
(uint32_t)Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6533
(uint32_t)Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6537
(uint32_t)Eurydice_slice_index(bytes, (size_t)3U, uint8_t, uint8_t *) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6540
(uint32_t)Eurydice_slice_index(bytes, (size_t)3U, uint8_t, uint8_t *) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6554
libcrux_ml_kem_vector_portable_serialize_deserialize_4(Eurydice_slice bytes) {
usr.bin/ssh/libcrux_mlkem768_sha3.h
6556
Eurydice_slice_subslice3(bytes, (size_t)0U, (size_t)4U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6558
Eurydice_slice_subslice3(bytes, (size_t)4U, (size_t)8U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6679
Eurydice_slice bytes) {
usr.bin/ssh/libcrux_mlkem768_sha3.h
6682
Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *)) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6686
Eurydice_slice_index(bytes, (size_t)0U, uint8_t, uint8_t *)) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6690
Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *)) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6694
Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *)) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6698
Eurydice_slice_index(bytes, (size_t)3U, uint8_t, uint8_t *)) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6702
Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *)) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6706
Eurydice_slice_index(bytes, (size_t)4U, uint8_t, uint8_t *))
usr.bin/ssh/libcrux_mlkem768_sha3.h
6709
Eurydice_slice_index(bytes, (size_t)3U, uint8_t, uint8_t *)) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6713
Eurydice_slice_index(bytes, (size_t)6U, uint8_t, uint8_t *)) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6717
Eurydice_slice_index(bytes, (size_t)5U, uint8_t, uint8_t *)) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6721
Eurydice_slice_index(bytes, (size_t)7U, uint8_t, uint8_t *)) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6725
Eurydice_slice_index(bytes, (size_t)6U, uint8_t, uint8_t *)) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6729
Eurydice_slice_index(bytes, (size_t)8U, uint8_t, uint8_t *)) &
usr.bin/ssh/libcrux_mlkem768_sha3.h
6733
Eurydice_slice_index(bytes, (size_t)7U, uint8_t, uint8_t *)) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6737
Eurydice_slice_index(bytes, (size_t)9U, uint8_t, uint8_t *))
usr.bin/ssh/libcrux_mlkem768_sha3.h
6740
Eurydice_slice_index(bytes, (size_t)8U, uint8_t, uint8_t *)) >>
usr.bin/ssh/libcrux_mlkem768_sha3.h
6753
libcrux_ml_kem_vector_portable_serialize_deserialize_10(Eurydice_slice bytes) {
usr.bin/ssh/libcrux_mlkem768_sha3.h
6755
Eurydice_slice_subslice3(bytes, (size_t)0U, (size_t)10U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6758
Eurydice_slice_subslice3(bytes, (size_t)10U, (size_t)20U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6880
Eurydice_slice bytes) {
usr.bin/ssh/libcrux_mlkem768_sha3.h
6882
Eurydice_slice_index(bytes, (size_t)0U, uint8_t, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6884
Eurydice_slice_index(bytes, (size_t)1U, uint8_t, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6886
Eurydice_slice_index(bytes, (size_t)2U, uint8_t, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6893
libcrux_ml_kem_vector_portable_serialize_deserialize_12(Eurydice_slice bytes) {
usr.bin/ssh/libcrux_mlkem768_sha3.h
6895
Eurydice_slice_subslice3(bytes, (size_t)0U, (size_t)3U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6897
Eurydice_slice_subslice3(bytes, (size_t)3U, (size_t)6U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6899
Eurydice_slice_subslice3(bytes, (size_t)6U, (size_t)9U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6901
Eurydice_slice_subslice3(bytes, (size_t)9U, (size_t)12U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6903
Eurydice_slice_subslice3(bytes, (size_t)12U, (size_t)15U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6906
Eurydice_slice_subslice3(bytes, (size_t)15U, (size_t)18U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6909
Eurydice_slice_subslice3(bytes, (size_t)18U, (size_t)21U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
6912
Eurydice_slice_subslice3(bytes, (size_t)21U, (size_t)24U, uint8_t *));
usr.bin/ssh/libcrux_mlkem768_sha3.h
7119
Eurydice_slice bytes =
usr.bin/ssh/libcrux_mlkem768_sha3.h
7123
libcrux_ml_kem_vector_portable_deserialize_12_b8(bytes);
usr.bin/ssh/libcrux_mlkem768_sha3.h
7231
Eurydice_slice bytes =
usr.bin/ssh/libcrux_mlkem768_sha3.h
7235
libcrux_ml_kem_vector_portable_deserialize_10_b8(bytes);
usr.bin/ssh/libcrux_mlkem768_sha3.h
7538
Eurydice_slice bytes = Eurydice_slice_subslice3(
usr.bin/ssh/libcrux_mlkem768_sha3.h
7541
libcrux_ml_kem_vector_portable_deserialize_4_b8(bytes);
usr.bin/ssh/libcrux_mlkem768_sha3.h
7947
uint8_t bytes[2U];
usr.bin/ssh/libcrux_mlkem768_sha3.h
7949
bytes);
usr.bin/ssh/libcrux_mlkem768_sha3.h
7953
Eurydice_array_to_slice((size_t)2U, bytes, uint8_t), uint8_t);
usr.bin/ssh/libcrux_mlkem768_sha3.h
8154
Eurydice_slice bytes =
usr.bin/ssh/libcrux_mlkem768_sha3.h
8158
libcrux_ml_kem_vector_portable_deserialize_12_b8(bytes);
usr.bin/ssh/libcrux_mlkem768_sha3.h
9204
uint8_t bytes[20U];
usr.bin/ssh/libcrux_mlkem768_sha3.h
9205
libcrux_ml_kem_vector_portable_serialize_10_b8(coefficient, bytes);
usr.bin/ssh/libcrux_mlkem768_sha3.h
9209
Eurydice_array_to_slice((size_t)20U, bytes, uint8_t), uint8_t);
usr.bin/ssh/libcrux_mlkem768_sha3.h
9485
uint8_t bytes[8U];
usr.bin/ssh/libcrux_mlkem768_sha3.h
9486
libcrux_ml_kem_vector_portable_serialize_4_b8(coefficient, bytes);
usr.bin/ssh/libcrux_mlkem768_sha3.h
9490
Eurydice_array_to_slice((size_t)8U, bytes, uint8_t), uint8_t);
usr.bin/ssh/packet.c
1349
state->p_send.bytes += len;
usr.bin/ssh/packet.c
1763
state->p_read.bytes += state->packlen + 4;
usr.bin/ssh/packet.c
2323
ssh_packet_set_rekey_limits(struct ssh *ssh, uint64_t bytes, uint32_t seconds)
usr.bin/ssh/packet.c
2325
debug3("rekey after %llu bytes, %u seconds", (unsigned long long)bytes,
usr.bin/ssh/packet.c
2327
ssh->state->rekey_limit = bytes;
usr.bin/ssh/packet.c
2465
(r = sshbuf_put_u64(m, state->p_send.bytes)) != 0 ||
usr.bin/ssh/packet.c
2469
(r = sshbuf_put_u64(m, state->p_read.bytes)) != 0 ||
usr.bin/ssh/packet.c
2605
(r = sshbuf_get_u64(m, &state->p_send.bytes)) != 0 ||
usr.bin/ssh/packet.c
2609
(r = sshbuf_get_u64(m, &state->p_read.bytes)) != 0)
usr.bin/ssh/packet.c
2923
char *stats = NULL, bytes[FMT_SCALED_STRSIZE];
usr.bin/ssh/packet.c
2925
if (ps->bytes > LLONG_MAX || fmt_scaled(ps->bytes, bytes) != 0)
usr.bin/ssh/packet.c
2926
strlcpy(bytes, "OVERFLOW", sizeof(bytes));
usr.bin/ssh/packet.c
2929
(unsigned long)ps->packets, (unsigned long long)ps->blocks, bytes);
usr.bin/ssh/packet.c
460
*ibytes = ssh->state->p_read.bytes;
usr.bin/ssh/packet.c
462
*obytes = ssh->state->p_send.bytes;
usr.bin/ssh/packet.c
90
uint64_t bytes;
usr.bin/ssh/packet.c
983
(unsigned long long)state->p_read.bytes,
usr.bin/ssh/packet.c
985
(unsigned long long)state->p_send.bytes,
usr.bin/ssh/progressmeter.c
100
(long long) (bytes + 5) / 100,
usr.bin/ssh/progressmeter.c
101
(long long) (bytes + 5) / 10 % 10,
usr.bin/ssh/progressmeter.c
107
format_size(off_t bytes)
usr.bin/ssh/progressmeter.c
110
static char buf[STRING_SIZE(bytes) + 16];
usr.bin/ssh/progressmeter.c
112
for (i = 0; bytes >= 10000 && unit[i] != 'T'; i++)
usr.bin/ssh/progressmeter.c
113
bytes = (bytes + 512) / 1024;
usr.bin/ssh/progressmeter.c
115
(long long) bytes,
usr.bin/ssh/progressmeter.c
86
format_rate(off_t bytes)
usr.bin/ssh/progressmeter.c
89
static char buf[STRING_SIZE(bytes) * 2 + 16];
usr.bin/ssh/progressmeter.c
91
bytes *= 100;
usr.bin/ssh/progressmeter.c
92
for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++)
usr.bin/ssh/progressmeter.c
93
bytes = (bytes + 512) / 1024;
usr.bin/ssh/progressmeter.c
97
bytes = (bytes + 512) / 1024;
usr.bin/ssh/sftp-server.c
418
handle_update_read(int handle, ssize_t bytes)
usr.bin/ssh/sftp-server.c
420
if (handle_is_ok(handle, HANDLE_FILE) && bytes > 0)
usr.bin/ssh/sftp-server.c
421
handles[handle].bytes_read += bytes;
usr.bin/ssh/sftp-server.c
425
handle_update_write(int handle, ssize_t bytes)
usr.bin/ssh/sftp-server.c
427
if (handle_is_ok(handle, HANDLE_FILE) && bytes > 0)
usr.bin/ssh/sftp-server.c
428
handles[handle].bytes_write += bytes;
usr.bin/ssh/ssh-keygen.c
417
u_int bytes, bignum_bits;
usr.bin/ssh/ssh-keygen.c
422
bytes = (bignum_bits + 7) / 8;
usr.bin/ssh/ssh-keygen.c
423
if (sshbuf_len(b) < bytes)
usr.bin/ssh/ssh-keygen.c
425
bytes, sshbuf_len(b));
usr.bin/ssh/ssh-keygen.c
426
if (BN_bin2bn(sshbuf_ptr(b), bytes, value) == NULL)
usr.bin/ssh/ssh-keygen.c
428
if ((r = sshbuf_consume(b, bytes)) != 0)
usr.bin/systat/cache.c
100
prev->bytes = COUNTER(new->bytes[0]) + COUNTER(new->bytes[1]);
usr.bin/systat/cache.c
124
ent->bytes = COUNTER(st->bytes[0]) + COUNTER(st->bytes[1]);
usr.bin/systat/cache.c
152
if (COUNTER(st->bytes[0]) + COUNTER(st->bytes[1]) < old->bytes)
usr.bin/systat/cache.c
155
sd = COUNTER(st->bytes[0]) + COUNTER(st->bytes[1]) - old->bytes;
usr.bin/systat/cache.h
33
u_int64_t bytes;
usr.bin/systat/pftop.c
1315
print_fld_size(FLD_BYTES, pr->bytes[0] + pr->bytes[1]);
usr.bin/systat/pftop.c
1657
print_fld_size(FLD_BYTES, node->qstats.data.xmit_cnt.bytes);
usr.bin/systat/pftop.c
1659
print_fld_size(FLD_DROPB, node->qstats.data.drop_cnt.bytes);
usr.bin/systat/pftop.c
1665
bps = calc_rate(node->qstats.data.xmit_cnt.bytes,
usr.bin/systat/pftop.c
1666
node->qstats_last.data.xmit_cnt.bytes, interval);
usr.bin/systat/pftop.c
314
u_int64_t b1 = COUNTER(state_buf[* (size_t *) s1].bytes[0]) +
usr.bin/systat/pftop.c
315
COUNTER(state_buf[* (size_t *) s1].bytes[1]);
usr.bin/systat/pftop.c
316
u_int64_t b2 = COUNTER(state_buf[* (size_t *) s2].bytes[0]) +
usr.bin/systat/pftop.c
317
COUNTER(state_buf[* (size_t *) s2].bytes[1]);
usr.bin/systat/pftop.c
876
sz = COUNTER(s->bytes[0]) + COUNTER(s->bytes[1]);
usr.bin/tail/extern.h
50
int bytes(struct tailfile *, off_t);
usr.bin/tail/forward.c
149
if (bytes(&(tf[i]), off))
usr.bin/tail/reverse.c
94
(void)bytes(&(tf[i]), off);
usr.bin/tcpbench/tcpbench.c
403
printf("%12llu %14llu %12.3Lf %7.2f%% ", total_elapsed, sc->bytes,
usr.bin/tcpbench/tcpbench.c
493
bwperc = (sc->bytes * 100.0) / mainstats.slice_bytes;
usr.bin/tcpbench/tcpbench.c
494
mbps = (sc->bytes * 8) / (since_last * 1000.0);
usr.bin/tcpbench/tcpbench.c
500
sc->bytes = 0;
usr.bin/tcpbench/tcpbench.c
545
slice_mbps = (udp_sc->bytes * 8) / (since_last * 1000.0);
usr.bin/tcpbench/tcpbench.c
567
udp_sc->bytes = 0;
usr.bin/tcpbench/tcpbench.c
598
udp_sc->bytes += n;
usr.bin/tcpbench/tcpbench.c
640
sc->bytes += n;
usr.bin/tcpbench/tcpbench.c
866
sc->bytes += n;
usr.bin/tcpbench/tcpbench.c
96
unsigned long long bytes;
usr.sbin/amd/amd/nfs_start.c
211
int bytes;
usr.sbin/amd/amd/nfs_start.c
215
bytes = howmany(fdsn, NFDBITS) * sizeof(fd_mask);
usr.sbin/amd/amd/nfs_start.c
217
fdsp = malloc(bytes);
usr.sbin/amd/amd/nfs_start.c
218
memset(fdsp, 0, bytes);
usr.sbin/amd/amd/nfs_start.c
219
memcpy(fdsp, __svc_fdset, bytes);
usr.sbin/amd/amd/nfs_start.c
224
bytes = howmany(fdsn, NFDBITS) * sizeof(fd_mask);
usr.sbin/amd/amd/nfs_start.c
225
fdsp = malloc(bytes);
usr.sbin/amd/amd/nfs_start.c
226
memcpy(fdsp, &svc_fdset, bytes);
usr.sbin/cron/atrun.c
557
size_t bytes = 0;
usr.sbin/cron/atrun.c
584
bytes += nread;
usr.sbin/cron/atrun.c
595
bytes, (bytes == 1) ? "" : "s", status);
usr.sbin/cron/do_command.c
355
size_t bytes = 1;
usr.sbin/cron/do_command.c
420
bytes++;
usr.sbin/cron/do_command.c
466
bytes, (bytes == 1) ? "" : "s", status);
usr.sbin/iscsid/vscsi.c
109
sreq->bytes = htonl(i2t.datalen);
usr.sbin/lldp/lldp.c
833
lldp_port_vlan_id(const void *bytes, size_t len, int flags)
usr.sbin/lldp/lldp.c
842
pvid = pdu_u16(bytes);
usr.sbin/lldp/lldp.c
862
lldp_link_aggregation(const void *bytes, size_t len, int flags)
usr.sbin/lldp/lldp.c
864
const uint8_t *buf = bytes;
usr.sbin/lldp/lldp.c
915
lldp_802_3_mac_phy(const void *bytes, size_t len, int flags)
usr.sbin/lldp/lldp.c
917
const uint8_t *buf = bytes;
usr.sbin/lldp/lldp.c
966
lldp_u16_to_scratch(const void *bytes, size_t len, int flags)
usr.sbin/lldp/lldp.c
975
u16 = pdu_u16(bytes);
usr.sbin/lldp/lldp.c
980
lldp_cisco_upoe(const void *bytes, size_t len, int flags)
usr.sbin/lldp/lldp.c
982
const uint8_t *buf = bytes;
usr.sbin/makefs/ffs/buf.c
114
size_t bytes;
usr.sbin/makefs/ffs/buf.c
119
bytes = (size_t)bp->b_bcount;
usr.sbin/makefs/ffs/buf.c
122
rv = write(bp->b_fs->fd, bp->b_data, bytes);
usr.sbin/makefs/ffs/buf.c
124
if (rv == (ssize_t)bytes)
usr.sbin/npppd/l2tp/l2tp_call.c
903
l2tp_call_ppp_output(npppd_ppp *ppp, unsigned char *bytes, int nbytes,
usr.sbin/npppd/l2tp/l2tp_call.c
914
bytebuffer_put(bytebuf, bytes, nbytes);
usr.sbin/npppd/npppd/ppp.h
370
unsigned char *bytes,
usr.sbin/npppd/pptp/pptp_call.c
686
pptp_call_ppp_output(npppd_ppp *ppp, unsigned char *bytes, int nbytes,
usr.sbin/npppd/pptp/pptp_call.c
697
if (pptp_call_gre_output(_this, 1, 1, bytes, nbytes) != 0) {
usr.sbin/nsd/bitset.c
73
size_t i, n, size, bytes;
usr.sbin/nsd/bitset.c
82
bytes = (size / CHAR_BIT) + ((size % CHAR_BIT) != 0);
usr.sbin/nsd/bitset.c
84
for(i = 0; i < bytes; i++) {
usr.sbin/nsd/difffile.c
1163
struct zone* zone, uint64_t* bytes,
usr.sbin/nsd/difffile.c
1218
*bytes += msglen;
usr.sbin/nsd/simdzone/src/generic/atma.h
122
st.bytes = state->bytes;
usr.sbin/nsd/simdzone/src/generic/atma.h
131
switch (st.bytes)
usr.sbin/nsd/simdzone/src/generic/atma.h
154
st.bytes = 1;
usr.sbin/nsd/simdzone/src/generic/atma.h
171
st.bytes = 0;
usr.sbin/nsd/simdzone/src/generic/atma.h
177
state->bytes = st.bytes;
usr.sbin/nsd/simdzone/src/generic/atma.h
187
struct base16_state state = { .eof = 0, .bytes = 0, .carry = 0 };
usr.sbin/nsd/simdzone/src/generic/atma.h
188
return atma_stream_decode(&state, src, srclen, out, outlen) & !state.bytes;
usr.sbin/nsd/simdzone/src/generic/base16.h
165
st.bytes = state->bytes;
usr.sbin/nsd/simdzone/src/generic/base16.h
174
switch (st.bytes)
usr.sbin/nsd/simdzone/src/generic/base16.h
195
st.bytes = 1;
usr.sbin/nsd/simdzone/src/generic/base16.h
20
int bytes;
usr.sbin/nsd/simdzone/src/generic/base16.h
210
st.bytes = 0;
usr.sbin/nsd/simdzone/src/generic/base16.h
216
state->bytes = st.bytes;
usr.sbin/nsd/simdzone/src/generic/base16.h
226
struct base16_state state = { .eof = 0, .bytes = 0, .carry = 0 };
usr.sbin/nsd/simdzone/src/generic/base16.h
227
return base16_stream_decode(&state, src, srclen, out, outlen) & !state.bytes;
usr.sbin/nsd/simdzone/src/generic/base16.h
245
struct base16_state state = { .eof = 0, .bytes = 0, .carry = 0 };
usr.sbin/nsd/simdzone/src/generic/base16.h
257
if (state.bytes)
usr.sbin/nsd/simdzone/src/generic/base64.h
20
int bytes;
usr.sbin/nsd/simdzone/src/generic/base64.h
554
st.bytes = state->bytes;
usr.sbin/nsd/simdzone/src/generic/base64.h
563
state->bytes = 0;
usr.sbin/nsd/simdzone/src/generic/base64.h
576
switch (st.bytes)
usr.sbin/nsd/simdzone/src/generic/base64.h
598
st.bytes++;
usr.sbin/nsd/simdzone/src/generic/base64.h
614
st.bytes++;
usr.sbin/nsd/simdzone/src/generic/base64.h
625
st.bytes++;
usr.sbin/nsd/simdzone/src/generic/base64.h
630
st.bytes = 0;
usr.sbin/nsd/simdzone/src/generic/base64.h
649
st.bytes++;
usr.sbin/nsd/simdzone/src/generic/base64.h
660
st.bytes = 0;
usr.sbin/nsd/simdzone/src/generic/base64.h
669
st.bytes = 0;
usr.sbin/nsd/simdzone/src/generic/base64.h
675
state->bytes = st.bytes;
usr.sbin/nsd/simdzone/src/generic/base64.h
688
struct base64_state state = { .eof = 0, .bytes = 0, .carry = 0 };
usr.sbin/nsd/simdzone/src/generic/base64.h
689
return base64_stream_decode(&state, src, srclen, out, outlen) & !state.bytes;
usr.sbin/nsd/simdzone/src/generic/base64.h
701
struct base64_state state = { .eof = 0, .bytes = 0, .carry = 0 };
usr.sbin/nsd/simdzone/src/generic/base64.h
714
if (state.bytes)
usr.sbin/nsd/simdzone/src/generic/svcb.h
245
struct base64_state state = { .eof = 0, .bytes = 0, .carry = 0 };
usr.sbin/nsd/simdzone/src/generic/svcb.h
251
if (state.bytes)
usr.sbin/nsd/simdzone/src/generic/types.h
2870
struct base16_state state = { .eof = 0, .bytes = 0, .carry = 0 };
usr.sbin/nsd/simdzone/src/generic/types.h
2882
if (state.bytes)
usr.sbin/nsd/xfrd-catalog-zones.c
312
uint8_t bytes[MAXDOMAINLEN + 128 /* max number of labels */];
usr.sbin/nsd/xfrd-catalog-zones.c
325
memmove(name.bytes + dname->label_count
usr.sbin/nsd/xfrd-catalog-zones.c
330
memcpy(name.bytes + dname->label_count
usr.sbin/nsd/xfrd-catalog-zones.c
333
name.bytes[dname->label_count + 1] = ll; /* label type/length byte */
usr.sbin/nsd/xfrd-catalog-zones.c
334
name.bytes[dname->label_count] = 0; /* first label follows last
usr.sbin/nsd/xfrd-catalog-zones.c
337
name.bytes[i] = ((uint8_t*)(void*)dname)[sizeof(dname_type)+i]
usr.sbin/radiusd/radiusd_eap2mschap.c
767
hex_string(const char *bytes, size_t byteslen, char *buf, size_t bufsiz)
usr.sbin/radiusd/radiusd_eap2mschap.c
773
buf[j] = hexstr[(bytes[i] & 0xf0) >> 4];
usr.sbin/radiusd/radiusd_eap2mschap.c
774
buf[j + 1] = hexstr[bytes[i] & 0xf];
usr.sbin/tcpdump/pf_print_state.c
282
u_int64_t bytes[2];
usr.sbin/tcpdump/pf_print_state.c
299
bcopy(s->bytes[0], &bytes[0], sizeof(u_int64_t));
usr.sbin/tcpdump/pf_print_state.c
300
bcopy(s->bytes[1], &bytes[1], sizeof(u_int64_t));
usr.sbin/tcpdump/pf_print_state.c
304
betoh64(bytes[0]),
usr.sbin/tcpdump/pf_print_state.c
305
betoh64(bytes[1]));
usr.sbin/unbound/testcode/unitecs.c
142
int bytes = bits/8 + (bits%8>0); /*ceil*/
usr.sbin/unbound/testcode/unitecs.c
143
*k = (addrkey_t *) malloc(bytes * sizeof(addrkey_t));
usr.sbin/unbound/testcode/unitecs.c
144
for (byte = 0; byte < bytes; byte++) {
usr.sbin/vmd/config.c
202
size_t bytes = 0;
usr.sbin/vmd/config.c
492
bytes += vmc->vmc_memranges[i].vmr_size;
usr.sbin/vmd/config.c
495
vmc->vmc_memranges[0].vmr_size = bytes;
usr.sbin/vmd/x86_mmio.c
190
uint8_t bytes[8];
usr.sbin/vmd/x86_mmio.c
197
if (n == 0 || n > sizeof(bytes))
usr.sbin/vmd/x86_mmio.c
200
memset(bytes, 0, sizeof(bytes));
usr.sbin/vmd/x86_mmio.c
202
if ((res = next_byte(state, &bytes[i])) == DECODE_ERROR)
usr.sbin/vmd/x86_mmio.c
205
*value = *((uint64_t*)bytes);
usr.sbin/vmd/x86_mmio.c
797
uint8_t *bytes, len;
usr.sbin/vmd/x86_mmio.c
805
bytes = exit->vee.vee_insn_bytes;
usr.sbin/vmd/x86_mmio.c
812
memcpy(&state.s_bytes, bytes, len);
usr.sbin/vmd/x86_mmio.c
829
printf("%02x ", bytes[i]);