Home
last modified time | relevance | path

Searched refs:NRCHUNKS (Results 1 – 1 of 1) sorted by relevance

/external/autotest/client/tests/linus_stress/
Dlinus_stress.c11 #define NRCHUNKS (TARGETSIZE / CHUNKSIZE) macro
12 #define SIZE (NRCHUNKS * CHUNKSIZE)
21 static int chunkorder[NRCHUNKS];
26 if (nr < 0 || nr >= NRCHUNKS) in order()
28 for (i = 0; i < NRCHUNKS; i++) in order()
77 for (i = 0; i < NRCHUNKS; i++) in main()
82 for (i = 0; i < NRCHUNKS; i++) { in main()
83 int index = (unsigned int) random() % NRCHUNKS; in main()
98 for (i = 0; i < NRCHUNKS; i++) { in main()
100 printf("Writing chunk %d/%d (%d%%) \r", i, NRCHUNKS, 100*i/NRCHUNKS); in main()
[all …]