Lines Matching full:lastb
91 uint64_t lastb)
102 *b = lastb * (r / (rand_max(&td->random_state) + 1.0));
165 uint64_t offset, lastb;
169 lastb = last_block(td, f, ddir);
170 if (!lastb)
175 return __get_next_rand_offset(td, f, ddir, b, lastb);
204 offset = stotal * lastb / 100ULL;
208 lastb = lastb * (send - stotal) / 100ULL;
211 * Generate index from 0..send-of-lastb
213 if (__get_next_rand_offset(td, f, ddir, b, lastb) == 1)
237 uint64_t lastb;
239 lastb = last_block(td, f, ddir);
240 if (!lastb)
243 return __get_next_rand_offset(td, f, ddir, b, lastb);