Symbol: random_int
tools/test/stress2/include/stress.h
33
extern int random_int(int, int);
tools/test/stress2/lib/main.c
108
sleep(random_int(1,10));
tools/test/stress2/lib/main.c
153
if (random_int(1,100) > op->load)
tools/test/stress2/lib/options.c
198
op->incarnations = random_int(1, op->incarnations);
tools/test/stress2/lib/random_int.c
47
j += (r = random_int(1,100));
tools/test/stress2/testcases/creat/creat.c
60
pct = random_int(1, 90);
tools/test/stress2/testcases/link/link.c
61
pct = random_int(1, 90);
tools/test/stress2/testcases/lockf2/lockf2.c
111
pos = random_int(0, 1024 * 1024 - 1);
tools/test/stress2/testcases/lockf2/lockf2.c
114
size = random_int(1, 1024 * 1024 - pos);
tools/test/stress2/testcases/lockf2/lockf2.c
122
size = random_int(1, size);
tools/test/stress2/testcases/mkdir/mkdir.c
56
pct = random_int(1, 90);
tools/test/stress2/testcases/mkfifo/mkfifo.c
117
bufsize = 2 << random_int(2, 12);
tools/test/stress2/testcases/rw/rw.c
61
pct = random_int(1, 90);
tools/test/stress2/testcases/socket/socket.c
89
bufsize = 2 << random_int(2, 12);
tools/test/stress2/testcases/swap/swap.c
84
pct = random_int(mi, mx);
tools/test/stress2/testcases/swap/swap.c
87
pct = random_int(30, 50);
tools/test/stress2/testcases/symlink/symlink.c
59
pct = random_int(1, 90);
tools/test/stress2/testcases/tcp/tcp.c
159
bufsize = 2 << random_int(1, 12);
tools/test/stress2/testcases/tcp/tcp.c
79
if ((random_int(1,100) > 60) || (op->hog == 1)) {
tools/test/stress2/testcases/tcp/tcp.c
80
usleep(random_int(1000000,1000000) * 60);
tools/test/stress2/testcases/udp/udp.c
47
bufsize = 2 << random_int(1, 12);