Lines Matching refs:DDIR_TRIM
421 if (td->o.rate[DDIR_TRIM] || td->o.rate_iops[DDIR_TRIM]) in setup_rate()
422 ret |= __setup_rate(td, DDIR_TRIM); in setup_rate()
431 o->min_bs[DDIR_TRIM] == o->max_bs[DDIR_TRIM] && in fixed_block_size()
433 o->min_bs[DDIR_READ] == o->min_bs[DDIR_TRIM]; in fixed_block_size()
509 if (!o->min_bs[DDIR_TRIM]) in fixup_options()
510 o->min_bs[DDIR_TRIM] = o->bs[DDIR_TRIM]; in fixup_options()
511 if (!o->max_bs[DDIR_TRIM]) in fixup_options()
512 o->max_bs[DDIR_TRIM] = o->bs[DDIR_TRIM]; in fixup_options()
516 o->rw_min_bs = min(o->min_bs[DDIR_TRIM], o->rw_min_bs); in fixup_options()
525 if (!o->ba[DDIR_TRIM] || !td_random(td)) in fixup_options()
526 o->ba[DDIR_TRIM] = o->min_bs[DDIR_TRIM]; in fixup_options()
530 o->ba[DDIR_TRIM] != o->min_bs[DDIR_TRIM]) && in fixup_options()
577 if (((o->rate[DDIR_READ] + o->rate[DDIR_WRITE] + o->rate[DDIR_TRIM]) && in fixup_options()
578 (o->rate_iops[DDIR_READ] + o->rate_iops[DDIR_WRITE] + o->rate_iops[DDIR_TRIM])) || in fixup_options()
579 ((o->ratemin[DDIR_READ] + o->ratemin[DDIR_WRITE] + o->ratemin[DDIR_TRIM]) && in fixup_options()
580 (o->rate_iops_min[DDIR_READ] + o->rate_iops_min[DDIR_WRITE] + o->rate_iops_min[DDIR_TRIM]))) { in fixup_options()
586 (o->rate[DDIR_TRIM] < o->ratemin[DDIR_TRIM]) || in fixup_options()
589 (o->rate_iops[DDIR_TRIM] < o->rate_iops_min[DDIR_TRIM])) { in fixup_options()
775 os_random_seed(td->rand_seeds[FIO_RAND_SEQ_RAND_TRIM_OFF], &td->seq_rand_state[DDIR_TRIM]); in td_fill_rand_seeds_os()
800 init_rand_seed(&td->__seq_rand_state[DDIR_TRIM], td->rand_seeds[FIO_RAND_SEQ_RAND_TRIM_OFF]); in td_fill_rand_seeds_internal()
1158 c5 = fio_uint_to_kmg(o->min_bs[DDIR_TRIM]); in add_job()
1159 c6 = fio_uint_to_kmg(o->max_bs[DDIR_TRIM]); in add_job()