Searched refs:rand_off (Results 1 – 3 of 3) sorted by relevance
39 zs->rand_off = __rand(&zs->rand); in shared_rand_init()72 return (__hash_u64(val - 1) + zs->rand_off) % zs->nranges; in zipf_next()87 return (__hash_u64(n * pow(rand, zs->pareto_pow)) + zs->rand_off) % zs->nranges; in pareto_next()
14 uint64_t rand_off; member
81 struct rand_off { struct154 struct rand_off *r1 = flist_entry(a, struct rand_off, list); in flist_cmp()155 struct rand_off *r2 = flist_entry(b, struct rand_off, list); in flist_cmp()209 struct rand_off *r; in get_next_rand_offset()217 r = flist_first_entry(&td->next_rand_list, struct rand_off, list); in get_next_rand_offset()