Symbol: TEST_BUF_LEN
lib/crypto/tests/blake2b_kunit.c
107
u8 *guarded_hash = &test_buf[TEST_BUF_LEN - out_len];
lib/crypto/tests/blake2b_kunit.c
75
u8 *guarded_key = &test_buf[TEST_BUF_LEN - key_len];
lib/crypto/tests/blake2s_kunit.c
107
u8 *guarded_hash = &test_buf[TEST_BUF_LEN - out_len];
lib/crypto/tests/blake2s_kunit.c
75
u8 *guarded_key = &test_buf[TEST_BUF_LEN - key_len];
lib/crypto/tests/ghash_kunit.c
46
static_assert(TEST_BUF_LEN >= 4096);
lib/crypto/tests/ghash_kunit.c
91
u8 *guarded_raw_key = &test_buf[TEST_BUF_LEN - sizeof(raw_key)];
lib/crypto/tests/ghash_kunit.c
94
(struct ghash_key *)&test_buf[TEST_BUF_LEN - sizeof(key1)];
lib/crypto/tests/hash-test-template.h
111
KUNIT_ASSERT_LE(test, data_len, TEST_BUF_LEN);
lib/crypto/tests/hash-test-template.h
133
static_assert(TEST_BUF_LEN >= 4096);
lib/crypto/tests/hash-test-template.h
158
total_len = rand_length(TEST_BUF_LEN);
lib/crypto/tests/hash-test-template.h
159
offset = rand_offset(TEST_BUF_LEN - total_len);
lib/crypto/tests/hash-test-template.h
200
const size_t max_tested_len = TEST_BUF_LEN - sizeof(struct HASH_CTX);
lib/crypto/tests/hash-test-template.h
201
void *const buf_end = &test_buf[TEST_BUF_LEN];
lib/crypto/tests/hash-test-template.h
204
rand_bytes(test_buf, TEST_BUF_LEN);
lib/crypto/tests/hash-test-template.h
236
const size_t max_tested_len = TEST_BUF_LEN - HASH_SIZE;
lib/crypto/tests/hash-test-template.h
240
rand_bytes(test_buf, TEST_BUF_LEN);
lib/crypto/tests/hash-test-template.h
289
size_t len = rand_length(TEST_BUF_LEN);
lib/crypto/tests/hash-test-template.h
290
size_t data_offs1 = rand_offset(TEST_BUF_LEN - len);
lib/crypto/tests/hash-test-template.h
291
size_t data_offs2 = rand_offset(TEST_BUF_LEN - len);
lib/crypto/tests/hash-test-template.h
408
if (WARN_ON_ONCE(ctx->offset != TEST_BUF_LEN))
lib/crypto/tests/hash-test-template.h
430
int remaining = TEST_BUF_LEN;
lib/crypto/tests/hash-test-template.h
435
rand_bytes(test_buf, TEST_BUF_LEN);
lib/crypto/tests/hash-test-template.h
436
HASH(test_buf, TEST_BUF_LEN, state->expected_hash);
lib/crypto/tests/hash-test-template.h
442
static_assert(TEST_BUF_LEN / 4096 > 1);
lib/crypto/tests/hash-test-template.h
495
static_assert(TEST_BUF_LEN >= 4096 + 293);
lib/crypto/tests/hash-test-template.h
549
for (size_t i = 0; i < 10000000; i += TEST_BUF_LEN)
lib/crypto/tests/hash-test-template.h
550
HASH(test_buf, TEST_BUF_LEN, hash);
lib/crypto/tests/hash-test-template.h
558
KUNIT_ASSERT_LE(test, len, TEST_BUF_LEN);
lib/crypto/tests/hash-test-template.h
81
size_t alloc_len = round_up(TEST_BUF_LEN, PAGE_SIZE);
lib/crypto/tests/hash-test-template.h
87
test_buf = orig_test_buf + alloc_len - TEST_BUF_LEN;
lib/crypto/tests/poly1305_kunit.c
87
static_assert(TEST_BUF_LEN >= 4096);
lib/crypto/tests/polyval_kunit.c
118
u8 *guarded_raw_key = &test_buf[TEST_BUF_LEN - sizeof(raw_key)];
lib/crypto/tests/polyval_kunit.c
121
(struct polyval_key *)&test_buf[TEST_BUF_LEN - sizeof(key1)];
lib/crypto/tests/polyval_kunit.c
73
static_assert(TEST_BUF_LEN >= 4096);
lib/crypto/tests/sha3_kunit.c
277
u8 *const out = &test_buf[TEST_BUF_LEN - max_len];
lib/crypto/tests/sha3_kunit.c
280
KUNIT_ASSERT_LE(test, 2 * max_len, TEST_BUF_LEN);
lib/crypto/tests/sha3_kunit.c
314
KUNIT_ASSERT_GE(test, TEST_BUF_LEN, 2 * max_len);
lib/crypto/tests/sha3_kunit.c
373
KUNIT_ASSERT_GE(test, TEST_BUF_LEN, max_len);
lib/crypto/tests/sha3_kunit.c
380
u8 *guarded_buf = &test_buf[TEST_BUF_LEN - len];
tools/virtio/vhost_net_test.c
132
ret = sendto(sockfd, sendbuf, TEST_BUF_LEN, 0,
tools/virtio/vhost_net_test.c
217
dev->buf_size = (HDR_LEN + TEST_BUF_LEN) * 2;
tools/virtio/vhost_net_test.c
221
dev->res_buf = dev->test_buf + HDR_LEN + TEST_BUF_LEN;
tools/virtio/vhost_net_test.c
223
memset(dev->test_buf, 0, HDR_LEN + TEST_BUF_LEN);
tools/virtio/vhost_net_test.c
229
for (i = sizeof(*eh); i < TEST_BUF_LEN; i++)
tools/virtio/vhost_net_test.c
271
for (i = ETHER_HDR_LEN; i < TEST_BUF_LEN; i++)
tools/virtio/vhost_net_test.c
291
sg_init_one(&sl, dev->test_buf, HDR_LEN + TEST_BUF_LEN);
tools/virtio/vhost_net_test.c
313
n = recvfrom(dev->sock, dev->res_buf, TEST_BUF_LEN, 0, NULL, NULL);
tools/virtio/vhost_net_test.c
314
assert(n == TEST_BUF_LEN);
tools/virtio/vhost_net_test.c
357
sg_init_one(&sl, dev->res_buf, HDR_LEN + TEST_BUF_LEN);
tools/virtio/vhost_net_test.c
388
assert(len == TEST_BUF_LEN + HDR_LEN);