Home
last modified time | relevance | path

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

/external/fio/
Dtrim.c73 uint64_t frand_max; in io_u_should_trim() local
79 frand_max = rand_max(&td->trim_state); in io_u_should_trim()
81 val = (frand_max / 100ULL); in io_u_should_trim()
Dio_u.c535 uint64_t frand_max, r; in __get_next_buflen() local
555 frand_max = rand_max(&td->bsrange_state); in __get_next_buflen()
561 (r / (frand_max + 1.0))); in __get_next_buflen()
575 if ((r / perc <= frand_max / 100ULL) && in __get_next_buflen()
1091 uint64_t frand_max = rand_max(&td->next_file_state); in __get_next_fileno_rand() local
1096 * (r / (frand_max + 1.0))); in __get_next_fileno_rand()
Dfilesetup.c303 uint64_t frand_max; in get_rand_file_size() local
306 frand_max = rand_max(&td->file_size_state); in get_rand_file_size()
309 ret = (unsigned long long) ((double) sized * (r / (frand_max + 1.0))); in get_rand_file_size()
Dinit.c557 uint64_t frand_max; in get_rand_start_delay() local
562 frand_max = rand_max(&td->delay_state); in get_rand_start_delay()
564 delayrange = (unsigned long long) ((double) delayrange * (r / (frand_max + 1.0))); in get_rand_start_delay()