Lines Matching refs:DDIR_READ
476 if (td->o.rate[DDIR_READ] || td->o.rate_iops[DDIR_READ]) in setup_rate()
477 ret = __setup_rate(td, DDIR_READ); in setup_rate()
488 return o->min_bs[DDIR_READ] == o->max_bs[DDIR_READ] && in fixed_block_size()
491 o->min_bs[DDIR_READ] == o->min_bs[DDIR_WRITE] && in fixed_block_size()
492 o->min_bs[DDIR_READ] == o->min_bs[DDIR_TRIM]; in fixed_block_size()
555 if (!o->min_bs[DDIR_READ]) in fixup_options()
556 o->min_bs[DDIR_READ] = o->bs[DDIR_READ]; in fixup_options()
557 if (!o->max_bs[DDIR_READ]) in fixup_options()
558 o->max_bs[DDIR_READ] = o->bs[DDIR_READ]; in fixup_options()
568 o->rw_min_bs = min(o->min_bs[DDIR_READ], o->min_bs[DDIR_WRITE]); in fixup_options()
574 if (!o->ba[DDIR_READ] || !td_random(td)) in fixup_options()
575 o->ba[DDIR_READ] = o->min_bs[DDIR_READ]; in fixup_options()
581 if ((o->ba[DDIR_READ] != o->min_bs[DDIR_READ] || in fixup_options()
629 if (((o->rate[DDIR_READ] + o->rate[DDIR_WRITE] + o->rate[DDIR_TRIM]) && in fixup_options()
630 (o->rate_iops[DDIR_READ] + o->rate_iops[DDIR_WRITE] + o->rate_iops[DDIR_TRIM])) || in fixup_options()
631 ((o->ratemin[DDIR_READ] + o->ratemin[DDIR_WRITE] + o->ratemin[DDIR_TRIM]) && in fixup_options()
632 (o->rate_iops_min[DDIR_READ] + o->rate_iops_min[DDIR_WRITE] + o->rate_iops_min[DDIR_TRIM]))) { in fixup_options()
636 if ((o->rate[DDIR_READ] < o->ratemin[DDIR_READ]) || in fixup_options()
639 (o->rate_iops[DDIR_READ] < o->rate_iops_min[DDIR_READ]) || in fixup_options()
674 else if (td_read(td) && o->verify_interval > o->min_bs[DDIR_READ]) in fixup_options()
675 o->verify_interval = o->min_bs[DDIR_READ]; in fixup_options()
843 init_rand_seed(&td->seq_rand_state[DDIR_READ], td->rand_seeds[FIO_RAND_SEQ_RAND_READ_OFF]); in td_fill_rand_seeds_internal()
1285 c1 = fio_uint_to_kmg(o->min_bs[DDIR_READ]); in add_job()
1286 c2 = fio_uint_to_kmg(o->max_bs[DDIR_READ]); in add_job()