Searched refs:frand_max (Results 1 – 4 of 4) sorted by relevance
73 uint64_t frand_max; in io_u_should_trim() local79 frand_max = rand_max(&td->trim_state); in io_u_should_trim()81 val = (frand_max / 100ULL); in io_u_should_trim()
535 uint64_t frand_max, r; in __get_next_buflen() local555 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() local1096 * (r / (frand_max + 1.0))); in __get_next_fileno_rand()
303 uint64_t frand_max; in get_rand_file_size() local306 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()
557 uint64_t frand_max; in get_rand_start_delay() local562 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()