Symbol: rand32
lib/crc/tests/crc_kunit.c
116
switch (rand32() % 4) {
lib/crc/tests/crc_kunit.c
131
switch (rand32() % 3) {
lib/crc/tests/crc_kunit.c
133
len = rand32() % 128;
lib/crc/tests/crc_kunit.c
136
len = rand32() % 3072;
lib/crc/tests/crc_kunit.c
139
len = rand32();
lib/crc/tests/crc_kunit.c
206
if (rand32() % 2 == 0) {
lib/crc/tests/crc_kunit.c
208
offset = rand32() % 64;
lib/crc/tests/crc_kunit.c
215
if (rand32() % 8 == 0)
lib/crc/tests/crc_kunit.c
55
u32 n = rand32();
lib/crc/tests/crc_kunit.c
57
return ((u64)n << 32) | rand32();
lib/crypto/tests/hash-test-template.h
36
out[i] = rand32();
lib/crypto/tests/hash-test-template.h
47
return rand32() % 2;
lib/crypto/tests/hash-test-template.h
55
switch (rand32() % 3) {
lib/crypto/tests/hash-test-template.h
57
len = rand32() % 128;
lib/crypto/tests/hash-test-template.h
60
len = rand32() % 3072;
lib/crypto/tests/hash-test-template.h
63
len = rand32();
lib/crypto/tests/hash-test-template.h
71
return min(rand32() % 128, max_offset);
lib/crypto/tests/sha3_kunit.c
320
const int alg = rand32() % 2;
lib/raid/raid6/tests/raid6_kunit.c
148
int faila = rand32() % nr_data, failb;
lib/raid/raid6/tests/raid6_kunit.c
151
failb = rand32() % nr_data;
lib/raid/raid6/tests/raid6_kunit.c
176
int p1 = rand32() % (nr_buffers - 2);
lib/raid/raid6/tests/raid6_kunit.c
177
int p2 = rand32() % (nr_buffers - 2);
lib/raid/raid6/tests/raid6_kunit.c
202
if (rand32() % 2 == 0) {
lib/raid/raid6/tests/raid6_kunit.c
45
return round_up((rand32() % max_length) + 1, 512);
lib/raid/raid6/tests/raid6_kunit.c
50
return (rand32() % (RAID6_KUNIT_MAX_BUFFERS - (RAID6_MIN_DISKS - 1))) +
lib/raid/raid6/tests/raid6_kunit.c
59
return (rand32() % (max_alignment + 1)) & ~63;
lib/raid/xor/tests/xor_kunit.c
51
return round_up((rand32() % max_length) + 1, 512);
lib/raid/xor/tests/xor_kunit.c
57
return ((rand32() % max_alignment) + 1) & ~63;
lib/raid/xor/tests/xor_kunit.c
78
(rand32() % XOR_KUNIT_MAX_BUFFERS) + 1;
lib/raid/xor/tests/xor_kunit.c
83
if (rand32() % 8 == 0)
lib/raid/xor/tests/xor_kunit.c
94
} else if (rand32() % 2 == 0) {