Searched refs:perc_rand (Results 1 – 4 of 4) sorted by relevance
160 unsigned int perc_rand[DDIR_RWDIR_CNT]; member429 uint32_t perc_rand[DDIR_RWDIR_CNT]; member
139 o->perc_rand[i] = le32_to_cpu(top->perc_rand[i]); in convert_thread_options_to_cpu()521 top->perc_rand[i] = cpu_to_le32(o->perc_rand[i]); in convert_thread_options_to_net()
280 if (td->o.perc_rand[ddir] == 100) in should_do_random()285 return v <= td->o.perc_rand[ddir]; in should_do_random()
2176 .off1 = offsetof(struct thread_options, perc_rand[DDIR_READ]),2177 .off2 = offsetof(struct thread_options, perc_rand[DDIR_WRITE]),2178 .off3 = offsetof(struct thread_options, perc_rand[DDIR_TRIM]),